Skip to main content
Section ID: DOC-API-MODEL-schema-1kvbjenggb#overview

Location

End-user coordinates and associated location metadata.

Meaning and usage​

Section ID: DOC-API-MODEL-schema-1kvbjenggb#meaning

See the definition above.

Usage profiles​

Section ID: DOC-API-MODEL-schema-1kvbjenggb#fields

UsageFields and validation
In responsesView fields

In responses​

Section ID: DOC-API-MODEL-schema-1kvbjenggb#response

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
Section ID: DOC-API-MODEL-schema-1kvbjenggb#field-latitudeSection ID: DOC-API-MODEL-schema-1kvbjenggb#response-field-latitudelatitudenumber (double) or string (NaN, Infinity, -Infinity)OptionalLatitude of the location in decimal degrees.
Section ID: DOC-API-MODEL-schema-1kvbjenggb#field-longitudeSection ID: DOC-API-MODEL-schema-1kvbjenggb#response-field-longitudelongitudenumber (double) or string (NaN, Infinity, -Infinity)OptionalLongitude of the location in decimal degrees.
Section ID: DOC-API-MODEL-schema-1kvbjenggb#field-citySection ID: DOC-API-MODEL-schema-1kvbjenggb#response-field-citycitystringOptionalCity associated with the location; currently left empty because reverse geocoding is not implemented.
Section ID: DOC-API-MODEL-schema-1kvbjenggb#field-timezoneSection ID: DOC-API-MODEL-schema-1kvbjenggb#response-field-timezonetimezonestringOptionalIANA time zone associated with the location, derived from its coordinates server-side.
Section ID: DOC-API-MODEL-schema-1kvbjenggb#field-updatedatSection ID: DOC-API-MODEL-schema-1kvbjenggb#response-field-updatedatupdatedAtstring (date-time)OptionalTime this record was most recently updated.

Where used​

Section ID: DOC-API-MODEL-schema-1kvbjenggb#where-used

ReferenceRelationship
Get the caller's end-user profilePOST /api/v1/enduser/get
Update the caller's locationPOST /api/v1/enduser/update-location
Models containing this value
ModelRelationship
EndUserStateNested in model

Download the public reference contract.

Document ID: DOC-API-MODEL-schema-1kvbjenggb