Fetch one applicable failure set for the failure event
post
/fscmRestApi/resources/11.13.18.05/assetFailureEvents/action/fetchApplicableFailureSet
Executes a custom action and retrieves the relevant failure set based on the matching object_type_code in failure set associations with the provided asset_id. For object_type_code ORA_ASSET, it checks the asset_ID. For ORA_ITEM, it checks the item_id. For ORA_CATEGORY, it checks the item_category_id against the object_id. It returns the applicable failure set, or if no match is found, it returns the default seeded failure set with the ORA_ALL object_type_code.
Request
Header Parameters
-
Metadata-Context: string
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version: string
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
- application/vnd.oracle.adf.action+json
Root Schema : schema
Type:
Show Source
object-
assetId: number
Value that uniquely identifies the installed base assets for which failure capture is recorded
Response
Supported Media Types
- application/json
- application/vnd.oracle.adf.actionresult+json
Default Response
The following table describes the default response for this task.
Root Schema : schema
Type:
Show Source
object-
result(required): number
If the action completes successfully, then the applicable failure set ID is returned.