Last Updated on : 2022-03-02 03:46:43download
This topic describes the API that enables multiple products to pass a specified node in batches.
Name | Version | Description |
---|---|---|
v1.0/pms/station/node/batch /commit |
1.0 | Enable multiple products to pass a specified node in batches. |
Request type
Post
Service parameters
Name | Type | Description | Required |
---|---|---|---|
requestId | String | The request ID that is returned when the node is reset. | Yes |
orderCode | String | The number of a specified ticket. | Yes |
sns | String | The list of serial numbers. Multiple serial numbers are separated with commas (,). | Yes |
stationCode | String | The code of a specified node. It is obtained from the route API. | Yes |
status | Integer | Indicates the status of a specified node. 1: success. 0: failure. | Yes |
Other parameters
None.
{
"requestId":"dsfsags-dsfderkij",
"orderCode":"xxxxxx",
"sns":"xxxx00001,xxxx00002",
"stationCode":"firstTest",
"status":1
}
Name | Type | Description |
---|---|---|
result | Long | The number of packages that have passed a specified node. |
success | Boolean | Indicates whether the operation is successful. |
{
"result":100,
"success":true
}
{
"success":false,
"code":"the_user_not_existed",
"mes": "User does not exist"
}
Name | Description |
---|---|
THE_BLANK_PARAM | The input parameter is empty. |
THE_USER_NOT_EXISTED | The user does not exist. |
NO_DATA_PERMISSION | You are not authorized to perform this operation. |
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback