Authorization: Bearer ********************{
"parent_type": "Fleet::Vehicles",
"uuid": "33a6e5bd-fad6-4f42-8f89-c77e2a8d3b1b",
"timeline": {
"status_date": "2024-08-07",
"status_code": "Cleared and Released",
"place_id": 64699,
"place_name": "London, United Kingdom",
"notes": "TestApi",
"customer_inform_type": false,
"source": "api"
}
}curl --location --request POST 'https://demo.modaltrans.com/api/v1/timelines' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"parent_type": "Fleet::Vehicles",
"uuid": "33a6e5bd-fad6-4f42-8f89-c77e2a8d3b1b",
"timeline": {
"status_date": "2024-08-07",
"status_code": "Cleared and Released",
"place_id": 64699,
"place_name": "London, United Kingdom",
"notes": "TestApi",
"customer_inform_type": false,
"source": "api"
}
}'{
"id": 0,
"status_date": "2019-08-24T14:15:22.123Z",
"status_code": "string",
"notes": "string",
"source": "string",
"country_id": "GB",
"lng": 0,
"lat": 0
}