GET /api/elections/parl.newport-west.by.2019-04-04/
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "election_id": "parl.newport-west.by.2019-04-04",
    "tmp_election_id": null,
    "election_title": "Newport West by-election",
    "poll_open_date": "2019-04-04",
    "election_type": {
        "name": "UK Parliament elections",
        "election_type": "parl"
    },
    "election_subtype": null,
    "organisation": {
        "url": "https://elections.democracyclub.org.uk/api/organisations/parl/parl-hoc/1832-06-07/",
        "official_identifier": "parl-hoc",
        "organisation_type": "parl",
        "organisation_subtype": "",
        "official_name": "House of Commons of the United Kingdom",
        "common_name": "House of Commons",
        "slug": "parl",
        "territory_code": "GBN",
        "election_name": "UK general election",
        "start_date": "1832-06-07",
        "end_date": null
    },
    "group": "parl.2019-04-04",
    "group_type": null,
    "identifier_type": "ballot",
    "children": [],
    "elected_role": "Member of Parliament",
    "seats_contested": 1,
    "division": {
        "divisionset": {
            "start_date": "2010-05-06",
            "end_date": null,
            "legislation_url": null,
            "consultation_url": null,
            "short_title": "2010 Boundaries",
            "notes": "Auto imported from http://mapit.mysociety.org"
        },
        "name": "Newport West",
        "official_identifier": "gss:W07000056",
        "slug": "newport-west",
        "division_type": "WMC",
        "division_subtype": "UK Parliament constituency",
        "division_election_sub_type": "",
        "seats_total": null,
        "territory_code": "WLS"
    },
    "voting_system": {
        "slug": "FPTP",
        "name": "First-past-the-post",
        "uses_party_lists": false
    },
    "current": false,
    "explanation": null,
    "metadata": null,
    "deleted": false,
    "cancelled": false,
    "replaces": null,
    "replaced_by": null
}