Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 16 Next »

Table of Contents


🔢 Endpoints (in a sequence of process)

Endpoint

Description

1

POST /v1/legal/reports/available

Get a list of available reports.

2

POST /v1/legal/reports

Order a report by its id in the list of available reports.

3

GET /v1/legal/reports/{id}

Check the status of the ordered report.

4

GET /v1/legal/reports/{id}/file

Get the report that has been delivered.

5

POST /v1/legal/reports/filter

List all the ordered reports (the same as the list of reports in OS).

In the request header, Application-Id is mandatory. It is unique to each project and environment. Application IDs are provided by Ondato once the service is configured.


🛒 How to order and get a report

1️⃣ Call to POST /v1/legal/reports/available to get a list of available reports.

2️⃣ Use id of the selected report as key to call POST /v1/legal/reports and place a report order.

3️⃣ Call GET /v1/legal/reports/{id} with the id received from the POST /v1/legal/reports response to get the report order status and other details.

Once the order status is Finished, a request to download the report can be made.

4️⃣ To get a report file once it is delivered call GET /v1/legal/reports/{id}/file with id of the order.


☁️ Swagger


  • No labels