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

Returns extended 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": 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
      }
    },
    "bVDPortionLost": true,
    "bSendAddressMsg": true
  },
  "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"
      }
    }
  },
  "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:
<VoterAllDetailsExt 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>1</Id>
    <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>
        <Street>sample string 3</Street>
        <Suburb>sample string 2</Suburb>
        <Town>sample string 1</Town>
      </Location>
      <Name>sample string 1</Name>
    </VotingStation>
    <bRegistered>true</bRegistered>
    <bSendAddressMsg>true</bSendAddressMsg>
    <bVDPortionLost>true</bVDPortionLost>
  </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>
    <Name>sample string 1</Name>
    <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>
  </WardCouncilor>
</VoterAllDetailsExt>