Search Client Reservations
Get a list of Class Reservations for a Client, given a search query.
Path parameters
client identifier.
Query parameters
Specifies the order in which the Lead list will be returned. Default order is ascending. Default sort attribute is Id. Specify desc_ to sort descending format: "sort=desc_snake_cased_attribute_name" OR "sort=snake_cased_attribute_name" ex. sort=desc_updated_on
Specifies the page of records to be returned. Defaults to 1.
Number of records to return per page. Maximum and default are 100 records.
Search query. See the Search section for guidance on how to build a query.
Headers
A valid api key. If you don't have one, please request one through the Web Integration screen.
Response
returns a paginated list of reservations for this client
Example response
{
"client_class_reservations": [
{
"reservation_id": 1234567891234567,
"client_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
}
]
}Changes
No recorded changes to this endpoint across all 1 revision of this API.