question

Upvotes
Accepted
5 1 5 10

cancel queued up TRTH jobs

I used the ‘JobGetActive’ but it returned an empty list (which I screenshotted the json), however there were a number of jobs queued up for execution (another screenshot I sent). Am I able to cancel those type of queued up jobs?


Have advised as below


To delete a job, as you have correctly followed the process of getting active jobs and then delete the job id.

Active Jobs can be requested by issuing the following request.

GET https://hosted.datascopeapi.reuters.com/RestApi/v1/Jobs/JobGetActive

For REST API, the job cancellation can be request by issuing a delete to the monitor URL.

DELETE https://hosted.datascopeapi.thomsonreuters.com/restapi/v1/Extractions/ExtractRawResult(ExtractionId='<job Id>')

If the jobs are completed you will not find when you run GET active command.


But clients to delete all Queued up jobs.


Please advise


Regards,

Prathibha M

tick-history-rest-apipending-job
cancellation.png (126.4 KiB)
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
11.3k 25 8 14

I cannot replicate the "queued" job status in my account. However, you can ask the client try the GetAll endpoint to get jobs in all status including "queue" job, and then try if they can cancel the queued job.

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.