API: Users
The API enables the following interactions with users:
Note: User records accessed through the API are read-only. All changes to user records must be conducted in the Clear Impact Scorecard software itself.
Explanation of User Parameters
ID [int] - The ID of the user whose records are being requested
Get List of Users for an Instance
URL
https://api.resultsscorecard.com/api/users/list
JSON Input
{
siteCode: "abc",
apiKey: "eEIzvy0kCu017+D1VjjjI1f52Vmbm+VF2FvO"
}
JSON Output
[
{
"id": 1,
"firstName": "John",
"lastName": "Doe",
"emailAddress": "john@doe.com",
"isPrimaryContact": false,
"isActive": true
}
]
Get User Details
URL
https://api.resultsscorecard.com/api/users/details
JSON Input
{
siteCode: "abc",
apiKey: "eEIzvy0kCu017+D1VjjjI1f52Vmbm+VF2FvO",
id:1
}
JSON Output
{
"id": 1,
"firstName":"John",
"lastName":"Doe",
"emailAddress":"john@doe.com",
"isPrimaryContact":false,
"isActive":true
}