POST api/v1/customerpackages/search
Request Information
URI Parameters
None.
Body Parameters
CustomerPackageSearch| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CustomerId | integer |
None. |
|
| CompanyId | integer |
None. |
|
| BranchId | integer |
None. |
|
| Packages | Collection of integer |
None. |
|
| PackagesListString | string |
None. |
|
| Search | string |
None. |
|
| StatusId | integer |
None. |
|
| IsModificationNeeded | boolean |
None. |
|
| Status | Collection of string |
None. |
|
| OrderBy | integer |
None. |
|
| Skip | integer |
None. |
|
| Take | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CustomerId": 2,
"CompanyId": 3,
"BranchId": 4,
"Packages": [
1,
2
],
"PackagesListString": "sample string 5",
"Search": "sample string 6",
"StatusId": 7,
"IsModificationNeeded": true,
"Status": [
"sample string 1",
"sample string 2"
],
"OrderBy": 9,
"Skip": 10,
"Take": 11
}
application/xml, text/xml
Sample:
<CustomerPackageSearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MWS.Core.Models.Customers.Search">
<BranchId>4</BranchId>
<CompanyId>3</CompanyId>
<CustomerId>2</CustomerId>
<Id>1</Id>
<IsModificationNeeded>true</IsModificationNeeded>
<OrderBy>9</OrderBy>
<Packages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</Packages>
<PackagesListString>sample string 5</PackagesListString>
<Search>sample string 6</Search>
<Skip>10</Skip>
<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>7</StatusId>
<Take>11</Take>
</CustomerPackageSearch>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseModelOfListOfCustomerPromotionalPackageBalance| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Data | Collection of CustomerPromotionalPackageBalance |
None. |
|
| Pagination | Pagination |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.