HomeGuidesAPI ReferenceChangelogDiscussions
GuidesiMIS ProfessionaliMIS EnterpriseClient SupportLog In
Changelog

Refreshing dynamic groups via the API

As of 20.3.137 and 100.3.137, you can now refresh dynamic groups via the Group endpoint.

Below are examples that can be posted to the https://{{URL}}/api/Group/_execute endpoint. In these examples, "6f386499-5d5e-46fa-ab63-7b7f426c7046" is the ID of the Group and "101" is the party ID.

{
   "$type":"Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",   
   "OperationName":"RefreshDynamicGroup",
   "Parameters":{      
      "$values":[
         {
           "$type":"System.String",
            "$value": "6f386499-5d5e-46fa-ab63-7b7f426c7046"
         }     
      ]
   }
}
{
   "$type":"Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",   
   "OperationName":"RefreshDynamicGroupForParty",
   "Parameters":{      
      "$values":[
         {
           "$type":"System.String",
            "$value": "6f386499-5d5e-46fa-ab63-7b7f426c7046"
         },
         {
           "$type":"System.String",
            "$value": "101"
         }     
      ]
   }
}