POST api/Common/GetOrderList
通用接口获取订单列表信息
请求的信息
URI参数
None.
Body参数
OrderListCondition| 名称 | 描述 | 类型 | 其它信息 |
|---|---|---|---|
| AppKey |
合作方接入认证标识(海王提供对应商户编码)--必填 |
string |
None. |
| TimeStamp |
10位时间戳 格式为long,时区为GMT+8。开放平台允许合作方请求最大时间误差为10分钟 |
integer |
None. |
| Version |
API协议版本,可选值:1.0 |
string |
None. |
| Sign |
签名值 --必填 |
string |
None. |
| StartTime |
订单开始时间 --必填 格式为“yyyy-MM-dd HH:mm:ss” |
string |
None. |
| EndTime |
订单结束时间 --必填 格式为“yyyy-MM-dd HH:mm:ss” |
string |
None. |
| OuterOrderNo |
第三方订单号 --非必填 |
string |
None. |
| BusinessType |
查询业务类型 0:全部 1:直付业务 2:增值业务 |
integer |
None. |
请求格式
application/json, text/json
Sample:
{
"appKey": "sample string 1",
"timeStamp": 2,
"version": "sample string 3",
"sign": "sample string 4",
"startTime": "sample string 5",
"endTime": "sample string 6",
"outerOrderNo": "sample string 7",
"businessType": 8
}
application/x-www-form-urlencoded
Sample:
Sample not available.
响应信息
资源描述
CustomJsonResultOfPageResultViewOfOrderListModel| 名称 | 描述 | 类型 | 其它信息 |
|---|---|---|---|
| Content | PageResultViewOfOrderListModel |
None. |
响应格式
application/json, text/json
Sample:
{
"content": {
"$id": "2",
"total": 1,
"result": [
{
"$id": "3",
"orderNo": "sample string 1",
"outerOrderNo": "sample string 2",
"storeID": "sample string 3",
"storeNo": "sample string 4",
"outerOrderTotal": 5.1,
"udCard": "sample string 6",
"merchantsPrice": 7.1,
"userPrice": 8.1,
"createTime": "2025-11-06T02:34:05.036754+08:00",
"updateTime": "2025-11-06T02:34:05.036754+08:00",
"orderProductList": [
{
"$id": "4",
"barCode": "sample string 1",
"intlBarCode": "sample string 2",
"name": "sample string 3",
"quantity": 4,
"price": 5.1,
"retailPrice": 6.1,
"spec": "sample string 7",
"unit": "sample string 8",
"approvalNumber": "sample string 9",
"batchNum": "sample string 10",
"expiryDate": "2025-11-06T02:34:05.036754+08:00"
},
{
"$ref": "4"
},
{
"$ref": "4"
}
]
},
{
"$ref": "3"
},
{
"$ref": "3"
}
],
"customStatus": 10,
"customMessage": "sample string 2"
}
}