Get a page of hazard categories
Path Parameters
- Type: string Format: uuiddg
Hazard Class Id required
Query Parameters
- Type: integer Format: int32Page
Index The page index of the search.
- Type: integer Format: int32Page
Size The number of hazard classes to be returned in the response. Returns pages of up to 500 records.
- Type: stringSearch
Text The search text to filter hazard classes by.
Responses
- application/json
Request Example for get/v1/dg-hazard-classes/{dgHazardClassId}/dg-hazard-categories
curl https://api.consignlyhq.com/v1/dg-hazard-classes/123e4567-e89b-12d3-a456-426614174000/dg-hazard-categories
{
"index": 1,
"total": 1,
"dgHazardCategories": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": null
}
]
}