Rank One Partner API Version 1.0
You are currently viewing 'Get Teams By School ID ' page
Usage
GET /Team/:SchoolGUID
Content-Type
application/json
Description
Return a list of teams using supplied School ID. Filter result by providing Sport ID.
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 with sportID:/Team/12345-ascfbfb-7dcd2ca-a8sc6sac3?SportID=201
Example
Type | Name | Required | Note |
URL | :SchoolID | YES | School ID partner has access to |
Query String | SportID | No |
Sample response:
[
{
"ID": "123457-45sc25z-s2c365",
"Name": "Varsity FB",
"Level": "Varsity",
"SportName": "Football",
"Gender": "M"
},
...
]