You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error in documentation:
In the documentation, it says to get the specifics of a name of a partition. I was looking for the uuid and couldn't get it to pull up, python error said bad parameter name (routePartitionName).
Here is the current example in the documentation
---------------Begin-----------------------------------------
Get Specific Partition
pt = ucm.get_partition(routePartitionName='pstn-pt')
print(pt.name)
---------------End-----------------------------------------
So the correction should be that to get the query to work, you need to specify "name" instead of "routePartitionName"
All the parameters available are found by getting the directory of fields in pt...
dir(pt)
['description', 'dialPlanWizardGenId', 'name', 'partitionUsage', 'timeScheduleIdName', 'timeZone', 'useOriginatingDeviceTimeZone', 'uuid']
Thought this might help someone in the future if you updated that documentation, it works fine calling that partition by name.
The text was updated successfully, but these errors were encountered:
Also this documentation doesn't have the ucm.update_phone(name='SEP0027902B1690', description='Test axl description') there are a lot of updates you can do directly to the phone?
Error in documentation:
In the documentation, it says to get the specifics of a name of a partition. I was looking for the uuid and couldn't get it to pull up, python error said bad parameter name (routePartitionName).
Here is the current example in the documentation
---------------Begin-----------------------------------------
Get Specific Partition
pt = ucm.get_partition(routePartitionName='pstn-pt')
print(pt.name)
---------------End-----------------------------------------
So the correction should be that to get the query to work, you need to specify "name" instead of "routePartitionName"
pt = ucm.get_partition(name='pstn-pt')
print(pt.name)
print(pt.uuid)
All the parameters available are found by getting the directory of fields in pt...
dir(pt)
['description', 'dialPlanWizardGenId', 'name', 'partitionUsage', 'timeScheduleIdName', 'timeZone', 'useOriginatingDeviceTimeZone', 'uuid']
Thought this might help someone in the future if you updated that documentation, it works fine calling that partition by name.
The text was updated successfully, but these errors were encountered: