NextGen APIs

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

Http Verb

POST

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 W2 (FSM 17.0)

Deprecated since


Removed since


Tech Tags


Max batch size

100

Business Logic

This API creates a new multiple Work Order Operations.

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

Array of objects

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

 


addressId



cardinalityId

 


note

 Max Length: 255


Response documentation

Response payload fields

Field

Note

id

  Represented as an array of integers

Response error codes

BASE_0001, BASE_0003, WORKORDERS_012, WORKORDERS_013, NOT_FOUND