cURL
curl --request POST \ --url https://staging.cutmake.ai/api/v1/production-lines \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>", "workerCount": 0, "costPerMinuteVnd": "0.00", "capacityPerDay": 0, "shiftType": "regular", "isActive": true } '
{ "id": "<string>", "name": "<string>", "workerCount": 123, "costPerMinuteVnd": "<string>", "capacityPerDay": 123, "shiftType": "regular", "isActive": true, "effectiveCostPerMinute": "<string>", "description": "<string>" }
Create a production line setup.
x >= 0
regular
overtime
weekend
Successful Response
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$