question

Upvotes
Accepted
5 1 6 10

. I would like it to save the extracted file in a certain location on my network drive everyday. How can I configure this destination for the extracted file?

I would like it to save the extracted file in a certain location on my network drive everyday. How can I configure this destination for the extracted file, there is a business week schedule.

For TRTH

tick-history-rest-apiextraction
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
Accepted
13.7k 26 8 12

@Prathibha.Mariyappa,

You do not say how you created the extraction.

Assuming you are using a scheduled extraction

A scheduled extraction will create the results files on the server. The files can then be downloaded manually, or using the API. For the API we have several example of how to do this:

  1. There is a Python sample described here, called TRTH_Get_Latest_Schedule_Files, available under the downloads tab.
  2. There are several Java samples described here. See the three samples where the name starts with DSS2ImmediateSchedule. They all contain code sections to download the files. They are also available under the downloads tab.
  3. There is Postman example, described in REST Tutorial 12. It explains how to check a scheduled extraction status, and how to retrieve the extraction report and files. The code is also available as a Postman collection under the downloads tab.

The Python sample might be the easiest choice for you if the schedule was created manually. It is easy to configure (including the destination directory) and run.

If this answer does not suffice, please give details on what type of extraction you are doing:

  • Scheduled or on demand extraction ?
  • Created using the API or manually ?
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.