DeleteScheduleDurationAsync

Returns (Task)

Overview of DeleteScheduleDurationAsync goes here.

Name Description
item
schedule

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"
                   }'