Skip to content

CSV Uploading

Request

This endpoint allows uploading CSV file with list of jobs. Uploading creates background job, which automatically parses CSV file and saves successful jobs.

Important

Jobs with invalid data will be ignored.


\--b70d3a51950c477ab70079b447be577a  
Content-Disposition: form-data; name="file"; filename="csv_import_example (1).csv"

Customer name,Job address,Driver ID,Deliver after,Job deadline,Comment,Customer_Email,Customer Phone,  
Pickup after,Pickup deadline,Pickup name,Pickup email,Pickup phone,Job name,Job capacity  
Sherlock Holmes,"Australia, Sidney,,,11.12.18 14:55,Lorem ipsum,,611900654321,,,,,,Job two,  
Jimmy,"-37.813600,144.963100",107,,11.12.17 01:20,Lorem ipsum,,611900654322,,,,,,Job oneone,

\--b70d3a51950c477ab70079b447be577a--
Security
key
curl -i -X POST \
  'https://developer.radaro.com.au/_mock/split-external-api/api/csv-upload?key=YOUR_API_KEY_HERE'

Responses

202

Bodyapplication/json
idinteger
Default:0
Example:1099
statusstring
Example:"ready"
logArray of objects
filestring
Example:"http://example.com/path/to/file"
orders_createdinteger
Default:0
Example:0
dataany
state_paramsany
Response
{ "id": 1099, "status": "ready", "log": [ { … } ], "file": "http://example.com/path/to/file", "orders_created": 0, "data": null, "state_params": null }