API DocumentationManufacturer production step controller

Replace the machines a production group runs on

PUT
/api/manufacturer/v1/production-step/{stepId}/resources

Records the machines a production group (production step) runs on, one per seat of its operation's FULL resource requirements, or none. An empty list removes the record, and the scheduler then chooses the machine. The group's loaded material moves to the new machines.

Authorization

Phasio API Bearer Token
headerAuthorizationBearer <token>

Path Parameters

stepId*string
Formatuuid

Request Body

application/json
  1. body
resourceIds*array<>

Response Body

Machines recorded

application/json
  1. response
stepId*string
Formatuuid
resourceIds*array<>
curl -X PUT 'https://m-api.eu.phas.io/api/manufacturer/v1/production-step/497f6eca-6276-4993-bfeb-53cbbbba6f08/resources' \  -H 'Content-Type: application/json' \  -d '{  "resourceIds": [    "195224a6-1e4c-49ac-860d-ffd7b0578a56"  ]}'
{  "stepId": "50e29fb7-490e-4a88-b2f4-2fde4d70423d",  "resourceIds": [    "195224a6-1e4c-49ac-860d-ffd7b0578a56"  ]}