API DocumentationManufacturer production step controller

Get the setup and machines of a production group

GET
/api/manufacturer/v1/production-step/{stepId}/machine

The material, colour or sheet thickness a production group (production step) uses, and the machines it was recorded on. The setup is the one recorded when the group started on a machine, or else the one its parts share; it is empty when the operation keeps no single setup per group. machines is null for an operator without the SCHEDULING module.

Authorization

Phasio API Bearer Token
headerAuthorizationBearer <token>

Path Parameters

stepId*string
Formatuuid

Response Body

Setup and machines retrieved

application/json
  1. response
stepId*string
Formatuuid
setup?
setupOrigin?string
Value in"RECORDED""PARTS"
machines?array<>
curl -X GET 'https://m-api.eu.phas.io/api/manufacturer/v1/production-step/497f6eca-6276-4993-bfeb-53cbbbba6f08/machine'
{  "stepId": "50e29fb7-490e-4a88-b2f4-2fde4d70423d",  "setup": {    "materialId": 0,    "materialName": "string",    "colorId": 0,    "colorName": "string",    "sheetThickness": 0  },  "setupOrigin": "RECORDED",  "machines": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string"    }  ]}