GET api/Delimitation/ElectoralEventID/{ElectoralEventID}/SearchString/{SearchCriteria}

Returns all the municipalities for the specified Electoral Event and specified Search Criteria

Request Information

Parameters

NameDescriptionAdditional information
ElectoralEventID
Valid Electoral Event IDs can be obtained by invoking the ElectoralEvent Controller's Get action and passing an ElectoralEventTypeID: api/v1/ElectoralEvent?ElectoralEventTypeID={ElectoralEventTypeID}

Define this parameter in the request URI.

SearchCriteria
Munic Search String invoking the Delimitation Controller's Get Action and passing an ElectoralEventID: api/v1/Delimitation?ElectoralEventID={ElectoralEventID}

Define this parameter in the request URI.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
[
  {
    "Latitude": "sample string 1",
    "Longitude": "sample string 2",
    "WardID": 3,
    "MunicipalityID": 4,
    "Address": "sample string 5"
  },
  {
    "Latitude": "sample string 1",
    "Longitude": "sample string 2",
    "WardID": 3,
    "MunicipalityID": 4,
    "Address": "sample string 5"
  },
  {
    "Latitude": "sample string 1",
    "Longitude": "sample string 2",
    "WardID": 3,
    "MunicipalityID": 4,
    "Address": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAddressGISDelim xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IECService.Models">
  <AddressGISDelim>
    <Address>sample string 5</Address>
    <Latitude>sample string 1</Latitude>
    <Longitude>sample string 2</Longitude>
    <MunicipalityID>4</MunicipalityID>
    <WardID>3</WardID>
  </AddressGISDelim>
  <AddressGISDelim>
    <Address>sample string 5</Address>
    <Latitude>sample string 1</Latitude>
    <Longitude>sample string 2</Longitude>
    <MunicipalityID>4</MunicipalityID>
    <WardID>3</WardID>
  </AddressGISDelim>
  <AddressGISDelim>
    <Address>sample string 5</Address>
    <Latitude>sample string 1</Latitude>
    <Longitude>sample string 2</Longitude>
    <MunicipalityID>4</MunicipalityID>
    <WardID>3</WardID>
  </AddressGISDelim>
</ArrayOfAddressGISDelim>