Get specific DACS category
GET/api/v1/dacs/:id
Request
Path Parameters
id int32required
The DACS category ID
Responses
- 200
successful operation
- application/json
- Schema
- Example (from schema)
Schema
serverTime date-time
error stringnullable
description of error in natural language, absent in case of successful operation
payload
object
nullable
The response data
id int32
The ID of the category
code string
Used to help locate this category within the DACS universe. Child categories will have the same prefix as their parent. E.G parent will have code 10, and child will have code 1010.
name string
Name of the category
colourRgb string
RGB colour value to use for UI rendering
parentId int32nullable
The category's parent ID, if it has one
validFromInc date
The date this category is valid from (inclusive)
validToInc datenullable
If this category is no longer valid, then the date this category is valid to (inclusive)
{
"serverTime": "2024-01-01T09:00:00.000Z",
"error": "string",
"payload": {
"id": 0,
"code": "1010",
"name": "string",
"colourRgb": "#5F7CC6",
"parentId": 0,
"validFromInc": "2025-01-13",
"validToInc": "2025-01-13"
}
}
Loading...