GET api/LGEWardCouncilor/Latitude/{Latitude}/Longitude/{Longitude}

Returns the ward Councilor for the specified GPS coordinates

Request Information

Parameters

NameDescriptionAdditional information
Latitude
The GPS latitude

Define this parameter in the request URI.

Longitude
The GPS longitude

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>