NextGen APIs

PATCH /work-orders/r1/operation-types/{operationTypeId}

Http Verb

PATCH

Url

/work-orders/r1/operation-types/{operationTypeId}

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 modify an existing 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

Path Parameters

Field

Note

operationTypeId


Header Parameters

Default.

Request Body Parameters

Field

Validations

Note

code

Max Lenght: 40


description

Max Lenght: 540


order

Max Lenght: 4


active

 


operationTypeCategoryId

Referenced resource id existance check


resourceTypeId

Referenced resource id existance check


workCenterTypeId

Referenced resource id existance check


technicalObjectTypeId

Referenced resource id existance check


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 error codes

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