Smart PMSQuery the Number of Passed Stations

Query the Number of Passed Stations

Last Updated on : 2022-03-02 03:46:43download

Definitions

Name Version Description
v1.0/pms/production/station/pass/amount 1.0 Get the number of passing stations according to the work order

Request

  • HTTP type

    Post

  • Parameters

    Name Type Description Required
    orderCode String order code Yes
    stationCode String station code Yes
  • Other parameters

    None

Request example

{
  	"orderCode" : "xxxxxx",
  	"stationCode" : "xxxxxx"
}

Response

Name Type Description
result Long order num
success Boolean succeed or not

Response example

Successful response
```json
{
  "result" : 20,
  "success": true
}

Error response

{
  "success": false,
  "code" : "production_order_not_existed",
  "msg" : "XXX order does not exist"
}

Error code

Name Description
THE_BLANK_PARAM parameter can not be empty
THE_USER_NOT_EXISTED user does not exist
NO_DATA_PERMISSION no operation permission