Rank One Partner API Version 1.0
You are currently viewing 'Get Roster By Team ID ' page
Usage
GET /Roster/:TeamGUID/:Year
Content-Type
application/json
Description
Return a list of athletes using supplied Team ID and Year.
Please use the first year of the school year, i.e. 2017/2018 = 2017.
Note
Put the access token generated from the Get Access Token endpoint (Auth/ValidateUser) in the request header field "Authorization" as "bearer ACCESS_TOKEN_HERE". Sample request URL/Roster/12345-ascfbfb-7dcd2ca-a8sc6sac3/2017
Example
Type | Name | Required | Note |
---|---|---|---|
URL | :TeamGUID | YES | |
URL | :Year | YES |
Sample response:
[
{
"AthleteID" : "123456asvfberb-8cv4573",
"AthleteFullName": "Aalbers, Sydney Paige",
"SchoolName": "School 1 High School",
"SportName": "Football",
"LevelName": "Varsity",
"LevelShortName": "V",
"TeamName": "Varsity FB",
"Year": "2017",
"Classification": "test",
"Position": "",
"Jersey_number": "",
"Height": "",
"Weight": "",
"Program_Custom_Field1": "field1",
"Program_Custom_Field2": "field2",
"Bio": ""
"Image": "https://www.rankone.com/images/GetImage.ashx?D=R&F=dFNXVW1HN3p1bEhMYmpqaCtOQnFLUT09"
},
...
]