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"
    }
  },
  "ProvinceID": 2,
  "Province": "sample string 3",
  "MunicipalityID": 4,
  "WardID": 5,
  "PartyID": 6,
  "PartyName": "sample string 7",
  "PartyAbbreviation": "sample string 8"
}

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>
  <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>