Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Eikon Data APIs /
avatar image
Question by rvadapally · Sep 10, 2018 at 11:03 AM · eikon news stream

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**

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Zhenya Kovalyov · Sep 10, 2018 at 11:17 AM

.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:


screen-shot-2018-09-10-at-181336.png (120.8 KiB)
screen-shot-2018-09-10-at-181512.png (98.9 KiB)
Comment
rvadapally

People who like this

1 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
rvadapally · Sep 11, 2018 at 06:58 PM 0
Share

i want to mark this as answer

avatar image
Answer by rvadapally · Sep 10, 2018 at 05:10 PM

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?

Comment

People who like this

0 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Alex Putkov. ♦♦ · Sep 10, 2018 at 05:21 PM 0
Share

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.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
8 People are following this question.

Related Questions

I wanted to know if there's a way to get real time/streaming news data through the Eikon API.

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges