How can we help?

Searching:

0 results found

Users/Me

GET /odata/users/me

Description

This option returns information about the currently logged-in User, according to the Application specified by the appId in the request.

See the following for request and response details ‒

See Also

Request ‒ Users/Me

The request contains the same properties as the Users/Post request. Only the username, email and role properties are mandatory.

 

Example JSON Users/Me Request

curl -X GET \

  https://api.stg.axonize.com/odata/users/me \

  -H ‘Authorization: Token’ \

  -H ‘Content-Type: application/json’

Response ‒ Users/Me

The response contains the same properties as the Users/Post response, including the userId that is automatically generated by Axonize.

 

Example JSON Users/Me Response

Status 200 – OK

{

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

    “email”: “demo@user.com”,

    “username”: “demouser”,

    “tenantId”: “5851631d4e41921234567890”,

    “role”: “admin”,

    “mobilePhone”: “+”,

    “cultureInfo”: null,

    “favouriteReports”: [],

    “status”: “Activated”,

    “failedLogins”: 0,

    “isScrubbed”: false,

    “tokenId”: null,

    “id”: “592139084d27e71234567890”,

    “appId”: “be517433-c4b8-4748-9258-1b1234567890”,

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

    “createUser”: “5851631e4e41921234567890”,

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

    “updateUser”: null

}