« Back to Administration XML Questions

RE: listPresenceGroup returnedTags

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi Guys,
 
I'm doing listPresenceGroup but I can't seem to get the returnedTags that I want. All I keep getting is just the uuid. Is there a way to get the name or descrption included?
 
$client->listPresenceGroup(array('searchCriteria'=>array('name'=>'%'),'returnedTags'=>array('uuid','name')))
 
Thanks!
 

I dont know if this helps you but the raw request would look like:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/8.5">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:listPresenceGroup sequence="?">
         <searchCriteria>
            <name>Standard Presence group</name>
         </searchCriteria>
         <returnedTags uuid="?">
            <name>?</name>
            <description>?</description>
         </returnedTags>
      </ns:listPresenceGroup>
   </soapenv:Body>
</soapenv:Envelope>

the response looks like:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <ns:listPresenceGroupResponse xmlns:ns="http://www.cisco.com/AXL/API/8.5">
         <return>
            <presenceGroup uuid="{AD243D17-98B4-4118-8FEB-5FF2E1B781AC}">
               <name>Standard Presence group</name>
               <description>Standard Presence group</description>
            </presenceGroup>
         </return>
      </ns:listPresenceGroupResponse>
   </soapenv:Body>
</soapenv:Envelope>
Im not familiar with the code you posted but maybe your returnedTags should be ('name','description')