Hazard Classes

Retrieve dangerous inventory hazard class definitions for DG compliance and documentation.

Endpoints Overview

Method Endpoint Description
GET /v1/dg-hazard-classes Get a page of hazard classes
GET /v1/dg-hazard-classes/{dgHazardClassId}/dg-hazard-categories Get hazard categories

Get Hazard Classes Page

Retrieve a paginated list of dangerous inventory hazard classes.

Endpoint: GET /v1/dg-hazard-classes

Query Parameters

Parameter Type Required Description
PageIndex integer No Page number (default: 1)
PageSize integer No Items per page (default: 25, max: 500)
SearchText string No Filter by class name
DgStandard integer No Filter by DG standard (see DG Standards below)

Request Example

curl -X GET "https://api.consignlyhq.com/v1/dg-hazard-classes?PageIndex=1&PageSize=50" \
  -H "Authorization: Bearer ACCESS_TOKEN"

Response Example

{
  "index": 1,
  "total": 9,
  "dgHazardClasses": [
    {
      "id": "550e8400-e29b-41d4-a716-446655449200",
      "name": "Explosives",
      "dgStandard": 1
    },
    {
      "id": "550e8400-e29b-41d4-a716-446655449201",
      "name": "Gases",
      "dgStandard": 1
    },
    {
      "id": "550e8400-e29b-41d4-a716-446655449202",
      "name": "Flammable Liquids",
      "dgStandard": 1
    },
    {
      "id": "550e8400-e29b-41d4-a716-446655449203",
      "name": "Flammable Solids",
      "dgStandard": 1
    },
    {
      "id": "550e8400-e29b-41d4-a716-446655449204",
      "name": "Oxidizing Substances",
      "dgStandard": 1
    },
    {
      "id": "550e8400-e29b-41d4-a716-446655449205",
      "name": "Toxic and Infectious Substances",
      "dgStandard": 1
    },
    {
      "id": "550e8400-e29b-41d4-a716-446655449206",
      "name": "Radioactive Material",
      "dgStandard": 1
    },
    {
      "id": "550e8400-e29b-41d4-a716-446655449207",
      "name": "Corrosives",
      "dgStandard": 1
    },
    {
      "id": "550e8400-e29b-41d4-a716-446655449208",
      "name": "Miscellaneous Dangerous Goods",
      "dgStandard": 1
    }
  ]
}

Response Fields

Field Type Description
id uuid Hazard class ID
name string Class name
dgStandard integer DG standard (see DG Standards below)

Get Hazard Categories

Retrieve hazard categories (subdivisions) for a hazard class.

Endpoint: GET /v1/dg-hazard-classes/{dgHazardClassId}/dg-hazard-categories

Path Parameters

Parameter Type Required Description
dgHazardClassId uuid Yes The hazard class ID

Query Parameters

Parameter Type Required Description
PageIndex integer No Page number (default: 1)
PageSize integer No Items per page (default: 25, max: 500)
SearchText string No Filter by category name or code

Request Example

curl -X GET "https://api.consignlyhq.com/v1/dg-hazard-classes/550e8400-e29b-41d4-a716-446655449201/dg-hazard-categories" \
  -H "Authorization: Bearer ACCESS_TOKEN"

Response Example

{
  "index": 1,
  "total": 3,
  "dgHazardCategories": [
    {
      "id": "550e8400-e29b-41d4-a716-446655449210",
      "name": "Flammable Gases"
    },
    {
      "id": "550e8400-e29b-41d4-a716-446655449211",
      "name": "Non-Flammable, Non-Toxic Gases"
    },
    {
      "id": "550e8400-e29b-41d4-a716-446655449212",
      "name": "Toxic Gases"
    }
  ]
}

DG Standards

Consignly supports multiple dangerous goods standards:

Value Standard Description
1 NewZealand_Ghs7 New Zealand GHS 7th Edition
2 Australia_Ghs7 Australia GHS 7th Edition
3 NewZealand_Dg2005 New Zealand DG 2005
4 Australia_AdgCode Australia ADG Code

Packaging Groups

Value Group Description
1 I Great danger
2 II Medium danger
3 III Minor danger

Hazchem Codes

Fire Codes

Value Code Description
1 I Water jets
2 II Water fog
3 III Foam
4 IV Dry agent
5 II_ARF Water fog with alcohol-resistant foam
6 III_ARF Foam with alcohol-resistant foam

Safety Codes

Value Code Description
1 P Full protective clothing, BA only in fire
2 R Full protective clothing, BA for fire only
3 S Breathing apparatus
4 S_Black Breathing apparatus + Dilute
5 T Breathing apparatus + Full protective
6 T_Black Breathing apparatus + Full protective + Dilute
7 W Full protective clothing
8 X Full protective clothing
9 Y Full protective clothing + Breathing apparatus
10 Y_Black Full protective + BA + Dilute
11 Z Full protective + Breathing apparatus
12 Z_Black Full protective + BA + Dilute