<?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>REST API</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_category?p_l_id=&amp;mbCategoryId=2000440" />
  <subtitle />
  <id>http://developer.cisco.com/c/message_boards/find_category?p_l_id=&amp;mbCategoryId=2000440</id>
  <updated>2013-05-19T11:01:20Z</updated>
  <dc:date>2013-05-19T11:01:20Z</dc:date>
  <entry>
    <title>CUPS_MSVS_Plugin: How to set rich presence c# ?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=14950599" />
    <author>
      <name>Rune Heggelund</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=14950599</id>
    <updated>2013-05-04T23:47:13Z</updated>
    <published>2013-05-04T23:43:43Z</published>
    <summary type="html">Hi! Can anyone give me an example on setting rich presence using c#. I have tried to insert a PIDF document using prInType.richPresence but I always get {"Failed to set presence data"} in return. I can successfully set a BASIC_PRESENCE with the setPresence Snippet.</summary>
    <dc:creator>Rune Heggelund</dc:creator>
    <dc:date>2013-05-04T23:43:43Z</dc:date>
  </entry>
  <entry>
    <title>Unable to log in as application user using Presence Web Service</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12336149" />
    <author>
      <name>Kelvin Yong</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12336149</id>
    <updated>2013-02-25T06:41:12Z</updated>
    <published>2013-02-25T06:38:24Z</published>
    <summary type="html">Hi,
 
About a month ago, I could log in as an application user using the following command from the terminal.
 
curl -k -X PUT -d '&lt;?xml version="1.0"?&gt;&lt;session&gt;&lt;password&gt;somepassword&lt;/password&gt;&lt;/session&gt;' http://cup9:8082/presence-service/users/kelvinapp/session
 
However, executing the same command this week gives me:
 
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
 
 &lt;description xmlns="urn:cisco:cup:presence:soap"&gt;
 
 &lt;code&gt;114&lt;/code&gt;
 
 &lt;message&gt;Failed to login user&lt;/message&gt;
 
 &lt;fix&gt;Ensure the login data is valid&lt;/fix&gt;
 
 &lt;/description&gt;
 
I've not changed any settings on the CUPS 9.0. To be sure, I've changed my password, tested with newly created application users with all access groups added, and even re-started the CUPS. And I've tested with the administrator account as well. Nothing works.
 
Tried viewing the logs but it was exactly very helpful.
 
admin:file tail activelog epas/trace/esp/sdi/esp00000026.txt
 
14:04:31.229 |ID(30445) tpi_http.c(695) tpiLoginHandler(): tpiLoginHandler: Failed to login 
 
14:04:35.395 |PID(30397) tpi_sip.c(1277) tpi_login_request(): User is not an App User 
 
14:04:35.395 |ID(30397) tpi_http.c(695) tpiLoginHandler(): tpiLoginHandler: Failed to login 
 
14:05:39.056 |PID(30445) tpi_sip.c(1277) tpi_login_request(): User is not an App User 
 
14:05:39.056 |ID(30445) tpi_http.c(695) tpiLoginHandler(): tpiLoginHandler: Failed to login 
 
 
 
Anyone has a clue how to resolve this? I'm sure the username/password is valid.</summary>
    <dc:creator>Kelvin Yong</dc:creator>
    <dc:date>2013-02-25T06:38:24Z</dc:date>
  </entry>
  <entry>
    <title>Using REST API</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7948617" />
    <author>
      <name>Alex Vishnev</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7948617</id>
    <updated>2012-10-23T00:22:40Z</updated>
    <published>2012-10-23T00:22:40Z</published>
    <summary type="html">When I attempt to use REST API to login user, i get the following error
 
When I use 
http://10.1.12.212:8082/presence-server/soap as it least gives me a soap error showing that soap body was not included
but when I use
http://10.1.12.212:8082/presence-server/avishnev/sessions and posting login command to it, it simply tells me that URL is not found. i tried using that on 8082, 8080 or 80 with the same results</summary>
    <dc:creator>Alex Vishnev</dc:creator>
    <dc:date>2012-10-23T00:22:40Z</dc:date>
  </entry>
  <entry>
    <title>RE: Administrative Access via API</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2230044" />
    <author>
      <name>Giggesh Thekkekeloth</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2230044</id>
    <updated>2010-06-04T18:03:52Z</updated>
    <published>2010-06-04T18:03:52Z</published>
    <summary type="html">I believe there are no such single API for you to perform this, you have to use the Get user configurations followed by the set user configurations to achieve this.</summary>
    <dc:creator>Giggesh Thekkekeloth</dc:creator>
    <dc:date>2010-06-04T18:03:52Z</dc:date>
  </entry>
  <entry>
    <title>Administrative Access via API</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2076790" />
    <author>
      <name>AARON ARCHAMBAULT</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2076790</id>
    <updated>2010-03-29T21:30:53Z</updated>
    <published>2010-03-29T21:30:53Z</published>
    <summary type="html">I am looking for a way to copy user configuration from one user to another.  for example taking a users contact list and replicating it to other users.  Is there a way in which to do this through the API?
 
 </summary>
    <dc:creator>AARON ARCHAMBAULT</dc:creator>
    <dc:date>2010-03-29T21:30:53Z</dc:date>
  </entry>
  <entry>
    <title>RE: About CUP API</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2000464" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2000464</id>
    <updated>2010-04-16T09:30:52Z</updated>
    <published>2010-02-27T01:20:37Z</published>
    <summary type="html">SOAP is XML over HTTP, which is not unix or windows (or device) dependent
Same with REST
SIP is a network wire protocol, so again not OS/device dependent
 
There are OS/language native libraries (available on the web, etc.) which can encapsulate the above - for example Apache Axis, which can generate native Java language code stubs for SOAP services (.NET has a SOAP compiler which does the same thing for Windows,) or a third party SIP stack which would encapsulate the SIP protocol in a C++ API.</summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2010-02-27T01:20:37Z</dc:date>
  </entry>
  <entry>
    <title>RE: About CUP API</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2000462" />
    <author>
      <name>Shwetha Sanjeev</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2000462</id>
    <updated>2010-04-16T09:30:52Z</updated>
    <published>2010-02-27T01:20:37Z</published>
    <summary type="html">For example, some API's are based on Unix system calls, others on windows APIs.
They may be device specific also.
 
Regards,
Ramesh S</summary>
    <dc:creator>Shwetha Sanjeev</dc:creator>
    <dc:date>2010-02-27T01:20:37Z</dc:date>
  </entry>
  <entry>
    <title>RE: About CUP API</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2000459" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2000459</id>
    <updated>2010-04-16T09:30:52Z</updated>
    <published>2010-02-27T01:20:37Z</published>
    <summary type="html">CUP has 3 APIs that can be useful to applications:
 
- SOAP API - Configuration/provisioning, presence status via polling or notification using XML over HTTP SOAP
- REST API - Configuration/provisioning, presence status via HTTP/REST
- SIP SIMPLE - Presence status, via SIP protocol
 
Not sure what you mean by 'modelled on which Operating System API?'</summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2010-02-27T01:20:37Z</dc:date>
  </entry>
  <entry>
    <title>About CUP API</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2000455" />
    <author>
      <name>Shwetha Sanjeev</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2000455</id>
    <updated>2010-04-16T09:30:52Z</updated>
    <published>2010-02-27T01:20:37Z</published>
    <summary type="html">Could you please tell me that CUP API is modelled on which Operating System API?
 
Regards,
Ramesh S</summary>
    <dc:creator>Shwetha Sanjeev</dc:creator>
    <dc:date>2010-02-27T01:20:37Z</dc:date>
  </entry>
</feed>

