Gets a list of users for the given company when logged in as a system administrator.
- Requires API Key: No
- Requires System Administrator: Yes
- Requires Counterpoint Registration option: No
- Requires Company Administrator: No
URI
GET https://localhost:81/Users/{CompanyName}
Headers
Authorization : Basic UUFUZXN0R29sZi5NR1I6cGFzc3dvcmQx
Accept : application/json
Content-Type : application/json
Name | Parameter Type | Data Type | Required | Description |
---|---|---|---|---|
CompanyName | path | string | true | The name of the company. |
200 OK
The request was successful, the user data was returned.401 Unauthorized
The request could not be fulfilled. Likely due to a missing or invalid authorization header.404 Not Found
The request could not be fulfilled. The company name provided was not found.500 Internal Server Error
The request could not be fulfilled due to an unexpected internal error. This could be caused by a bug in the system, an unavailable database, or any other unexpected internal problem processing the request.
The following error codes may be returned from requests to this endpoint:
SUCCESS
: The request was successful and the user data was returned.ERROR_RECORD_NOT_FOUND
: The company name provided was not found.ERROR_UNKNOWN
: An unexpected error occurred. See the Message field for more details.
Response Body
{
"UserList": [
"MGR",
"POS1",
"POS2",
"Z"
],
"ErrorCode": "SUCCESS"
}
UserList
Element | Datatype | Description |
---|---|---|
UserList | List | The list of users in this company. |