Assigning Failure Mode to an Object

You use this API to assign a failure mode to an object.

Prerequisites

  • You have created the object.

  • You have created the failure mode you want to assign.

Request

  • HTTP Method: PUT

  • URL: Application_URL/services/api/v1/objects/{objectID}/assign?type=<TYPE>

  • Query Parameter: type

    Description: type of object to associate, for example EQU

  • Authorization: You must have the roles ORG_DATA_READ, ORG_ADMIN or ORG_DATA_EXPERT assigned to your user IDin the SAP Cloud Platform account.

Response

If one or more failure modes are assigned to the object with the given object type and ID, system returns an array of failure mode details. Otherwise, system returns a blank array.

For more information, see https://help.sap.com/doc/deb9b20fc4544669b0b408d33f3435a4/1902/en-US/FailureModes.html#objects__objectid__assign_put.