/population-types/{population-type}

GET

Retrieves a single population type for Census

Parameters

Name Type Description
population-type path

Responses

200: Json object containing a population type for Census

Example value
{
  "description": "A population type which census data can be retrieved from",
  "type": "object",
  "properties": {
    "description": {
      "description": "The description of the population type",
      "type": "string",
      "example": "All usual residents"
    },
    "label": {
      "description": "The label of the population type",
      "type": "string",
      "example": "All usual residents"
    },
    "name": {
      "description": "The name of the population type",
      "type": "string",
      "example": "Usual-Residents"
    }
  }
}

401: Unauthorised to fetch

Example value
null

500: Failed to process the request due to an internal error

Example value
null