Please login to continue
Choose your upload method below
Use this token for API requests (see below)
Use your token to upload JSON:
curl -X POST https://cr.dipartners.co.uk/drivers/bulk \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_TOKEN_HERE" \ -d @drivers.json
Minimum Format:
[
{
"driver_id": "910871",
"data": {
"name": "John Doe"
}
}
]
Complete Example:
[
{
"driver_id": "910871",
"data": {
"name": "Tawseeq Haider",
"uuid": "6cea380d-8dcc-48d9-bc98-12b2e75344b6",
"onboarding_email": "driver@example.com",
"iban": "IT16Z3608105138290570990603",
"status": "ACTIVE",
"zone_onboarding": "La Spezia",
"actual_zone_work": "MILANO / LA SPEZIA"
}
}
]
| Field | Required | Description |
|---|---|---|
driver_id |
ā Yes | Unique driver ID |
data |
ā Yes | Driver info object |
data.* |
ā No | Any custom fields |
Get all drivers:
curl https://cr.dipartners.co.uk/drivers \ -H "Authorization: Bearer YOUR_TOKEN"
Upload single driver:
curl -X POST https://cr.dipartners.co.uk/drivers \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{"driver_id":"001","data":{"name":"Test"}}'
Upload ZIP file:
curl -X POST https://cr.dipartners.co.uk/upload/zip \ -H "Authorization: Bearer YOUR_TOKEN" \ -F "file=@documents.zip"
data object is flexible - add any fields you need