GET jxc_api/ProductPrice/GetPrices?prodId={prodId}&dataType={dataType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
prodId

integer

Required

dataType

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ProductPriceModel
NameDescriptionTypeAdditional information
ProdId

integer

None.

ApId

integer

None.

ApNo

integer

None.

UnitId

integer

None.

LevelId

integer

None.

Price

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProdId": 1,
    "ApId": 2,
    "ApNo": 3,
    "UnitId": 4,
    "LevelId": 5,
    "Price": "sample string 6"
  },
  {
    "ProdId": 1,
    "ApId": 2,
    "ApNo": 3,
    "UnitId": 4,
    "LevelId": 5,
    "Price": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfProductPriceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi.BaseData.Product">
  <ProductPriceModel>
    <ApId>2</ApId>
    <ApNo>3</ApNo>
    <LevelId>5</LevelId>
    <Price>sample string 6</Price>
    <ProdId>1</ProdId>
    <UnitId>4</UnitId>
  </ProductPriceModel>
  <ProductPriceModel>
    <ApId>2</ApId>
    <ApNo>3</ApNo>
    <LevelId>5</LevelId>
    <Price>sample string 6</Price>
    <ProdId>1</ProdId>
    <UnitId>4</UnitId>
  </ProductPriceModel>
</ArrayOfProductPriceModel>