- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
User
Get /user/{externalId}
Finding users not supported
Getting all users or searching for users is currently not supported.
This /user/ method enables your other system to retrieve information for users previously created via the API.
(As these users are known in your system, so far there has been no need to retrieve these users.)
Header
Name | Data Type | Description |
---|---|---|
Content-type: | application/json | for all requests |
Authorization: | EAPI {token} | for all requests |
Request Parameters
Parameters indicated with a * are mandatory
Parameter | Type | Description |
---|---|---|
externalId* | String | The external ID of a user that needs to be fetched. The externalID corresponds with the 'User ID' within the usermanagement. |
Sample successful Response
Deprecated: SynchronizationKey
is no longer in use (and only kept for backward compatibility)
{
"Success": true,
"Errors": null,
"Content": {
"User": {
"ExternalId": "cirrus_user_ext_id",
"LastName": "Miller",
"FirstName": "John",
"Email": "cirrus_user@gmail.com",
"UserName": "cirrus_user",
"Role": "string",
"Photo": "https://cirrusplatform.com/static/img/default-avatar.png",
"DateOfBirth": "1988-05-03",
"Company": "Cirrus",
"CountryCode": "EN",
"State": "LA",
"City": "London",
"PostalCode": "12345A",
"PostalAddress": "Platform 9 3/4, Hogwarts",
"AddressLine1": "Address line 1",
"AddressLine2": "Address line 1",
"PhoneNumber": "345 123 234",
"CellularPhone": "+534 64538 7665",
"SpecialNeeds": true,
"ReasonableAdjustmentPercentage": 75,
"EnableReadSpeaker": true,
"DisableLogin": true,
"DisablePasswordReset": true,
"SynchronizationKey": "0c824cc1-8294-4857-81cb-8327d83df554",
"Labels": [
"Label 1"
],
"AllowedIpAddresses": [
"192.168.1.1"
],
"Hierarchies": [
{
"ExternalId": "cirrus_group_ext_id",
"IsCoordinator": true,
"IsAdministrator": true,
"HasViewReportsPermissions": true,
"HasReScoringPermissions": true,
"GroupTitle": "Group A",
"GroupPath": "Root Group / Group A",
"GroupIsOrganization": true
}
]
}
}
}
Unsuccesfull response
{
"Success": false,
"Errors": "User has not been found",
"ErrorDetails": [
{
"Code": 202,
"Error": "User has not been found"
}
]
}
Responses
Code | Description |
---|---|
200 | Successful operation |
400 | Possible error codes: 102: Unknown error 202: User has not been found |
403 | Not allowed to use external API |
500 | Internal server error |
Was this article helpful?