POST api/v1/employees/search
Request Information
URI Parameters
None.
Body Parameters
EmployeeSearch| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CompanyId | integer |
None. |
|
| BranchId | integer |
None. |
|
| StatusId | integer |
None. |
|
| BookOnline | boolean |
None. |
|
| Status | Collection of string |
None. |
|
| ServiceId | integer |
None. |
|
| States | Collection of integer |
None. |
|
| TypeId | integer |
None. |
|
| Search | string |
None. |
|
| Skip | integer |
None. |
|
| Take | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CompanyId": 2,
"BranchId": 3,
"StatusId": 4,
"BookOnline": true,
"Status": [
"sample string 1",
"sample string 2"
],
"ServiceId": 6,
"States": [
1,
2
],
"TypeId": 7,
"Search": "sample string 8",
"Skip": 9,
"Take": 10
}
application/xml, text/xml
Sample:
<EmployeeSearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MWS.Core.Models.Employees">
<BookOnline>true</BookOnline>
<BranchId>3</BranchId>
<CompanyId>2</CompanyId>
<Id>1</Id>
<Search>sample string 8</Search>
<ServiceId>6</ServiceId>
<Skip>9</Skip>
<States xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</States>
<Status xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Status>
<StatusId>4</StatusId>
<Take>10</Take>
<TypeId>7</TypeId>
</EmployeeSearch>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseModelOfListOfEmployee| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Data | Collection of Employee |
None. |
|
| Pagination | Pagination |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.