GET api/LGEWardCouncilor/WardID/{WardID}

Returns the ward Councilor for the specified ward

Request Information

Parameters

NameDescriptionAdditional information
WardID
Valid Ward IDs can be obtained by invoking the Delimitation Controller's Get Action and passing an ElectoralEventID, ProvinceID and MunicipalityID: api/v1/Delimitation?ElectoralEventID={ElectoralEventID}&ProvinceID={ProvinceID}&MunicipalityID={MunicipalityID}

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "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"
    }
  }
}

application/xml, text/xml

Sample:
<WardCouncilor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IECService.Models">
  <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>