<?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 Re: Error when sending Push Message from REST Client in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-sending-push-message-from-rest-client/m-p/516141#M18316</link>
    <description>&lt;P&gt;Now able to resolve by below-&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;URL:  &amp;lt;smpserver&amp;gt;/restnotification/application/&amp;lt;applicationid&amp;gt;/User/


Body:
{
    "notification": {
        "alert": "alertval",
        "data": "testData",
    },
    "users": [
        "Domain\\userid"
    ]
}
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Thanks &lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Krishna&lt;/P&gt;</description>
    <pubDate>Thu, 30 Nov 2017 12:03:25 GMT</pubDate>
    <dc:creator>krish4ugzp</dc:creator>
    <dc:date>2017-11-30T12:03:25Z</dc:date>
    <item>
      <title>Error when sending Push Message from REST Client</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-sending-push-message-from-rest-client/m-p/516138#M18313</link>
      <description>&lt;P&gt;Dear Experts, I have successfully implemented the SMP Kapsel Push Notification &amp;amp; I can send Push notification to the particulat user id using the URL- &lt;/P&gt;
  &lt;P&gt;&amp;lt;smpserver&amp;gt;/restnotification/application/&amp;lt;application id&amp;gt;/&amp;lt;user id&amp;gt; &lt;/P&gt;
  &lt;P&gt;Above is not working when user id is having '\' character. Basically, our SMP is authenticating user against AD server &amp;amp; user is passing user ID as 'Domain\user id' &amp;amp; users are registered on SMP with 'Domain\userid'. But whenever I am trying to send push notification, its giving error- &lt;/P&gt;
  &lt;P&gt;I tried below format &lt;/P&gt;
  &lt;P&gt;&amp;lt;smpserver&amp;gt;/restnotification/application/&amp;lt;application id&amp;gt;/Domain\userid (returns 404) &lt;/P&gt;
  &lt;P&gt;also tried encoding format&lt;/P&gt;
  &lt;P&gt; &amp;lt;smpserver&amp;gt;/restnotification/application/&amp;lt;application id&amp;gt;/Domain%5Cuserid (returns 400) &lt;/P&gt;
  &lt;P&gt;Please help how to send push notification to the user in this case. &lt;/P&gt;
  &lt;P&gt;Thanks for your help! &lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt; Krishna&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 06:34:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-sending-push-message-from-rest-client/m-p/516138#M18313</guid>
      <dc:creator>krish4ugzp</dc:creator>
      <dc:date>2017-11-29T06:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error when sending Push Message from REST Client</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-sending-push-message-from-rest-client/m-p/516139#M18314</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;jitendrakumar.kansal&lt;/SPAN&gt;, &lt;SPAN class="mention-scrubbed"&gt;daniel.vanleeuwen&lt;/SPAN&gt;, &lt;SPAN class="mention-scrubbed"&gt;midhun.vp&lt;/SPAN&gt;,&lt;/P&gt;
  &lt;P&gt;Looking for your help here.&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 10:29:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-sending-push-message-from-rest-client/m-p/516139#M18314</guid>
      <dc:creator>krish4ugzp</dc:creator>
      <dc:date>2017-11-29T10:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error when sending Push Message from REST Client</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-sending-push-message-from-rest-client/m-p/516140#M18315</link>
      <description>&lt;P&gt;Dear Experts,&lt;/P&gt;
  &lt;P&gt;Please let me know, if some one has any idea to send push notification in this case.&lt;/P&gt;
  &lt;P&gt; Any help would be much appreciated.&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;
  &lt;P&gt;Krishna&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 08:20:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-sending-push-message-from-rest-client/m-p/516140#M18315</guid>
      <dc:creator>krish4ugzp</dc:creator>
      <dc:date>2017-11-30T08:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error when sending Push Message from REST Client</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-sending-push-message-from-rest-client/m-p/516141#M18316</link>
      <description>&lt;P&gt;Now able to resolve by below-&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;URL:  &amp;lt;smpserver&amp;gt;/restnotification/application/&amp;lt;applicationid&amp;gt;/User/


Body:
{
    "notification": {
        "alert": "alertval",
        "data": "testData",
    },
    "users": [
        "Domain\\userid"
    ]
}
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Thanks &lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Krishna&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 12:03:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-sending-push-message-from-rest-client/m-p/516141#M18316</guid>
      <dc:creator>krish4ugzp</dc:creator>
      <dc:date>2017-11-30T12:03:25Z</dc:date>
    </item>
  </channel>
</rss>

