06-14-2017 11:30 AM
Hi
I've just implemented listDeviceProfile. Here's a request I'm trying
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/11.5"><soapenv:Header/><soapenv:Body><ns:listDeviceProfile sequence="0"> <searchCriteria><name>%</name></searchCriteria><returnedTags><name/><product/><userLocale/><lines><line><index/><label/><display/><dirn/></line></lines></returnedTags></ns:listDeviceProfile></soapenv:Body></soapenv:Envelope>
The response I get is this:
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns:listDeviceProfileResponse xmlns:ns="http://www.cisco.com/AXL/API/11.5"><return><deviceProfile uuid="{85C21559-BB93-9494-0DDE-9B58BD399BE0}"><name>UDP WaengerPeeee</name><product>Cisco 8865</product><userLocale/></deviceProfile><deviceProfile uuid="{F9BAA578-B229-81B5-58D4-EFA51F760508}"><name>DP_Template</name><product>Cisco IP Communicator</product><userLocale>English United States</userLocale></deviceProfile><deviceProfile uuid="{6D9BD858-AB84-4D0D-902C-477553509879}"><name>ModelProfileFor7f9b0444-c7d2-4762-b422-7c1079b40d9</name><product>Cisco IP Communicator</product><userLocale>English United States</userLocale></deviceProfile><deviceProfile uuid="{DDDE36E1-41E1-5569-45E8-AD41DCC3D474}"><name>DP_lsste</name><product>Cisco IP Communicator</product><userLocale>English United States</userLocale></deviceProfile><deviceProfile uuid="{3A784462-27B3-FDA5-0C92-A88CDE67B6E5}"><name>DP_testuser</name><product>Cisco IP Communicator</product><userLocale>English United States</userLocale></deviceProfile><deviceProfile uuid="{9623E84C-84FB-42CC-B978-28EFCF521FE2}"><name>ModelProfileForf478a0fc-2209-4ee1-b7e3-8661cea18d1</name><product>Cisco 7945</product><userLocale/></deviceProfile><deviceProfile uuid="{C01FB3DB-8987-BCE8-EC89-73C1FD44DC93}"><name>DP_TST_7941</name><product>Cisco 7941</product><userLocale>German Germany</userLocale></deviceProfile><deviceProfile uuid="{FF483F39-0C1E-4D63-BA8D-778268764285}"><name>ModelProfileFor4078071a-126a-43cc-a0dd-a85a4676f9e</name><product>Cisco 7941</product><userLocale>English United States</userLocale></deviceProfile><deviceProfile uuid="{16A4A3AA-8620-4C53-9E43-9BA6EFD7A711}"><name>ModelProfileForc38da166-5b8d-ab4c-3436-b05ebf93d4f</name><product>Cisco IP Communicator</product><userLocale/></deviceProfile></return></ns:listDeviceProfileResponse></soapenv:Body></soapenv:Envelope>
Node the items called "ModelProfileFor".. those are not listed in ccmadmin (und dervice - device settings - device profile), instead those are Default Device Profiles.
Am I wrong to assume that those should not be returned? after all there's a listDefaultDeviceProfiles command that seems to be there just for listing those items.
06-14-2017 12:09 PM
I'm checking on this and another potential problem with that API.
06-15-2017 04:51 AM
Engineer confirmed this (and another problem I found while testing) are defects. We'll file them and get them taken care of.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide