This RESTful web service request can be used to change the password for a user.
HTTP Method: POST
REST URL Format:
http://host:port/ibi_apps/rs/ibfs
where:
Is the name of the system where WebFOCUS is installed.
Is the port number used by WebFOCUS.
Body Format:
IBIRS_action=changePassword&IBIRS_userName=Userid&IBIRS_password=Password
where:
Is the name of the user ID in which the password will be changed.
Is the new password.
Example:
In the following example, the password for user ID restid is changed to rest10.
Request:
http://localhost:8080/ibi_apps/rs/ibfs
Body:
IBIRS_action=changePassword&IBIRS_userName=restid&IBIRS_password=rest10
Response:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <ibfsrpc _jt="IBFSResponseObject" language="EN" name="changePassword" returncode="10000" returndesc="SUCCESS" subreturncode="0" subsystem="SSYS" type="simple"><ibfsparams size="2"> <entry key="IBIRS_password" value="****"/><entry key="IBIRS_userName" value="restid"/></ibfsparams><rootObject _jt="IBFSUserObject" description="Rest Userid" dummy="false" email="restid@informationbuilders.com" fullPath="IBFS:/SSYS/USERS/restid" handle="1811177469" length="0" name="restid" nameSpace="DB" policy="f//3s////99H/7///9v/9////f//+AAAAA==" rsPath="/ibi_apps/rs/ibfs/SSYS/USERS/restid" type="User"> <status _jt="IBSSUserStatus" name="ACTIVE"/><groups _jt="ArrayList" size="0"/><pSetList _jt="ArrayList" size="0"/></rootObject></ibfsrpc>
Information Builders |