GET conurbation

A lookup call to get all available conurbations, including their ID and description. The call will allow a single ID to be given in order to limit results to the specific conurbation.

When accessed via a GET request this API method will return a list of all available conurbations.

INPUT

As this method is accessed via a GET request there is no HTTP body so options can be specified via the URL.

parameter type description
id int (optional) a conurbation id to restrict results to

OUTPUT - JSON sample

If accessing GET /api/conurbation?id=1 the following JSON would be returned:


{
    "data": [
        {
            "conurbation_id": "1",
            "conurbation_name": "Birkenhead"
        }
    ]
}
        

A "data" element that contains an array of conurbations