Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 1 2

Regarding Last value of StoryID in News

Dear all,

belows are from equivalent news story but shows different last value like :1, :10, :11 and :12.

Could you kindly guide me relationship between last value of StoryID and VersionCreated?

StoryID VersionCreated

urn:newsml:reuters.com:20190604:nW8N21Z05Y:1 2019-06-04 13:56:59.000

urn:newsml:reuters.com:20190604:nW8N21Z05Y:10 2019-06-04 13:52:37.000

urn:newsml:reuters.com:20190604:nW8N21Z05Y:11 2019-06-04 13:52:37.000

urn:newsml:reuters.com:20190604:nW8N21Z05Y:12 2019-06-04 13:52:37.000

Thanks in advance.

Regards,

Hailey.

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apinews
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.

Hello @Hye Young.Cho

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query? 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

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

Upvotes
Accepted
78.8k 250 52 74

I have verified the raw JSON headlines by setting the value of raw_output to True.

headlines = ek.get_news_headlines("R:EXEP.PA", count=100, raw_output=True)

I found that those headlines before 13:56:59 are alerts.

When a newsworthy event occurs, the first part of a story may be an alert, a short sentence in upper-case that contains the facts and essential detail. Often several alerts are filed in quick succession. For more information about alerts, please refer to MRN DATA MODELS AND ELEKTRON IMPLEMENTATION GUIDE.


news.png (52.3 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.

jirapongse, Thank you so much!!

Upvotes
78.8k 250 52 74

@Hye Young.Cho

From my finding, it is a RevisionId.

  RevisionId is a positive integer indicating which revision of a
         given NewsItem this is.  Any positive integer may be used, but
         it must always be the case that of two instances of a NewsItem
         that have the same ProviderId, DateId and NewsItemId, the one
         whose RevisionId has the larger value must be the more recent
         revision.  A RevisionId of 0 is not permitted.

The format of NewsML URNs is defined in RFC 3085.

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.

Hi jirapongse, Thanks for your comment!

However in this case, the time shows 13:56:59 for RevisionId:1 and

13:52:37 for RevisionId:12. Do you know the reason why? thanks in advance!

Regards,

Hailey

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.