POST http://openapi.ck1info.com/v1/directExpressOrders/label
名称 | 类型 | 格式要求 | 是否必须 | 描述 | 示例值 |
---|---|---|---|---|---|
PackageIds | Collection of string |
None. |
必须 |
包裹Id列表 |
|
PrintFormat | PrintFormat |
None. |
必须 |
打印格式 |
ClassicLabel |
PrintContent | DirectExpressPrintContent |
None. |
必须 |
打印内容 |
AddressCostomsSplit |
CustomPrintOptions | Collection of DirectExpressCustomPrintOption |
None. |
Custom区域的内容选项 |
Custom |
|
IdType | IdType |
None. |
输入参数id的类型 |
{ "PackageIds": [ "sample string 1", "sample string 2" ], "PrintFormat": "ClassicA4", "PrintContent": "Address", "CustomPrintOptions": [ "RefNo", "RefNo" ], "IdType": "PackageId" }
名称 | 类型 | 格式要求 | 是否必须 | 描述 | 示例值 |
---|---|---|---|---|---|
Label | string |
None. |
Base64 编码,需要转换成byte数据,再生成pdf文件 |
{ "Label": "sample string 1" }