Viewing Spare Parts of a Model

You use this API to view the spare parts of a model.

Request

  • HTTP Method: GET

  • URL: Application_URL/services/api/v1/models({modelId})/spareparts?status=<STATUS>&$filter=substringof(<FILTER_VALUE>, <PROPERTY_NAME>)>

  • Query Parameters: Status and $filter

    $filter: allows you to specify a search text using which you can filter the models

    Description: Use the URL with STATUS of the model to get the spare parts assigned. You can also use this API to filter the results using $filter.

  • Example URL: Application_URL/services/api/v1/models(E0B15BE85E2B41FBA06069B8D61CEB09)/spareparts?status=2

  • Authorization: You must have the roles MODEL_READ, MODEL_EDIT, or MODEL_DELETE assigned to your user ID in the SAP Cloud Platform account.

Response