NextGen APIs

POST /work-orders/r1/operation-types

Http Verb

POST

Url

/work-orders/r1/operation-types

Permissions required

WO Configuration: Edit (fsm.core.workorder.configuration.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

MULTILANGUAGE-FIELDS

Business Logic

This API creates a new Work Order Operation Type.

This API requires a unique code and resource type id, work center type id, operation type category id, technical object type id, must be unique

Technical Object Type IDs Validation

The following validation rules apply to technical object type IDs:

  • Only one of assetTypeId, accountTypeId, familyTypeId, or ownerTypeId can be provided

  • If multiple technical object type IDs are provided, the request will fail with error code WORKORDERS_016

  • If a technical object type ID is provided along with a different technicalObjectTypeId, the request will fail with error code WORKORDERS_017

Header Parameters

Default.

Request Body Parameters

Field

Validations

Note

code

Max Lenght: 40

Unique


description

Max Lenght: 540


order

Max Lenght: 4


active



operationTypeCategoryId

Referenced resource id existance check


resourceTypeId



workCenterTypeId



technicalObjectTypeId



assetTypeId

Referenced resource id existance check

Available since 2026 W2 (FSM 23.0)

accountTypeId

Referenced resource id existance check

Available since 2026 W2 (FSM 23.0)

familyTypeId

Referenced resource id existance check

Available since 2026 W2 (FSM 23.0)

ownerTypeId

Referenced resource id existance check

Available since 2026 W2 (FSM 23.0)

reliableForContractor


Available since 2026 W2 (FSM 23.0)


Response documentation

Response payload fields

Field

Note

id

 

Response error codes

BASE_0007, BASE_0001, BASE_0003, BASE_0010, WORKORDERS_015, WORKORDERS_016, WORKORDERS_017