Updating System Components

This API allows you to update components of a system. You can add or remove only immediate child components to a system.

Request

  • HTTP Method: PUT

  • URL: Application URL/ain/services/api/v1/systems({systemId})/components?type=<TYPE>

  • Query Parameter: type

    type: Allowed values are EQU or SYS. You can assign only one type of objects to system at a time. If you are assigning the equipments then provide EQU and if you are assigning systems then provide SYS.

  • Example URL: application URI/ain/services/api/v1/systems(E0B15BE85E2B41FBA06069B8D61CEB09)/components?type=SYS

  • Authorization: You must have the roles SYSTEM_EDIT or SYSTEM_DELETE assigned to your user ID 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 inhttps://help.sap.com/doc/85c7e55a3d214e05843cb996a3ba1700/1902/en-US/systems.html#systems__systemId___components_put .

Response

If the system ID and components are valid and you have the necessary authorizations, the system returns the system components for the specified system ID and version.

For more information, see https://help.sap.com/doc/85c7e55a3d214e05843cb996a3ba1700/1902/en-US/systems.html#systems__systemId___components_put.

If the system with the specified ID does not exist, or you do not have appropriate authorizations to update the system components, the system returns an error message.

For more information, see https://help.sap.com/doc/85c7e55a3d214e05843cb996a3ba1700/1902/en-US/systems.html#systems__systemId___components_put.