v2

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-0171058.4 KB

Endpoint used to get a list of container types. It returns a code list on <b>200</b> success, or a <b>401</b> on failure.<br>
Note: The field returned by the method is case-sensitive, please use the case specified for the code.<br><br> Example Request

curl --request GET \--url https://waste-tracking.api.defra.gov.uk/reference-data/container-types \
--header "authorization": Bearer eyJraWQiOiJQYnJiZXZvYUF5d1NQcG5KUWlsQXVCT1Q4aVdyNUFcL3RaQkZHaTk5TU5CTT0iLCJhbGciOiJSUzI1NiJw...
get/reference-data/container-types

Response

A truncated list of container type codes obtained using the GET container-types method<br><br>

Success

[
  {
    "code": "BAG",
    "description": "Bag / Sack (e.g. rubble bag, refuse sack)"
  },
  {
    "code": "BAL",
    "description": "Bale"
  },
  {
    "code": "BOX",
    "description": "Box / Carton / Crate"
  }, ... cont
codestring

The container type. The full list of valid container type codes is returned by the GET container-types method

descriptionstring

The container type description.

Example response

[
  {
    "code": "WBI",
    "description": "Wheelie Bin (any size)"
  }
]