GET v2/apps/{appId}/calendarevent

Returns the events for the master app or single app.

Request Information

URI Parameters

Name Type Description
appId integer

Application Id

Additional Info :

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Events

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:31:15.1384262Z",
      "endDate": "2019-07-23T00:31:15.1384262Z",
      "alarm": "2019-07-23T00:31:15.1384262Z",
      "dueDate": "2019-07-23T00:31:15.1384262Z",
      "createDate": "2019-07-23T00:31:15.1384262Z"
    },
    {
      "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:31:15.1384262Z",
      "endDate": "2019-07-23T00:31:15.1384262Z",
      "alarm": "2019-07-23T00:31:15.1384262Z",
      "dueDate": "2019-07-23T00:31:15.1384262Z",
      "createDate": "2019-07-23T00:31:15.1384262Z"
    }
  ]
}
<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:31:15.1384262+00:00</Alarm>
      <CalendarId>2</CalendarId>
      <CreateDate>2019-07-23T00:31:15.1384262+00:00</CreateDate>
      <DueDate>2019-07-23T00:31:15.1384262+00:00</DueDate>
      <EndDate>2019-07-23T00:31:15.1384262+00:00</EndDate>
      <Id>1</Id>
      <Message>sample string 5</Message>
      <PostScope>Private</PostScope>
      <PosterId>3</PosterId>
      <PosterType>Owner</PosterType>
      <StartDate>2019-07-23T00:31:15.1384262+00:00</StartDate>
      <Title>sample string 4</Title>
      <Url>sample string 6</Url>
    </EventObject>
    <EventObject>
      <Alarm>2019-07-23T00:31:15.1384262+00:00</Alarm>
      <CalendarId>2</CalendarId>
      <CreateDate>2019-07-23T00:31:15.1384262+00:00</CreateDate>
      <DueDate>2019-07-23T00:31:15.1384262+00:00</DueDate>
      <EndDate>2019-07-23T00:31:15.1384262+00:00</EndDate>
      <Id>1</Id>
      <Message>sample string 5</Message>
      <PostScope>Private</PostScope>
      <PosterId>3</PosterId>
      <PosterType>Owner</PosterType>
      <StartDate>2019-07-23T00:31:15.1384262+00:00</StartDate>
      <Title>sample string 4</Title>
      <Url>sample string 6</Url>
    </EventObject>
  </Events>
</CalendarEventPartialResponse>