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