Thanks, i got it.. Is there any way to get the body text in html? or is there a better way to do this in .net api?
How to do this in .net api ? .. python has ek.get_news_headlines('xxx'),

Hi I am trying to get the newsbody through PNAC, but only get partial.. NEXT_LR field is not retrieving any information.. for example, n#1UqLS902 is the next_lr value for PNAC nBSE9CMH5f .. and i dont see any result retrieved for n#1UqLS902.. Is it possible to retrieve the detail in .net API.. In python, i think there is a method to get ek.get_news_headlines('xxx'), how to do that in .NET API?
here is the details of the object i get i subscribe to pnac:
Story Detail { "nJseJ0066a": { "RECORDTYPE": { "Field": "RECORDTYPE", "Value": { "IsEmpty": false, "RawValue": 232 }, "Descriptor": { "Id": 259, "Name": "RECORDTYPE", "Type": "Int" } }, "X_RIC_NAME": { "Field": "X_RIC_NAME", "Value": { "IsEmpty": false, "RawValue": "nJseJ0066a" }, "Descriptor": { "Id": -1, "Name": "X_RIC_NAME", "Type": "Alpha" } }, "SEG_TEXT": { "Field": "SEG_TEXT", "Value": { "IsEmpty": false, "RawValue": "=====================\nAcquisition of Thornhill Shopping Centre\n\nSAFARI INVESTMENTS RSA LIMITED\n(Incorporated in the Republic of South Africa)\nRegistration number: 2000/015002/06\nApproved as a REIT by the JSE Limited\nShare code: SAR\nISIN number: " }, "Descriptor": { "Id": 258, "Name": "SEG_TEXT", "Type": "Alpha" } }, "PROD_PERM": { "Field": "PROD_PERM", "Value": { "IsEmpty": false, "RawValue": 511 }, "Descriptor": { "Id": 1, "Name": "PROD_PERM", "Type": "Int" } }, "RDNDISPLAY": { "Field": "RDNDISPLAY", "Value": { "IsEmpty": false, "RawValue": 136 }, "Descriptor": { "Id": 2, "Name": "RDNDISPLAY", "Type": "Int" } }, "PREV_LR": { "Field": "PREV_LR", "Value": { "IsEmpty": true, "RawValue": null }, "Descriptor": { "Id": 237, "Name": "PREV_LR", "Type": "Null" } }, "UNIQUE_SN": { "Field": "UNIQUE_SN", "Value": { "IsEmpty": false, "RawValue": "nJseJ0066a" }, "Descriptor": { "Id": 254, "Name": "UNIQUE_SN", "Type": "Alpha" } }, "NEXT_LR": { "Field": "NEXT_LR", "Value": { "IsEmpty": false, "RawValue": "n#1UqLT102" }, "Descriptor": { "Id": 238, "Name": "NEXT_LR", "Type": "Alpha" } }, "PROC_TIME": { "Field": "PROC_TIME", "Value": { "IsEmpty": false, "RawValue": "09:36:00" }, "Descriptor": { "Id": 256, "Name": "PROC_TIME", "Type": "Time" } }, "PROC_DATE": { "Field": "PROC_DATE", "Value": { "IsEmpty": false, "RawValue": "2018-09-10T00:00:00" }, "Descriptor": { "Id": 255, "Name": "PROC_DATE", "Type": "Date" } }, "AREA_ID": { "Field": "AREA_ID", "Value": { "IsEmpty": false, "RawValue": "LN" }, "Descriptor": { "Id": 1685, "Name": "AREA_ID", "Type": "Alpha" } }, "REG_ID1": { "Field": "REG_ID1", "Value": { "IsEmpty": false, "RawValue": "2" }, "Descriptor": { "Id": 456, "Name": "REG_ID1", "Type": "Alpha" } }, "REG_FIELD1": { "Field": "REG_FIELD1", "Value": { "IsEmpty": false, "RawValue": "" }, "Descriptor": { "Id": 457, "Name": "REG_FIELD1", "Type": "Alpha" } }, "TABTEXT": { "Field": "TABTEXT", "Value": { "IsEmpty": false, "RawValue": "T" }, "Descriptor": { "Id": 723, "Name": "TABTEXT", "Type": "Alpha" } }, "MORE_NEWS": { "Field": "MORE_NEWS", "Value": { "IsEmpty": false, "RawValue": "R" }, "Descriptor": { "Id": 727, "Name": "MORE_NEWS", "Type": "Alpha" } }, "SF_NAME": { "Field": "SF_NAME", "Value": { "IsEmpty": false, "RawValue": "LDUCDP" }, "Descriptor": { "Id": 1686, "Name": "SF_NAME", "Type": "Alpha" } }, "DDS_DSO_ID": { "Field": "DDS_DSO_ID", "Value": { "IsEmpty": false, "RawValue": "12303" }, "Descriptor": { "Id": 6401, "Name": "DDS_DSO_ID", "Type": "Alpha" } }, "SPS_SP_RIC": { "Field": "SPS_SP_RIC", "Value": { "IsEmpty": false, "RawValue": ".[SPSIDNEM12005" }, "Descriptor": { "Id": 6480, "Name": "SPS_SP_RIC", "Type": "Alpha" } } } } End Story Detail**
Best Answer
-
.NET API does not have a News API, so you will have to retrieve the contents of NEXT_LR PNAC manually.
Try opening the PNAC in the quote app:
And NEXT_LR:
0
Answers
-
Thanks, i got it.. Is there any way to get the body text in html? or is there a better way to do this in .net api?
0 -
I'm afraid the answer is no to both: you cannot get the body in html and there's no other way to retrieve news stories using Eikon .NET API.
0 -
i want to mark this as answer
0
Categories
- All Categories
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 683 Datastream
- 1.4K DSS
- 613 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 248 ETA
- 552 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 626 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
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 191 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 84 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛