Appearance
分页查询运单 pageOrders
接口说明
通过此接口可获取运单信息
接口地址: http://tms.gateway.sc-express.cn/api/order/pageOrders
请求方式: POST
请求参数
请求字段说明
字段名称 | 字段类型 | 是否必需 | 字段说明 | ||
---|---|---|---|---|---|
authorization | JSONObject | 接口校验信息 | |||
code | String | Y | 客户编码 | ||
token | String | Y | API授权码 | ||
page | JSONObject | ||||
page | Integer | Y | 第几页 | ||
limit | Integer | Y | 每页多少条 | ||
datas | JSONOArray | ||||
datatype | String | Y | 日期类型(1:制单时间,2:最后修改时间) | ||
begcreatedate | String | Y | 制单日期起 | ||
endcreatedate | String | Y | 制单日期止 |
请求报文示例
json
{
"authorization": {
"code": "David",
"token": "88361995-1574-4fa2-995a-6ad0c35e5770"
},
"page": {
"page": 1,
"limit": 10
},
"datas": {
"datatype": "1",
"begcreatedate": "2022-01-01 00:00:00",
"endcreatedate": "2022-05-07 10:17:15"
}
}
{
"authorization": {
"code": "David",
"token": "88361995-1574-4fa2-995a-6ad0c35e5770"
},
"page": {
"page": 1,
"limit": 10
},
"datas": {
"datatype": "1",
"begcreatedate": "2022-01-01 00:00:00",
"endcreatedate": "2022-05-07 10:17:15"
}
}
响应数据
响应字段说明
字段名称 | 字段类型 | 字段说明 | ||
---|---|---|---|---|
code | Integer | 接口请求是否通过 0:表示接口请求通过,其他表示失败 | ||
count | Integer | 总条数 | ||
data | JSONArray | |||
pkid | 运单id | |||
systemnumber | String | 系统单号 | ||
customernumber1 | String | 客户参考号1 | ||
customernumber2 | String | 客户参考号2 | ||
waybillnumber | String | 运单号 | ||
tracknumber | String | 转单号 | ||
fbanumber | String | FBAID | ||
channelid | String | 收货渠道编码 | ||
channelname | String | 收货渠道名称 | ||
countrycode | String | 目的地编码 | ||
countryname | String | 目的地名称 | ||
number | Integer | 总件数 | ||
status | String | 运单状态编码 | ||
statusname | String | 运单状态名称 | ||
forecastmweight | decimal(14,3) | 预报材重 | ||
forecastweight | decimal(14,3) | 预报实重 | ||
inmweight | decimal(14,3) | 收货材重 | ||
inrweight | decimal(14,3) | 收货实重 | ||
inweight | decimal(14,3) | 收货结算重 | ||
square | decimal(14,3) | 方数 | ||
goodstypecode | String | 货物类型编码 | ||
goodstypename | String | 货物类型名称 | ||
producttypepkid | String | 物品类别编码 | ||
producttypepkname | String | 物品类别名称 | ||
totalname | String | 品名合计 | ||
totalvalue | String | 申报价值合计 | ||
declaretypepkid | String | 报关类型合计编码 | ||
declaretypepkname | String | 报关类型合计名称 | ||
isinsurance | Integer | 是否投保 | ||
insurancetypepkid | String | 投保类型 | ||
insurancevalue | decimal(14,3) | 投保金额 | ||
insurancecurrency | String | 投保币别编码 | ||
insurancecurrencyname | String | 投保币别名称 | ||
isbattery | String | 是否带电 | ||
ismagnet | String | 是否带磁 | ||
isproblem | String | 是否问题件 | ||
collectionpayment | decimal(14,2) | 代收货款 | ||
collectionpaymentcurrency | String | 代收货款币别编码 | ||
collectionpaymentcurrencyname | String | 代收货款币别名称 | ||
deductiontype | Integer | 扣货标志(0:正常,1:自动扣货,2:手动扣货) | ||
deductionnote | String | 扣货说明 | ||
note | String | 运单备注 | ||
pickupstatus | Integer | 提货状态编码 | ||
pickupstatusname | String | 提货状态名称 | ||
createdate | String | 制单日期 | ||
forecastdate | String | 预报时间 | ||
receiptdate | String | 收货时间 | ||
returndate | String | 退货时间 | ||
internettime | String | 上网时间 | ||
deliverdate | String | 签收时间 | ||
editdate | String | 最后修改日期 | ||
receiptbatchnumber | String | 收货批次号 | ||
residential | String | 是否住宅地址 | ||
fbawarehousecode | String | FBA仓码 | ||
consigneename | String | 收件人名称 | ||
consigneecorpname | String | 收件人公司 | ||
consigneeaddress1 | String | 收件人地址1 | ||
consigneeaddress2 | String | 收件人地址2 | ||
consigneeaddress3 | String | 收件人地址3 | ||
consigneecity | String | 收件人城市 | ||
consigneezipcode | String | 收件人邮编 | ||
consigneeprovince | String | 收件人省州 | ||
consigneetel | String | 收件人电话 | ||
consigneemobile | String | 收件人手机 | ||
consigneehousenumber | String | 收件人门牌号 | ||
consigneetaxnumber | String | 收件人税号 | ||
consigneecity | String | 收件人城市 | ||
consigneeemail | String | 收件人邮箱 | ||
consigneeaddresstype | String | 收件地址类型 |
响应数据示例
json
{
"code": 0,
"data": [
{
"pkid": 47670,
"consigneename": "Africa Knight",
"consigneetel": "0409750527",
"countrycode": "AU",
"createdate": "2022-04-27 14:52:28",
"goodstypename": "包裹",
"insurancecurrency": "",
"inrweight": 0.0,
"number": 3,
"pickupstatusname": "",
"deductionnote": "",
"producttypename": "",
"pickupstatus": "否",
"forecastweight": 6.072,
"totalvalue": 5.0,
"forecastmweight": 105.0,
"systemnumber": "SYS220427000190",
"countryname": "澳大利亚",
"status": "Predicted",
"statusname": "已预报",
"consigneecity": "Meadowbrook",
"square": 0.63,
"insurancetypepkid": 0,
"consigneeaddresstype": "",
"consigneezipcode": "4131",
"editdate": "2022-04-27 14:53:58",
"consigneeprovince": "QLD",
"tracknumber": "PICKUP0886131",
"note": "",
"declaretypename": "",
"inweight": 0.0,
"waybillnumber": "34LRU202025903000931501",
"consigneecorpname": "",
"inmweight": 0.0,
"consigneetaxnumber": "",
"isinsurance": 2,
"consigneemobile": "",
"deductiontype": "否",
"isbattery": "否",
"ismagnet": "否",
"producttypepkid": "1",
"insurancevalue": 0.0,
"receiptbatchnumber": "",
"consigneeemail": "africa_624@hotmail.co.uk",
"customernumber2": "",
"customernumber1": "SYS220427000190",
"collectionpayment": 0.0,
"consigneehousenumber": "",
"totalname": "[表带*1]",
"forecastdate": "2022-04-27 14:54:05",,
"channelid": "DW001"
"channelname": "大伟测试渠道(勿动)",
"isproblem": "否",
"goodstypecode": "WPX",
"residential": "否",
"consigneeaddress3": "",
"consigneeaddress1": "ebay:gkczcdr",
"consigneeaddress2": "43 Kilsay Crescent"
}
],
"count": 146
}
{
"code": 0,
"data": [
{
"pkid": 47670,
"consigneename": "Africa Knight",
"consigneetel": "0409750527",
"countrycode": "AU",
"createdate": "2022-04-27 14:52:28",
"goodstypename": "包裹",
"insurancecurrency": "",
"inrweight": 0.0,
"number": 3,
"pickupstatusname": "",
"deductionnote": "",
"producttypename": "",
"pickupstatus": "否",
"forecastweight": 6.072,
"totalvalue": 5.0,
"forecastmweight": 105.0,
"systemnumber": "SYS220427000190",
"countryname": "澳大利亚",
"status": "Predicted",
"statusname": "已预报",
"consigneecity": "Meadowbrook",
"square": 0.63,
"insurancetypepkid": 0,
"consigneeaddresstype": "",
"consigneezipcode": "4131",
"editdate": "2022-04-27 14:53:58",
"consigneeprovince": "QLD",
"tracknumber": "PICKUP0886131",
"note": "",
"declaretypename": "",
"inweight": 0.0,
"waybillnumber": "34LRU202025903000931501",
"consigneecorpname": "",
"inmweight": 0.0,
"consigneetaxnumber": "",
"isinsurance": 2,
"consigneemobile": "",
"deductiontype": "否",
"isbattery": "否",
"ismagnet": "否",
"producttypepkid": "1",
"insurancevalue": 0.0,
"receiptbatchnumber": "",
"consigneeemail": "africa_624@hotmail.co.uk",
"customernumber2": "",
"customernumber1": "SYS220427000190",
"collectionpayment": 0.0,
"consigneehousenumber": "",
"totalname": "[表带*1]",
"forecastdate": "2022-04-27 14:54:05",,
"channelid": "DW001"
"channelname": "大伟测试渠道(勿动)",
"isproblem": "否",
"goodstypecode": "WPX",
"residential": "否",
"consigneeaddress3": "",
"consigneeaddress1": "ebay:gkczcdr",
"consigneeaddress2": "43 Kilsay Crescent"
}
],
"count": 146
}