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

CalendarEventPartialResponse
Name 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": "2019-07-23T00:28:29.9597171Z",
      "endDate": "2019-07-23T00:28:29.9597171Z",
      "alarm": "2019-07-23T00:28:29.9597171Z",
      "dueDate": "2019-07-23T00:28:29.9597171Z",
      "createDate": "2019-07-23T00:28:29.9597171Z"
    },
    {
      "id": 1,
      "calendarId": 2,
      "posterId": 3,
      "posterType": 1,
      "postScope": 1,
      "title": "sample string 4",
      "message": "sample string 5",
      "url": "sample string 6",
      "startDate": "2019-07-23T00:28:29.9597171Z",
      "endDate": "2019-07-23T00:28:29.9597171Z",
      "alarm": "2019-07-23T00:28:29.9597171Z",
      "dueDate": "2019-07-23T00:28:29.9597171Z",
      "createDate": "2019-07-23T00:28:29.9597171Z"
    }
  ]
}
<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>2019-07-23T00:28:29.9597171+00:00</Alarm>
      <CalendarId>2</CalendarId>
      <CreateDate>2019-07-23T00:28:29.9597171+00:00</CreateDate>
      <DueDate>2019-07-23T00:28:29.9597171+00:00</DueDate>
      <EndDate>2019-07-23T00:28:29.9597171+00:00</EndDate>
      <Id>1</Id>
      <Message>sample string 5</Message>
      <PostScope>Private</PostScope>
      <PosterId>3</PosterId>
      <PosterType>Owner</PosterType>
      <StartDate>2019-07-23T00:28:29.9597171+00:00</StartDate>
      <Title>sample string 4</Title>
      <Url>sample string 6</Url>
    </EventObject>
    <EventObject>
      <Alarm>2019-07-23T00:28:29.9597171+00:00</Alarm>
      <CalendarId>2</CalendarId>
      <CreateDate>2019-07-23T00:28:29.9597171+00:00</CreateDate>
      <DueDate>2019-07-23T00:28:29.9597171+00:00</DueDate>
      <EndDate>2019-07-23T00:28:29.9597171+00:00</EndDate>
      <Id>1</Id>
      <Message>sample string 5</Message>
      <PostScope>Private</PostScope>
      <PosterId>3</PosterId>
      <PosterType>Owner</PosterType>
      <StartDate>2019-07-23T00:28:29.9597171+00:00</StartDate>
      <Title>sample string 4</Title>
      <Url>sample string 6</Url>
    </EventObject>
  </Events>
</CalendarEventPartialResponse>