Demo Data

Only works before until the customer has sent their first real release

There is an inject endpoint that you can use to inject somewhat random press releases into the feed. Which can be used to simulate a press release going out.

We can also pre-fill the feed with a few years random of demo data. That also contains properly tagged Financial Reports.

Use cases

  • Feed is empty, since perhaps the customer is an IPO

  • Testing WebSub subscription

    • HTTP Posthooks

    • Wordpress Plugin Subscription

Inject Demo News Item

POST https://feed.mfn.se/demo/inject/:entity_id

You can inject demo News Items into your feed by posting to the following endpoint. Injects a somewhat random demo press release into the feed. Only works before until the customer has sent their first real release.

Path Parameters

NameTypeDescription

entity_id

string

Typically this has the same value as the primaryfeed_idin the API, but if you received multiple feed_id's only the main feed will be used for injecting demo news items.

Query Parameters

NameTypeDescription

type

string

Choose the type of the press release to inject [ ir | pr ]

lang

string

Choose language [ en | sv | fi ]

Command line example using curl

curl -X POST https://feed.mfn.se/demo/inject/fd51fb4d-e5dc-4390-a11c-0dfd1eafba22?lang=fi

To inject multiple press releases with the same groupe_id, add languages separeted with commas. Avalible languages are "en,sv,fi,no,zh,fr,de,da,pl,nl,lb,et,lv,lt,es"

Multiple press releases with the same group_id simulate when a company sends the same press release in different languages. This makes the releases receive the same groupe ID

curl -X POST https://feed.mfn.se/demo/inject/fd51fb4d-e5dc-4390-a11c-0dfd1eafba22?lang=en,sv

To specify tags and type for press releases to inject look at the following inject example. Two tags need to be specified and coma separated. "type" is a quary param and takes "ir"(investor relation) or "pr"(public relation) as an argument.

curl -X POST https://feed.mfn.se/demo/inject/fd51fb4d-e5dc-4390-ae44-01755b290b31/:regulatory:mar,sub:report:annual?type=ir&lang=sv

Last updated