Last Updated on : 2022-03-02 03:46:43download
Name | Version | Description |
---|---|---|
v1.0/pms/station/sn/flows/get | 2.0 | Get flows of the sn |
HTTP type
Post
Parameters
Name | Type | Description | Required |
---|---|---|---|
sn | String | device’s sn | Yes |
Parameters
None
{
"sn" : "XUNBL23VD0***1"
}
Name | Type | Description |
---|---|---|
result | List | list of the flows |
result[i].orderCode | String | code of the work order |
result[i].sn | String | sn |
result[i].craftLineCode | String | code of the craft line |
result[i].node | String | code of current node |
result[i].nodeDesc | String | description of current node |
result[i].requestId | String | sn’s request id of current node |
result[i].status | Boolean | pass the current node or not |
result[i].time | String | generation time |
success | Boolean | succeed or not |
Successful response
{
"result" : [ {
"node" : "firstTest",
"craftLineCode" : "jabe7jea",
"nodeDesc" : "Color package",
"orderCode" : "XUNBL23VD",
"time" : 1606203797475,
"sn" : "XUNBL23VD00001",
"status" : false
},
{
"node" : "secondTest",
"craftLineCode" : "jabe7jea",
"nodeDesc" : "large package",
"orderCode" : "XUNBL23VD",
"time" : 1606203797481,
"sn" : "XUNBL23VD00001",
"status" : false
} ],
"t" : 1606204070,
"success": true
}
Error response
{
"success": false,
"code" : "THE_BLANK_PARAM",
"msg": "username cannot be null"
}
Name | Description |
---|---|
THE_BLANK_PARAM | parameter can not be empty |
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback