<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Adding a User using AXL in CUCM in Management</title>
    <link>https://community.cisco.com/t5/management/adding-a-user-using-axl-in-cucm/m-p/3691870#M2941</link>
    <description>&lt;P&gt;I am using AXL to add a User in the CUCM. I am using the following AXL syntax:&lt;/P&gt;
&lt;PRE&gt;&amp;lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/9.1"&amp;gt;
  &amp;lt;soapenv:Header/&amp;gt;
  &amp;lt;soapenv:Body&amp;gt;
    &amp;lt;ns:addUser sequence="?"&amp;gt;
      &amp;lt;user&amp;gt;
        &amp;lt;firstName&amp;gt;John&amp;lt;/firstName&amp;gt;
        &amp;lt;lastName&amp;gt;Doe&amp;lt;/lastName&amp;gt;
        &amp;lt;userid&amp;gt;john.doe&amp;lt;/userid&amp;gt;
        &amp;lt;password&amp;gt;1234&amp;lt;/password&amp;gt;
        &amp;lt;mailid&amp;gt;jd@g.com&amp;lt;/mailid&amp;gt;
        &amp;lt;department&amp;gt;IT&amp;lt;/department&amp;gt;
        &amp;lt;enableMobility&amp;gt;T&amp;lt;/enableMobility&amp;gt;
        &amp;lt;phoneProfiles&amp;gt;
         &amp;lt;profileName&amp;gt;john.doe_EM&amp;lt;/profileName&amp;gt;
        &amp;lt;/phoneProfiles&amp;gt;
       
      &amp;lt;associatedDevices&amp;gt;
      &amp;lt;device&amp;gt;SEP001F3A924223&amp;lt;/device&amp;gt;
      &amp;lt;/associatedDevices&amp;gt;
        
        
        &amp;lt;/user&amp;gt;
    &amp;lt;/ns:addUser&amp;gt;
  &amp;lt;/soapenv:Body&amp;gt;
&amp;lt;/soapenv:Envelope&amp;gt;&lt;/PRE&gt;
&lt;P&gt;The above works when I remove the tags for adding defaultProfile and primaryExtension. As a turn around i used the SQL statement for adding the defaultProfile but I am still not able to add the primaryExtension. is there an SQL statement for that?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Aug 2018 04:27:49 GMT</pubDate>
    <dc:creator>AR7</dc:creator>
    <dc:date>2018-08-21T04:27:49Z</dc:date>
    <item>
      <title>Adding a User using AXL in CUCM</title>
      <link>https://community.cisco.com/t5/management/adding-a-user-using-axl-in-cucm/m-p/3691870#M2941</link>
      <description>&lt;P&gt;I am using AXL to add a User in the CUCM. I am using the following AXL syntax:&lt;/P&gt;
&lt;PRE&gt;&amp;lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/9.1"&amp;gt;
  &amp;lt;soapenv:Header/&amp;gt;
  &amp;lt;soapenv:Body&amp;gt;
    &amp;lt;ns:addUser sequence="?"&amp;gt;
      &amp;lt;user&amp;gt;
        &amp;lt;firstName&amp;gt;John&amp;lt;/firstName&amp;gt;
        &amp;lt;lastName&amp;gt;Doe&amp;lt;/lastName&amp;gt;
        &amp;lt;userid&amp;gt;john.doe&amp;lt;/userid&amp;gt;
        &amp;lt;password&amp;gt;1234&amp;lt;/password&amp;gt;
        &amp;lt;mailid&amp;gt;jd@g.com&amp;lt;/mailid&amp;gt;
        &amp;lt;department&amp;gt;IT&amp;lt;/department&amp;gt;
        &amp;lt;enableMobility&amp;gt;T&amp;lt;/enableMobility&amp;gt;
        &amp;lt;phoneProfiles&amp;gt;
         &amp;lt;profileName&amp;gt;john.doe_EM&amp;lt;/profileName&amp;gt;
        &amp;lt;/phoneProfiles&amp;gt;
       
      &amp;lt;associatedDevices&amp;gt;
      &amp;lt;device&amp;gt;SEP001F3A924223&amp;lt;/device&amp;gt;
      &amp;lt;/associatedDevices&amp;gt;
        
        
        &amp;lt;/user&amp;gt;
    &amp;lt;/ns:addUser&amp;gt;
  &amp;lt;/soapenv:Body&amp;gt;
&amp;lt;/soapenv:Envelope&amp;gt;&lt;/PRE&gt;
&lt;P&gt;The above works when I remove the tags for adding defaultProfile and primaryExtension. As a turn around i used the SQL statement for adding the defaultProfile but I am still not able to add the primaryExtension. is there an SQL statement for that?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Aug 2018 04:27:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/adding-a-user-using-axl-in-cucm/m-p/3691870#M2941</guid>
      <dc:creator>AR7</dc:creator>
      <dc:date>2018-08-21T04:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a User using AXL in CUCM</title>
      <link>https://community.cisco.com/t5/management/adding-a-user-using-axl-in-cucm/m-p/3707236#M2971</link>
      <description>&lt;P&gt;What error are you seing when you try to add the primary extension?&lt;/P&gt;
&lt;P&gt;The WSDL contains this comment:&lt;/P&gt;
&lt;P&gt;:Only DNs associated with the associatedDevices of the&amp;nbsp; User can be used as primary extension.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is the DN/Partition you're trying to add already associated the device ?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2018 16:04:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/adding-a-user-using-axl-in-cucm/m-p/3707236#M2971</guid>
      <dc:creator>dcburleigh</dc:creator>
      <dc:date>2018-09-14T16:04:51Z</dc:date>
    </item>
  </channel>
</rss>

