Authorization: Bearer ********************{
"servicelog": {
"service_date": "2024-08-14",
"vehicle_code": "L23EXM07",
"damage_type": "Electronic Failure",
"notes": "ApiExample"
},
"base64_image": "Base64EncodedFileExample"
}curl --location --request POST 'https://demo.modaltrans.com/api/v1/servicelogs' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"servicelog": {
"service_date": "2024-08-14",
"vehicle_code": "L23EXM07",
"damage_type": "Electronic Failure",
"notes": "ApiExample"
},
"base64_image": "Base64EncodedFileExample"
}'[
{
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"notes": "string",
"damage_type": "Tire Breakdown",
"vehicle_code": "string",
"service_date": "2019-08-24"
}
]