How can we help?

Searching:

0 results found

Users/Get (Specific)

GET /odata/Users/[userId]

Description

Gets the details of a specific user, as specified by the user’s ID. This user ID is returned in the response of the Users/Post.

To get the details of all the Users of the Applications allowed to the logged‑in user, see Users/Get (List).

See the following for request and response details ‒

See Also

Request ‒ Users/Get (Specific)

Property Type Description Mandatory
userId String This is the unique identifier automatically assigned by Axonize when a user is created. This userId is returned in the response of the Users/Post. Y

Example JSON Users/Get (Specific) Request

curl -X GET \

  https://api.stg.axonize.com/odata/users/592139084d27e710e80f1234 \

  -H ‘Authorization: Token’ \

  -H ‘Content-Type: application/json’ \

  -H ‘appId: 801A048A-9F23-429F-BF0D-B6D35B22771E’ \

Response ‒ Users/Get (Specific)

For the requested user, the response provides the properties in Users/Post.

 

Example JSON Users/Get (Specific) Response

Status 200 ‒ OK

{

    “@odata.context”: “https://stg-axonizeapi-axonize.stg-ase-axonize.p.azurewebsites.net/odata/$metadata#Users/$entity”,

    “email”: “axonize1@axonize.com”,

    “username”: ” testuser1″,

    “tenantId”: “5851631d4e41925b98f01234”,

    “role”: “admin”,

    “mobilePhone”: “+”,

    “cultureInfo”: null,

    “status”: “Activated”,

    “id”: “592139084d27e710e80f35cb”,

    “tokenId”: “ABD123”,

   “appId”: “801A048A-9F23-429F-BF0D-B6D35B22771E”,

    “createDate”: “2017-05-21T06:51:52.771Z”,

    “createUser”: “5851631e4e41925b98f01234”,

    “updateDate”: “0001-01-01T00:00:00Z”,

    “updateUser”: null

}