POST jxc_api/ProductPrice/AddProdPrice

Request Information

URI Parameters

None.

Body Parameters

ProdPriceAddModel
NameDescriptionTypeAdditional information
ProdId

integer

None.

Items

Collection of ProdPriceItemModel

None.

Request Formats

application/json, text/json

Sample:
{
  "ProdId": 1,
  "Items": [
    {
      "ApId": 1,
      "UnitId": 2,
      "LevelId": 3,
      "Price": 4.0
    },
    {
      "ApId": 1,
      "UnitId": 2,
      "LevelId": 3,
      "Price": 4.0
    }
  ]
}

application/xml, text/xml

Sample:
<ProdPriceAddModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models">
  <Items>
    <ProdPriceItemModel>
      <ApId>1</ApId>
      <LevelId>3</LevelId>
      <Price>4</Price>
      <UnitId>2</UnitId>
    </ProdPriceItemModel>
    <ProdPriceItemModel>
      <ApId>1</ApId>
      <LevelId>3</LevelId>
      <Price>4</Price>
      <UnitId>2</UnitId>
    </ProdPriceItemModel>
  </Items>
  <ProdId>1</ProdId>
</ProdPriceAddModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.