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
Example response
[
{
"code": "WBI",
"description": "Wheelie Bin (any size)"
}
]