Api Documentation

News categories

Retrieves a collection of news categories and rudimentary information about them.
Retrieves a single news category and rudimentary information about it.
Creates a new news category. Only available to API keys without user authentication.
Updates an existing news category. Only available to API keys without user authentication.
Deletes a single news category. Only available to API keys without user authentication.
Json
XML
POST https://api.bundeling.com/V2/news_categories

Parameters

Body

NameDescriptionTypeNillableRequired
nameThe name for the categorystringfalsetrue
iconWhich icon to display with the categorystringfalsefalse
positionThe position to show this category in listsintfalsefalse
separate_menuitemWhen set to true, this category is separated from other news itemsbooleanfalsefalse
external_referenceReference for linking to external systems.stringfalsefalse

Example request

Headers

Content-Type:application/json
Api-Key:RAegSX8yZfEbqSPM

Body

{
    "name": "Supply and Demand",
    "icon": "tag",
    "position": 1,
    "separate_menuitem": false,
    "external_reference": "123908"
}

Example response

{
    "uuid": "eeb763c41c054dcc8f6d9362f24ee9b2",
    "name": "Job openings",
    "icon": "tag",
    "position": 3,
    "separate_menuitem": false,
    "external_reference": "123908",
    "creationdate": "2024-01-20T00:00:00+0100",
    "lastupdate": "2024-01-20T00:00:00+0100"
}