POST jxc_api/SellReturn/GetDefaultPrices

Request Information

URI Parameters

None.

Body Parameters

SearchDefaultPriceConditions
NameDescriptionTypeAdditional information
BillType

integer

None.

Ids

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BillType": 1,
  "Ids": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<SearchDefaultPriceConditions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Sell">
  <_x003C_BillType_x003E_k__BackingField>1</_x003C_BillType_x003E_k__BackingField>
  <_x003C_Ids_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_Ids_x003E_k__BackingField>
</SearchDefaultPriceConditions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of DefaultPriceInfo
NameDescriptionTypeAdditional information
ProdId

integer

None.

WhId

integer

None.

Price

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProdId": 2,
    "WhId": 3,
    "Price": 4.0
  },
  {
    "ProdId": 2,
    "WhId": 3,
    "Price": 4.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfDefaultPriceInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Sell">
  <DefaultPriceInfo>
    <_x003C_BillType_x003E_k__BackingField>1</_x003C_BillType_x003E_k__BackingField>
    <_x003C_Price_x003E_k__BackingField>4</_x003C_Price_x003E_k__BackingField>
    <_x003C_ProdId_x003E_k__BackingField>2</_x003C_ProdId_x003E_k__BackingField>
    <_x003C_WhId_x003E_k__BackingField>3</_x003C_WhId_x003E_k__BackingField>
  </DefaultPriceInfo>
  <DefaultPriceInfo>
    <_x003C_BillType_x003E_k__BackingField>1</_x003C_BillType_x003E_k__BackingField>
    <_x003C_Price_x003E_k__BackingField>4</_x003C_Price_x003E_k__BackingField>
    <_x003C_ProdId_x003E_k__BackingField>2</_x003C_ProdId_x003E_k__BackingField>
    <_x003C_WhId_x003E_k__BackingField>3</_x003C_WhId_x003E_k__BackingField>
  </DefaultPriceInfo>
</ArrayOfDefaultPriceInfo>