Get a list of users
GET/Users
Retrieve a list of users based on the applied filter.
Request
Query Parameters
- Use the encodeURIComponent() method in the browser, which converts the object into a valid URL-encoded string. 2.Pass the encoded string as the query string parameter. example: encodeURIComponent(' {"roleName":"administrator"}')
- Use the encodeURIComponent() method in the browser, which converts the object into a valid URL-encoded string. 2.Pass the encoded string as the query string parameter. example: encodeURIComponent('{"page":1,"perPage":5,"serverSidePaginationEnabled":false,"totalCount":0}')
If you have chosen the GET_ONE method type then you need to pass the roleName parameter
Filter criteria for retrieving users. Note: Encoding Objects for Query String Parameters When passing an object as part of the query string parameters in a URL, you must encode the object to ensure it is correctly interpreted by the server. To encode the object:
Pagination parameters. Note: Encoding Objects for Query String Parameters When passing an object as part of the query string parameters in a URL, you must encode the object to ensure it is correctly interpreted by the server. To encode the object:
Type of method example: GET_LIST, GET_ONE
If you have chosen the GET_ONE method type then you need to pass the roleName parameter
Header Parameters
Please provide the api here
Responses
- 200
- 400
- 401
- 502
- 504
200 response
Response Headers
Access-Control-Expose-Headers
string
Manages CORS exposed headers.
Access-Control-Allow-Origin
string
Manages CORS.
Content-Range
string
Data range of result.
X-Total-Count
string
Length of output.
Access-Control-Allow-Headers
string
Manages header for CORS.
Content-Type
string
Data type of content.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
usersList
object[]
The last name of the user.
The organization name of the user.
Discount classes assigned to the user.
Manuals information for the user.
Assets version for the user.
The label assigned to the user.
Security groups assigned to the user.
Maintenance information for the user.
The username of the user.
The type of the user.
The login type of the user.
The date and time when the user was last modified.
The first name of the user.
Maintenance version for the user.
The Cognito user status of the user.
Manuals version for the user.
Assets information for the user.
The full name of the user.
The unique identifier for the user.
The date and time when the user was created.
The status of the user.
{
"usersList": [
{
"lastName": "string",
"orgName": "string",
"discountClasses": "string",
"Manuals": "string",
"AssetsVersion": "string",
"label": "string",
"securityGroup": "string",
"Maintenance": "string",
"userName": "string",
"type": "string",
"userLoginType": "string",
"lastModifiedOn": "2024-07-29T15:51:28.071Z",
"firstName": "string",
"MaintenanceVersion": "string",
"cognitoUserStatus": "string",
"ManualsVersion": "string",
"Assets": "string",
"name": "string",
"id": "string",
"createDate": "2024-07-29T15:51:28.071Z",
"status": "string"
}
]
}
400 response
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string"
}
401 response
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string"
}
502 response
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string"
}
504 response
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string"
}