GET CMPrice?CMPackageId={CMPackageId}&CMProductID={CMProductID}

Returns a list of CM Prices with PriceLinks

Request Information

URI Parameters

Name Type Description Additional information
CMPackageId integer

CMProductID integer

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CMPriceBandPriceDto
Name Type Description Additional information
CMPriceBandPriceID integer

None.

CMPriceBandID integer

None.

CMPriceBandName string

None.

GrossPrice decimal number

None.

CMPriceLink CMPriceLinkDto

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CMPriceBandPriceID": 1,
    "CMPriceBandID": 2,
    "CMPriceBandName": "sample string 3",
    "GrossPrice": 4.0,
    "CMPriceLink": {
      "CMPriceLinkID": 1,
      "CMPackageID": 2,
      "CMPackageName": "sample string 3",
      "CMCompanyGroupName": "sample string 4",
      "CMPriceGroupID": 5,
      "CMPriceGroupName": "sample string 6",
      "CMProductMeasureID": 7,
      "CMProductName": "sample string 8",
      "CMProductGroupName": "sample string 9",
      "CMMeasureName": "sample string 10",
      "CMTaxGroupID": 11,
      "CMTaxGroupName": "sample string 12"
    }
  },
  {
    "CMPriceBandPriceID": 1,
    "CMPriceBandID": 2,
    "CMPriceBandName": "sample string 3",
    "GrossPrice": 4.0,
    "CMPriceLink": {
      "CMPriceLinkID": 1,
      "CMPackageID": 2,
      "CMPackageName": "sample string 3",
      "CMCompanyGroupName": "sample string 4",
      "CMPriceGroupID": 5,
      "CMPriceGroupName": "sample string 6",
      "CMProductMeasureID": 7,
      "CMProductName": "sample string 8",
      "CMProductGroupName": "sample string 9",
      "CMMeasureName": "sample string 10",
      "CMTaxGroupID": 11,
      "CMTaxGroupName": "sample string 12"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfCMPriceBandPriceDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.CM.DAL.Domain.PriceBandPrice.Dto">
  <CMPriceBandPriceDto>
    <CMPriceBandID>2</CMPriceBandID>
    <CMPriceBandName>sample string 3</CMPriceBandName>
    <CMPriceBandPriceID>1</CMPriceBandPriceID>
    <CMPriceLink xmlns:d3p1="http://schemas.datacontract.org/2004/07/Tevalis.CM.DAL.Domain.PriceLinks.Dto">
      <d3p1:CMCompanyGroupName>sample string 4</d3p1:CMCompanyGroupName>
      <d3p1:CMMeasureName>sample string 10</d3p1:CMMeasureName>
      <d3p1:CMPackageID>2</d3p1:CMPackageID>
      <d3p1:CMPackageName>sample string 3</d3p1:CMPackageName>
      <d3p1:CMPriceGroupID>5</d3p1:CMPriceGroupID>
      <d3p1:CMPriceGroupName>sample string 6</d3p1:CMPriceGroupName>
      <d3p1:CMPriceLinkID>1</d3p1:CMPriceLinkID>
      <d3p1:CMProductGroupName>sample string 9</d3p1:CMProductGroupName>
      <d3p1:CMProductMeasureID>7</d3p1:CMProductMeasureID>
      <d3p1:CMProductName>sample string 8</d3p1:CMProductName>
      <d3p1:CMTaxGroupID>11</d3p1:CMTaxGroupID>
      <d3p1:CMTaxGroupName>sample string 12</d3p1:CMTaxGroupName>
    </CMPriceLink>
    <GrossPrice>4</GrossPrice>
  </CMPriceBandPriceDto>
  <CMPriceBandPriceDto>
    <CMPriceBandID>2</CMPriceBandID>
    <CMPriceBandName>sample string 3</CMPriceBandName>
    <CMPriceBandPriceID>1</CMPriceBandPriceID>
    <CMPriceLink xmlns:d3p1="http://schemas.datacontract.org/2004/07/Tevalis.CM.DAL.Domain.PriceLinks.Dto">
      <d3p1:CMCompanyGroupName>sample string 4</d3p1:CMCompanyGroupName>
      <d3p1:CMMeasureName>sample string 10</d3p1:CMMeasureName>
      <d3p1:CMPackageID>2</d3p1:CMPackageID>
      <d3p1:CMPackageName>sample string 3</d3p1:CMPackageName>
      <d3p1:CMPriceGroupID>5</d3p1:CMPriceGroupID>
      <d3p1:CMPriceGroupName>sample string 6</d3p1:CMPriceGroupName>
      <d3p1:CMPriceLinkID>1</d3p1:CMPriceLinkID>
      <d3p1:CMProductGroupName>sample string 9</d3p1:CMProductGroupName>
      <d3p1:CMProductMeasureID>7</d3p1:CMProductMeasureID>
      <d3p1:CMProductName>sample string 8</d3p1:CMProductName>
      <d3p1:CMTaxGroupID>11</d3p1:CMTaxGroupID>
      <d3p1:CMTaxGroupName>sample string 12</d3p1:CMTaxGroupName>
    </CMPriceLink>
    <GrossPrice>4</GrossPrice>
  </CMPriceBandPriceDto>
</ArrayOfCMPriceBandPriceDto>