Skip to content

分页查询运单 pageOrders

接口说明

通过此接口可获取运单信息

接口地址: http://tms.gateway.sc-express.cn/api/order/pageOrders

请求方式: POST

请求参数

请求字段说明

字段名称字段类型是否必需字段说明
authorizationJSONObject接口校验信息
codeStringY客户编码
tokenStringYAPI授权码
pageJSONObject
pageIntegerY第几页
limitIntegerY每页多少条
datasJSONOArray
datatypeStringY日期类型(1:制单时间,2:最后修改时间)
begcreatedateStringY制单日期起
endcreatedateStringY制单日期止

请求报文示例

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"
    }
}

响应数据

响应字段说明

字段名称字段类型字段说明
codeInteger接口请求是否通过 0:表示接口请求通过,其他表示失败
countInteger总条数
dataJSONArray
pkid运单id
systemnumberString系统单号
customernumber1String客户参考号1
customernumber2String客户参考号2
waybillnumberString运单号
tracknumberString转单号
fbanumberStringFBAID
channelidString收货渠道编码
channelnameString收货渠道名称
countrycodeString目的地编码
countrynameString目的地名称
numberInteger总件数
statusString运单状态编码
statusnameString运单状态名称
forecastmweightdecimal(14,3)预报材重
forecastweightdecimal(14,3)预报实重
inmweightdecimal(14,3)收货材重
inrweightdecimal(14,3)收货实重
inweightdecimal(14,3)收货结算重
squaredecimal(14,3)方数
goodstypecodeString货物类型编码
goodstypenameString货物类型名称
producttypepkidString物品类别编码
producttypepknameString物品类别名称
totalnameString品名合计
totalvalueString申报价值合计
declaretypepkidString报关类型合计编码
declaretypepknameString报关类型合计名称
isinsuranceInteger是否投保
insurancetypepkidString投保类型
insurancevaluedecimal(14,3)投保金额
insurancecurrencyString投保币别编码
insurancecurrencynameString投保币别名称
isbatteryString是否带电
ismagnetString是否带磁
isproblemString是否问题件
collectionpaymentdecimal(14,2)代收货款
collectionpaymentcurrencyString代收货款币别编码
collectionpaymentcurrencynameString代收货款币别名称
deductiontypeInteger扣货标志(0:正常,1:自动扣货,2:手动扣货)
deductionnoteString扣货说明
noteString运单备注
pickupstatusInteger提货状态编码
pickupstatusnameString提货状态名称
createdateString制单日期
forecastdateString预报时间
receiptdateString收货时间
returndateString退货时间
internettimeString上网时间
deliverdateString签收时间
editdateString最后修改日期
receiptbatchnumberString收货批次号
residentialString是否住宅地址
fbawarehousecodeStringFBA仓码
consigneenameString收件人名称
consigneecorpnameString收件人公司
consigneeaddress1String收件人地址1
consigneeaddress2String收件人地址2
consigneeaddress3String收件人地址3
consigneecityString收件人城市
consigneezipcodeString收件人邮编
consigneeprovinceString收件人省州
consigneetelString收件人电话
consigneemobileString收件人手机
consigneehousenumberString收件人门牌号
consigneetaxnumberString收件人税号
consigneecityString收件人城市
consigneeemailString收件人邮箱
consigneeaddresstypeString收件地址类型

响应数据示例

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
}