Get a page of hazard classes

Query Parameters
  • PageIndex
    Type: integerFormat: int32

    The page index of the search.

  • PageSize
    Type: integerFormat: int32

    The number of hazard classes to be returned in the response. Returns pages of up to 500 records.

  • DgStandard
    Type: integer · enum

    The dangerous good standard to filter hazard classes by.

    values
    • NewZealand_Ghs7 = 1
    • Australia_Ghs7 = 2
    • NewZealand_Dg2005 = 3
    • Australia_AdgCode = 4
  • SearchText
    Type: string

    The search text to filter hazard classes by.

Responses
  • application/json
Request Example for get/v1/dg-hazard-classes
curl 'https://api.consignlyhq.com/v1/dg-hazard-classes?PageIndex=1&PageSize=25&DgStandard=25&SearchText=Flamable'
{
  "index": 1,
  "total": 1,
  "dgHazardClasses": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": null,
      "dgStandard": "enum (NewZealand_Ghs7 = 1, Australia_Ghs7 = 2, NewZealand_Dg2005 = 3, Australia_AdgCode = 4)"
    }
  ]
}