Assigning Failure Modes to a Cause
You can use this API to assign failure mode to a cause.
Request
-
HTTP Method:PUT
-
Example URL:Application_URL/services/api/v1/failuremodes/meta/causes/{causeId}/map?type=<TYPE>
-
URI Paramater: causeId
-
Query parameters: type
type: allows you to specify the type of operation - assign/dissociate
-
Authorization:You must have the roles FAILURE_MODE_EDIT or in the SAP Cloud Platform account.
-
Request Schema:To know about fields that you can use in a request payload, refer to the request schema in the You must have the roles FAILURE_MODE_EDIT or FAILURE_MODE_DELETE assigned to your user IDhttps://help.sap.com/doc/ad2df3197a374c8da30355db67b04b53/1902/en-US/CausesEffects.html#failuremodes_meta_causes__causeid__map_put file.
Response
-
If the failure mode does not exist, system returns an error code.
For more information on error codes the system returns, see response payload in https://help.sap.com/doc/ad2df3197a374c8da30355db67b04b53/1902/en-US/CausesEffects.html#failuremodes_meta_causes__causeid__map_put.