AddScheduledAccessLevelGroupBatchForPersonAsync

Adds Scheduled Access Level Groups to a Person in batchWill replace any Scheduled Access Level Group Object Links that already exist Returns () Adds Scheduled Access Level Groups to a Person in batchWill replace any Scheduled Access Level Group Object Links that already exist Returns ()Exception Type: ArgumentNullException

Overview of AddScheduledAccessLevelGroupBatchForPersonAsync goes here.

Name Description
person The person to add scheduled access level groups to
scheduledAccessLevelGroupLinkItems The Scheduled Access Level Group Object Link Items to add to the PersonAll Object Link Items provided must have the relation ‘ScheduledAccessLevelGroup’Each Object Link Item’s MetaDataBson must be a valid Base64 string that is encoded from a BsonDocument containing valid ‘ActiveOn’ and ‘ExpiresOn’ UTC date propertiesWill replace all Scheduled Access Level Group Object Links that already exist
personHref The href of the person to add scheduled access level groups to
scheduledAccessLevelGroupLinkItems The Scheduled Access Level Group Object Link Items to add to the PersonAll Object Link Items provided must have the relation ‘ScheduledAccessLevelGroup’Each Object Link Item’s MetaDataBson must be a valid Base64 string that is encoded from a BsonDocument containing valid ‘ActiveOn’ and ‘ExpiresOn’ UTC date propertiesWill replace all Scheduled Access Level Group Object Links that already exist
batchLink The link on the Person to use to send the batch request

Add Scheduled Access Level Group Batch For Person Async

Example in C#

// Returns: nothing
await client.AddScheduledAccessLevelGroupBatchForPersonAsync(PersonInfo person, ObjectLinkItem scheduledAccessLevelGroupLinkItems);

Add Scheduled Access Level Group Batch For Person Async

Example in C#

// Returns: nothing
await client.AddScheduledAccessLevelGroupBatchForPersonAsync(String personHref, ObjectLinkItem scheduledAccessLevelGroupLinkItems, String batchLink);

Example in CURL



           curl -X POST \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/people/PERSON.KEY/scheduledaccesslevelgroupbatch \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -d '[
                     {
                       "LinkedObjectKey": "{ACCESSLEVELGROUP1.KEY}",
                       "Relation": "ScheduledAccessLevelGroup",
                       "MetaDataBson": "XAAAAAJBY3RpdmVPbgAdAAAAMjAyNS0xMC0xMFQxNDoxMzoxNi44MjExMTcwWgACRXhwaXJlc09uAB0AAAAyMDI1LTEwLTEwVDE1OjEzOjE2LjgyNDk1MDBaAAA=",
                       "AddAsTag": false
                     },
                     {
                       "LinkedObjectKey": "{ACCESSLEVELGROUP2.KEY}",
                       "Relation": "ScheduledAccessLevelGroup",
                       "MetaDataBson": "XAAAAAJBY3RpdmVPbgAdAAAAMjAyNS0xMC0xMFQxNDoxMzoxNi44MjExMTcwWgACRXhwaXJlc09uAB0AAAAyMDI1LTEwLTEwVDE1OjEzOjE2LjgyNDk1MDBaAAA=",
                       "AddAsTag": false
                     }
                   ]'
               # MetaDataBson represents
               # {
               #   "ActiveOn": "2025-10-10T14:13:16.8211170Z",
               #   "ExpiresOn": "2025-10-10T15:13:16.8249500Z"
               # }
            

Example in CURL



           curl -X POST \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/people/PERSON.KEY/scheduledaccesslevelgroupbatch \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -d '[
                     {
                       "LinkedObjectKey": "{ACCESSLEVELGROUP1.KEY}",
                       "Relation": "ScheduledAccessLevelGroup",
                       "MetaDataBson": "XAAAAAJBY3RpdmVPbgAdAAAAMjAyNS0xMC0xMFQxNDoxMzoxNi44MjExMTcwWgACRXhwaXJlc09uAB0AAAAyMDI1LTEwLTEwVDE1OjEzOjE2LjgyNDk1MDBaAAA=",
                       "AddAsTag": false
                     },
                     {
                       "LinkedObjectKey": "{ACCESSLEVELGROUP2.KEY}",
                       "Relation": "ScheduledAccessLevelGroup",
                       "MetaDataBson": "XAAAAAJBY3RpdmVPbgAdAAAAMjAyNS0xMC0xMFQxNDoxMzoxNi44MjExMTcwWgACRXhwaXJlc09uAB0AAAAyMDI1LTEwLTEwVDE1OjEzOjE2LjgyNDk1MDBaAAA=",
                       "AddAsTag": false
                     }
                   ]'
               # MetaDataBson represents
               # {
               #   "ActiveOn": "2025-10-10T14:13:16.8211170Z",
               #   "ExpiresOn": "2025-10-10T15:13:16.8249500Z"
               # }