How to do scheduled extraction for every end of month?
Hi Team,
I am trying to do scheduled extraction for every month as part of it, I have created the instrument list and using ListID called 'InstrumentListAppendIdentifiers' and then called 'EndOfDayPricingReportTemplates' to get 'ReportTemplateId' and with 'ListId' and 'ReportTemplateId' called 'Schedules' to get scheduled extraction but didnt get desired results. Could you please provide us solution to get Scheduled extracts from DataScope.
Thanks,
Prathyusha.P
EMail: <Email>
Best Answer
-
Thank you for reaching out to us.
You can create it by using the DSS Web GUI.
With the DSS REST API, you need to send the HTTP POST message to the https://selectapi.datascope.refinitiv.com/RestApi/v1/Extractions/Schedules. The body contains the following JSON message.
{
"Name": "<Schedule Name>",
"OutputFileName": "<Output File Name>",
"Recurrence": {
"@odata.type": "#DataScope.Select.Api.Extractions.Schedules.MonthlyRecurrence",
"MonthlyDay": 32
},
"Trigger": {
"@odata.type": "#DataScope.Select.Api.Extractions.Schedules.TimeTrigger",
"LimitReportToTodaysData": false,
"At": [
{
"Hour": 23,
"Minute": 59
}
]
},
"ListId": "<List Id>",
"ReportTemplateId": "<Report Teamplate Id>"
}For more information, please refer to the DSS REST API Tutorials.
0
Answers
-
Hi Team,
I tried the above teamplate but did not get any extract file or data i just received the same payload back. WHat is the next step to receive the data?
POST https://selectapi.datascope.refinitiv.com/restapi/v1/Extractions/Schedules
{
"Name": "ORORA-EOMEXTRACTTest",
"TimeZone": "Central Standard Time",
"OutputFileName": "EOMExtrac.csv",
"Recurrence": {
"@odata.type": "#DataScope.Select.Api.Extractions.Schedules.MonthlyRecurrence",
"MonthlyDay": 32
},
"Trigger": {
"@odata.type": "#DataScope.Select.Api.Extractions.Schedules.TimeTrigger",
"LimitReportToTodaysData": false,
"At": [
{
"Hour": 16,
"Minute": 0
}
]
},
"ListId": "0x088dbaafd9a8f21b",
"ReportTemplateId": "0x088d95121e58f1e1"
}
0 -
That request schedules extractions that run at the end of each month. The next extraction will be executed at the end of this month (31 Jul 2023).
The scheduled extractions are used to schedule extractions that run on specific dates and times.
However, if you would like to get the data of the end of each month, such as 30 Jun 2023, I don't think the EndOfDayPricingReportTemplates support this because you can't specify a date in the report template. You can contact the Datascope Select support team via MyRefinitiv to confirm this.
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛