DeleteScheduleDurationAsync

Deletes a schedule duration from a schedule. Returns (Task)

Overview of DeleteScheduleDurationAsync goes here.

Name Description
schedule The schedule to delete the duration from
item The schedule duration item to delete

Delete Schedule Duration Async

Example in C#

// Returns: nothing
await client.DeleteScheduleDurationAsync(ScheduleInfo schedule, ScheduleDurationItem item);

Example in CURL



           curl -X DELETE \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/schedules/scheduleKey/scheduledurations \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"Feenics.Keep.WebApi.Model.ScheduleDurationItem, Feenics.Keep.WebApi.Model",
                       "DayMask"	:	"Int32",
                       "Duration"	:	"TimeSpan",
                       "Holiday"	:	"String",
                       "HolidayExceptions"	:	"[HolidayExceptionTypes](/object-model/holidayexceptiontypes)",
                       "StartingAt"	:	"TimeSpan"
                   }'