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
PUT https://api.bundeling.com/V2/news_categories

Parameters

Url

NameDescriptionType
uuidA unique identifier used to identify a news categorystring

Body

NameDescriptionTypeNillable
nameThe name for the categorystringfalse
iconWhich icon to display with the categorystringfalse
positionThe position to show this category in listsintfalse
separate_menuitemWhen set to true, this category is separated from other newsbooleanfalse
external_referenceReference for linking to external systems.stringfalse

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"
}