Updating Equipment Components
This API allows you to update components of an equipment. You can add or remove only immediate child components to an equipment.
Request
-
HTTP Method: PUT
-
URL: Application_URL/services/api/v1/equipment({equipmentId})/components
-
Example URL: Application_URL/services/api/v1/equipment(E0B15BE85E2B41FBA06069B8D61CEB09)/components
-
Authorization: You must have the roles EQUIPMENT_EDIT or EQUIPMENT_DELETE assigned to your user IDin 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 https://help.sap.com/doc/040d5297b6804c3b903ee307cfcbf13c/1902/en-US/equipment.html#equipment__equipmentId___components_put.
Response
If the equipment ID and components are valid and you have the necessary authorizations, the system returns the equipment components for the specified equipment ID and version.
For more information, see https://help.sap.com/doc/040d5297b6804c3b903ee307cfcbf13c/1902/en-US/equipment.html#equipment__equipmentId___components_put.
If the equipment with the specified ID does not exist, or you do not have appropriate authorizations to update the equipment components, the system returns an error message.
For more information, see https://help.sap.com/doc/040d5297b6804c3b903ee307cfcbf13c/1902/en-US/equipment.html#equipment__equipmentId___components_put.