GET CMProductType?CMPackageId={CMPackageId}
Returns a list of CM Product Types
Request Information
URI Parameters
| Name | Type | Description | Additional information |
|---|---|---|---|
| CMPackageId | integer |
Body Parameters
None.
Response Information
Resource Description
Collection of CMProductTypeDto| Name | Type | Description | Additional information |
|---|---|---|---|
| CMProductTypeID | integer |
None. |
|
| Name | string |
None. |
|
| RezlynxCode | string |
None. |
|
| StockCode | string |
None. |
|
| DispSeq | integer |
None. |
|
| IsSendToStock | boolean |
None. |
|
| IsPrintOnCashSale | boolean |
None. |
|
| IsAvailableThroughTevalisAPI | boolean |
None. |
|
| MustOpenTable | boolean |
None. |
|
| CRMCode | string |
None. |
|
| ReportCategoryID | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CMProductTypeID": 1,
"Name": "sample string 2",
"RezlynxCode": "sample string 3",
"StockCode": "sample string 4",
"DispSeq": 5,
"IsSendToStock": true,
"IsPrintOnCashSale": true,
"IsAvailableThroughTevalisAPI": true,
"MustOpenTable": true,
"CRMCode": "sample string 10",
"ReportCategoryID": 11
},
{
"CMProductTypeID": 1,
"Name": "sample string 2",
"RezlynxCode": "sample string 3",
"StockCode": "sample string 4",
"DispSeq": 5,
"IsSendToStock": true,
"IsPrintOnCashSale": true,
"IsAvailableThroughTevalisAPI": true,
"MustOpenTable": true,
"CRMCode": "sample string 10",
"ReportCategoryID": 11
}
]
application/xml, text/xml
Sample:
System.Xml.XmlDocument