Admin filter user profiles
This api if for Admin filter user profiles
REST
Headers
Fields | Type | Description | Example | O/M | Data Management |
---|---|---|---|---|---|
URL | string | /v1/employees?=&= | M | ||
METHOD | string | GET | M | ||
content-type | string | JSON | application/json | M | |
x-access-token | string | Session token with validity | token | M | company token |
PARAMS
they can be anything from these values
first_name:string
last_name:string
gender?: string
user: string
email: string
mobile: string
roles?: [string]
employee_id:string
company: string
Success
[{
"_id": "54da47cfefa0c9420757e0e4",
"__v": 0,
"first_name":"abc",
"last_name":"xyz",
"gender": "male",
"email": "employee@test.com",
"mobile": "+919891055604",
"employee_id":"843778",
"company":"12da47cfe33442420757e0e4"
}]
Error