Motor Pool Reservations
Approve Motor Pool Reservation
Approve a Motor Pool Reservation, assigning it a Vehicle. Only valid while the reservation's status is requested.
patch/motor_pool_reservations/{id}/approve
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.
Path parameters
idstring required
The id of the relevant record
Request body
Example request
{
"pick_up_at": "2025-07-06T20:53:02-05:00",
"drop_off_at": "2025-07-06T20:53:02-05:00"
}Response
OK
Example response
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"pick_up_at": "2025-07-06T20:53:02-05:00",
"drop_off_at": "2025-07-06T20:53:02-05:00",
"approved_at": "2025-07-06T20:53:02-05:00",
"checked_out_at": "2025-07-06T20:53:02-05:00",
"returned_at": "2025-07-06T20:53:02-05:00",
"completed_at": "2025-07-06T20:53:02-05:00",
"canceled_at": "2025-07-06T20:53:02-05:00",
"canceled_reason": "User requested the cancelation.",
"denied_at": "2025-07-06T20:53:02-05:00",
"denied_reason": "Changed plans.",
"vehicle_types": [
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00"
}
],
"motor_pool": {
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00"
},
"vehicle_assignment": {
"started_at": "2023-03-14T13:46:27-06:00",
"ended_at": "2023-03-14T13:46:27-06:00"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.