cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
803
Views
10
Helpful
2
Replies

CUCM 11.5 risport70 API can't return all status devices

DennisWei328
Level 1
Level 1

Hi,everyone, 

I am using risport70 API to try to get all devices list include 'registered, unregistered ,unknown' status devices. 

However i can only get registered and unregistered devices but no unknown devices. 

Then i add "unknown" status as a condition in the request however still not work.

The response still can't inlcude unknown status device.

 

 

SoupUI version: 5.6.1

SoupUI request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.cisco.com/ast/soap">
<soapenv:Header/>
<soapenv:Body>
<soap:selectCmDeviceExt>
<soap:StateInfo></soap:StateInfo>
<soap:CmSelectionCriteria>
<soap:MaxReturnedDevices>1000</soap:MaxReturnedDevices>
<soap:DeviceClass>Any</soap:DeviceClass>
<soap:Model>255</soap:Model>
<soap:Status>Unknown</soap:Status>
<soap:NodeName></soap:NodeName>
<soap:SelectBy>Name</soap:SelectBy>
<soap:SelectItems>
<!--Zero or more repetitions:-->
<soap:item>
<soap:Item></soap:Item>
</soap:item>
</soap:SelectItems>
<soap:Protocol>Any</soap:Protocol>
<soap:DownloadStatus>Any</soap:DownloadStatus>
</soap:CmSelectionCriteria>
</soap:selectCmDeviceExt>
</soapenv:Body>
</soapenv:Envelope>

 

 

Could someone please help advise? Thanks! 

2 Replies 2

npetrele
Cisco Employee
Cisco Employee

Risport70 SelectCmDevice(Ext) will only return phones that have been registered at one time, even if their status is currently "unknown". Were your "unknown" status phones ever registered?

True.  'Unknown' is something you shouldn't normally see, as phones should either be Registered/Un-Registered/Not returned by Risport at all.