You are currently viewing 'Get Schedule By School ID ' page



Usage

GET /Schedule/:SchoolID

Content-Type

application/json

Description

Return a list of schedules using supplied School ID. Filter result by providing optional parameters as listed below. School year of the schedules will be based on current school year at the moment API call is made, or the year of StartDate parameter if it is provided.

Note

StartDate and EndDate must be both provided or omitted.
If not then bad request response will be returned.
Sample request URL with TeamGUID, StarteDate and EndDate:
/Schedule/123456-74ascas2csac5-sac741?TeamGUID=415241-dsc4ascasc226-as78247&StartDate=20161201&EndDate=20170501

Example

Type Name Required Note
URL :SchoolID YES School ID that you have access to
Query String SportID NO
Query String TeamGUID NO
Query String StartDate NO Must be formatted as yyyyMMdd
Query String EndDate NO Must be formatted as yyyyMMdd

Sample response:

[

{
"ID": "14253ssc-4dc1a25sa-1csc5s2sac3-74asc2",
"SchoolName": "School 1 High School",
"SportName": "Basketball (M)",
"LevelName": "Varsity",
"TeamName": "Varsity BB",
"StartDate": "2017-02-03T14:00:00",
"EndDate": "2017-02-03T16:00:00",
"StartTBD": false,
"EndTBD": false,
"FacilityName": "School 1 HS Aux Gym",
"Address": "18400 Creekview",
"City": "Sanger",
"State": "TX",
"Zip": "76266",
"ScheduleDescription": "Varsity BB vs George Town (M)",
"OpponentTeamName": "George Town",
"TeamScore": "",
"OpponentScore": "",
"Location": "Home",
"SpecialNotes": "",
"GameSummary": "",
"GameType": "Tournament",
"BusArrivalTime": "",
"BusDepartureTime": "",
"StudentDismissalTime": "",
"GameNotes": "",
"Televised": false
},
...
]