Developer Documentation
Print Label

1.Description

This interface is used for seller or third-party print label.

2.Scenario

This interface is used for seller or third-party print label.

3.Request Information


URL

http://openapi.winit.com.cn/openapi/service

UAT
Action 
action:winitLable.query

Authentication

Token,md5

Format

json

Protocol

http,post

Rate Limitation

Default 300 requests per minute, can request increase on needs


4.Request Parameter

Name

Type

Length

Required

Description

Example

orderNoString32YOrder Number

5、Response Parameter

Name

Type

Length

Description

Example

filesStringVariable LengthBase64 encode binary
trackingNoString
Tracking Number


6、Request Example

 

{

    "action": "winitLable.query", 

    "app_key": "rebecca", 

    "data": {

        "orderNo": "ID15000000003352CN"

    }, 

    "format": "json", 

    "language": "zh_CN", 

    "platform": "sw", 

    "sign": "89CF504EAA3B3DE733884EBB919D3378", 

    "sign_method": "md5", 

    "timestamp": "2015-06-10 23:03:36", 

    "version": "1.0"

}

Response Example

{

   "code": "0",

   "msg": "OPERATION SUCCESS"",

   "data": {"files":                      ["JVBERi0xLjQKJeLjz9MKMyAwIG9iago8PC9UeXBlL1hPYmplY3QvQ29sb3JTcGFjZS9EZXZpY2VH\ncmF5L1N1YnR5cGUvSW1hZ2UvQml0c1BlckNvbXBvbmVudCA4L1dpZHRoIDU2MC9MZW5ndGggMTc4\nL0hlaWdodCAyODcvRmlsdGVyL0ZsYXRlRGVjb2RlPj5zdHJlYW0KeJztwQEBAAAAgqD/q21IQAEA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwJ8BSKqA0AplbmRzdHJlYW0K\nZW5kb2JqCjQgMCBvYmoKPDwvSW50ZW50L1BlcmNlcHR1YWwvVHlwZS9YT2JqZWN0L0NvbG9yU3Bh\nY2VbL0NhbFJHQjw8L01hdHJpeFswLjQxMjM5IDAuMjEyNjQgMC4wMTkzMyAwLjM1NzU4IDAuNzE1\nMTcgMC4xMTkxOSAwLjE4MDQ1IDAuMDcyMTggMC45NTA0XS9HYW1tYVsyLjIgMi4yIDIuMl0vV2hp\ndGVQb2ludFswLjk1MDQzIDEgMS4wOV0+Pl0vU01hc2sgMyAwIFIvU3VidHlwZS9JbWFnZS9CaXRz\nUGBPPrLr\nfYjBgwdTA8HFn3/+6SyY12WQKtXTp0+dJa3bviQ2hOSUiyFDhuB3y5Ytxqm7J7PuhRtJ6DYoKWZt\nJMjX0KFDKY/IoLHFZEY23WuT0eoqUvdEcg/uNZmgoCC8smbNGt2nFSpUwNNffvnFIAaXBagLsWQk\nzaDbSzSOk+7b4jbJvHLlihT+3r17adKkERPCI99JbmZvIDE5IDAgUi9TaXplIDIwPj4Kc3RhcnR4cmVm\nCjgzNDgwCiUlRU9GCg=="],"trackingNo:"["000001"]}

}

Response Description


Success response:Base64 encode binary,Tracking Number.

Error response:Error code, Error message