Method: PUT
Objective: Update company/partner user based on information provided.
Note: In order to update the user successfully, ensure that the integration user has the proper update permissions (Company Workspace (Admin mode) > User Administration > Integration Users).
Usage:
This will be a PUT request.
The service URL to be used will be: http://<environment url>/ws/rest/service/v1/admin/user
Input:
User information in JSON format
Sample JSON to update Partner user
{
"users":
[
{
"uuu_user_workphone":"1-800-333-8989",
"uuu_user_name":"Company Administrator",
"uuu_user_status":"1",
"uuu_user_email":"ashish.c.kumar@oracle.com",
"empEmployeeIDTB50":"",
"uuu_user_dateformat":"0",
"uuu_user_proxy":"",
"uuu_user_type":"0",
"uuu_user_timezone_pref":"50",
"uuu_user_pager":"",
"empEmployeeRegHrsDA":"0.0",
"uuu_user_homephone":"",
"uuu_user_fax":"",
"uuu_user_lastname":"Administrator",
"ugenFlrTB120":"",
"uemSpace1DPK":"",
"uuu_user_title":"Administrator",
"uempCurrLocBldDPK":"",
"uplRoomTB250":"",
"empEmployeeManagerTB120":"",
"uuu_user_mobilephone":"1-650-323-32324",
"uuu_user_proxy_config":"1",
"usmUSAssignedDeptPD":"",
"uSiteDP":"",
"uuu_user_loginname":"coadmin",
"uuu_user_company":"unifier",
"uuu_user_firstname":"Company"
"uuu_user_password" : "123"
}
]
}
Output:
Return data will be JSON format.
uuu_user_loginname
will be the identifier to identify if the user can be updateduuu_user_company
will beURLencoded
Validations for updating company partner user
Status | Condition | Message |
---|---|---|
200 | Success | The {first name last name} user has been updated. |
500 | Server Error. | Server Error, contact the system administrator. |
5555 | One or more records contain errors. | One or more records contain errors. |