For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
1 0 0 1

Is there any API to fetch only active schedule details (As per filter given in Reuters UI) ? Coz Extractions/Schedules API gives list of all schedules which includes On Demand .

dss-rest-apidssdatascope-select
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

Hi @akshay.keni

I cannot find API which provides only a list of active schedules too. However, it seems that the Active Schedules in UI filters only schedules having pending extractions. You may use the ReportExtractionGetPendingOrProcessing endpoint to get list of all pending extraction details (i.e. ScheduleId). Please note that multiple extractions can link to the same schedule, if the schedule is recurrence type.

GET https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ReportExtractionGetPendingOrProcessing
{
    "@odata.context": "https://hosted.datascopeapi.reuters.com/RestApi/v1/$metadata#ReportExtractions",
    "value": [
        {
            "ReportExtractionId": "317925903",
            "ScheduleId": "0x05601cd1537526a5",
            "Status": "Pending",
            "DetailedStatus": "Queued",
            "ExtractionDateUtc": "2019-03-15T21:00:00.000Z",
            "ScheduleName": "example-eod.suffix.1901DB46",
            "IsTriggered": false
        },
        {
            "ReportExtractionId": "2000000047708248",
            "ScheduleId": "0x0661d0cf4e9015ea",
            "Status": "Pending",
            "DetailedStatus": "Queued",
            "ExtractionDateUtc": "2018-10-25T04:08:02.206Z",
            "ScheduleName": "10.25.2018 11.07.36",
            "IsTriggered": false
        }
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.