NextGen APIs

PATCH /work-orders/r1/work-orders/{workOrderId}/operations/{operationId}

Http Verb

PATCH

Url

PATCH /work-orders/r1/work-orders/{workOrderId}/operations/{workOrderOperationId}

Permissions required

Work Order: Edit (fsm.core.workorder.edit)

Personally Identifiable Information (PII)

No

Sensitive Information

No

Last Modified Version

r1

Released since

2024 W1 (FSM 16.0)

Deprecated since


Removed since


Tech Tags

​ ​

Business Logic

This API modify an existing Work Order Operation.

If the operation type is changed, it also determines the initial work order operation status based on schedulability. If the work order status is “Open” and the work order operation status is “Schedulable”, then set the operation status to “Open” otherwise to “Close”.

If the WO operation is not in the “Open”, “Schedulable” or “Reschedulable” status, the start date and end date cannot be modified.
If the operation is not in the “Open” status then the operation execution order cannot be modified.

Path Parameters

Field

Note

workOrderOperationId


Header Parameters

Default.

Request Body Parameters

Field

Validations

Note

defaultDuration

 Max Length: 10

 

description

 Max Length: 40


currentDuration

 Max Length: 10

 

startDate

 

 

endDate

 

 

cardinalityId

 Referenced resource id existance check

 

note

 Max Length: 255


Response documentation

Response error codes

NOT_FOUND, BASE_0001, WORKORDERS_014, BASE_0013