Is it possible to retrieve a TRTH scheduled file over the GUI using the REST API?

Client has already set up all his schedules but he would like to retrieve the extracted files using the the REST API, is it possilbe? Can you give an example?

Best Answer

  • Christiaan Meihsl
    Answer ✓

    @Paulo Leite,

    this is indeed possible.

    We have a Python sample called TRTH_Get_Latest_Schedule_Files which does exactly that. It can be downloaded here, and is described here.

    There are also samples in the C# example application (which also shows the HTTP requests and responses, and is described in the Quick Start), under section Scheduled Extractions, see the samples Get Completed By Date Range, Get Completed By Date Range By Schedule Id, ExtractedFiles: Get Latest and ExtractedFiles: Get Changes. These are all variants that accomodate slightly different workflows, but will all retrieve data that was generated by pre-existing schedules.

Answers