Response ‒ Users/Post
All the same properties in the request are returned in the response. In addition, the response that is returned also contains the following properties –
Property
Type
Description
userId
String
A unique User identifier (userId) that is automatically generated for this user by IoT Platform .
tokenId
String
The token ID of this user. For internal use by IoT Platform .
appId
String
A unique Application identifier that is automatically generated by IoT Platform . This is the identifier of the Application to which this user is assigned.
This identifier is automatically generated by IoT Platform when the Application/Post request is used.
The Token or the Client ID/Client Secret used as the authentication in the request header specifies the application(s) to which this user is allowed access.
createDate, createUser, updateDate, updateUser
See Common Response Properties.
Example JSON Users/Post Response
Status 201 – Created
{
“@odata.context”: “https://stg-axonizeapi-axonize.stg-ase-axonize.p.azurewebsites.net/odata/$metadata#Users/$entity”,
“email”: ” axonize@axonize.com”,
“username”: “axonize user”,
“tenantId”: “5851631d4e41925b98f01234”,
“role”: “admin”,
“mobilePhone”: “+”,
“cultureInfo”: null,
“status”: “Activated”,
“id”: “592139084d27e710e80f35cb”,
“userId”: “ABCD”,
“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
}