Retrieve news categories

​

Retrieve all the news categories

Headers

  • The unique identifier of the request. This will be used for identifying the request using updates. It is recommended that this be set to a globally unique identifier (GUID).

Responses

  • application/json
Request Example for get/categories/v1
curl https://test-news-api.openmarkets.com.au/categories/v1 \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
[
  {
    "categoryId": 105000000,
    "parentCategoryId": 0,
    "categoryName": "General",
    "categoryShortName": "General"
  },
  {
    "categoryId": 105001000,
    "parentCategoryId": 105000000,
    "categoryName": "Periodic Reports",
    "categoryShortName": "Periodic"
  }
]