POST jxc_api/SellOrder/GetLatestProductPrice

Request Information

URI Parameters

None.

Body Parameters

GetLatestSoProductPricePara
NameDescriptionTypeAdditional information
VcId

integer

None.

ProdId

integer

None.

ApId

integer

None.

UnitId

integer

None.

Count

decimal number

None.

OrderDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "VcId": 1,
  "ProdId": 2,
  "ApId": 3,
  "UnitId": 4,
  "Count": 5.0,
  "OrderDate": "2024-11-25 02:55:27"
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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:55:27"
    },
    {
      "LatestPrice": "sample string 1",
      "ModifiedDate": "2024-11-25 02:55:27"
    }
  ],
  "VcPrice": 3.0,
  "VcPriceLimit": 4.0,
  "VcTypePrice": 5.0,
  "VcTypePriceLimit": 6.0,
  "MaxPurPrice": 7.0,
  "MinSellPrice": 8.0
}

application/xml, text/xml

Sample:
<GetLatestSoProductPriceResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Sell.Models">
  <GradeName>sample string 1</GradeName>
  <GradePrice>sample string 2</GradePrice>
  <LatestPrice>
    <GetLatestSoProductPriceResult.HistoryPrice>
      <LatestPrice>sample string 1</LatestPrice>
      <ModifiedDate>2024-11-25T02:55:27.2346895+08:00</ModifiedDate>
    </GetLatestSoProductPriceResult.HistoryPrice>
    <GetLatestSoProductPriceResult.HistoryPrice>
      <LatestPrice>sample string 1</LatestPrice>
      <ModifiedDate>2024-11-25T02:55:27.2346895+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>