POST jxc_api/SellOrder/BatchGetLatestProductPrice

Request Information

URI Parameters

None.

Body Parameters

BatchGetLatestSoProductPricePara
NameDescriptionTypeAdditional information
VcId

integer

None.

VcType

integer

None.

VcLevel

integer

None.

RowPriceParas

Collection of SoRowPricePara

None.

Request Formats

application/json, text/json

Sample:
{
  "VcId": 1,
  "VcType": 1,
  "VcLevel": 1,
  "RowPriceParas": [
    {
      "ProdId": 1,
      "ApId": 2,
      "UnitId": 3,
      "Count": 4.0,
      "OrderDate": "2024-11-25 02:59:04"
    },
    {
      "ProdId": 1,
      "ApId": 2,
      "UnitId": 3,
      "Count": 4.0,
      "OrderDate": "2024-11-25 02:59:04"
    }
  ]
}

application/xml, text/xml

Sample:
<BatchGetLatestSoProductPricePara xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Sell.Models">
  <RowPriceParas>
    <BatchGetLatestSoProductPricePara.SoRowPricePara>
      <ApId>2</ApId>
      <Count>4</Count>
      <OrderDate>2024-11-25T02:59:04.8446199+08:00</OrderDate>
      <ProdId>1</ProdId>
      <UnitId>3</UnitId>
    </BatchGetLatestSoProductPricePara.SoRowPricePara>
    <BatchGetLatestSoProductPricePara.SoRowPricePara>
      <ApId>2</ApId>
      <Count>4</Count>
      <OrderDate>2024-11-25T02:59:04.8446199+08:00</OrderDate>
      <ProdId>1</ProdId>
      <UnitId>3</UnitId>
    </BatchGetLatestSoProductPricePara.SoRowPricePara>
  </RowPriceParas>
  <VcId>1</VcId>
  <VcLevel>1</VcLevel>
  <VcType>1</VcType>
</BatchGetLatestSoProductPricePara>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of GetLatestSoProductPriceResult
NameDescriptionTypeAdditional information
GradeName

string

None.

GradePrice

string

None.

LatestPrice

Collection of HistoryPrice

None.

VcPrice

decimal number

None.

VcPriceLimit

decimal number

None.

VcTypePrice

decimal number

None.

VcTypePriceLimit

decimal number

None.

MaxPurPrice

decimal number

None.

MinSellPrice

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "GradeName": "sample string 1",
    "GradePrice": "sample string 2",
    "LatestPrice": [
      {
        "LatestPrice": "sample string 1",
        "ModifiedDate": "2024-11-25 02:59:04"
      },
      {
        "LatestPrice": "sample string 1",
        "ModifiedDate": "2024-11-25 02:59:04"
      }
    ],
    "VcPrice": 3.0,
    "VcPriceLimit": 4.0,
    "VcTypePrice": 5.0,
    "VcTypePriceLimit": 6.0,
    "MaxPurPrice": 7.0,
    "MinSellPrice": 8.0
  },
  {
    "GradeName": "sample string 1",
    "GradePrice": "sample string 2",
    "LatestPrice": [
      {
        "LatestPrice": "sample string 1",
        "ModifiedDate": "2024-11-25 02:59:04"
      },
      {
        "LatestPrice": "sample string 1",
        "ModifiedDate": "2024-11-25 02:59:04"
      }
    ],
    "VcPrice": 3.0,
    "VcPriceLimit": 4.0,
    "VcTypePrice": 5.0,
    "VcTypePriceLimit": 6.0,
    "MaxPurPrice": 7.0,
    "MinSellPrice": 8.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfGetLatestSoProductPriceResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Sell.Models">
  <GetLatestSoProductPriceResult>
    <GradeName>sample string 1</GradeName>
    <GradePrice>sample string 2</GradePrice>
    <LatestPrice>
      <GetLatestSoProductPriceResult.HistoryPrice>
        <LatestPrice>sample string 1</LatestPrice>
        <ModifiedDate>2024-11-25T02:59:04.8602854+08:00</ModifiedDate>
      </GetLatestSoProductPriceResult.HistoryPrice>
      <GetLatestSoProductPriceResult.HistoryPrice>
        <LatestPrice>sample string 1</LatestPrice>
        <ModifiedDate>2024-11-25T02:59:04.8602854+08:00</ModifiedDate>
      </GetLatestSoProductPriceResult.HistoryPrice>
    </LatestPrice>
    <MaxPurPrice>7</MaxPurPrice>
    <MinSellPrice>8</MinSellPrice>
    <VcPrice>3</VcPrice>
    <VcPriceLimit>4</VcPriceLimit>
    <VcTypePrice>5</VcTypePrice>
    <VcTypePriceLimit>6</VcTypePriceLimit>
  </GetLatestSoProductPriceResult>
  <GetLatestSoProductPriceResult>
    <GradeName>sample string 1</GradeName>
    <GradePrice>sample string 2</GradePrice>
    <LatestPrice>
      <GetLatestSoProductPriceResult.HistoryPrice>
        <LatestPrice>sample string 1</LatestPrice>
        <ModifiedDate>2024-11-25T02:59:04.8602854+08:00</ModifiedDate>
      </GetLatestSoProductPriceResult.HistoryPrice>
      <GetLatestSoProductPriceResult.HistoryPrice>
        <LatestPrice>sample string 1</LatestPrice>
        <ModifiedDate>2024-11-25T02:59:04.8602854+08:00</ModifiedDate>
      </GetLatestSoProductPriceResult.HistoryPrice>
    </LatestPrice>
    <MaxPurPrice>7</MaxPurPrice>
    <MinSellPrice>8</MinSellPrice>
    <VcPrice>3</VcPrice>
    <VcPriceLimit>4</VcPriceLimit>
    <VcTypePrice>5</VcTypePrice>
    <VcTypePriceLimit>6</VcTypePriceLimit>
  </GetLatestSoProductPriceResult>
</ArrayOfGetLatestSoProductPriceResult>