Publishing a Model
You can publish a model so that the users of your organization can use to view model information or create an item of equipment.
Prerequisite
You have created a model and the model is in the <Unpublished> or <In Revision> state.
Request
-
HTTP Method: PUT
-
URL: Application_URL/services/api/v1/models({modelId})/publish
-
Example URL: Application_URL/services/api/v1/models(E0B15BE85E2B41FBA06069B8D61CEB09)/publish
-
Authorization: You must have the roles MODEL_DELETE, or MODEL_EDIT assigned to your user IDin the SAP Cloud Platform account.
Response
-
If the model with a specified ID exists and you have appropriate authorizations to publish it, system publishes the model and returns the model details.
For more information, see https://help.sap.com/doc/e8d1e2658da546de98ef9a6038474334/1902/en-US/model.html#models__modelId___publish_put.
-
If the model with specified ID does not exists, or you do not have appropriate authorizations to view it, system returns appropriate error message.
For more information, see https://help.sap.com/doc/e8d1e2658da546de98ef9a6038474334/1902/en-US/model.html#models__modelId___publish_put.