Last Updated on : 2022-03-02 03:46:43download
Name | Version | Description |
---|---|---|
v2.0/pms/production/big/package/add | 2.0 | Generate Package Serial Number |
HTTP type
Post
Parameters
name | Type | Description | Required | remark |
---|---|---|---|---|
orderCode | String | order code | Yes | |
packageType | String | package type,type of Tape is tape | Yes | |
packageCode | String | package code, if null, automatically generated by the system | No | |
packageNum | Integer | quantity per package, quantity per package, quantity can’t more than the quantity of order | Yes |
Other parameters
None
{
"orderCode" : "xxxxxx",
"packageType" : "tape",
"packageCode" : "",
"packageNum" : 10
}
Name | Type | Description |
---|---|---|
result | Map | result for response |
result.orderCode | String | order code |
result.packageType | String | package type |
result.packageCode | String | package code |
result.packageNum | Integer | quantity per package |
result.weight | Integer | Gross Weight, unit: g |
result.netWeight | Integer | Neight Weight, unit: g |
success | Boolean | succeed or not |
Successful response
{
"result" : {
"tokenId":"9rAVy6Q72NLkyRrB",
"packageType":"tape",
"packageCode":"TKBB21TYVP002",
"orderCode":"TKBB21TYV",
"id":1237585552862617600,
"packageNum":1
},
"success": true
}
Error response
{
"success": false,
"code" : "THE_USER_NOT_EXISTED",
"mes" : "user does not exist"
}
Name | Description |
---|---|
THE_BLANK_PARAM | parameter can not be empty |
THE_USER_NOT_EXISTED | user does not exist |
NO_DATA_PERMISSION | no operation permission |
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback