UpdateEngageReaderHolidayAsync

Updates a holiday for an Engage reader. Returns ()

Save changes for the holiday on the designated Engage Reader.

Name Description
reader The Engage reader to update
index The holiday index to update
holidayItem The holiday information to set

Update Engage Reader Holiday Async

Example in C#

// Returns: EngageReaderInfo
var engageReaderInfo = await client.UpdateEngageReaderHolidayAsync(EngageReaderInfo reader, Int32 index, EngageReaderHolidayItem holidayItem);

Example in CURL



           curl -X PUT \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/engagereaders/ENGAGEREADER.KEY/readerholidays/1 \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                   "$type":"Feenics.Keep.WebApi.Model.EngageReaderHolidayItem, Feenics.Keep.WebApi.Model",
                   "StartingDate":"0001-01-01T00:00:00",
                   "EndingDate":"0001-01-01T00:00:00",
                   "Action":0
               }'