BOB: Business Objects Board
Not endorsed by or affiliated with SAP

Register | Login 

Want to sponsor BOB? 
Want to sponsor BOB? (Opens a new window)  

General Notice: No events within the next 45 days.

4.2 SP3 Restful Amend user password


 
Search this topic... | Search SDK (VBA/ASP/JSP)... | Search Box
Register or Login to Post    Forum Index -> SDK (VBA/ASP/JSP)  Previous TopicPrint TopicNext Topic
Author Message
FrustratedScot
Senior Member
Senior Member



Joined: 27 Apr 2006

Posts: 38
Location: Glasgow


flag
PostPosted: Thu Oct 04, 2018 7:57 am 
Post subject: 4.2 SP3 Restful Amend user password

Hi,

I've been playing with the restful API for a while now and find it extremely useful in gathering report details. I am now looking to modify user details, passwords.

Using the restful API i can retrieve user details from the system :

GET http://servername:6405:biprws/v1/users/userid

However when I try to amend the user details I keep getting a server 500 message returned. I've activated the error stack on the container server, also tried putting the trace level to high, but can't see anything obvious.

PUT http://servername:6405:biprws/v1/users/userid

Below is a copy of the message body I'm sending :

Code:
<entry xmlns="http://www.w3.org/2005/Atom">     
   <title type="text">user</title>     
   <updated>1992-09-03T17:15:00.000+02:00</updated>     
   <link href="http://clinpathauto3:6405/biprws/v1/users/32786" rel="alternate" />     
   <content type="application/xml">         
      <attrs xmlns="http://www.sap.com/rws/bip">             
         <attr name="cuid" type="string">ATmCmJz5tNNMqqyEVv1IRUw</attr>                      
<attr name="forcepasswordchange" type="bool">true</attr>             
         <attr name="id" type="string">32786</attr>             
         <attr name="newPassword" type="string">newPassword</attr>               
      </attrs>     
   </content>
</entry>



Has anybody managed to get this to work?

Cheers

Alistair
Back to top
Display posts from previous:   
Register or Login to Post    Forum Index -> SDK (VBA/ASP/JSP)  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT - 5 Hours
 
Jump to:  

Index | About | FAQ | RAG | Privacy | Search |  Register |  Login 

Get community updates via Twitter:

Not endorsed by or affiliated with SAP
Powered by phpBB © phpBB Group
Generated in 0.0297 seconds using 17 queries. (SQL 0.0027 Parse 0.0008 Other 0.0261)
CCBot/2.0 (https://commoncrawl.org/faq/)
Hosted by ForumTopics.com | Terms of Service
phpBB Customizations by the phpBBDoctor.com
Shameless plug for MomentsOfLight.com Moments of Light Logo