Updating Spare Parts of a Model
You use this API to add or remove the spare parts to or from a model.
Request
-
HTTP Method: PUT
-
URL: Application_URL/services/api/v1/models/spareparts
-
Authorization: You must have the roles MODEL_EDIT or MODEL_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/e8d1e2658da546de98ef9a6038474334/1902/en-US/model.html#models_spareparts_put.
Response
The system returns the updated spare parts for the specified model Id.
For more information, see https://help.sap.com/doc/e8d1e2658da546de98ef9a6038474334/1902/en-US/model.html#models_spareparts_put.