|
Http Verb |
PUT |
|---|---|
|
Url |
PATCH /work-cycles/{id}/structures/{workCycleStructureId}/repeatable-operation-filters |
|
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 W3 (FSM 18.0) |
|
Deprecated since |
|
|
Removed since |
|
|
Tech Tags |
MULTILANGUAGE-FIELDS |
Business Logic
This API updates the asset status suitable for creating repeatable operations on a Work Cycle Structure. You can check the current value of this field, if already populated, using the following APIs:
Functionality:
-
The API accepts an array of IDs related to specific Asset Statuses to enable.
-
The content of the array will overwrite the current content of the
WorkCycleStructure.assetStatusfield. -
If the
assetStatusarray in the request body is empty (assetStatus.length == 0), the IDs already present inWorkCycleStructure.assetStatuswill be deleted. -
If
WorkCycleStructure.workOrderOperationTypeId.technicalObjectTypeId(assetType) is "ACCOUNT", return the error WORKORDERS_029.
Header Parameters
Default.
Path Parameters
|
Field |
Note |
|---|---|
|
workCycleId |
|
|
workCycleStructureId |
|
Request Body Parameters
|
Field |
Validations |
Note |
|---|---|---|
|
assetStatus |
|
|
Response documentation
Response error codes