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

Get list of subscribed phone services via AXL

Gordon Ross
Level 9
Level 9

I want to get the list of currently subscribed phone services for an IP Phone. When I try and add "services" to the returnedTags parameter, I get an error back saying that services isn't valid. Yet services is clearly shown in the AXL docs for getPhone.

 

My Python code is just:

 

resp = service.listPhone(searchCriteria={'name': 'SEP009E1EDF761D'},
returnedTags={'name': '', 'description': '', 'callingSearchSpaceName': '',
'devicePoolName': '', 'ownerUserName': '', 'services': ''})

Please rate all helpful posts.
2 Replies 2

Harsha Siriki
Cisco Employee
Cisco Employee

Hi Gordon,

 

There is no 'services' tag present in the listPhone and hence you're getting an error.

 

Thanks,

Harsha

Anusha B R
Cisco Employee
Cisco Employee

Hi Gordon,

Try using getPhone instead of listPhone in your code.

The error you are saying is expected because 'services' tag is not there in the listPhone API.

Hope this helps!

Regards,
Anusha B R

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: