question

Upvotes
Accepted
79.2k 251 52 74

What are the differences between scheduled extraction and on demand extraction? Which one do I need to use with TRTH API? (from Webinar May 31)

What are the differences between scheduled extraction and on demand extraction? Which one do I need to use with TRTH API?

tick-history-rest-api
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

· Write an Answer
Upvotes
Accepted
13.7k 26 8 12

Scheduled extractions resemble what was done with TRTH v1. In TRTH v2 they can be done using the GUI or the API. They require an instrument list, report template and schedule, all saved on the server. The schedule can be recurring or occur a single time, in the future or immediately.

On Demand extractions are done on the fly, and can only be requested using the API. The API call specifies the data type, and the data fields are passed to the call as parameters, as well as the instrument list. Nothing is saved on the server. Consider these calls as high level simplified calls.

You can use any one you like, to best suit your use cases. Typically you'd use scheduled extractions for regular extractions, and on demand extractions for ad hoc requests.

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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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