Page tree
Skip to end of metadata
Go to start of metadata



URL Endpoints


JSON: 

https://trial.serviceobjects.com/GCR/api.svc/json/GetDistanceToWaterByAddress?Address={ADDRESS}&City={CITY}&State={STATE}&PostalCode={POSTALCODE}&LicenseKey={LICENSEKEY}

XML: 

https://trial.serviceobjects.com/GCR/api.svc/xml/GetDistanceToWaterByAddress?Address={ADDRESS}&City={CITY}&State={STATE}&PostalCode={POSTALCODE}&LicenseKey={LICENSEKEY}


GetDistanceToWaterByAddress Inputs


Name

Type

Description

Address

String

The address of the location.

City

String

The city of the the location.

State

String

The state of the location.

PostalCode

String

The postal code of the location.

LicenseKey

String

Your license key to use the service. Sign up for a free trial key at
https://www.serviceobjects.com/products/address/address-geocode-us


GetDistanceToWaterByAddress Outputs


Name

Type

Value

Description

MilesToWater

String

Decimal Number

An estimate on the number of miles between the given location and the nearest saltwater.

Latitude

String

Decimal Number

The latitude of the location.

Longitude

String

Decimal Number

The longitude of the location.

ClosestWaterLatitude

String

Decimal Number

The latitude of the closest saltwater location.

ClosestWaterLongitude

String

Decimal Number

The longitude of the closest saltwater location

Error

Error

Varies

Error object indicating why the service could not return a result. See “Errors” below for more information.


References




  • No labels