- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
02-06-2014 01:37 AM
Hi All,
We're doing some custom apps which revolve around dynamic address objects. We'd like to be able to dump out the current members of a dynamic address via the API. The 'Dynamic Address Objects revB.pdf' document doesn't mention that it's possible via the XML-API, but it doesn't say it's not either.
..and indeed, the API does offer this functionality:
All Dynamic Objects
/api/?type=op&cmd=<show><object><dynamic-address-object><all></all></dynamic-address-object></object></show>
Individual Object
/api/?type=op&cmd=<show><object><dynamic-address-object><name></name></dynamic-address-object></object></show>
However, either through the Firewall's XML browser itself or via some XML pumped out of a python script, we simply receive a:
<response cmd="status" status="success"><result/></response>
.. yet no object data is returned. We do have a populated dynamic object, so it's not that we're simply trying to query an empty object.
Thanks, any advice appreciated!
06-10-2014 03:20 AM
Please try this:
/api/?key=<APIKEY>&type=op&cmd=<show><object><registered-address><all></all></registered-address></object></show>
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!