I'm currently developing an application to consume MRN (Elektron) via RFA API.
We are currently consuming and older NFD feed which the above will be replacing.
My question is related to the structure of the data in the new feed, specifically the ID.
In the same story this morning, we had the following ID's in the feeds above:
Why are the ID's different in each feed?
I believe you are comparing MRN's Item ID to NFD's Unique story index. These two IDs are not meant to be the same.
Comparing news across delivery methods is a bit complicate. The only ID that meant to be the same across all delivery methods is Primary News Access Code or PNAC.
However, PNAC itself is not unique. It is news access code, not news unique id. Each PNAC, when assigned to a news, is valid for that news for 24 hours only. After 24 hours, it can be reassigned to another news.
The PNAC is in "altId" field for MRN delivery. and in "PNAC" field for older delivery.
Please note that the old and new are not always 100% comparable since the newer feed carries enhanced / improved data.
Although you should be able re-create the id in MRN_STORY using the altId, versionCreated, takeSequence, and urgency, it can occasionally vary a bit: versionCreated may be off by 1 second, and takeSequence may be off by 1 or 2 for alerts
Hi @Umer-Nalla, I was looking to reconstruct the id =
in MRN. I do have the following information i.e.
VersionCreated = 2018-01-24 20:18:57.000
takeSequence = 2
But urgency = 3.
Please can you suggest me which value corresponds to '6' in this.