07-06-2016 01:44 AM
Hi,
I just tried to do an updatePhone request agains cucm 11.5.
I fired the following request:
<ns:updatePhone sequence="?">
<!--You have a CHOICE of the next 2 items at this level-->
<name>SEP00XXXXXXXXXX</name>
<description>Example</description>
<lines>
<!--You have a CHOICE of the next 2 items at this level-->
<!--1 or more repetitions:-->
<line ctiid="?">
<index>1</index>
<!--Optional:-->
<label>Test</label>
<!--Optional:-->
<display>Test</display>
<dirn uuid="?">
<pattern>233</pattern>
<routePartitionName uuid="?">intern</routePartitionName>
</dirn>
<recordingMediaSource>Gateway Preferred</recordingMediaSource>
</line>
</lines>
</ns:updatePhone>
I get:
<faultstring>Item not valid: The specified numPlanId was not found</faultstring>
233/inter is an existing directory number
I tried the same with addLines
Solved! Go to Solution.
07-06-2016 08:08 AM
It's possible AXL is trying to lookup the directory number based on 'uuid="?"', which is invalid. Can you try the request while removing the XXX="?" attributes..?
07-06-2016 08:08 AM
It's possible AXL is trying to lookup the directory number based on 'uuid="?"', which is invalid. Can you try the request while removing the XXX="?" attributes..?
07-06-2016 11:41 PM
Hi,
Many thanks.
After changing to:
<dirn>
the request is successful
Marcus
05-14-2020 11:40 PM
can you share the exact code for it
@m.stolzenberg wrote:Hi,
Many thanks.
After changing to:
<dirn>
the request is successful
Marcus
07-10-2020 02:41 PM
Thank you so much guys for sharing.
I got this huge project with over 6 thousands lines to update and I was doing it API, and this exactly same issue was killing my code. Thank you I remove the ="?", and it worked beatiful.
Thank you
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: