Retrieve an event
GET/clubs/{connection_id}/event/{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 Event
Returns
(home-vs-away competitors with scores). Distinct from the fitness-oriented IClubsActivity.
idstring
Unique identifier for this event
created_atdate
The date that this event was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
The last date that this event was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
group_idstring
The group this event belongs to (reference to HrisGroup)
namestring
The event name (or a "Home vs Away" matchup label)
descriptionstring
A description or notes for the event
type enum
Valid values:
"GAME"
"PRACTICE"
"OTHER"
The event type
status enum
Valid values:
"SCHEDULED"
"CANCELED"
"TBD"
"FINAL"
The event status
start_atdate
When the event starts (UTC) (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
end_atdate
When the event ends (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
timezonestring
The timezone of the event
duration_minutesnumber
The scheduled duration, in minutes
location_idstring
The id of the location for this event
location_namestring
The name of the location for this event
opponent_idstring
The id of the opposing team (single-opponent providers)
opponent_namestring
The name of the opposing team
home_team_namestring
The home team's name (homeaway providers)
away_team_namestring
The away team's name (homeaway providers)
home_scorenumber
The home team's score
away_scorenumber
The away team's score
score_fornumber
The connected groupteam's score (team-vs-opponent providers)
score_againstnumber
The opponent's score (team-vs-opponent providers)
is_homeboolean
Whether the connected groupteam is the home side
urlstring
A URL to the event
const options = {
method: 'GET',
url: 'https://api.unified.to/clubs/5de520f96e439b002043d8dc/event/5de520f96e439b002043d8d8',
headers: {
authorization: 'bearer .....'
},
params: {
fields: '',
raw: '',
}
};
const results = await axios.request(options); Are we missing anything? Let us know