|
Http Verb |
POST |
|---|---|
|
Url |
/assets/r1/types |
|
Permissions required |
Technical Object: Edit (fsm.core.technicalobject.facility.edit) |
|
Personally Identifiable Information (PII) |
No |
|
Sensitive Information |
No |
|
Last Modified Version |
r1 |
|
Released since |
2024 W3 (FSM 18.0) |
|
Deprecated since |
|
|
Removed since |
|
|
Tech Tags |
|
Business Logic
This API creates a new relation between asset and operation center.
Before creating a new relation you must check with the api: GET /work-orders/r1/types/{typeId}/structures/{structureId} that for the structure id in input there is a relation with the work order type id. These two input must also be active
Header Parameters
Default.
Request Body Parameters
|
Field |
Validations |
Note |
|---|---|---|
|
operationCenterId |
|
|
|
structureId |
Must be active |
|
|
workOrderTypeId |
Must be active |
|
Response documentation
Response payload fields
|
Field |
Note |
|---|---|
|
id |
|
Response error codes
BASE_0001, BASE_0010, BASE_0003, BASE_0007, ASSETS_ORCHESTRATOR_004, ASSETS_ORCHESTRATOR_005