GET residentapi/myunits/{myUnitId}/eventcalendars
Gets all of the calendars from connect (that the myunit role has access to view) and a single calendar for CWS
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| myUnitId |
CWS MyUnitId |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ListWrapperOfEventCalendar| Name | Description | Type | Additional information |
|---|---|---|---|
| Total | integer |
None. |
|
| Elements | Collection of EventCalendar |
None. |
Response Formats
application/json, text/json
Sample:
{
"total": 1,
"elements": [
{
"calendarId": 1,
"name": "sample string 2"
},
{
"calendarId": 1,
"name": "sample string 2"
}
]
}