GET CMPriceBand?CMPackageId={CMPackageId}

Returns a list of CM Price Bands

Request Information

URI Parameters

Name Type Description Additional information
CMPackageId integer

Body Parameters

None.

Response Information

Resource Description

Collection of CMPriceBandDto
Name Type Description Additional information
CMPriceBandID integer

None.

Name string

None.

IsMasterPriceBand boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CMPriceBandID": 1,
    "Name": "sample string 2",
    "IsMasterPriceBand": true
  },
  {
    "CMPriceBandID": 1,
    "Name": "sample string 2",
    "IsMasterPriceBand": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfCMPriceBandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.CM.DAL.Domain.PriceBands.Dto">
  <CMPriceBandDto>
    <CMPriceBandID>1</CMPriceBandID>
    <IsMasterPriceBand>true</IsMasterPriceBand>
    <Name>sample string 2</Name>
  </CMPriceBandDto>
  <CMPriceBandDto>
    <CMPriceBandID>1</CMPriceBandID>
    <IsMasterPriceBand>true</IsMasterPriceBand>
    <Name>sample string 2</Name>
  </CMPriceBandDto>
</ArrayOfCMPriceBandDto>