POST User/getusers
Get list of users including their dealsheet access code.
Request Information
URI Parameters
None.
Body Parameters
GetUsersRequestName | Description | Type | Additional information |
---|---|---|---|
refreshAccessCodes |
Refresh Access Codes |
boolean |
None. |
token |
API access token |
globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{ "refreshAccessCodes": true, "token": "637b309a-0f42-407a-9197-adb5e1116b66" }
application/xml, text/xml
Sample:
<GetUsersRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.User"> <token xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models">637b309a-0f42-407a-9197-adb5e1116b66</token> <refreshAccessCodes>true</refreshAccessCodes> </GetUsersRequest>
Response Information
Resource Description
GetUsersResponseName | Description | Type | Additional information |
---|---|---|---|
code |
API result code |
integer |
None. |
error |
API error message |
string |
None. |
UserList |
User list |
Collection of UserItem |
None. |
APIVersion |
API Version |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "UserList": [ { "UserID": 1, "UserName": "sample string 2", "FirstName": "sample string 3", "LastName": "sample string 4", "Email": "sample string 5", "AccessCode": "sample string 6", "AccessCodeExpirationDate": "2024-10-03T19:56:22.4990811-07:00", "LoginDuration": "sample string 8" }, { "UserID": 1, "UserName": "sample string 2", "FirstName": "sample string 3", "LastName": "sample string 4", "Email": "sample string 5", "AccessCode": "sample string 6", "AccessCodeExpirationDate": "2024-10-03T19:56:22.4990811-07:00", "LoginDuration": "sample string 8" } ], "APIVersion": 1, "code": 200, "error": "sample string 1" }
application/xml, text/xml
Sample:
<GetUsersResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.User"> <APIVersion xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API">1</APIVersion> <error xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API">sample string 1</error> <UserList> <UserItem> <AccessCode>sample string 6</AccessCode> <AccessCodeExpirationDate>2024-10-03T19:56:22.4990811-07:00</AccessCodeExpirationDate> <Email>sample string 5</Email> <FirstName>sample string 3</FirstName> <LastName>sample string 4</LastName> <LoginDuration>sample string 8</LoginDuration> <UserID>1</UserID> <UserName>sample string 2</UserName> </UserItem> <UserItem> <AccessCode>sample string 6</AccessCode> <AccessCodeExpirationDate>2024-10-03T19:56:22.4990811-07:00</AccessCodeExpirationDate> <Email>sample string 5</Email> <FirstName>sample string 3</FirstName> <LastName>sample string 4</LastName> <LoginDuration>sample string 8</LoginDuration> <UserID>1</UserID> <UserName>sample string 2</UserName> </UserItem> </UserList> </GetUsersResponse>