In order for a call to the following endpoint:
to be treated as an asynchronous request the "Prefer: respond-async" header needs to be added.
Looking at the documentation here:
and here:
https://hosted.datascopeapi.reuters.com/RestApi/v1/Jobs/$metadata
can I confirm that:
1) The monitor url (that is returned in the Location header of the "ScheduleExtractNow" response if the call takes longer than 30 seconds) also needs the "Prefer: respond-async" header if I want it to return a 202 Accepted after 30 seconds for long running requests?
2) None of the following endpoints support the asynchronous behaviour and therefore do no need the "Prefer: respond-async" header:
https://hosted.datascopeapi.reuters.com/RestApi/v1/Authentication/RequestToken https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/Schedules('{0}')/LastExtraction https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ReportExtractions('{0}')/Files https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ExtractedFiles('{0}')/$value
?