AutoUnlockScheduleItem

This is used in the EngageReaderInfo .

AutoUnlockScheduleItem is the schedule used for the Auto Unlock feature on Engage Readers

AutoUnlockScheduleItem Properties

AutoUnlockScheduleItem

Field Type Inherited from Description
Action AutoUnlockActions AutoUnlockScheduleItem Gets or sets the Action value
DayMask Int32 AutoUnlockScheduleItem Gets or sets the DayMask value
StartTime TimeSpan AutoUnlockScheduleItem Gets or sets the StartTime value

JSON Structure of AutoUnlockScheduleItem

{
   "Action"	:	"[AutoUnlockActions](/object-model/autounlockactions)",
   "DayMask"	:	"Int32",
   "StartTime"	:	"TimeSpan"
}

Delete Auto Unlock Schedule Async

Example in C#

// Returns: nothing
await client.DeleteAutoUnlockScheduleAsync(EngageReaderInfo reader, Int32 index);

Example in CURL



           curl -X DELETE \
               https://keepapi.feenicshosting.com/api/f/INSTANCE.KEY/engagereaders/ENGAGEREADER.KEY/autounlockschedules/1 \
               -H 'Authorization: Bearer TOKEN_GOES HERE' 
            

Update Auto Unlock Schedule Async

Example in C#

// Returns: EngageReaderInfo
var engageReaderInfo = await client.UpdateAutoUnlockScheduleAsync(EngageReaderInfo reader, Int32 index, AutoUnlockScheduleItem scheduleItem);

Example in CURL



           curl -X PUT \
               https://keepapi.feenicshosting.com/api/f/INSTANCE.KEY/engagereaders/ENGAGEREADER.KEY/autounlockschedules/1 \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                 	"$type":"Feenics.Keep.WebApi.Model.AutoUnlockScheduleItem, Feenics.Keep.WebApi.Model",
                   "StartTime":"00:00:00",
                   "DayMask":0,
               	"Action":0
               }'