Viewing Model Attribute Values
You use this API to view the attribute values of a model. These values are based on the underlying class templates, subclass templates, and model templates.
Request
-
HTTP Method: GET
-
URL: Application_URL/services/api/v1/models({modelId})/values/?<STATUS>=1, 2, or 3
Description: Use the URL with STATUS 1, 2, or 3; where 1 gets the Unpublished version, 2 gets the Published version and 3 gets the In Revision version.
-
Example URL: Application_URL/services/api/v1/models(E0B15BE85E2B41FBA06069B8D61CEB09)/values?status=2
-
Authorization: You must have the roles MODEL_READ, MODEL_DELETE, or MODEL_EDIT assigned to your user IDin the SAP Cloud Platform account.
Response
-
If the model with specified model ID exists and you have appropriate authorizations to view it, system returns the attribute values of the specified model.
For more information, see https://help.sap.com/doc/e8d1e2658da546de98ef9a6038474334/1902/en-US/model.html#models__modelId___values_get.
-
If the model with specified model ID does not exist, or you do not have appropriate authorizations to view it, system returns an appropriate error message.
For more information, see https://help.sap.com/doc/e8d1e2658da546de98ef9a6038474334/1902/en-US/model.html#models__modelId___values_get.