NextGen APIs

DELETE /work-orders/r1/work-orders/{workOrderId}/operations/{operationId}/materials/{materialId}

Http Verb

DELETE

Url

/work-orders/r1/work-orders/{workOrderId}/operations/{operationId}/materials/{materialId}

Permissions required

Work Order Edit Permission:

fsm.core.workorder.edit

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


Business Logic

This API deletes an existing material association for the specified work order operation (identified by operation + material).
The API enforces the following rules before persisting the association. If any check fails, a domain validation error is returned.

  1. Material existence – Verifies the material exists via the materials provider.

  2. Operation & work order loading – Loads the target operation and its parent work order.

  3. Work order editability – Rejects the request if:

    1. An accounting send date (AWOOEXTSYSACCOUNTINGSENDDATE) is already present.

    2. Schedulable operation status – If the operation type is schedulable, deletion is allowed only for OPEN, SCHEDULABLE and DRAFT status.

If no matching association exists, the API returns GC_NOT_FOUND.

Path Parameters

Field

Note

workOrderId

Identifier of the work order from which the relation between operation and material will be removed

operationId

Identifier of the operation

materialId

Identifier of the material that we are removing from the relation with the operation

Header Parameters

Default.

Response documentation

Response error codes

NOT_FOUND, BASE_0001, WORKORDERS_049, WORKORDERS_050, WORKORDERS_051