POST api/v1/packages/searchpackage
Request Information
URI Parameters
None.
Body Parameters
PackageConsult| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| BranchId | integer |
None. |
|
| CompanyId | integer |
None. |
|
| StatusId | integer |
None. |
|
| Categories | Collection of integer |
None. |
|
| Status | Collection of string |
None. |
|
| TypeId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| ConstainSpecial | boolean |
None. |
|
| ShowRecommendation | boolean |
None. |
|
| RecommendationCustomerId | integer |
None. |
|
| SearchName | string |
None. |
|
| Search | string |
None. |
|
| OrderOnline | boolean |
None. |
|
| Skip | integer |
None. |
|
| Take | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"BranchId": 2,
"CompanyId": 3,
"StatusId": 4,
"Categories": [
1,
2
],
"Status": [
"sample string 1",
"sample string 2"
],
"TypeId": 5,
"CustomerId": 6,
"ConstainSpecial": true,
"ShowRecommendation": true,
"RecommendationCustomerId": 9,
"SearchName": "sample string 10",
"Search": "sample string 11",
"OrderOnline": true,
"Skip": 13,
"Take": 14
}
application/xml, text/xml
Sample:
<PackageConsult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MWS.Core.Models.PromotionalPackages">
<BranchId>2</BranchId>
<Categories xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</Categories>
<CompanyId>3</CompanyId>
<ConstainSpecial>true</ConstainSpecial>
<CustomerId>6</CustomerId>
<Id>1</Id>
<OrderOnline>true</OrderOnline>
<RecommendationCustomerId>9</RecommendationCustomerId>
<Search>sample string 11</Search>
<SearchName>sample string 10</SearchName>
<ShowRecommendation>true</ShowRecommendation>
<Skip>13</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>4</StatusId>
<Take>14</Take>
<TypeId>5</TypeId>
</PackageConsult>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseModelOfListOfPromotionalPackage| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Data | Collection of PromotionalPackage |
None. |
|
| Pagination | Pagination |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.