GET api/Trailers/GetLandmarkForCoords/{latitude}/{longitude}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
latitude

decimal number

Required

longitude

decimal number

Required

Body Parameters

None.

Response Information

Resource Description

SpireonLandmark
NameDescriptionTypeAdditional information
id

integer

None.

LandmarkId

integer

None.

address

string

Max length: 256

city

string

Max length: 128

groupId

integer

None.

groupName

string

Max length: 128

lat

decimal number

None.

lng

decimal number

None.

name

string

Max length: 128

par

integer

None.

points

string

Max length: 4096

radius

decimal number

None.

shape

string

Max length: 64

state

string

Max length: 2

zip

string

Max length: 12

LatLngPoints

Collection of SpireonLandmarkLatLngPoint

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'Landmark' with type 'ExtranetDB_DNF.Models.Spireon.SpireonLandmark'. Path 'LatLngPoints[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'Landmark' with type 'ExtranetDB_DNF.Models.Spireon.SpireonLandmark'. Path 'LatLngPoints[0]'.

text/html

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/html'. Exception message: Self referencing loop detected for property 'Landmark' with type 'ExtranetDB_DNF.Models.Spireon.SpireonLandmark'. Path 'LatLngPoints[0]'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'ExtranetDB_DNF.Models.Spireon.SpireonLandmarkLatLngPoint' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'ExtranetDB_DNF.Models.Spireon.SpireonLandmarkLatLngPoint' contains cycles and cannot be serialized if reference tracking is disabled.