POST api/jd-public/trades/query

查询京东订单。

Request Information

URI Parameters

None.

Body Parameters

订单编号。

TradeSearchModel
NameDescriptionTypeAdditional information
accountid

获取或设置账户编号。

string

None.

uid

获取或设置用户编号。

string

None.

pageindex

获取或设置页码。

integer

None.

capacity

获取或设置每页数量。

integer

None.

actime

获取或设置时间点之后的下单。

date

None.

bctime

获取或设置时间点之前的下单。

date

None.

states

获取或设置状态。

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "accountid": "sample string 1",
  "uid": "sample string 2",
  "pageindex": 3,
  "capacity": 4,
  "actime": "2026-03-04T00:45:11.7833547+08:00",
  "bctime": "2026-03-04T00:45:11.7833547+08:00",
  "states": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<TradeSearchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Waiter.JD.Api.Mall.Models.JDTrade">
  <AccountId>sample string 1</AccountId>
  <AfterCreateTime>2026-03-04T00:45:11.7833547+08:00</AfterCreateTime>
  <BeforeCreateTime>2026-03-04T00:45:11.7833547+08:00</BeforeCreateTime>
  <PageCapacity>4</PageCapacity>
  <PageIndex>3</PageIndex>
  <States xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </States>
  <Uid>sample string 2</Uid>
</TradeSearchModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.