question

Upvotes
Accepted
5 0 0 2

Audience field in RDP news story

We are using RDP news API to get news stories in json format. The audience field sometimes has _qcode or _literal e.g.

"audience": [

{

"_qcode": "NP:CLN"

},

{

"_literal": "CMF"

},

{

"_qcode": "NP:CMN"

},

{

"_qcode": "NP:DNP"

}

],

In "NEWS SERVICE REFINITIV DATA PLATFORM " user guide 2.0 (June 2020) I did not find info about "_literal" attribute. Is there some document describing the _literal?

Can other fields like subject also contain entries with _literal ?

#contentnewsrdp
icon clock
10 |1500

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

@makarand.vaidya

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
14.2k 30 5 10

Hi @makarand.vaidya ,

I cannot find the document that describes the "_literal" field either.

However, the "audience" field is described in page the 24 of the user guide as below


1673590309779.png

As checked, this field seems to be product codes in the MRN data as News Product Code values are represented as literal values (both in audience._literal, and the corresponding Destinations newsMessage.header.destination._literal)

However, this forum is aimed at answering "how to" types of questions about using Refinitiv APIs and the moderators are not Content/Data specialists.

As this is more of a content question, I recommend you raise a Content ticket on MyRefinitiv. Please specify the product that you are using in the submitted ticket.


1673590309779.png (29.2 KiB)
icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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