OMAPI request history
Overview#
In Platform version 4.5, a new feature has been introduced for the Object Model API (OMAPI). Script execution logs can now be retrieved using the OMAPI request ID. A new set of API calls have been introduced which allow you to retrieve the details of each request.
Request history#
Upon receiving a script execution request, the details of the request are recorded in the request table so there is a history of every request made. The job ID data for each request is updated once the script manager acknowledges that the script execution request has been received.
The request status and any error data are updated according to the outcome of the script execution.
Request history cleanup#
Script execution requests older than thirty days are checked daily and removed from the database.
New API calls for retrieving request history#
To support the request history feature, three new REST API calls have been introduced to the Object Model API:
- GET Requests
- GET Requests by ID
- GET Request logs
For more information about these API calls, see the REST API page: Object Model API Service Request history.