GET api/ItemOption?companycode={companycode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
companycode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ItemOptionName | Description | Type | Additional information |
---|---|---|---|
CategoryId | integer |
None. |
|
OptionCategoryId | integer |
None. |
|
MinQty | integer |
None. |
|
MaxQty | integer |
None. |
|
DisplayOrder | integer |
None. |
|
ItemId | integer |
None. |
|
ItemMaxQty | integer |
None. |
|
Description | string |
None. |
|
MenuSetId | integer |
None. |
|
IsRemark | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "IsRemark": true, "CategoryId": 1, "OptionCategoryId": 2, "MinQty": 3, "MaxQty": 4, "DisplayOrder": 5, "ItemId": 6, "ItemMaxQty": 7, "Description": "sample string 8", "MenuSetId": 9 }, { "IsRemark": true, "CategoryId": 1, "OptionCategoryId": 2, "MinQty": 3, "MaxQty": 4, "DisplayOrder": 5, "ItemId": 6, "ItemMaxQty": 7, "Description": "sample string 8", "MenuSetId": 9 } ]
text/xml
Sample:
<ArrayOfItemOption xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CloudSysPOSWeb.Models"> <ItemOption> <CategoryId>1</CategoryId> <Description>sample string 8</Description> <DisplayOrder>5</DisplayOrder> <IsRemark>true</IsRemark> <ItemId>6</ItemId> <ItemMaxQty>7</ItemMaxQty> <MaxQty>4</MaxQty> <MenuSetId>9</MenuSetId> <MinQty>3</MinQty> <OptionCategoryId>2</OptionCategoryId> </ItemOption> <ItemOption> <CategoryId>1</CategoryId> <Description>sample string 8</Description> <DisplayOrder>5</DisplayOrder> <IsRemark>true</IsRemark> <ItemId>6</ItemId> <ItemMaxQty>7</ItemMaxQty> <MaxQty>4</MaxQty> <MenuSetId>9</MenuSetId> <MinQty>3</MinQty> <OptionCategoryId>2</OptionCategoryId> </ItemOption> </ArrayOfItemOption>