cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
517
Views
0
Helpful
1
Replies

Python - Zeep - Failing to return getLineGroup

collinsj
Level 1
Level 1

CUCM v14 AXL response via Zeep v3.4.0 has me scratching my head.

Request:  

resp = service.getLineGroup(searchCriteria={'name': 'Billing'},
                                returnedTags={'distributionAlgorithm': ''})
Response:
Exception has occurred: TypeError
{http://www.cisco.com/AXL/API/14.0}GetLineGroupReq() got an unexpected keyword argument 'searchCriteria'. Signature: `({name: {http://www.cisco.com/AXL/API/14.0}String100} | {uuid: {http://www.cisco.com/AXL/API/14.0}XUUID}), returnedTags: {http://www.cisco.com/AXL/API/14.0}RLineGroup, sequence: xsd:unsignedLong`
 
I've tested with uuid as well, but the error message is the same.
Testing via SOAPUI with the same line group name presents the results just fine.  I have other functions in my code, such as listLineGroup that also have name as a parameter that work fine through Zeep.  
 
If anyone has any ideas, I'd be grateful.

 

1 Reply 1

b.winter
VIP
VIP

There is a dedicated DevNet forum for such questions. You're probably better suited there.
https://community.cisco.com/t5/developer-collaboration/ct-p/j-developer-collab