Rank One Partner API Version 1.0
You are currently viewing 'Get Athlete Info For Health Integration ' page
Usage
GET /Athlete/InfoHealth/:DistrictId/:AthleteId
OR
POST /Athlete/InfoHealth/:DistrictId (List of IDs supplied in body)
Content-Type
application/json
Description
Returns Athlete information for the ID specified
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/Athlete/InfoHealth/00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
Example
Type | Name | Required | Note |
URL | District ID | YES | District ID of user |
URL | Athlete ID | YES | ID of Athlete |
Sample Body (used when posting a list of IDs):
[
Sample response:
[
"52c99fc4-c7fd-4a66-ae36-d0a176c508cd",
"5ea78b00-a578-4fa5-bb2d-eb790c5ff462",
...
]Sample response:
{
"athleteId": "488235f4-47c6-47e9-a549-3a99fd7580b1",
"firstName": "Paul",
"middleName": null,
"lastName": "Wall",
"fullName": "Paul Wall",
"schoolName": "School 1 High School",
"dob": "07/08/2001",
"gender": "M",
"guardian1Name": "John Wall",
"guardian1Phone": "1234567890",
"guardian1Cell": null,
"guardian1Email": "JohnWall@Test.com",
"guardian2Name": "Susan Wall",
"guardian2Phone": "4445551111",
"guardian2Cell": "6667778888",
"guardian2Email": "SusanWall@Test.com",
"sports": [
"Basketball",
"Football",
...
]
"files": [
{
"injuryFileGuid": "0cf55247-2d04-4e5f-9d90-a830a8dde757",
"fileName": "file1.jpg",
"mimeType": "image/jpeg"
"fileType": (See File Types)
},
{
"injuryFileGuid": "dc0fde70-6d2b-4b07-9320-84a5f5727196",
"fileName": "file2.pdf",
"mimeType": "application/pdf"
"fileType": (See File Types)
},
...
]
}