GET /api/elections/mayor.2020-05-07/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "election_id": "mayor.2020-05-07",
    "tmp_election_id": null,
    "election_title": "Mayoral elections",
    "poll_open_date": "2020-05-07",
    "election_type": {
        "name": "Mayoral elections",
        "election_type": "mayor"
    },
    "election_subtype": null,
    "organisation": null,
    "group": null,
    "group_type": "election",
    "identifier_type": "election",
    "children": [
        "mayor.bristol.2020-05-07",
        "mayor.greater-manchester-ca.2020-05-07",
        "mayor.liverpool.2020-05-07",
        "mayor.liverpool-city-ca.2020-05-07",
        "mayor.london.2020-05-07",
        "mayor.salford.2020-05-07",
        "mayor.tees-valley.2020-05-07",
        "mayor.west-midlands.2020-05-07"
    ],
    "elected_role": null,
    "seats_contested": null,
    "division": null,
    "voting_system": null,
    "requires_voter_id": null,
    "current": false,
    "explanation": null,
    "metadata": {
        "cancelled_election": {
            "url": null,
            "title": "Cancelled Election",
            "detail": "The UK Government has postponed the elections scheduled for 7 May 2020 due to the coronavirus outbreak."
        }
    },
    "deleted": false,
    "cancelled": true,
    "cancellation_reason": null,
    "replaces": null,
    "replaced_by": "mayor.2021-05-06",
    "tags": {},
    "created": "2020-03-12T00:00:00Z",
    "modified": "2023-03-15T14:05:49.642005Z"
}