NextGen APIs

POST /work-orders/r1/types

Http Verb

POST

Url

/work-orders/r1/types

Permissions required

WorkOrder: 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 Urgency.

The triplet request type id, service type id and technical object type id must be unique.

The code must be unique.

Technical Object Type ID Validation

The following validation rules apply to the technical object type IDs (assetTypeId, accountTypeId, familyTypeId, ownerTypeId):

  1. At least one ID required: At least one technical object type ID must be provided (either assetTypeId, accountTypeId, familyTypeId, ownerTypeId, or technicalObjectTypeId).

  2. Only one ID allowed: Only one technical object type ID can be filled at a time. You cannot specify multiple IDs simultaneously.

  3. ID consistency: If both a specific type ID (e.g., assetTypeId) and technicalObjectTypeId are provided, they must match. Otherwise, a mismatch error will be returned.

  4. Automatic mapping: If exactly one specific type ID is provided, it will automatically become the technicalObjectTypeId.

Header Parameters

Default.

Request Body Parameters

Field

Validations

Note

code

Max Lenght: 20

Unique


description

Max Lenght: 80


order

Max Lenght: 4


active



requestTypeId

Referenced resource id existance check


serviceTypeId

Referenced resource id existance check


technicalObjectTypeId



assetTypeId


Available since 2026 W2 (FSM 23.0)

accountTypeId


Available since 2026 W2 (FSM 23.0)

familyTypeId


Available since 2026 W2 (FSM 23.0)

ownerTypeId


Available since 2026 W2 (FSM 23.0)

serviceLevelDays

MaxLength: 10


structureId



color

MaxLength: 10


booking



totalOutcomes


Available since 2026 W2 (FSM 23.0)

mobileAccountingTypeId


Available since 2026 W2 (FSM 23.0)

preDistributedWorkOrder


Available since 2026 W2 (FSM 23.0)

bookingForSLA


Available since 2026 W2 (FSM 23.0)

autoGisPackage


Available since 2026 W2 (FSM 23.0)


Response documentation

Response payload fields

Field

Note

Example value

payload

 

 


Response error codes

BASE_0007, BASE_0001, BASE_0003, BASE_0010, WORKORDERS_015, WORKORDERS_ORCHESTRATOR_026, WORKORDERS_ORCHESTRATOR_027, WORKORDERS_ORCHESTRATOR_028