NextGen APIs

POST /work-orders/permits/r1/types/{typeId}/outcome-reasons

Http Verb

POST

Url

/work-orders/permits/r1/types/{typeId}/outcome-reasons

Permissions required

Permits View/Edit Permission:

fsm.core.wopermit.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 permit type outcome reason.
It enforces these rules before insertion. If any check fails, it returns a domain validation error.

  1. Field validation checks:

    1. Permit type not null

    2. Outcome reason not null

  2. Validates that the relation associated exists

Path Parameters

Field

Note

typeId

The permit type id

Query String Parameters

None

Header Parameters

Default.

Request Body

Field

Validations

Note

outcomeReasonId

Not null


Response documentation

Response payload fields

Field

Note

id

Id referred to created permit type outcome reason

Response error codes

BASE_0001, BASE_0003, BASE_0006, PERMIT_0027