PUT v2/apps/{appId}/calendar/{calendarId}

Update the already existing calendar

Request Information

URI Parameters

Name Type Description
appId integer

Application Id

Additional Info :

Required

calendarId integer

Calendar Id

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

CalendarResponse

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": "2024-04-01T07:42:31.6507877Z",
    "updateDate": "2024-04-01T07:42:31.6507877Z"
  },
  {
    "id": 1,
    "appId": 2,
    "appType": 1,
    "type": 1,
    "accessType": 1,
    "name": "sample string 3",
    "createDate": "2024-04-01T07:42:31.6507877Z",
    "updateDate": "2024-04-01T07:42:31.6507877Z"
  }
]
<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>2024-04-01T07:42:31.6507877+00:00</CreateDate>
    <Id>1</Id>
    <Name>sample string 3</Name>
    <Type>Event</Type>
    <UpdateDate>2024-04-01T07:42:31.6507877+00:00</UpdateDate>
  </CalendarResponse>
  <CalendarResponse>
    <AccessType>Private</AccessType>
    <AppId>2</AppId>
    <AppType>Master</AppType>
    <CreateDate>2024-04-01T07:42:31.6507877+00:00</CreateDate>
    <Id>1</Id>
    <Name>sample string 3</Name>
    <Type>Event</Type>
    <UpdateDate>2024-04-01T07:42:31.6507877+00:00</UpdateDate>
  </CalendarResponse>
</ArrayOfCalendarResponse>