Rank One District API Version 1.0
You are currently viewing 'Get Schedule By School ID ' page
Usage
GET /ScheduleUpdates/
Content-Type
application/json
Description
Returns a list of schedules that have been modified in the supplied date/time range. Filter result by providing optional parameters as listed below. School year of the schedules will be based on date of the events.
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:
/ScheduleUpdates/?ModifiedDateStart=20210121 12:00:00&ModifiedDateEnd=20210121 17:50:00&Page=1
Example
Type | Name | Required | Note |
Query String | ModifiedDateStart | YES | Must be formatted as yyyyMMdd hh:mm:ss |
Query String | ModifiedDateEnd | YES | Must be formatted as yyyyMMdd hh:mm:ss |
Query String | GetPrivate | NO | True / False. This gets any schedules that may be set to private. |
Query String | SchoolID | NO | |
Query String | SportID | NO | |
Query String | TeamGUID | NO | |
Query String | IncludeCanceled | NO | This will include games that have been canceled inside Rank One |
Query String | Page | NO | 50 records per page. Page 1 is assumed if not supplied |
Sample response:
[
{
"ID": "14253ssc-4dc1a25sa-1csc5s2sac3-74asc2",
"TeamID": "6ee1bfae-418a-45cd-8cf1-db685c3ffcbf",
"SchoolID": "46b26d3c-ca7f-43cc-9efd-fec8eed54412",
"SchoolName": "School 1 High School",
"SportName": "Basketball (M)",
"SportGender": "F",
"LevelName": "Varsity",
"TeamName": "Varsity BB",
"StartDate": "2017-02-03T14:00:00",
"StartDateOffset": "2021-01-21T00:30:00+00:00",
"EndDate": "2017-02-03T16:00:00",
EndDateOffset": "2021-01-21T03:00:00+00:00",
"DateModified": "2017-02-03T10:00:00",
"DateModifiedOffset": "2017-02-03T15: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",
"LocationSymbol": "VS",
"SpecialNotes": "",
"GameSummary": "",
"GameType": "Tournament",
"BusArrivalTime": "",
"BusDepartureTime": "",
"GameNotes": "",
"Televised": false,
"MapAddress": https://maps.google.com/?q=5400 Sun Valley Dr., TX, El Paso, 79924,
"GameAttachmentId": null,
"FileName": null,
"Facility_ID": "11485",
"FacilityAway_ID": 0,
"GameStatus": "Scheduled",
},
...
]