|
Http Verb |
PATCH |
|---|---|
|
Url |
PATCH /work-orders/r1/work-orders/{workOrderId}/operations/batch |
|
Permissions required |
Work Order: Edit (fsm.core.workorder.edit) |
|
Personally Identifiable Information (PII) |
No |
|
Sensitive Information |
No |
|
Last Modified Version |
r1 |
|
Released since |
2024 W2 (FSM 17.0) |
|
Deprecated since |
|
|
Removed since |
|
|
Tech Tags |
|
|
Max batch size |
100 |
Business Logic
This API modify multiple 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.
Header Parameters
Default.
Request Body Parameters
Array of objects
|
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 |
|
|
typeId |
|
|
|
id |
|
|
Response documentation
Response error codes
NOT_FOUND, BASE_0001, WORKORDERS_014, BASE_0013