Model

To check the swagger documentation for model APIs, type http://<instanceurl>/oms/apidoc in any browser and select Model (2nd link) from the drop-down andd click Explore.

images/download/attachments/144835842/Swagger_ModelAPI-version-1-modificationdate-1611095455000-api-v2.png

This page displays all the Model APIs - Read Record By Key (both GET and POST), Searches, and Actions.

Each API contains a sample JSON response, API parameters, an input schema definition (which indicates whether the parameter is optional or required), and sample input.

images/download/attachments/144835842/Swagger_ModelAPIDetail-version-1-modificationdate-1611095464000-api-v2.png

The developer can test the APIs from the documentation itself by clicking the button "Try it out". This requires that the developer already has logged in to the application from the same browser, otherwise a 401 error will be received. Also if you are not logged in (using enterprise-level role), you will not be able to see EPT related resources.