Create Production Order
POST
production-orders
Creates a new Production Order.
Resource Information
| Method and URI | POST https://api.aps.autodesk.com/fusion-operations/v2/production-orders |
| Authentication Context | No security required |
| Required OAuth Scopes | data:read data:write |
| Data Format | JSON |
Request
Headers
| Authorization* string | JWT Access Token |
| Content-Type* string | Must be application/json |
* Required
Request
Body Structure
The Production Order object to be created, conforming to the specified schema.
Expand all
| code* string | Production Order code
Max length: 255 |
| startDate* datetime: ISO 8601 | Start date of the Production Order (e.g. 2025-06-21T14:07:17Z) |
| dueDate* datetime: ISO 8601 | Due date of the Production Order (e.g. 2025-06-21T14:07:17Z) |
| predictedDuration string | Customer Time (ISO 8601 duration, e.g. PT3H15M30S). It will be added to the start time if the due date is not provided. |
| products* array: object | |
| product | |
| id int | Unique identifier of the referenced entity. |
| code string | Code of the referenced entity.
Max length: 255 |
| anyOf | |
| 0 | |
| 1 | |
| quantityOrdered number | |
| lot string | Lot identifier associated with the product entry.
Max length: 255 |
| observations string | Additional notes or observations for the product entry.
Max length: 2000 |
| variableParameters array: object | |
| name string | |
| value string | |
| description string | Max length: 255 |
| workerGroups array: object | |
| id int | Unique identifier of the referenced entity. |
| name string | Name of the referenced entity.
Max length: 255 |
| anyOf | |
| 0 | |
| 1 | |
| active boolean | Indicates if the Production Order is visible in the tablet |
| workers array: object | |
| id int | |
| number int | |
| anyOf | |
| 0 | |
| 1 | |
| machines array: object | |
| id int | Unique identifier of the referenced entity. |
| code string | Code of the referenced entity.
Max length: 255 |
| anyOf | |
| 0 | |
| 1 | |
| shipping | |
| id int | Unique identifier of the referenced entity. |
| code string | Code of the referenced entity.
Max length: 255 |
| anyOf | |
| 0 | |
| 1 | |
| site | Site associated with the Production Order. |
| id int | Unique identifier of the referenced entity. |
| code string | Code of the referenced entity.
Max length: 255 |
| anyOf | Site associated with the Production Order. |
| 0 | |
| 1 | |
| boxQuantity int | |
| notes string | Max length: 5000 |
| status enum:string | Possible values: OPEN, CLOSED, ARCHIVED |
| parameters array: object | |
| name* string | |
| value* string |
* Required
Response
HTTP Status Code Summary
| 201 Created | Production Order successfully created. |
| 400 Bad Request | Bad request due to invalid data. |
| 401 Unauthorized | The access token is invalid. It may have either expired or may not be a three-legged access token. Please verify the token and retry the request. |
| 403 Forbidden | The request was successfully validated but lacked required permission. Please verify your token permissions and retry the request. |
| 429 Too Many Requests | Rate limit exceeded; wait some time before retrying. |
| 500 Internal Server Error | An unknown server-side error occurred. Please try again later. If the problem persists, please contact support. |
Response
Header (429)
| Retry-After integer | The number of seconds to wait before retrying the request. |
Response
Body Structure (201)
Expand all
| id int | Unique identifier of the Production Order. |
| code string | Production Order code
Max length: 255 |
| startDate datetime: ISO 8601 | Start date of the Production Order (e.g. 2025-06-21T14:07:17Z) |
| dueDate datetime: ISO 8601 | Due date of the Production Order (e.g. 2025-06-21T14:07:17Z) |
| predictedDuration string | Customer Time (ISO 8601 duration, e.g. PT3H15M30S). It will be added to the start time if the due date is not provided. |
| products array: object | |
| id int | Unique identifier of the Production Order product entry. |
| product | |
| id int | Unique identifier of the referenced entity. |
| code string | Code of the referenced entity.
Max length: 255 |
| name string | Name of the referenced entity.
Max length: 255 |
| anyOf | |
| 0 | |
| 1 | |
| quantityOrdered number | |
| lot string | Lot identifier associated with the product entry.
Max length: 255 |
| observations string | Additional notes or observations for the product entry.
Max length: 2000 |
| variableParameters array: object | |
| name string | |
| value string | |
| description string | Max length: 255 |
| workerGroups array: object | |
| id int | Unique identifier of the referenced entity. |
| name string | Name of the referenced entity.
Max length: 255 |
| anyOf | |
| 0 | |
| 1 | |
| active boolean | Indicates if the Production Order is visible in the tablet |
| workers array: object | |
| id int | |
| number int | |
| name string | Max length: 255 |
| anyOf | |
| 0 | |
| 1 | |
| machines array: object | |
| id int | Unique identifier of the referenced entity. |
| code string | Code of the referenced entity.
Max length: 255 |
| name string | Name of the referenced entity.
Max length: 255 |
| anyOf | |
| 0 | |
| 1 | |
| shipping | |
| id int | Unique identifier of the referenced entity. |
| code string | Code of the referenced entity.
Max length: 255 |
| anyOf | |
| 0 | |
| 1 | |
| site | Site associated with the Production Order. |
| id int | Unique identifier of the referenced entity. |
| code string | Code of the referenced entity.
Max length: 255 |
| anyOf | Site associated with the Production Order. |
| 0 | |
| 1 | |
| boxQuantity int | |
| notes string | Max length: 5000 |
| status enum:string | Possible values: OPEN, CLOSED, ARCHIVED |
| parameters array: object | |
| name string | |
| value string |
Example
Production Order successfully created.
Request
curl -v 'https://developer.api.autodesk.com/fusion-operations/v2/production-orders' \
-X 'POST' \
-H 'Authorization: ' \
-H 'Content-Type: application/json' \
-d '{
"code": "PO-1001",
"startDate": "2024-04-01T10:00:00Z",
"dueDate": "2024-04-15T10:00:00Z",
"predictedDuration": "PT1H40M00S",
"products": [
{
"id": 1,
"product": {
"code": "ProductX",
"name": "Product X 100"
},
"quantityOrdered": 1,
"lot": "LOT12345",
"observations": "Product Observations",
"variableParameters": [
{
"name": "Color",
"value": "Red"
},
{
"name": "Size",
"value": "Medium"
}
]
}
],
"description": "Production Order for Product X",
"workerGroups": [
{
"name": "WG-01"
}
],
"active": true,
"assignedWorkers": [
{
"number": 20
}
],
"machines": [
{
"code": "MC-100"
}
],
"shipping": {
"code": "Shipping001"
},
"site": {
"code": "SITE-01"
},
"boxQuantity": 4,
"notes": "Ensure quality checks are performed.",
"status": "OPEN",
"parameters": [
{
"name": "Voltage",
"value": "220V"
}
]
}'
Show More
Response
{
"id": 382,
"code": "PO-1001",
"startDate": "2024-04-01T10:00:00Z",
"dueDate": "2024-04-15T10:00:00Z",
"predictedDuration": "PT1H40M00S",
"products": [
{
"id": 78,
"product": {
"id": 45,
"code": "ProductX",
"name": "Product X 100"
},
"quantityOrdered": 1,
"lot": "LOT12345",
"observations": "Product Observations",
"variableParameters": [
{
"name": "Color",
"value": "Red"
},
{
"name": "Size",
"value": "Medium"
}
]
}
],
"description": "Production Order for Product X",
"workerGroups": [
{
"id": 5,
"name": "Worker Group 1"
}
],
"active": true,
"assignedWorkers": [
{
"id": 20,
"name": "Worker 200",
"number": 43
}
],
"machines": [
{
"id": 10,
"code": "MC-100",
"name": "Machine 100"
}
],
"shipping": {
"id": 451,
"code": "Shipping001"
},
"site": {
"id": 12,
"code": "SITE-01"
},
"boxQuantity": 4,
"notes": "Ensure quality checks are performed.",
"status": "OPEN",
"parameters": [
{
"name": "Voltage",
"value": "220V"
}
]
}
Show More