10-21-2020 12:45 AM - edited 10-21-2020 12:46 AM
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': ''})
11-11-2020 02:42 AM
Hi Gordon,
There is no 'services' tag present in the listPhone and hence you're getting an error.
Thanks,
Harsha
11-11-2020 02:49 AM
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
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: