上传地址贴

上传地址贴

通过form的形式上传

Post: http://{系统域名}/client/Consignment/Upload-Label-By-Archives

参数

字段

备注

字段

备注

userfile

文件地址,可以是pdf或者是zip文件, 当时zip文件的时候,压缩包内的pdf名字要与 系统订单id一致

 

 

例子:

curl --location 'http://{系统域名}/client/Consignment/Upload-Label-By-Archives' \ --header 'company_id: 1' \ --header 'api_key: 1234xxxxxxxxxxx' \ --header 'Content-Type: multipart/form-data' \ --form 'userfile=@"/Users/seven/Downloads/2506250010000005.pdf"'

 

返回

{ "success": true, "message": "Successfully uploaded 1 labels", "refresh": false, "moduleName": "client" }