获取打印包裹

请求信息

接口地址

http://oms.hkapi.esuhaitao.com/WmsOpt/PrintOrderInfo/{id}

请求方式

GET

Head 参数

参数名说明类型特性默认值示例
Authorization

参数签名

把“输入参数 JSON 格式的字符串内容”使用HMACSHA1(URL安全的Base64编码) 进行加密 查看示例

string

Required

无。

URI 参数

参数名说明类型特性默认值示例
id integer

Required

无。

无。

应答信息

资源说明

参数名说明类型特性默认值示例
Code integer

无。

无。

无。

Message string

无。

无。

无。

Results 打印配送单面单

无。

无。

无。

参数名说明类型特性默认值示例
WmsTrackingNo

仓库跟踪号

string

无。

无。

无。

OrderCode

订单号码

string

无。

无。

无。

Barcode

条码号

string

无。

无。

无。

ExternalCode

外部单号

string

无。

无。

无。

Consignee

收货信息

收货人信息

无。

无。

无。

参数名说明类型特性默认值示例
Name

发货公司

string

无。

无。

无。

Tel

发货人电话

string

无。

无。

无。

Country

发货国家

string

无。

无。

无。

Province

发货货省份

string

无。

无。

无。

City

发货城市

string

无。

无。

无。

District

发货地区

string

无。

无。

无。

Address

发货地址

string

无。

无。

无。

ZipCode

收货邮编

string

无。

无。

无。

Consigner

发货信息

发货人信息

无。

无。

无。

参数名说明类型特性默认值示例
Company

发货公司

string

无。

无。

无。

Name

发货人

string

无。

无。

无。

Tel

发货人电话

string

无。

无。

无。

Country

发货国家

string

无。

无。

无。

Province

发货货省份

string

无。

无。

无。

City

发货城市

string

无。

无。

无。

District

发货地区

string

无。

无。

无。

Address

发货地址

string

无。

无。

无。

ZipCode

收货邮编

string

无。

无。

无。

WayBill

面单要素

面单

无。

无。

无。

参数名说明类型特性默认值示例
TrackingNo

国内物流跟踪号

string

无。

无。

无。

ServiceProduct

服务产品

string

无。

无。

无。

ItemCount

产品个数

integer

无。

无。

无。

DeclaredValue

申报价值

decimal number

无。

无。

无。

TemplateCode

面单模板编号

string

无。

无。

无。

PrintName

打印机名称

string

无。

无。

无。

DeliveryDestcode

目的地区代码

string

无。

无。

无。

ItemNames

商品清单

string

无。

无。

无。

TotalWeight

包裹重量

decimal number

无。

无。

无。

PackingList

商品清单小票

小票

无。

无。

无。

参数名说明类型特性默认值示例
TemplateCode

面单模板编号

string

无。

无。

无。

PrintName

打印机名称

string

无。

无。

无。

UserCode

用户编码

string

无。

无。

无。

应答结果格式

application/json 或 text/json

Sample:
{
  "Results": {
    "WmsTrackingNo": "sample string 1",
    "OrderCode": "sample string 2",
    "Barcode": "sample string 3",
    "ExternalCode": "sample string 4",
    "Consignee": {
      "Name": "sample string 1",
      "Tel": "sample string 2",
      "Country": "sample string 3",
      "Province": "sample string 4",
      "City": "sample string 5",
      "District": "sample string 6",
      "Address": "sample string 7",
      "ZipCode": "sample string 8"
    },
    "Consigner": {
      "Company": "sample string 1",
      "Name": "sample string 2",
      "Tel": "sample string 3",
      "Country": "sample string 4",
      "Province": "sample string 5",
      "City": "sample string 6",
      "District": "sample string 7",
      "Address": "sample string 8",
      "ZipCode": "sample string 9"
    },
    "WayBill": {
      "ItemNames": "sample string 1",
      "TrackingNo": "sample string 1",
      "ServiceProduct": "sample string 2",
      "ItemCount": 3,
      "DeclaredValue": 4.0,
      "TemplateCode": "sample string 5",
      "PrintName": "sample string 6",
      "DeliveryDestcode": "sample string 7"
    },
    "TotalWeight": 5.0,
    "PackingList": {
      "TemplateCode": "sample string 1",
      "PrintName": "sample string 2"
    },
    "UserCode": "sample string 6"
  },
  "Code": 1,
  "Message": "sample string 2"
}