Creating a Model Header
A model header pertains to the model information such as class, subclass, and model template names.
Additionally, a model header also specifies other key information for a model using parameters such as equipment tracking, service date, expiry date, and model generation.
Request
-
HTTP Method: POST
-
Example URL: Application_URL/services/api/v1/models
-
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_post.
Response
-
If a model is created successfully, system auto generates a model ID and returns the details of the model header in the response payload.
For more information, see https://help.sap.com/doc/e8d1e2658da546de98ef9a6038474334/1902/en-US/model.html#models_post.
For more information, see Publishing a Model.
- If the system cannot create a model header, system returns appropriate error codes in the response payload. For more information, see https://help.sap.com/doc/e8d1e2658da546de98ef9a6038474334/1902/en-US/model.html#models_post .