NextGen APIs

POST /work-orders/r1/work-orders/{workOrderId}/operations

Http Verb

GET

Url

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

Permissions required

WorkOrder: 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 creates a new Work Order Operation.

The status of the created operation will be in Draft if the associated work order is in Draft status. While if the work order status is schedulable it will be in the OPEN status, otherwise it will be in the CLOSED status.

For further details refer to: Work Order Status , Work Order Operation Status: Revision 1 (2024 W1).

The order of execution of the operations, if present, must be unique, otherwise it will be calculated automatically.

Path Parameters

Field

Note

workOrderId

 

Header Parameters

Default.

Request Body Parameters

Field

Validations

Note

typeId

 Referenced resource id existance check


defaultDuration

 Max Length: 10


executionOrder

 Unique for the Work Order


description

 Max Length: 40


currentDuration

 Max Length: 10


code

 Max Length: 20


startDate

 


endDate

 


parentId

 Referenced resource id existance check


addressId



cardinalityId

 


note

 Max Length: 255


workCycleStructureId


Deprecated since 2025 W3 (FSM 21.0)

activityAddressId


Available since 2025 W3 (FSM 21.0)


company.fsm.doubleLocation=true

Response documentation

Response payload fields

Field

Note

id

 

Response error codes

BASE_0001, WORKORDERS_012, WORKORDERS_013, NOT_FOUND