cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
353
Views
0
Helpful
2
Replies

listChange output

chad_meyer
Level 1
Level 1

Hey everyone,

I am trying to monitor changes to a specific phone entry (userID) via the listChanges API and am unable to see any change information.  I am running CUCM 12.5 in a DEV environment so no other changes are being made except for mine.  Doing an empty <objectList> call returns the following:

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/12.5">
   <soapenv:Body>
      <ns:listChangeResponse>
         <queueInfo>
            <firstChangeId>8359</firstChangeId>
            <lastChangeId>28358</lastChangeId>
            <nextStartChangeId>28359</nextStartChangeId>
            <queueId>MaxG7Hkh</queueId>
         </queueInfo>
         <changes/>
      </ns:listChangeResponse>
   </soapenv:Body>
</soapenv:Envelope>

 

Looking at the API it appears no <changes> tag is included anymore.  I just wanted to confirm this is the case as I am seeing many older posts, along with Cisco Docs located here show the <changes> tag populated in my version.  Any clarification on this would be appreciated.

To note, I have tried calling this API with the "Phone" object defined as well with the same results.

Regards,

Chad 

 

2 Replies 2

chad_meyer
Level 1
Level 1

@dstaudt By chance would you be able to provide some assistance?

dstaudt
Cisco Employee
Cisco Employee

The first request should establish the queue, and return your the started change ID parameters.  Only on subequent requests, e.g. done periodically, would I expect to see actual changes included.  Note the subsequent requests should include queue and startChange Ids, per

dstaudt_0-1675097939602.png

The Python sample here may be helpful: https://github.com/CiscoDevNet/axl-python-zeep-samples/blob/master/axl_listChange.py