Vehicle Assignments
Create Vehicle Assignment
Creates a new Vehicle Assignment.
post/vehicle_assignments
Request
- Base URLhttps://secure.fleetio.com/api
- AuthAPI key in header Authorization and API key in header Account-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"started_at": "2023-03-14T13:46:27-06:00",
"ended_at": "2023-03-14T13:46:27-06:00",
"starting_meter_entry_attributes": {
"value": 108043
},
"ending_meter_entry_attributes": {
"value": 108043
}
}Response
OK
Example response
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"started_at": "2023-03-14T13:46:27-06:00",
"ended_at": "2023-03-14T13:46:27-06:00",
"comments": [
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.