CategoryPaginatedResponse
The response object for paginated API requests.
- metadataType: object · PaginationMetadata
- limitType: integer Format: int32
Gets or sets the limit used in the original request.
- linksType: object · Links
Navigation links in the paginated response.
- offsetType: integer Format: int32
Gets or sets the offset used in the original request.
- totalType: integer Format: int32
Gets or sets the total number of records in the results set.
- resultsType: array object[] | null · Category[]
Gets or sets the results set.
Represents a news category.
- categoryType: integer Format: int32
Id The identifier of the category.
- categoryType: string | null
Name The name of the category.
- categoryType: string | null
Short Name The short name of the category.
- parentType: integer Format: int32
Category Id If this category is a child category, it indicates the identifier of the parent category.
Examples
{
"metadata": {
"links": {
"self": "https://test-news-rest-api.openmarkets.com.au/v2/categories?limit=10&offset=0",
"next": "https://test-news-rest-api.openmarkets.com.au/v2/categories?limit=10&offset=10",
"previous": null
},
"limit": 10,
"offset": 0,
"total": 42
},
"results": [
{
"categoryId": 1,
"parentCategoryId": 0,
"categoryName": "Company Announcements",
"categoryShortName": "ANN"
},
{
"categoryId": 12,
"parentCategoryId": 1,
"categoryName": "Periodic Reports",
"categoryShortName": "PERIODIC"
},
{
"categoryId": 13,
"parentCategoryId": 1,
"categoryName": "Dividend Announcements",
"categoryShortName": "DIVIDEND"
}
]
}

