Retrieve a location

GET/clubs/{connection_id}/location/{id}

Parameters

fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
idstring required
ID of the Location

Returns

formatted address string + lat/long) and PlayHQ venues (structured address parts).

idstring
Unique identifier for this location
created_atdate
The date that this location was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
The last date that this location was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
group_idstring
The group this location is associated with (reference to HrisGroup)
namestring
The location name
addressobject
latitudenumber
The latitude
longitudenumber
The longitude
telephonestring
A contact phone number for the location
urlstring
A URL for the location
const options = {
  method: 'GET',
  url: 'https://api.unified.to/clubs/5de520f96e439b002043d8dc/location/5de520f96e439b002043d8d8',
  headers: {
    authorization: 'bearer .....'
  },
  params: {
    fields: '',
    raw: '',
  }
};

const results = await axios.request(options);
Are we missing anything? Let us know
Was this page helpful?