UpdateStarCommandAsync

Updates an existing star command. Returns (Task)

Overview of UpdateStarCommandAsync goes here.

Name Description
starCommand The star command to update. When HgProcedureItems is non-null, the server updates each linked HgProcedure ’s Actions field in order (by ControllerIndex ); excess entries are ignored, and procedures beyond the supplied list are left unchanged. Leave HgProcedureItems null to update only the star command record without touching its procedures. To replace all procedures, call HgStarCommandInfo) instead.

Update Star Command Async

Example in C#

// Returns: nothing
await client.UpdateStarCommandAsync(HgStarCommandInfo starCommand);

Example in CURL



           curl -X PUT \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/controllers/CONTROLLER.KEY/starcommands/STARCOMMAND.KEY \
              -H 'Authorization: Bearer TOKEN_GOES_HERE' \
              -H 'Content-Type: application/json' \
              -d '{
                      "$type":"Feenics.Keep.WebApi.Model.HgStarCommandInfo, Feenics.Keep.WebApi.Model",
                      "CommandCode":101,
                      "CmndCode":"10",
                      "ProcedureIndex":0,
                      "ManagerIndex":0,
                      "ManagerLevel":0,
                      "Args":[100,5,2,6],
                      "AuthorityFlag":4,
                      "AccessLevelIndex":-1,
                      "AccessDelay":-1,
                      "IdMode":0,
                      "AcrList":"1111111100000000000000000000000000000000000000000000000000000000",
                      "ObjectLinks":[{"Relation":"AccessLevel","LinkedObjectKey":"ACCESSLEVEL.KEY"}]
                  }'