Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

URL   

Testomgeving:   

https://acceptatie.lpz.nu/api/post/capacities/v3   

   

Productieomgeving:   

https://www.lpz.nu/api/post/capacities/v3   

   

HEADERS   

"X-AUTH-TOKEN: [api-user]:[password]"   

METHOD   

POST   

PARAMS   

“file” for the posted csv file   

SUCCESS RESPONSE   

Code: 200 OK   

ERROR RESPONSE   

Code: 400 Bad Request,

Code: 401 Unauthorized,

Code: 405 Method Not  Not  Allowed

Allowed, Code: 500 Internal Server Error   

VOORBEELD  AANLEVERING  

COMMANDO   

curl  -X  POST  -H  "X-AUTH-TOKEN:  [api-user]:[password]"  -F "file=@data.csv" https://www.lpz.nu/api/post/capacities/v3