POST v2/apps/{appId}/calendar

Create a new Calendar for the Master

Request Information

URI Parameters

Name Type Description
appId integer

ApplicationId

Additional Info :

Required

Body Parameters

Request

CalendarRequest
Name Type Description
Type TypeEnum

Type of Calendar getting Created

Additional Info :

Required

AccessType AccessTypeEnum

Access Type

Additional Info :

Required

Name string

Calendar Name

Additional Info :

Required

Request Formats

{
  "type": 1,
  "accessType": 1,
  "name": "sample string 1"
}
<CalendarRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppNotch.Converter.Api.Server.Models">
  <AccessType>Private</AccessType>
  <Name>sample string 1</Name>
  <Type>Event</Type>
</CalendarRequest>

Response Information

Resource Description

Signle object that will have the information of the newly created calendar

Collection of CalendarResponse
Name Type Description
Id integer

Calendar Id

AppId integer

App Id

AppType AppTypeEnum

App Type

Type TypeEnum

Type

AccessType AccessTypeEnum

Access Type

Name string

Calendar Name

CreateDate date

Create Date

UpdateDate date

Update Date

Response Formats

[
  {
    "id": 1,
    "appId": 2,
    "appType": 1,
    "type": 1,
    "accessType": 1,
    "name": "sample string 3",
    "createDate": "2019-04-24T19:48:53.6438253Z",
    "updateDate": "2019-04-24T19:48:53.6438253Z"
  },
  {
    "id": 1,
    "appId": 2,
    "appType": 1,
    "type": 1,
    "accessType": 1,
    "name": "sample string 3",
    "createDate": "2019-04-24T19:48:53.6438253Z",
    "updateDate": "2019-04-24T19:48:53.6438253Z"
  }
]
<ArrayOfCalendarResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppNotch.Converter.Api.Server.Models">
  <CalendarResponse>
    <AccessType>Private</AccessType>
    <AppId>2</AppId>
    <AppType>Master</AppType>
    <CreateDate>2019-04-24T19:48:53.6438253+00:00</CreateDate>
    <Id>1</Id>
    <Name>sample string 3</Name>
    <Type>Event</Type>
    <UpdateDate>2019-04-24T19:48:53.6438253+00:00</UpdateDate>
  </CalendarResponse>
  <CalendarResponse>
    <AccessType>Private</AccessType>
    <AppId>2</AppId>
    <AppType>Master</AppType>
    <CreateDate>2019-04-24T19:48:53.6438253+00:00</CreateDate>
    <Id>1</Id>
    <Name>sample string 3</Name>
    <Type>Event</Type>
    <UpdateDate>2019-04-24T19:48:53.6438253+00:00</UpdateDate>
  </CalendarResponse>
</ArrayOfCalendarResponse>