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

Path parameters

idstring required

The id of the relevant record

Request body

vehicle_idinteger required
reason_for_tripstring nullable

The purpose or justification for the vehicle reservation.

pick_up_atstring date-time

The date and time when the vehicle is picked up from the motor pool.

drop_off_atstring date-time

The date and time when the vehicle is dropped off at the motor pool.

custom_fieldsCustomFields nullable

*Full details on working with Custom Fields here.

Example request

{
  "pick_up_at": "2025-07-06T20:53:02-05:00",
  "drop_off_at": "2025-07-06T20:53:02-05:00"
}

Response

OK

idinteger required
created_atstring date-time

The date and time at which this record was created.

updated_atstring date-time

The date and time at which this record was most recently updated.

vehicle_type_idsId[]

The IDs of any Vehicle types associated with this Motor Pool Reservation.

motor_pool_idinteger
vehicle_assignment_idinteger nullable
contact_idinteger
numberinteger
reason_for_tripstring nullable

The purpose or justification for the vehicle reservation.

pick_up_atstring date-time

The date and time when the vehicle is picked up from the motor pool.

drop_off_atstring date-time nullable

The date and time when the vehicle is dropped off at the motor pool.

approved_atstring date-time nullable

The date and time when the reservation was approved.

checked_out_atstring date-time nullable

The date and time when the reservation was checked out.

returned_atstring date-time nullable

The date and time when the reservation was returned.

completed_atstring date-time nullable

The date and time when the reservation was completed.

canceled_atstring date-time nullable

The date and time when the reservation was canceled.

canceled_reasonstring nullable

The reason for cancelation.

denied_atstring date-time nullable

The date and time when the reservation was denied.

denied_reasonstring nullable

The reason for denial.

status'requested' | 'approved' | 'checked_out' | 'returned' | 'completed' | 'denied' | 'canceled'

The Motor Pool Reservation status.

custom_fieldsCustomFields nullable

*Full details on working with Custom Fields here.

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.