GET product/categories?UserId={UserId}&Token={Token}&Query={Query}&Page={Page}&PageSize={PageSize}&Upc={Upc}&BestMatch={BestMatch}&Id={Id}&AutoApprove={AutoApprove}&CompanyId={CompanyId}&Text={Text}&ClientCode={ClientCode}&IsMro={IsMro}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
UserId | string |
None. |
|
Token | string |
None. |
|
Query | string |
None. |
|
Page | integer |
None. |
|
PageSize | integer |
None. |
|
Upc | string |
None. |
|
BestMatch | boolean |
None. |
|
Id | integer |
None. |
|
AutoApprove | boolean |
None. |
|
CompanyId | string |
None. |
|
Text | string |
None. |
|
ClientCode | string |
None. |
|
IsMro | boolean |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of CategoryModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "name": "sample string 2" }, { "id": 1, "name": "sample string 2" } ]
text/html
Sample:
[{"id":1,"name":"sample string 2"},{"id":1,"name":"sample string 2"}]
application/xml, text/xml
Sample:
<ArrayOfCategoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TsfRetailMarkets.ProductApi.Models"> <CategoryModel> <Id>1</Id> <Name>sample string 2</Name> </CategoryModel> <CategoryModel> <Id>1</Id> <Name>sample string 2</Name> </CategoryModel> </ArrayOfCategoryModel>