For a deeper look into our DataScope Select REST API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials
Hi @nazar.viliura
Thank you for your participation in the forum.
Is the reply below satisfactory in resolving your query? If so please can you click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.
Thanks
AHS
@nazar.viliura
Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.
Thanks,
-AHS
Hello @nazar.viliura
You can cancel a job by issuing a delete to the monitor URL. For example:
DELETE https://hosted.datascopeapi.thomsonreuters.com/restapi/v1/Extractions/ExtractRawResult(ExtractionId='0x05432da4dd2e2e3f') Authorization: Token >your_auth_token_goes_here<
For more details, please refer to Key Mechanisms in DSS Web GUI,
thanks, Pimchaya. Just tried this option and got
'ThomsonReuters.Dss.Api.ValidationException: 'This extraction request does not support cancellation. Details: report template: TimeseriesPricing' exception. Then looked at the link you've provided and found this: "Only Tick History jobs support cancellation."
So, how to handle other request types? Do you know if there is such a possibility to cancel pending jobs from the UI? (https://hosted.datascope.reuters.com/DataScope/Home)
thanks in advance,
Nazar
Hello @nazar.viliura
I do not see any job shown in DSS Web UI as shown below:
Only instrument lists, report templates, schedules etc. can be deleted/canceled. Hence, jobs which is not Tick History cannot be canceled as mentioned in Key Mechanisms
there are two options:
(1) select 'Extracted Files' and you'll see 'Pending Extractions' there
(2) you can select 'Executing Jobs' under your user preferences dropdown