On-Demand API
Description
Each request to you site fetches live data directly from the MFN API
Can be used from backend or frontend
Getting Started
News feed
Start by studying the Feed API and corresponding News Item model. The feed should be simple to be consume with any HTTP client and is available in both JSON or XML.
pageFeedTypical filtering setups
Most of the time the website should be divided into different parts / menus for different categories of press releases. Typically at least the user should be able to distinguish between Regulatory releases and other press releases. If the customer will use MFN for PR many times it will also be displayed in a separate feed.
Description | Query params |
All releases (IR & PR) |
|
Press releases (IR) |
|
Regulatory |
|
Reports |
|
News (PR) |
|
|
News item
To fetch and display a single press release from the API you can use either use the query param news-slug
(.content.slug) or news-id
in combination with the base feed url.
If .json or .xml is left out, it will return JSON by default
Typical Page Layout
Part | JSON model path |
Title |
|
Publish Date |
|
Tags (*) |
|
Text Body |
|
Attachments |
|
(*) Press releases can contain many tags, but typically a select few would be displayed as actual visible tags. Most commonly :regulatory
as Regulatory / Regulatorisk according to site language.
Last updated