GET CMProductMeasure?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 CMProductMeasureListItemDto
Name Type Description Additional information
ProductID integer

None.

MeasureID integer

None.

Barcode string

None.

PLU string

None.

PLU2 string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProductID": 1,
    "MeasureID": 2,
    "Barcode": "sample string 3",
    "PLU": "sample string 4",
    "PLU2": "sample string 5"
  },
  {
    "ProductID": 1,
    "MeasureID": 2,
    "Barcode": "sample string 3",
    "PLU": "sample string 4",
    "PLU2": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCMProductMeasureListItemDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.CM.DAL.Domain.Products.Dto">
  <CMProductMeasureListItemDto>
    <Barcode>sample string 3</Barcode>
    <MeasureID>2</MeasureID>
    <PLU>sample string 4</PLU>
    <PLU2>sample string 5</PLU2>
    <ProductID>1</ProductID>
  </CMProductMeasureListItemDto>
  <CMProductMeasureListItemDto>
    <Barcode>sample string 3</Barcode>
    <MeasureID>2</MeasureID>
    <PLU>sample string 4</PLU>
    <PLU2>sample string 5</PLU2>
    <ProductID>1</ProductID>
  </CMProductMeasureListItemDto>
</ArrayOfCMProductMeasureListItemDto>