Create new job for applicable drivers and vehicles
Request
Add parameter in header x-api-key
Example:x-api-key: ********************
Body Params application/json
{
"name": "string",
"description": "string",
"location": "string",
"effectiveDateRange": {
"startDate": "2019-08-24",
"endDate": "2019-08-24"
},
"drivers": [
"string"
],
"devices": [
"string"
],
"customerInfo": {
"name": "string",
"email": "string",
"phone": "string"
},
"reportRequired": true,
"signatureRequired": true,
"photoRequired": true,
"notes": "string"
}
Request Code Samples
curl --location --request POST '/jobs' \
--header 'token;' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"description": "string",
"location": "string",
"effectiveDateRange": {
"startDate": "2019-08-24",
"endDate": "2019-08-24"
},
"drivers": [
"string"
],
"devices": [
"string"
],
"customerInfo": {
"name": "string",
"email": "string",
"phone": "string"
},
"reportRequired": true,
"signatureRequired": true,
"photoRequired": true,
"notes": "string"
}'
Responses
{
"status": 0,
"data": 0
}
Modified at 2025-02-28 08:12:14