Create a new manufacturing resource.
Security
BearerAuth
A monetary value: an exact decimal amount plus its currency.
Example: {"amount": "12.50", "currency": "EUR"} means "12.50 euros".
Example:
{ "amount": "12.50", "currency": "EUR" }
POST
- null
- SiteId
curl -i -X POST \
https://api.luminovo.com/manufacturing/resource \
-H 'Accept: application/api.luminovo.manufacturing.resource-v1+json' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"internal_number": "string",
"type": "Machine",
"cost_per_hour": {
"amount": "12.50",
"currency": "EUR"
},
"description": "string",
"site_id": null
}'Successful response
Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "internal_number": "string", "description": "string", "type": "Machine", "cost_per_hour": { "converted_mv": { … } }, "status": "Active", "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811" }