POST api/Class/Booking/History?Signature={Signature}&Language={Language}
View the customer's default membership class bookings.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Signature |
SHA256(Body + Client_Key + Login_Salt) |
string |
Required |
Language | API.LANGUAGE |
Default value is en_US |
Body Parameters
Requests.Classes.Bookings.HistoryName | Description | Type | Additional information |
---|---|---|---|
ClientCode | string |
None. |
|
DateTime | date |
None. |
|
Content | Forms.Classes.Bookings.History |
None. |
Request Formats
application/json, text/json
Sample:
{ "ClientCode": "sample string 1", "DateTime": "2024-11-18T12:29:35.8065531+08:00", "Content": { "Year": 1, "Identity": null, "Month": 1 } }
text/html
Sample:
{"ClientCode":"sample string 1","DateTime":"2024-11-18T12:29:35.8065531+08:00","Content":{"Year":1,"Identity":null,"Month":1}}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Responses.Classes.Bookings.HistoryName | Description | Type | Additional information |
---|---|---|---|
IsSuccessful | boolean |
None. |
|
Messages | Collection of Models.Message |
None. |
|
ClientCode | string |
None. |
|
DateTime | date |
None. |
|
Content | Collection of Models.ClassReservation |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccessful": true, "Messages": [], "ClientCode": "sample string 2", "DateTime": "2024-11-18T12:29:35.8221817+08:00", "Content": null }
text/html
Sample:
{"IsSuccessful":true,"Messages":[],"ClientCode":"sample string 2","DateTime":"2024-11-18T12:29:35.8221817+08:00","Content":null}
application/xml, text/xml
Sample:
<History xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CBSS_API.App_Code.Responses.Classes.Bookings"> <ClientCode xmlns="http://schemas.datacontract.org/2004/07/CBSS_API.App_Code">sample string 2</ClientCode> <Content xmlns:d2p1="http://schemas.datacontract.org/2004/07/CBSS_API.Models" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/CBSS_API.App_Code" /> <DateTime xmlns="http://schemas.datacontract.org/2004/07/CBSS_API.App_Code">2024-11-18T12:29:35.8221817+08:00</DateTime> <IsSuccessful xmlns="http://schemas.datacontract.org/2004/07/CBSS_API.App_Code.Responses">true</IsSuccessful> </History>