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

{
    "election_id": "sp.2021-05-06",
    "tmp_election_id": null,
    "election_title": "Scottish Parliament elections",
    "poll_open_date": "2021-05-06",
    "election_type": {
        "name": "Scottish Parliament elections",
        "election_type": "sp"
    },
    "election_subtype": null,
    "organisation": {
        "url": "http://elections.democracyclub.org.uk/api/organisations/sp/sp/1999-05-06/?format=api",
        "official_identifier": "sp",
        "organisation_type": "sp",
        "organisation_subtype": "",
        "official_name": "Scottish Parliament",
        "common_name": "Scottish Parliament",
        "slug": "sp",
        "territory_code": "SCT",
        "election_name": "Scottish parliament election",
        "start_date": "1999-05-06",
        "end_date": null,
        "created": "1999-05-06T00:00:00Z",
        "modified": "2021-10-11T14:59:26.370579Z"
    },
    "group": null,
    "group_type": "election",
    "identifier_type": "election",
    "children": [
        "sp.c.2021-05-06",
        "sp.r.2021-05-06"
    ],
    "elected_role": "Member of the Scottish Parliament",
    "seats_contested": null,
    "division": null,
    "voting_system": null,
    "requires_voter_id": null,
    "current": false,
    "explanation": null,
    "metadata": null,
    "deleted": false,
    "cancelled": false,
    "cancellation_reason": null,
    "replaces": null,
    "replaced_by": null,
    "tags": {},
    "created": "2021-03-11T00:00:00Z",
    "modified": "2023-03-15T14:05:49.642005Z"
}