GET api/ZipGeocode/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ZipGeocodeDto
NameDescriptionTypeAdditional information
Id

integer

None.

ZipCode

integer

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Location

DbGeography

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ZipCode": 2,
  "Latitude": 1.1,
  "Longitude": 1.1,
  "Location": null
}

application/xml, text/xml

Sample:
<ZipGeocodeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.DTO">
  <Id>1</Id>
  <Latitude>1.1</Latitude>
  <Location xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Data.Entity.Spatial" i:nil="true" />
  <Longitude>1.1</Longitude>
  <ZipCode>2</ZipCode>
</ZipGeocodeDto>