For a deeper look into our World Check One API, look into:

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
9 1 1 2

How to generate case report in WC1 API?

Hi Team,

In the World Check One Web UI/platform, I can export the case summary report, as attached, in the Case Manager page. My question is whether I can generate such report via API. If yes, which endpoint I should use and how to configure the request body?

Thanks,

Leo

Report_5-8-2020_11.31.14.txt

world-checkworld-check-one
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvotes
4.5k 4 8 8

@Lei.Wu,

Option of getting a PDF is only available via the UI. You may use -

API call- Fetch full case details,

Endpoint - GET /cases/{ {case-system-id}}

This endpoint will provide you most of the information of the case and create a PDF from your code using the response data.

Please let me know if you need further inputs.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Thanks, @Prabhjyot.Mandla!

What if I would like to export the summary in CSV format, rather than PDF? As shown in the below screenshot.

Can such CSV report be generated via API?

Thanks,

Leo