GET api/Spireon/GetLandmarks

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of 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 '[0].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 '[0].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 '[0].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 'System.Collections.Generic.List`1[[ExtranetDB_DNF.Models.Spireon.SpireonLandmarkLatLngPoint, ExtranetDB_DNF, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' 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 'System.Collections.Generic.List`1[[ExtranetDB_DNF.Models.Spireon.SpireonLandmarkLatLngPoint, ExtranetDB_DNF, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.