listPresenceGroup returnedTags

Version 1
    This document was generated from CDN thread

    Created by: Carlo Rodriguez on 16-01-2013 10:54:16 PM
    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!
     

    Subject: RE: listPresenceGroup returnedTags
    Replied by: Josh Gross on 22-02-2013 03:08:34 PM
    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')