v1
latestOpenAPI 3.0.02026-07-24226294602.4 KBClass Reservations
Cancel Class Reservation
Cancels a class reservation for a client given the supplied ClassId and ClientId.
put/classes/{class_id}/clients/{client_id}/cancel-reservation
Path parameters
class_idinteger required
Id of the Class to cancel for the Client
client_idinteger required
Id of the Client to cancel the Reservation for
Headers
x-api-keystring required
A valid api key. If you don't have one, please request one through the Web Integration screen.
Request body
Response
Created Class Reservation
Example response
{
"reservation_id": 1234567891234567,
"lead_id": 1234567891234567,
"dropin_id": 1234567891234567,
"class_id": 1234567891234567,
"utc_class_start_datetime": "2014-12-31T23:59:59.938Z",
"utc_class_end_datetime": "2014-12-31T23:59:59.938Z",
"local_class_start_datetime": "2014-12-31T23:59:59.938Z",
"local_class_end_datetime": "2014-12-31T23:59:59.938Z",
"location_id": 1234567891234567,
"coaches": [
{
"coach_id": 1234567891234567,
"payroll_position_id": 1234567891234567
}
],
"reservation_status_id": 1234567891234567,
"created": {
"created_by_id": 1234567891234567,
"created_on_datetime": "2014-12-31T23:59:59.938Z"
},
"updated": {
"updated_by_id": 1234567891234567,
"updated_on_datetime": "2014-12-31T23:59:59.938Z"
},
"membership_id": 1234567891234567
}