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:
<ArrayOfCMProductTypeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.CM.DAL.Domain.ProductTypes.Dto">
<CMProductTypeDto>
<CMProductTypeID>1</CMProductTypeID>
<CRMCode>sample string 10</CRMCode>
<DispSeq>5</DispSeq>
<IsAvailableThroughTevalisAPI>true</IsAvailableThroughTevalisAPI>
<IsPrintOnCashSale>true</IsPrintOnCashSale>
<IsSendToStock>true</IsSendToStock>
<MustOpenTable>true</MustOpenTable>
<Name>sample string 2</Name>
<ReportCategoryID>11</ReportCategoryID>
<RezlynxCode>sample string 3</RezlynxCode>
<StockCode>sample string 4</StockCode>
</CMProductTypeDto>
<CMProductTypeDto>
<CMProductTypeID>1</CMProductTypeID>
<CRMCode>sample string 10</CRMCode>
<DispSeq>5</DispSeq>
<IsAvailableThroughTevalisAPI>true</IsAvailableThroughTevalisAPI>
<IsPrintOnCashSale>true</IsPrintOnCashSale>
<IsSendToStock>true</IsSendToStock>
<MustOpenTable>true</MustOpenTable>
<Name>sample string 2</Name>
<ReportCategoryID>11</ReportCategoryID>
<RezlynxCode>sample string 3</RezlynxCode>
<StockCode>sample string 4</StockCode>
</CMProductTypeDto>
</ArrayOfCMProductTypeDto>