Example of usage of Java Rest ExtractRaw for Iso Corporate Actions

Hi,
Do you have any example of how to read Rest request for
CorporateActionsIsoExtractionRequest, that use an ExtractRaw request, I get the an output but only the note, no ISO data.
The request:
{
"ExtractionRequest":{
"@odata.type":"#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.CorporateActionsIsoExtractionRequest",
"Condition":{
"ReportDateRangeType":"Delta",
"PendingEventsPreviousDays":1,
"ReportIsoEvents":["ACTV","BIDS","BONU","BPUT","BRUP","CAPD","CAPG","CAPI","CHAN","CMET","CONV","DECR","DFLT","DLST","DRCA","DRIP","DVCA","DVOP","DVSE","EXOF","EXRI","EXTM","INCR","INTR","LIQU","MCAL","MEET","MRGR","ODLT","OMET","OTHR","PARI","PCAL","PPMT","PRIO","REDM","REDO","RHDI","RHTS","SHPR","SOFF","SPLF","SPLR","SUSP","TEND","XMET"],
"CorporateActionsStandardYearType":"Current",
"IncludeNonPendingEvents":true,
"GrossAmountOnlyForPaymentEvents":true,
"ExcludeNilPaidFromPaymentEvents":true
},
"IdentifierList":{
"@odata.type":"#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList","InstrumentIdentifiers":[{"Identifier":"4","IdentifierType":"FileCode"},{"Identifier":"4","IdentifierType":"FileCode"},{"Identifier":"4","IdentifierType":"FileCode"},{"Identifier":"4","IdentifierType":"FileCode"}],
"ValidationOptions":null,
"UseUserPreferencesForValidationOptions":false
}
}
}
The reply I get:
@{"@odata.context":"https://hosted.datascopeapi.reuters.com/RestApi/v1/$metadata#RawExtractionResults/$entity","JobId":"0x05870f742f7b3016","Notes":["Extraction Services Version 10.7.35743 (b74a502e64b0), Built Oct 17 2016 20:52:51
Corporate Action ISO Report Type is Delta.
Processing started at 2016-12-14 10:33:06.
User ID: 9009941
Extraction ID: 240472962
Schedule: _OnD_0x05870f742f7b3016 (ID = 0x05870f750fbb3016)
Input List (4 items): _OnD_0x05870f742f7b3016 (ID = 05870f7471cb3016) Created: 2016-12-14 10:32:55 Last Modified: 2016-12-14 10:32:57
Delisted RICs are not included in the file code expansion.
File code 4 expanded to 299 RICS: 1319.NG to 9987.NG.
File code 4 expanded to 299 RICS: 1319.NG to 9987.NG.
File code 4 expanded to 299 RICS: 1319.NG to 9987.NG.
File code 4 expanded to 299 RICS: 1319.NG to 9987.NG.
Total instruments after instrument expansion = 1196
Schedule Time: 2016-12-14 10:33:00
Report Template (0 fields): _OnD_0x05870f742f7b3016 (ID = 0x05870f74632b3016) Created: 2016-12-14 10:32:55 Last Modified: 2016-12-14 10:32:55
Requested Corporate Action ISO events: ACTV,BIDS,BONU,BPUT,BRUP,CAPD,CAPG,CAPI,CHAN,CMET,CONV,DECR,DFLT,DLST,DRCA,DRIP,DVCA,DVOP,DVSE,EXOF,EXRI,EXTM,INCR,INTR,LIQU,MCAL,MEET,MRGR,ODLT,OMET,OTHR,PARI,PCAL,PPMT,PRIO,REDM,REDO,RHDI,RHTS,SHPR,SOFF,SPLF,SPLR,SUSP,TEND,XMET
Reporting all Corporate Action deltas since 12/12/2016 19:00:00.000 US/Eastern.
Reporting all Corporate Action deltas before 12/14/2016 05:33:00.000 US/Eastern.
Processing completed successfully at 2016-12-14 10:36:39, taking 213.779 Secs.
Extraction finished at 2016-12-14 10:36:39 UTC, with servers: x04A04, QSHA02 (0.0 secs), QSHC01 (212.0 secs)
8 Corporate Action ISO messages were generated.
Usage Summary for User 9009941, Client 104819, Template Type Corporate Actions, ISO15022
Base Usage
Instrument Instrument Terms Price
Count Type Subtype Source Source
------- ----------------------------------- ---------------------------- -------------- ----------------------------------------
1196 Equities N/A N/A
-------
1196 Total instruments charged.
0 Instruments with no reported data.
=======
1196 Instruments in the input list.
Writing RIC maintenance report.
","Identifier,IdentType,Source,RIC,RecordDate,MaintType,OldValue,NewValue,Factor,FactorType
"]}
Thanks
Stephane
Best Answer
-
The workflow for raw data is different from other extractions. After the actions you already performed, to retrieve the raw data you need to send a GET request to the following URL, which includes as parameter the JobId you received:
https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/RawExtractionResults('0x05870f742f7b3016')/$value
0
Answers
-
Thanks all fine now
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 37 Alpha
- 167 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 705 Datastream
- 1.5K DSS
- 633 Eikon COM
- 5.2K Eikon Data APIs
- 14 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 6 Trading API
- 3K Elektron
- 1.5K EMA
- 259 ETA
- 569 WebSocket API
- 40 FX Venues
- 16 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 25 Messenger Bot
- 4 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 284 Open PermID
- 47 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 24 RDMS
- 2.2K Refinitiv Data Platform
- 879 Refinitiv Data Platform Libraries
- 5 LSEG Due Diligence
- 1 LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 123 Open DACS
- 1.1K RFA
- 108 UPA
- 196 TREP Infrastructure
- 232 TRKD
- 919 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 103 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛