POST api/v1/customer/searchcustomer
Request Information
URI Parameters
None.
Body Parameters
CustomerConsult| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyId | integer |
None. |
|
| Id | integer |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| PhoneNumber | string |
None. |
|
| string |
None. |
||
| StateId | integer |
None. |
|
| Search | string |
None. |
|
| Token | string |
None. |
|
| Status | Collection of string |
None. |
|
| StatusId | integer |
None. |
|
| HasAccountBalancePending | boolean |
None. |
|
| HasPackagePaymentPending | boolean |
None. |
|
| Skip | integer |
None. |
|
| Take | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CompanyId": 1,
"Id": 2,
"FirstName": "sample string 3",
"LastName": "sample string 4",
"PhoneNumber": "sample string 5",
"Email": "sample string 6",
"StateId": 7,
"Search": "sample string 8",
"Token": "sample string 9",
"Status": [
"sample string 1",
"sample string 2"
],
"StatusId": 10,
"HasAccountBalancePending": true,
"HasPackagePaymentPending": true,
"Skip": 13,
"Take": 14
}
application/xml, text/xml
Sample:
<CustomerConsult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MWS.Core.Models.Customers">
<CompanyId>1</CompanyId>
<Email>sample string 6</Email>
<FirstName>sample string 3</FirstName>
<HasAccountBalancePending>true</HasAccountBalancePending>
<HasPackagePaymentPending>true</HasPackagePaymentPending>
<Id>2</Id>
<LastName>sample string 4</LastName>
<PhoneNumber>sample string 5</PhoneNumber>
<Search>sample string 8</Search>
<Skip>13</Skip>
<StateId>7</StateId>
<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>10</StatusId>
<Take>14</Take>
<Token>sample string 9</Token>
</CustomerConsult>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseModelOfListOfCustomer| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Data | Collection of Customer |
None. |
|
| Pagination | Pagination |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.