ClubReady Api

<back to all web services

GetClassScheduleRequestV2

The following routes are available for this service:
GET/v2/{Apikey}/club/{StoreID}/classscheduleGet Class ScheduleSpecify ToDate/FromDate (max 7 days) to get a list of classes within a date range. Omitting dates will retrieve classes for today.
GetClassScheduleRequestV2 Parameters:
NameParameterData TypeRequiredDescription
ApiKeypathstringNo
StoreIdpathint?No
FromDatequeryDateTime?No
ToDatequeryDateTime?No
FilterByCategoryIdqueryintegerNo Id of CategoryNames to filter results by
RestrictedIdqueryint?No
RestrictedResourceTypequeryRestrictedResourceTypeNo
GetClassScheduleRequestDto Parameters:
NameParameterData TypeRequiredDescription
FromDateformDateTime?No
ToDateformDateTime?No
FilterByCategoryIdformint?No
ApiDtoBase Parameters:
NameParameterData TypeRequiredDescription
ApiKeyformstringNo
StoreIdformint?No
ChainIdformint?No
RestrictedResourceType Enum:
Store
Chain
User
Undefined

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /v2/{Apikey}/club/{StoreID}/classschedule HTTP/1.1 
Host: clubready.com 
Accept: application/json