<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Changing Line display settings</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=12484627" />
  <subtitle>Changing Line display settings</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=12484627</id>
  <updated>2013-05-20T18:54:30Z</updated>
  <dc:date>2013-05-20T18:54:30Z</dc:date>
  <entry>
    <title>Re: New Message from Geoffrey Carman in AXL Developer - Administration XML</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12493178" />
    <author>
      <name>Sascha Monteiro</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12493178</id>
    <updated>2013-02-28T19:46:24Z</updated>
    <published>2013-02-28T19:46:24Z</published>
    <summary type="html">I never use the linceIdentifier, not sure how it's correct syntax would be,
try
&lt;lines&gt;
 &lt;line&gt;
  ..
 &lt;/line&gt;
&lt;/lines&gt;


On Fri, Mar 1, 2013 at 6:39 AM, Cisco Developer Community Forums &lt;
cdicuser@developer.cisco.com&gt; wrote:

&gt; Geoffrey Carman has created a new message in the forum "Administration XML
&gt; Questions": --------------------------------------------------------------
&gt; I made the following call:
&gt; &lt;soapenv:Envelope xmlns:ns="http://www.cisco.com/AXL/API/8.5"
&gt; xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&gt;
&gt; &lt;soapenv:Header/&gt;
&gt; &lt;soapenv:Body&gt;
&gt; &lt;ns:updateDeviceProfile sequence="?"&gt;
&gt;   &lt;name&gt;EM_Profile_70001&lt;/name&gt;
&gt;   &lt;mlppIndicationStatus&gt;Off&lt;/mlppIndicationStatus&gt;
&gt;   &lt;preemption&gt;Default&lt;/preemption&gt;
&gt;   &lt;lines&gt;
&gt;     &lt;lineIdentifier&gt;
&gt;       &lt;index&gt;1&lt;/index&gt;
&gt;       &lt;label&gt;Name New Last Name1 70001&lt;/label&gt;
&gt;       &lt;display&gt;Name New Last Name1&lt;/display&gt;
&gt;       &lt;displayAscii&gt;Name New Last Name1&lt;/displayAscii&gt;
&gt;       &lt;missedCallLogging&gt;true&lt;/missedCallLogging&gt;
&gt;       &lt;directoryNumber&gt;70001&lt;/directoryNumber&gt;
&gt;       &lt;routePartitionName&gt;PT Line 1&lt;/routePartitionName&gt;
&gt;     &lt;/lineIdentifier&gt;
&gt;   &lt;/lines&gt;
&gt; &lt;/ns:updateDeviceProfile&gt;
&gt; &lt;/soapenv:Body&gt;
&gt; &lt;/soapenv:Envelope&gt;
&gt;
&gt;
&gt;
&gt; I got a success message:
&gt; &lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
&gt; "&gt;
&gt; &lt;soapenv:Body&gt;
&gt; &lt;ns:updateDeviceProfileResponse xmlns:ns="http://www.cisco.com/AXL/API/8.5
&gt; "&gt;
&gt;   &lt;return&gt;{F4B7FAD3-B68A-6126-0848-0A54981BD67C}&lt;/return&gt;
&gt; &lt;/ns:updateDeviceProfileResponse&gt;
&gt; &lt;/soapenv:Body&gt;
&gt; &lt;/soapenv:Envelope&gt;
&gt;
&gt;
&gt; That is returning the DeviceProfile GUID (Based on the URL I see in the
&gt; CUCM Admin UI).
&gt; This correctly changed the Line 1 assignment from 70005 to 70001 on the
&gt; Device Profile named EM_Profile_70001.  But none of the 'demographic' info
&gt; changed.
&gt;
&gt; Am I missing something here?  I do know that I changed from using &lt;line&gt;
&gt; to &lt;lineIdentifier&gt; based on info provided in another thread, which was
&gt; required to succeed at addDeviceProfile.
&gt;
&gt; How do the &lt;line&gt; and sibling &lt;lineIdentifier&gt; interact, in the
&gt; DeviceProfile API calls?
&gt; --
&gt; To respond to this post, please click the following link:
&gt; http://developer.cisco.com/web/axl-developer/forums/-/message_boards/view_message/12484626or simply reply to this email.</summary>
    <dc:creator>Sascha Monteiro</dc:creator>
    <dc:date>2013-02-28T19:46:24Z</dc:date>
  </entry>
  <entry>
    <title>Changing Line display settings</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12484626" />
    <author>
      <name>Geoffrey Carman</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12484626</id>
    <updated>2013-02-28T17:39:34Z</updated>
    <published>2013-02-28T17:39:34Z</published>
    <summary type="html">I made the following call:
&lt;soapenv:Envelope xmlns:ns="http://www.cisco.com/AXL/API/8.5" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&gt;
&lt;soapenv:Header/&gt;
&lt;soapenv:Body&gt;
&lt;ns:updateDeviceProfile sequence="?"&gt;
  &lt;name&gt;EM_Profile_70001&lt;/name&gt;
  &lt;mlppIndicationStatus&gt;Off&lt;/mlppIndicationStatus&gt;
  &lt;preemption&gt;Default&lt;/preemption&gt;
  &lt;lines&gt;
    &lt;lineIdentifier&gt;
      &lt;index&gt;1&lt;/index&gt;
      &lt;label&gt;Name New Last Name1 70001&lt;/label&gt;
      &lt;display&gt;Name New Last Name1&lt;/display&gt;
      &lt;displayAscii&gt;Name New Last Name1&lt;/displayAscii&gt;
      &lt;missedCallLogging&gt;true&lt;/missedCallLogging&gt;
      &lt;directoryNumber&gt;70001&lt;/directoryNumber&gt;
      &lt;routePartitionName&gt;PT Line 1&lt;/routePartitionName&gt;
    &lt;/lineIdentifier&gt;
  &lt;/lines&gt;
&lt;/ns:updateDeviceProfile&gt;
&lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;                        



I got a success message:
&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&gt;
&lt;soapenv:Body&gt;
&lt;ns:updateDeviceProfileResponse xmlns:ns="http://www.cisco.com/AXL/API/8.5"&gt;
  &lt;return&gt;{F4B7FAD3-B68A-6126-0848-0A54981BD67C}&lt;/return&gt;
&lt;/ns:updateDeviceProfileResponse&gt;
&lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;


That is returning the DeviceProfile GUID (Based on the URL I see in the CUCM Admin UI).  
This correctly changed the Line 1 assignment from 70005 to 70001 on the Device Profile named EM_Profile_70001.  But none of the 'demographic' info changed.
 
Am I missing something here?  I do know that I changed from using &lt;line&gt; to &lt;lineIdentifier&gt; based on info provided in another thread, which was required to succeed at addDeviceProfile.  

How do the &lt;line&gt; and sibling &lt;lineIdentifier&gt; interact, in the DeviceProfile API calls? </summary>
    <dc:creator>Geoffrey Carman</dc:creator>
    <dc:date>2013-02-28T17:39:34Z</dc:date>
  </entry>
</feed>

