Return a list of events
Search for a list of events using a date range, and location ids This allows for authenticated call - which shows events for the authenticated user, or non-authenticated call which shows only public events, i.e. events that are visible on the iternet.
Path parameters
-
The first date to include, YYYY-MM-DD format. Date is local time
-
The last date to include, YYYY-MM-DD format. Date is local time
-
A filter based on the connection the logged in user has to the event
Values are
mine
,mineandpublic
,rostered
,public
,all
, orids
.
GET
/events/bydate/{from_date}/{to_date}/{location}
curl \
-X GET https://YOURSITE.infoodle.com/apiv2/events/bydate/{from_date}/{to_date}/{location} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"events": {
"id": 68,
"date": "2022-06-01",
"dayNumber": 42,
"dayNumberTh": "1st",
"dayNameAbbr": "Wed",
"dayName": "Wednesday",
"monthNameAbbr": "Jun",
"monthName": "June",
"yearNumber": 2022,
"setupTime24hr": "09:00",
"startTime24hr": "09:00",
"endTime24hr": "10:00",
"packDownTime24hr": "10:00",
"setupTimeFriendly": "9am",
"startTimeFriendly": "9am",
"endTimeFriendly": "10am",
"packDownTimeFriendly": "10am",
"show_as_current": "N",
"title": "Daily Catchup Meeting",
"allDay": 0,
"description": "string",
"passRequired": "N",
"locationsDecode": [
{
"id": 1,
"name": "Conference Room",
"address": "1 High Stret, London, SW1A 1AA"
}
],
"webLink": "https://www.google.com",
"colorCode": "f5324e",
"availableInvitees": [
{
"id": 1,
"name": "Staff"
}
]
}
}