Update User
PUT http://<environment url>/ws/rest/service/v1/admin/user
Purpose
Update company/partner user based on information provided.
Note:
To update the user successfully, ensure that the integration user has the proper update permissions (for more information, see Updating Permissions for Integration Users).This will be a PUT request.
The service URL to be used will be:
http://<environment url>/ws/rest/service/v1/admin/user
Request Format
User information in JSON format
Response Format
Return data will be JSON format.
-
uuu_user_loginnamewill be the identifier to identify whether the user can be updated -
uuu_user_companywill beURLencoded
Sample Request to Update Partner User
{
"users": [
{
"uuu_user_workphone": "1-800-333-8989",
"uuu_user_name": "Company Administrator",
"uuu_user_status": "1",
"uuu_user_email": "user123@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",
"uuu_disableusermobileaccess": "0"
}
]
}
Validations Messages and Status Codes
| 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. |