HomeREST APICalendar

Calendar

Read and manage calendar events and attendees.

Note: All endpoints require authentication and an X-Tenant header. See Authentication overview and How to get API information. Paths are relative to your intranet's API base URL. An Access line appears where an endpoint needs more than a signed-in user.

Endpoints on this page

GET /api/calendar/categories

List categories.

Parameters

Name In Type Required Description
sectionId query integer (int32) Yes

Responses

Status Body
200 See below
404
500

Response body

[
  {
    "Id": 0,
    "Name": "string",
    "Enabled": true
  }
]
FieldType
Idinteger (int32)
Namestring
Enabledboolean

GET /api/calendar/configuration

Get the calendar configuration.

Parameters

Name In Type Required Description
sectionId query integer (int32) Yes

Responses

Status Body
200 See below
404
500

Response body

{
  "MondayIncluded": true,
  "TuesdayIncluded": true,
  "WednesdayIncluded": true,
  "ThursdayIncluded": true,
  "FridayIncluded": true,
  "SaturdayIncluded": true,
  "SundayIncluded": true,
  "WeekStartDay": 0,
  "EventNoAttendees": true,
  "EventInvitationOnly": true,
  "EventOpenAttendance": true
}
FieldType
MondayIncludedboolean
TuesdayIncludedboolean
WednesdayIncludedboolean
ThursdayIncludedboolean
FridayIncludedboolean
SaturdayIncludedboolean
SundayIncludedboolean
WeekStartDayinteger (int32)
EventNoAttendeesboolean
EventInvitationOnlyboolean
EventOpenAttendanceboolean

GET /api/calendar/events

List events.

Parameters

Name In Type Required Description
sectionId query integer (int32) Yes
dateFrom query string (date-time) No
dateTo query string (date-time) No
active query boolean No
searchString query string No

Responses

Status Body
200 See below
404
500

Response body

[
  {
    "EventId": 0,
    "Title": "string",
    "Summary": "string",
    "Location": "string",
    "Description": "string",
    "Tags": "string",
    "StartDate": "2024-01-01T00:00:00Z",
    "EndDate": "2024-01-01T00:00:00Z",
    "OwnerId": 0,
    "SectionId": 0,
    "AssetId": 0,
    "LetterboxAssetId": 0,
    "ShowTimeToEvent": true,
    "Active": true,
    "InAllCalendars": true,
    "AllDayEvent": true,
    "AttendTypeId": "NoAttendees",
    "Category": "string",
    "MaxNumberOfAttendees": 0,
    "EventSeriesId": 0,
    "IsModifiedEventInSeries": true,
    "IcsRecurrenceId": "2024-01-01T00:00:00Z",
    "TimeZone": "string",
    "IsOwnerHidden": true
  }
]
FieldType
EventIdinteger (int32)
Titlestring
Summarystring
Locationstring
Descriptionstring
Tagsstring
StartDatestring (date-time)
EndDatestring (date-time)
OwnerIdinteger (int32)
SectionIdinteger (int32)
AssetIdinteger (int32)
LetterboxAssetIdinteger (int32)
ShowTimeToEventboolean
Activeboolean
InAllCalendarsboolean
AllDayEventboolean
AttendTypeIdstring
Categorystring
MaxNumberOfAttendeesinteger (int32)
EventSeriesIdinteger (int32)
IsModifiedEventInSeriesboolean
IcsRecurrenceIdstring (date-time)
TimeZonestring
IsOwnerHiddenboolean

GET /api/calendar/permissions

List permissions.

Parameters

Name In Type Required Description
sectionId query integer (int32) Yes

Responses

Status Body
200 See below
404
500

Response body

{
  "CanView": true,
  "CanAdd": true,
  "CanDisplayInAllCalendars": true
}
FieldType
CanViewboolean
CanAddboolean
CanDisplayInAllCalendarsboolean

GET /api/calendar/timezones

List timezones.

Responses

Status Body
200 See below
500

Response body

[
  {
    "DisplayName": "string",
    "Id": "string",
    "SupportsDaylightSavingTime": true
  }
]
FieldType
DisplayNamestring
Idstring
SupportsDaylightSavingTimeboolean

GET /api/calendar/{sectionId}/is-subscribed

Check whether the person is subscribed.

Parameters

Name In Type Required Description
sectionId path integer (int32) Yes

Responses

Status Body
200 boolean
500

POST /api/calendar/{sectionId}/subscription/toggle

Create a toggle.

Parameters

Name In Type Required Description
sectionId path integer (int32) Yes

Responses

Status Body
200 boolean
500
Section: REST API