Lat/Long object representation

The latlong object representation and fields are described below.

latlong was introduced in API version V1

latlong has not been marked for deprecation

Usages

Description

Example create representation

{
  "urn" : "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",
  "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
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.