Update Calendar Exception Introduction
This example explains you how to update calendar exception, using Aspose.Tasks Cloud. Aspose.Tasks Cloud is a REST API which can be used with any language: .NET, Java, PHP, Ruby, Rails, Python, jQuery and many more.
API
Type
Description
Resource Link
/tasks/{name}/calendars/{calendarUid}/calendarExceptions/{index}
PUT
Update a Calendar Exceptions
PutCalendarException
cURL Example
Request
curl - X PUT "https://api.aspose.cloud/v3.0/tasks/Home%20move%20plan.mpp/calendars/1/calendarExceptions/1" - H "accept: application/json" - H "Content-Type: application/json" - d "{ \"Index\":1, \"EnteredByOccurrences\":true, \"FromDate\":\"2019-08-13T00:00:00\", \"ToDate\":\"2019-08-13T23:59:00\", \"Occurrences\":0, \"Name\":\"New Test\", \"Type\":\"Daily\", \"Period\":1, \"DaysOfWeek\":[ ], \"MonthItem\":\"Undefined\", \"MonthPosition\":\"Undefined\", \"Month\":\"Undefined\", \"MonthDay\":0, \"DayWorking\":true, \"WorkingTimes\":[ { \"FromTime\":\"0010-01-01T23:16:00Z\", \"ToTime\":\"0010-01-01T23:16:00Z\" } ] }"
Response
{
"Code" : "200" ,
"Status" : "OK"
}
SDKs
The Aspose.Tasks Cloud SDKs can be downloaded from the following page: Available SDKs
SDK Examples