Search All Users
POST
/v1/_searchLast modified: 6 months ago
Search and get user(s) based on defined search criteria. Currently search parameters are only allowed as HTTP query params. In case multiple parameters are passed user will be searched as an AND combination of all the parameters. Maximum result size is restricted based on the maxlength of Users as defined in UserRes model.
By default results will be sorted by UserName
Request
Header Params
Content-Type
string
optional
Example:
application/json
Body Params text/plain
Example:{
"RequestInfo": {
"apiId": null,
"ver": null,
"ts": null,
"action": "POST",
"did": null,
"key": null,
"msgId": "5bfa85e7-dfa1-47c8-98b2-747bf552be86",
"userInfo": {
"id": 181,
"userName": "TestEggMUSTAKIMNK",
"uuid": "4f6cf5fa-bcb2-4a3a-9dff-9740c04e3a92",
"locale": "string",
"type": "EMPLOYEE",
"name": "mustak",
"mobileNumber": "1234567890",
"alternatemobilenumber": null,
"emailId": "xyz@egovernments.org",
"roles": [
{
"name": "Employee",
"code": "EMPLOYEE",
"tenantId": "pg"
},
{
"name": "System user",
"code": "SYSTEM",
"tenantId": "pg"
},
{
"name": "Super User",
"code": "SUPERUSER",
"tenantId": "pg"
}
],
"active": true,
"tenantId": "pg",
"permanentCity": "Kaikoo"
},
"authToken": "11926af5-050a-4fd6-a258-350ce179ff7f"
},
"type": "EMPLOYEE",
"active": "true",
"uuid": [
"bddd727f-9817-4d55-8c58-fdd81debb98a"
],
"tenantId": "pg"
}
Request samples
Responses
Successful response(200)
Invalid input.(400)
Successful response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
Not configured
Last modified: 6 months ago