Latitude / Longitude item object representation

The latlongitem object representation and fields are described below.

latlongitem was introduced in API version V1

latlongitem has not been marked for deprecation

Endpoint usages

Description

Latitude / Longitude content item associated with an entity

Example create representation

{
  "urn" : "a01e8e1c-ad03-45b5-9d9f-c060aa8ad9b1",
  "url" : "/n/v1/latlongitem/a01e8e1c-ad03-45b5-9d9f-c060aa8ad9b1",
  "entity" : {
    "urn" : "4fdf15cf-cfa3-4b43-9e92-57dfbbc0366d",
    "url" : "/n/v1/entity/4fdf15cf-cfa3-4b43-9e92-57dfbbc0366d"
  },
  "name" : "work",
  "sortOrder" : 0,
  "latitude" : 51.533662983928835,
  "longitude" : -0.1260457936283835
}

Example response representation

{
  "urn" : "a01e8e1c-ad03-45b5-9d9f-c060aa8ad9b1",
  "url" : "/n/v1/latlongitem/a01e8e1c-ad03-45b5-9d9f-c060aa8ad9b1",
  "entity" : {
    "urn" : "4fdf15cf-cfa3-4b43-9e92-57dfbbc0366d",
    "url" : "/n/v1/entity/4fdf15cf-cfa3-4b43-9e92-57dfbbc0366d"
  },
  "name" : "work",
  "sortOrder" : 0,
  "latitude" : 51.533662983928835,
  "longitude" : -0.1260457936283835
}

Fields

NameTypeDescriptionConstraints
urnString representation of a Unique Resource Name. Typically a UUID with 36 characters.The URN of the latitude longitude
urlURL represented as a stringThe URL to access the Lat/Long item
entityEntityRequired on create.
nameString literalThe name of the itemRequired on create. Maximum length: 128.
sortOrderSigned int32The sort order of the itemRequired on create.
latitudeDouble precision floating point real numberThe latitude of the lat/long point expressed as a doubleRequired on create. Minimum: -90.0. Maximum: 90.0.
longitudeDouble precision floating point real numberThe Longitude of the lat/Long point expressed as a doubleRequired on create. Minimum: -180.0. Maximum: 180.0.
isPublishedBoolean literal e.g. trueBoolean indicating if this lat long content item is publised. Used in the context of item history.
createdTimestampTimestamp expressed in ISO 8601 format without timezone including milliseconds. Note unless otherwise stated in UTC zone.The timestamp the lat/long item was created in history view
historyLat / Long item historyThe history of the latitude / longitude item