Rank One Partner API Version 1.0
You are currently viewing 'Get User Info ' page
Usage
GET /User/Info/:UserID
OR
POST /User/Info (List of IDs supplied in body)
Content-Type
application/json
Description
Returns user information
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 used when GET request is made/User/Info/00000000-0000-0000-0000-000000000000
Example
Type | Name | Required | Note |
URL | User ID | YES | User ID of user |
Sample Body (used when posting a list of IDs):
[
Sample response:
[
"52c99fc4-c7fd-4a66-ae36-d0a176c508cd",
"5ea78b00-a578-4fa5-bb2d-eb790c5ff462",
...
]Sample response:
{
"userId": "1655D5B8-2751-4841-A601-980B32B82803",
"districtId": "6844B811-4BF8-40C8-A6FA-8FB645457DEF",
"firstName": "Bassem",
"lastName": "Wadie",
"cellPhone": "111-111-1111",
"email": "bassem.wadie@rankone.com",
"accessLevel": (See Access Level)
}