Geolocation

Add geolocation

Send location to store in database, or send coordinates and fetch location and store it

post/omni/add/geolocation

Request

Headers

api-versionstring required

Request body

longitudenumber float required

User's geolocation longitude

latitudenumber float required

User's geolocation latitude

locationstring

User's current location

madminAreastring
msubAdminAreastring
mlocalitystring
msubLocalitystring
mthoroughfarestring
msubThoroughfarestring
mpostalCodestring
mcountryCodestring
mcountryNamestring

Example request

{
  "longitude": 22.3456,
  "latitude": 44.56783
}

Response

OK

object required

Changes

No recorded changes to this operation across all 1 revision of this API.