NextGen APIs

POST /work-orders/r1/operations/{operationId}/accounts

Http Verb

POST

Url

/work-orders/r1/operations/{operationId}/accounts

Permissions required

Permissions:

  • fsm.core.workorder.edit

Personally Identifiable Information (PII)

No

Sensitive Information

No

Last Modified Version

r1

Released since

2026 W3 (FSM 24.0)

Deprecated since

 

Removed since

 

Tech Tags

 

Business Logic

This API logically insert a work order operation account relation.

It enforces these rules before insertion. If any check fails, it returns a domain validation error.

  1. Account has to be set

  2. Work Order checks:

    1. Work Order exists and must be in one of following status: OPEN, RELEASED, DRAFT

    2. WO Operation exists and must be in one of following status: OPEN, RELEASED, DRAFT

    3. Uniqueness checks for the couple WO Operation and Account

Path Parameters

Field

Note

operationId


Query String Parameters

None

Header Parameters

Default.

Request Body

Field

Validations

Note

accountId

Not Null

 

active

Not Null

default true

Response documentation

Response payload fields

Field

Note

id

Id referred to created work order operation account relation

Response error codes

BASE_0001, BASE_0003, BASE_0006, WORKORDERS_051, WORKORDERS_052, WORKORDERS_053, WORKORDERS_054, WORKORDERS_055