How to get the full body of a news story?
After subscribing to N2_UBMS for headlines, I've attempted to get the news body by requesting individual PNACs
However I only getting part of the story. I would have expected to keep getting refresh messages until the story was complete.
There is a field MORE_NEWS but I can't find any info on what this means
Is there anything else I need to do?
Best Answer
-
After you subscribe to PNAC, You can get part of the news story from SEG_TEXT field.
If NEXT_LR field is not empty, you have to subscribe to it and get the next part of the news story.
You can repeat this process until the NEXT_LR field is empty.0
Answers
-
-
Hi @yajnasteju,
To get the headlines: subscribe to market price feed with RIC N2_UBMS, same service name. In the updates messages, you will receive the headlines, with a field named PNAC (field ID 235)
To get the news body: subscribe to PNAC value .. (as described by @chavalit-jintamalit's answer), market price, same service name.
0 -
Hi, I am new to this. Could you please share an example how to get news feed? Thanks
0 -
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**********************
*0 -
Hello @rvadapally,
I tested retrieving n#1UqLS902 and get back data below, please check your request and permissions.
Type: Refresh
Indication Mask:
RefreshComplete, ClearCache
AttribInfo:
Name:n#1UqLS902
Name Type: RIC
Service Name: ELEKTRON_EDGE
Payload:
PROD_PERM (000001): 511
RDNDISPLAY (000002): 136
AREA_ID (001685): LN
SF_NAME (001686): LDUCDP
DDS_DSO_ID (006401): 12303 | O@C
REG_FIELD1 (000457):
TABTEXT (000723): T
MORE_NEWS (000727): R
PREV_LR (000237): nBSE9CMH5f
NEXT_LR (000238): n#1UqLS903
...0 -
Hello @rvadapally
Please note, if one has an additional question that is related to a question with accepted answer, it's always better to create a new question. As the new answer after the answer has already been accepted as correct can easily get overlooked by the community
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 615 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
- 249 ETA
- 554 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
- 643 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- 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
- 192 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛