POST jxc_api/DDL/ProdPriceSummary

Request Information

URI Parameters

None.

Body Parameters

ProdPriceSummaryConfig
NameDescriptionTypeAdditional information
CustId

integer

None.

VcType

integer

None.

VcLevel

integer

None.

Flag

integer

None.

Items

Collection of ProdPriceSummaryModel

None.

Request Formats

application/json, text/json

Sample:
{
  "CustId": 1,
  "VcType": 1,
  "VcLevel": 1,
  "Flag": 2,
  "Items": [
    {
      "ProdId": 1,
      "ApId": 2,
      "UnitId": 3,
      "WhId": 4,
      "Price": "sample string 5",
      "CustCode": "sample string 6"
    },
    {
      "ProdId": 1,
      "ApId": 2,
      "UnitId": 3,
      "WhId": 4,
      "Price": "sample string 5",
      "CustCode": "sample string 6"
    }
  ]
}

application/xml, text/xml

Sample:
<ProdPriceSummaryConfig xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Framework.Controllers">
  <CustId>1</CustId>
  <Flag>2</Flag>
  <Items>
    <ProdPriceSummaryModel>
      <ApId>2</ApId>
      <CustCode>sample string 6</CustCode>
      <Price>sample string 5</Price>
      <ProdId>1</ProdId>
      <UnitId>3</UnitId>
      <WhId>4</WhId>
    </ProdPriceSummaryModel>
    <ProdPriceSummaryModel>
      <ApId>2</ApId>
      <CustCode>sample string 6</CustCode>
      <Price>sample string 5</Price>
      <ProdId>1</ProdId>
      <UnitId>3</UnitId>
      <WhId>4</WhId>
    </ProdPriceSummaryModel>
  </Items>
  <VcLevel>1</VcLevel>
  <VcType>1</VcType>
</ProdPriceSummaryConfig>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of ProdPriceSummaryModel
NameDescriptionTypeAdditional information
ProdId

integer

None.

ApId

integer

None.

UnitId

integer

None.

WhId

integer

None.

Price

string

None.

CustCode

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<ArrayOfProdPriceSummaryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Framework.Controllers">
  <ProdPriceSummaryModel>
    <ApId>2</ApId>
    <CustCode>sample string 6</CustCode>
    <Price>sample string 5</Price>
    <ProdId>1</ProdId>
    <UnitId>3</UnitId>
    <WhId>4</WhId>
  </ProdPriceSummaryModel>
  <ProdPriceSummaryModel>
    <ApId>2</ApId>
    <CustCode>sample string 6</CustCode>
    <Price>sample string 5</Price>
    <ProdId>1</ProdId>
    <UnitId>3</UnitId>
    <WhId>4</WhId>
  </ProdPriceSummaryModel>
</ArrayOfProdPriceSummaryModel>