GET v2/apps/{appId}/calendarevent/{tenantId}/{calId}
Returns events private/shared for the tenant app.
Request Information
URI Parameters
Name | Type | Description | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
appId | integer |
Additional Info :
Required |
|||||||||||
tenantId | integer |
Additional Info :
Required |
|||||||||||
calId | integer |
Additional Info :
Required |
Body Parameters
None.
Response Information
Resource Description
CalendarEventPartialResponseName | Type | Description | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Calendars | Collection of CalendarObject |
List of Calendars |
|||||||||||
Events | Collection of EventObject |
List of Events |
Response Formats
{ "calendars": [ { "calendarId": 1, "type": 2, "title": "sample string 3" }, { "calendarId": 1, "type": 2, "title": "sample string 3" } ], "events": [ { "id": 1, "calendarId": 2, "posterId": 3, "posterType": 1, "postScope": 1, "title": "sample string 4", "message": "sample string 5", "url": "sample string 6", "startDate": "2024-12-11T13:51:02.9651678Z", "endDate": "2024-12-11T13:51:02.9651678Z", "alarm": "2024-12-11T13:51:02.9651678Z", "dueDate": "2024-12-11T13:51:02.9651678Z", "createDate": "2024-12-11T13:51:02.9651678Z" }, { "id": 1, "calendarId": 2, "posterId": 3, "posterType": 1, "postScope": 1, "title": "sample string 4", "message": "sample string 5", "url": "sample string 6", "startDate": "2024-12-11T13:51:02.9651678Z", "endDate": "2024-12-11T13:51:02.9651678Z", "alarm": "2024-12-11T13:51:02.9651678Z", "dueDate": "2024-12-11T13:51:02.9651678Z", "createDate": "2024-12-11T13:51:02.9651678Z" } ] }
<CalendarEventPartialResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppNotch.Converter.Api.Server.Models"> <Calendars> <CalendarObject> <CalendarId>1</CalendarId> <Title>sample string 3</Title> <Type>2</Type> </CalendarObject> <CalendarObject> <CalendarId>1</CalendarId> <Title>sample string 3</Title> <Type>2</Type> </CalendarObject> </Calendars> <Events> <EventObject> <Alarm>2024-12-11T13:51:02.9651678+00:00</Alarm> <CalendarId>2</CalendarId> <CreateDate>2024-12-11T13:51:02.9651678+00:00</CreateDate> <DueDate>2024-12-11T13:51:02.9651678+00:00</DueDate> <EndDate>2024-12-11T13:51:02.9651678+00:00</EndDate> <Id>1</Id> <Message>sample string 5</Message> <PostScope>Private</PostScope> <PosterId>3</PosterId> <PosterType>Owner</PosterType> <StartDate>2024-12-11T13:51:02.9651678+00:00</StartDate> <Title>sample string 4</Title> <Url>sample string 6</Url> </EventObject> <EventObject> <Alarm>2024-12-11T13:51:02.9651678+00:00</Alarm> <CalendarId>2</CalendarId> <CreateDate>2024-12-11T13:51:02.9651678+00:00</CreateDate> <DueDate>2024-12-11T13:51:02.9651678+00:00</DueDate> <EndDate>2024-12-11T13:51:02.9651678+00:00</EndDate> <Id>1</Id> <Message>sample string 5</Message> <PostScope>Private</PostScope> <PosterId>3</PosterId> <PosterType>Owner</PosterType> <StartDate>2024-12-11T13:51:02.9651678+00:00</StartDate> <Title>sample string 4</Title> <Url>sample string 6</Url> </EventObject> </Events> </CalendarEventPartialResponse>