Fetching CustomPropertyValues through the API

Avatar
  • updated
  • Open

I have been using GetSessionsByFilter to get all our sessions and that is working well but it missing the CustomPropertyValues. I can get those by calling GetSessionDetailsBySessionID but that means I have to call each session one at a time. Is there a more efficient way to do this?

Avatar
0
Sean Keown

If you know the sessionid(s) then you may be able to use the bulk datasync api extension. 

I make no promises as I selfishly created it for my own use. I mainly use it to keep automate and screenconnect in sync. Mainly EDFs, Custom Properties, along with the ability create tickets when screenconnect agents go offline. 

In the return data specify "CustomPropertyValues" there's a help button after you install the plugin. 

Notice! I recommend that anytime you do things in bulk you do it in moderation. I can't promise that your system will handle pulling that data from all devices at once. I normally do it in batches. 



Top contributors

Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar