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": "2025-10-22T17:16:11.3058196Z",
"updateDate": "2025-10-22T17:16:11.3058196Z"
},
{
"id": 1,
"appId": 2,
"appType": 1,
"type": 1,
"accessType": 1,
"name": "sample string 3",
"createDate": "2025-10-22T17:16:11.3058196Z",
"updateDate": "2025-10-22T17:16:11.3058196Z"
}
]
<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>2025-10-22T17:16:11.3058196+00:00</CreateDate>
<Id>1</Id>
<Name>sample string 3</Name>
<Type>Event</Type>
<UpdateDate>2025-10-22T17:16:11.3058196+00:00</UpdateDate>
</CalendarResponse>
<CalendarResponse>
<AccessType>Private</AccessType>
<AppId>2</AppId>
<AppType>Master</AppType>
<CreateDate>2025-10-22T17:16:11.3058196+00:00</CreateDate>
<Id>1</Id>
<Name>sample string 3</Name>
<Type>Event</Type>
<UpdateDate>2025-10-22T17:16:11.3058196+00:00</UpdateDate>
</CalendarResponse>
</ArrayOfCalendarResponse>