获取用户订单明细集合

URL地址:api/App/Orders/GetOrders

请求方式:GET

传递参数

None.

传递对象

OrdersQuery (检索条件对象)
名   称描   述参数类型附加信息
IdQuery

编号

integer

None.

OrderIdQuery

订单号

integer

None.

OutTradeNoQuery

商户订单号

string

None.

TmTypeQuery

商标类别

string

None.

SpNumQuery

商品个数

integer

None.

TmGroupsQuery

群组

string

None.

TotalFeeQuery

订单总金额

decimal number

None.

MoneyQuery

订单金额

decimal number

None.

FTimeQuery

付款时间

date

None.

RefundFeeQuery

退款金额

decimal number

None.

RefundTimeQuery

退款时间

date

None.

RemarkQuery

备注

string

None.

ReTimeQuery

录入时间

date

None.

application/json, text/json

Sample:
{
  "IdQuery": 1,
  "OrderIdQuery": 2,
  "OutTradeNoQuery": "sample string 3",
  "TmTypeQuery": "sample string 4",
  "SpNumQuery": 5,
  "TmGroupsQuery": "sample string 6",
  "TotalFeeQuery": 7.0,
  "MoneyQuery": 8.0,
  "FTimeQuery": "2021-03-07T16:21:21.50813+08:00",
  "RefundFeeQuery": 10.0,
  "RefundTimeQuery": "2021-03-07T16:21:21.50813+08:00",
  "RemarkQuery": "sample string 12",
  "ReTimeQuery": "2021-03-07T16:21:21.50813+08:00"
}

application/xml, text/xml

Sample:
<OrdersQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models">
  <FTimeQuery>2021-03-07T16:21:21.50813+08:00</FTimeQuery>
  <IdQuery>1</IdQuery>
  <MoneyQuery>8</MoneyQuery>
  <OrderIdQuery>2</OrderIdQuery>
  <OutTradeNoQuery>sample string 3</OutTradeNoQuery>
  <ReTimeQuery>2021-03-07T16:21:21.50813+08:00</ReTimeQuery>
  <RefundFeeQuery>10</RefundFeeQuery>
  <RefundTimeQuery>2021-03-07T16:21:21.50813+08:00</RefundTimeQuery>
  <RemarkQuery>sample string 12</RemarkQuery>
  <SpNumQuery>5</SpNumQuery>
  <TmGroupsQuery>sample string 6</TmGroupsQuery>
  <TmTypeQuery>sample string 4</TmTypeQuery>
  <TotalFeeQuery>7</TotalFeeQuery>
</OrdersQuery>

application/x-www-form-urlencoded

Sample:

Sample not available.

返回对象

HttpResultMessageOfIListOfOrdersEntity (用户订单明细集合)
名   称描   述参数类型附加信息
StatusCode

HttpStatusCode

None.

Errors

Dictionary of string [key] and string [value]

None.

Msg

string

None.

message

string

None.

Result

Collection of OrdersEntity

None.

返回对象格式

application/json, text/json

Sample:
{
  "StatusCode": 100,
  "Errors": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "Msg": "sample string 1",
  "message": "sample string 2",
  "Result": [
    {
      "Id": 1,
      "OrderId": 2,
      "OutTradeNo": "sample string 3",
      "TmType": "sample string 4",
      "SpNum": 5,
      "TmGroups": "sample string 6",
      "TotalFee": 7.0,
      "Money": 8.0,
      "FTime": "2021-03-07T16:21:21.8830977+08:00",
      "RefundFee": 10.0,
      "RefundTime": "2021-03-07T16:21:21.8830977+08:00",
      "Remark": "sample string 12",
      "ReTime": "2021-03-07T16:21:21.8830977+08:00"
    },
    {
      "Id": 1,
      "OrderId": 2,
      "OutTradeNo": "sample string 3",
      "TmType": "sample string 4",
      "SpNum": 5,
      "TmGroups": "sample string 6",
      "TotalFee": 7.0,
      "Money": 8.0,
      "FTime": "2021-03-07T16:21:21.8830977+08:00",
      "RefundFee": 10.0,
      "RefundTime": "2021-03-07T16:21:21.8830977+08:00",
      "Remark": "sample string 12",
      "ReTime": "2021-03-07T16:21:21.8830977+08:00"
    }
  ]
}

application/xml, text/xml

Sample:
<HttpResultMessageOfArrayOfOrdersEntityj2mLa_SCg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Errors>
  <Msg>sample string 1</Msg>
  <Result>
    <OrdersEntity>
      <FTime>2021-03-07T16:21:21.8830977+08:00</FTime>
      <Id>1</Id>
      <Money>8</Money>
      <OrderId>2</OrderId>
      <OutTradeNo>sample string 3</OutTradeNo>
      <ReTime>2021-03-07T16:21:21.8830977+08:00</ReTime>
      <RefundFee>10</RefundFee>
      <RefundTime>2021-03-07T16:21:21.8830977+08:00</RefundTime>
      <Remark>sample string 12</Remark>
      <SpNum>5</SpNum>
      <TmGroups>sample string 6</TmGroups>
      <TmType>sample string 4</TmType>
      <TotalFee>7</TotalFee>
    </OrdersEntity>
    <OrdersEntity>
      <FTime>2021-03-07T16:21:21.8830977+08:00</FTime>
      <Id>1</Id>
      <Money>8</Money>
      <OrderId>2</OrderId>
      <OutTradeNo>sample string 3</OutTradeNo>
      <ReTime>2021-03-07T16:21:21.8830977+08:00</ReTime>
      <RefundFee>10</RefundFee>
      <RefundTime>2021-03-07T16:21:21.8830977+08:00</RefundTime>
      <Remark>sample string 12</Remark>
      <SpNum>5</SpNum>
      <TmGroups>sample string 6</TmGroups>
      <TmType>sample string 4</TmType>
      <TotalFee>7</TotalFee>
    </OrdersEntity>
  </Result>
  <StatusCode>Continue</StatusCode>
  <message>sample string 2</message>
</HttpResultMessageOfArrayOfOrdersEntityj2mLa_SCg>