<?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>First try at EM API...need your help !</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=4030562" />
  <subtitle>First try at EM API...need your help !</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=4030562</id>
  <updated>2013-06-19T09:27:02Z</updated>
  <dc:date>2013-06-19T09:27:02Z</dc:date>
  <entry>
    <title>Re: New Message from Francois Leclair in Extension Mobility API (EMAPI) - E</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4030159" />
    <author>
      <name>Sascha Monteiro</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4030159</id>
    <updated>2011-06-10T05:51:54Z</updated>
    <published>2011-06-10T05:51:54Z</published>
    <summary type="html">Hi,

Are you sending the request to the EM Api? (it looks like you are trying to parse this on a phone..??)

you need to POST the request xml from your application to;
https://&lt;server&gt;:8443/emservice/EMServiceServlet</summary>
    <dc:creator>Sascha Monteiro</dc:creator>
    <dc:date>2011-06-10T05:51:54Z</dc:date>
  </entry>
  <entry>
    <title>First try at EM API...need your help !</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4030561" />
    <author>
      <name>Francois Leclair</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4030561</id>
    <updated>2011-06-10T05:38:35Z</updated>
    <published>2011-06-10T05:38:35Z</published>
    <summary type="html">Hi team,
 
This is my first try at EM API and would need your help.  I'm trying to do the following command but I receive an error.
 
Would you know what I did wrong ?
 
Many thanks,
 
Francois
 
*******************************
 
&lt;request&gt;
     &lt;appInfo&gt;
          &lt;appID&gt;SunRay&lt;/appID&gt;
          &lt;appCertificate&gt;gemsoft&lt;/appCertificate&gt;
     &lt;/appInfo&gt;
     &lt;login&gt;
          &lt;deviceName&gt;SEP00169DEF0C7F&lt;/deviceName&gt;
          &lt;userID&gt;1234&lt;/userID&gt;
          &lt;deviceProfile&gt;User1&lt;/deviceProfile&gt;
          &lt;exclusiveDuration&gt;
               &lt;time&gt;60&lt;/time&gt;
          &lt;/exclusiveDuration&gt;
     &lt;/login&gt;
&lt;/request&gt;
 
 
This is the response I'm receiving :
 
&lt;CiscoIPPhoneText&gt;
    &lt;Title&gt;Login response&lt;/Title&gt;
    &lt;Text&gt;Login Unsuccessful&lt;/Text&gt;
    &lt;Prompt&gt;Login is unavailable (207)&lt;/Prompt&gt;
    &lt;SoftKeyItem&gt;
        &lt;Name&gt;Exit&lt;/Name&gt;
        &lt;URL&gt;SoftKey:Exit&lt;/URL&gt;
        &lt;Position&gt;1&lt;/Position&gt;
    &lt;/SoftKeyItem&gt;
&lt;/CiscoIPPhoneText&gt;
*********************************************

Francois
 </summary>
    <dc:creator>Francois Leclair</dc:creator>
    <dc:date>2011-06-10T05:38:35Z</dc:date>
  </entry>
</feed>

