AddHolidayDayAsync

Add a Holiday Day. Returns (Task)

Name Description
folder
item

Add Holiday Day Async

Example in C#

// Returns: HolidayDayInfo
var holidayDayInfo = await client.AddHolidayDayAsync(FolderInfo folder, HolidayDayInfo item)

Example in CURL



           curl -X POST \
               https://keepapi.feenicshosting.com/api/f/INSTANCE.KEY/holidaydays \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -D '{
                       "$type":"Feenics.Keep.WebApi.Model.HolidayDayInfo, Feenics.Keep.WebApi.Model",
                       "DayOfHoliday":"0001-01-01T00:00:00",
                       "ForDays":0,
                       "IsSpecialDay":false,
                       "HolidayExceptionType":0,
                       "Key":null,
                       "CommonName":"AddHolidayDay",
                       "InFolderHref":null,
                       "InFolderKey":null,
                       "Links":[],
                       "ObjectLinks":null,
                       "Metadata":null,
                       "Notes":null,
                       "Tags":null,
                       "Monikers":null,
                       "Href":null
                   }'