GET CMProductGroup?CMPackageId={CMPackageId}

Returns a list of CM Product Groups

Request Information

URI Parameters

Name Type Description Additional information
CMPackageId integer

Body Parameters

None.

Response Information

Resource Description

Collection of CMProductGroupDto
Name Type Description Additional information
CMProductGroupID integer

None.

Name string

None.

IsAlwaysStandardVAT boolean

None.

IsMain boolean

None.

KMSBuffetItem boolean

None.

CMProductTypeID integer

None.

GLCostCode string

None.

GLCostCentreCode string

None.

AgeVerification integer

None.

RezlynxCode string

None.

SecondaryName string

None.

AllergenPrompt boolean

None.

ReportCategoryID integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CMProductGroupID": 1,
    "Name": "sample string 2",
    "IsAlwaysStandardVAT": true,
    "IsMain": true,
    "KMSBuffetItem": true,
    "CMProductTypeID": 6,
    "GLCostCode": "sample string 7",
    "GLCostCentreCode": "sample string 8",
    "AgeVerification": 9,
    "RezlynxCode": "sample string 10",
    "SecondaryName": "sample string 11",
    "AllergenPrompt": true,
    "ReportCategoryID": 13
  },
  {
    "CMProductGroupID": 1,
    "Name": "sample string 2",
    "IsAlwaysStandardVAT": true,
    "IsMain": true,
    "KMSBuffetItem": true,
    "CMProductTypeID": 6,
    "GLCostCode": "sample string 7",
    "GLCostCentreCode": "sample string 8",
    "AgeVerification": 9,
    "RezlynxCode": "sample string 10",
    "SecondaryName": "sample string 11",
    "AllergenPrompt": true,
    "ReportCategoryID": 13
  }
]

application/xml, text/xml

Sample:
<ArrayOfCMProductGroupDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.CM.DAL.Domain.ProductGroups.Dto">
  <CMProductGroupDto>
    <AgeVerification>9</AgeVerification>
    <AllergenPrompt>true</AllergenPrompt>
    <CMProductGroupID>1</CMProductGroupID>
    <CMProductTypeID>6</CMProductTypeID>
    <GLCostCentreCode>sample string 8</GLCostCentreCode>
    <GLCostCode>sample string 7</GLCostCode>
    <IsAlwaysStandardVAT>true</IsAlwaysStandardVAT>
    <IsMain>true</IsMain>
    <KMSBuffetItem>true</KMSBuffetItem>
    <Name>sample string 2</Name>
    <ReportCategoryID>13</ReportCategoryID>
    <RezlynxCode>sample string 10</RezlynxCode>
    <SecondaryName>sample string 11</SecondaryName>
  </CMProductGroupDto>
  <CMProductGroupDto>
    <AgeVerification>9</AgeVerification>
    <AllergenPrompt>true</AllergenPrompt>
    <CMProductGroupID>1</CMProductGroupID>
    <CMProductTypeID>6</CMProductTypeID>
    <GLCostCentreCode>sample string 8</GLCostCentreCode>
    <GLCostCode>sample string 7</GLCostCode>
    <IsAlwaysStandardVAT>true</IsAlwaysStandardVAT>
    <IsMain>true</IsMain>
    <KMSBuffetItem>true</KMSBuffetItem>
    <Name>sample string 2</Name>
    <ReportCategoryID>13</ReportCategoryID>
    <RezlynxCode>sample string 10</RezlynxCode>
    <SecondaryName>sample string 11</SecondaryName>
  </CMProductGroupDto>
</ArrayOfCMProductGroupDto>