dynamic address object show via XML-API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

dynamic address object show via XML-API

L0 Member

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!

1 REPLY 1

L2 Linker

Please try this:

/api/?key=<APIKEY>&type=op&cmd=<show><object><registered-address><all></all></registered-address></object></show>

  • 2357 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!