GET api/Voters/VoterAllDetails/IDNumber/{ID}

Returns the registration details for a voter including all associated data

Request Information

Parameters

NameDescriptionAdditional information
ID
The ID number of the voter

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Voter": {
    "Id": "sample string 1",
    "VoterStatus": "sample string 2",
    "VoterStatusID": 3,
    "bRegistered": true,
    "VotingStation": {
      "Name": "sample string 1",
      "Delimitation": {
        "ProvinceID": 1,
        "Province": "sample string 2",
        "MunicipalityID": 3,
        "Municipality": "sample string 4",
        "WardID": 5,
        "VDNumber": 6
      },
      "Location": {
        "Town": "sample string 1",
        "Suburb": "sample string 2",
        "Street": "sample string 3",
        "Latitude": 4.1,
        "Longitude": 5.1,
        "ProvinceID": 6,
        "Province": "sample string 7",
        "MunicipalityID": 8,
        "Municipality": "sample string 9",
        "WardID": 10,
        "VDNumber": 11,
        "VotingDistrict": "sample string 12",
        "VDAddress": "sample string 13"
      }
    },
    "VoterId": 5
  },
  "WardCouncilor": {
    "Name": "sample string 1",
    "Delimitation": {
      "ProvinceID": 1,
      "Province": "sample string 2",
      "MunicipalityID": 3,
      "Municipality": "sample string 4",
      "WardID": 5,
      "VDNumber": 6
    },
    "PartyDetail": {
      "ID": 1,
      "Name": "sample string 2",
      "Abbreviation": "sample string 3",
      "LogoUrl": "sample string 4",
      "RegStatus": "sample string 5",
      "RegLevel": "sample string 6",
      "ContactDetails": {
        "ContactPerson": "sample string 1",
        "Tel": "sample string 2",
        "Fax": "sample string 3",
        "PostalAddress": "sample string 4",
        "WebsiteUrl": "sample string 5"
      }
    },
    "Municipality": {
      "ID": 1,
      "Name": "sample string 2",
      "ContactDetails": {
        "ContactPerson": "sample string 1",
        "Tel": "sample string 2",
        "Fax": "sample string 3",
        "PostalAddress": "sample string 4",
        "WebsiteUrl": "sample string 5"
      }
    },
    "ProvinceID": 2,
    "Province": "sample string 3",
    "MunicipalityID": 4,
    "WardID": 5,
    "PartyID": 6,
    "PartyName": "sample string 7",
    "PartyAbbreviation": "sample string 8"
  },
  "SpecialVoter": {
    "SpecialVotesStatus": "sample string 1",
    "ApplicationStatus": "sample string 2",
    "IsOpen": true,
    "ApplicationStatusID": 4,
    "EEID": 5,
    "EEDescription": "sample string 6",
    "ApplicationTypeID": 7,
    "ApplicationTypeDescription": "sample string 8"
  }
}

application/xml, text/xml

Sample:
<VoterAllDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IECService.Models">
  <SpecialVoter>
    <ApplicationStatus>sample string 2</ApplicationStatus>
    <ApplicationStatusID>4</ApplicationStatusID>
    <ApplicationTypeDescription>sample string 8</ApplicationTypeDescription>
    <ApplicationTypeID>7</ApplicationTypeID>
    <EEDescription>sample string 6</EEDescription>
    <EEID>5</EEID>
    <IsOpen>true</IsOpen>
    <SpecialVotesStatus>sample string 1</SpecialVotesStatus>
  </SpecialVoter>
  <Voter>
    <Id>sample string 1</Id>
    <VoterId>5</VoterId>
    <VoterStatus>sample string 2</VoterStatus>
    <VoterStatusID>3</VoterStatusID>
    <VotingStation>
      <Delimitation>
        <Municipality>sample string 4</Municipality>
        <MunicipalityID>3</MunicipalityID>
        <Province>sample string 2</Province>
        <ProvinceID>1</ProvinceID>
        <VDNumber>6</VDNumber>
        <WardID>5</WardID>
      </Delimitation>
      <Location>
        <Latitude>4.1</Latitude>
        <Longitude>5.1</Longitude>
        <Municipality>sample string 9</Municipality>
        <MunicipalityID>8</MunicipalityID>
        <Province>sample string 7</Province>
        <ProvinceID>6</ProvinceID>
        <Street>sample string 3</Street>
        <Suburb>sample string 2</Suburb>
        <Town>sample string 1</Town>
        <VDAddress>sample string 13</VDAddress>
        <VDNumber>11</VDNumber>
        <VotingDistrict>sample string 12</VotingDistrict>
        <WardID>10</WardID>
      </Location>
      <Name>sample string 1</Name>
    </VotingStation>
    <bRegistered>true</bRegistered>
  </Voter>
  <WardCouncilor>
    <Delimitation>
      <Municipality>sample string 4</Municipality>
      <MunicipalityID>3</MunicipalityID>
      <Province>sample string 2</Province>
      <ProvinceID>1</ProvinceID>
      <VDNumber>6</VDNumber>
      <WardID>5</WardID>
    </Delimitation>
    <Municipality>
      <ContactDetails>
        <ContactPerson>sample string 1</ContactPerson>
        <Fax>sample string 3</Fax>
        <PostalAddress>sample string 4</PostalAddress>
        <Tel>sample string 2</Tel>
        <WebsiteUrl>sample string 5</WebsiteUrl>
      </ContactDetails>
      <ID>1</ID>
      <Name>sample string 2</Name>
    </Municipality>
    <MunicipalityID>4</MunicipalityID>
    <Name>sample string 1</Name>
    <PartyAbbreviation>sample string 8</PartyAbbreviation>
    <PartyDetail>
      <Abbreviation>sample string 3</Abbreviation>
      <ContactDetails>
        <ContactPerson>sample string 1</ContactPerson>
        <Fax>sample string 3</Fax>
        <PostalAddress>sample string 4</PostalAddress>
        <Tel>sample string 2</Tel>
        <WebsiteUrl>sample string 5</WebsiteUrl>
      </ContactDetails>
      <ID>1</ID>
      <LogoUrl>sample string 4</LogoUrl>
      <Name>sample string 2</Name>
      <RegLevel>sample string 6</RegLevel>
      <RegStatus>sample string 5</RegStatus>
    </PartyDetail>
    <PartyID>6</PartyID>
    <PartyName>sample string 7</PartyName>
    <Province>sample string 3</Province>
    <ProvinceID>2</ProvinceID>
    <WardID>5</WardID>
  </WardCouncilor>
</VoterAllDetails>