|
Http Verb |
POST |
|---|---|
|
Url |
/work-orders/r1/work-orders/{workOrderId}/operations/{operationId}/materials |
|
Permissions required |
Work Order Edit Permission:
|
|
Personally Identifiable Information (PII) |
No |
|
Sensitive Information |
No |
|
Last Modified Version |
r1 |
|
Released since |
2026 W3 (FSM 24.0) |
|
Deprecated since |
|
|
Removed since |
|
|
Tech Tags |
|
|
Max batch size |
30 |
Business Logic
This API creates a new batch of materials for the selected operation. See:POST /work-orders/r1/work-orders/{workOrderId}/operations/{operationId}/materials for the single operation - material relation validations.
Path Parameters
|
Field |
Note |
|---|---|
|
workOrderId |
Work order identifier that must match the operation. |
|
operationId |
Work order operation identifier. |
Query String Parameters
None
Header Parameters
Default.
Request Body
|
Field |
Validations |
Note |
|---|---|---|
|
expectedQuantity |
Not null and > 0 |
Expected quantity for the operation. |
|
note |
No |
Optional material note. |
|
materialId |
must exist |
Material to be associated: Materials: Revision 1 (TBD) |
Response documentation
Response payload fields
No content.
Response error codes
BASE_0001, WORKORDERS_046, WORKORDERS_047,WORKORDERS_048, WORKORDERS_049, WORKORDERS_050, WORKORDERS_051