Required role: | API |
All Verbs | /api/Query/Schedule |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Skip | form | int? | No | |
Take | form | int? | No | |
OrderBy | form | string | No | |
OrderByDesc | form | string | No | |
Include | form | string | No | |
Fields | form | string | No | |
Meta | form | Dictionary<string, string> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ScheduleId | form | int | No | |
Name | form | string | No | |
Description | form | string | No | |
MondayFrom | form | TimeSpan? | No | |
MondayTo | form | TimeSpan? | No | |
TuesdayFrom | form | TimeSpan? | No | |
TuesdayTo | form | TimeSpan? | No | |
WednesdayFrom | form | TimeSpan? | No | |
WednesdayTo | form | TimeSpan? | No | |
ThursdayFrom | form | TimeSpan? | No | |
ThursdayTo | form | TimeSpan? | No | |
FridayFrom | form | TimeSpan? | No | |
FridayTo | form | TimeSpan? | No | |
SaturdayFrom | form | TimeSpan? | No | |
SaturdayTo | form | TimeSpan? | No | |
SundayFrom | form | TimeSpan? | No | |
SundayTo | form | TimeSpan? | No | |
ScheduleType | form | int | No | |
Deleted | form | bool | No | |
Demo | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Offset | form | int | No | |
Total | form | int | No | |
Results | form | List<T> | No | |
Meta | form | Dictionary<string, string> | No | |
ResponseStatus | form | ResponseStatus | No |
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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/Query/Schedule HTTP/1.1
Host: api.clubmanagercentral.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Skip":0,"Take":0,"OrderBy":"String","OrderByDesc":"String","Include":"String","Fields":"String","Meta":{"String":"String"}}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"Offset":0,"Total":0,"Results":[{"ScheduleId":0,"Name":"String","Description":"String","MondayFrom":"PT0S","MondayTo":"PT0S","TuesdayFrom":"PT0S","TuesdayTo":"PT0S","WednesdayFrom":"PT0S","WednesdayTo":"PT0S","ThursdayFrom":"PT0S","ThursdayTo":"PT0S","FridayFrom":"PT0S","FridayTo":"PT0S","SaturdayFrom":"PT0S","SaturdayTo":"PT0S","SundayFrom":"PT0S","SundayTo":"PT0S","ScheduleType":0,"Deleted":false,"Demo":false}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}