| Methods / Administrative Service | |
REST
POST
Updates user data for a registered user.
https://[domain]:[port]/AgilePointServer/Admin/UpdateRegisterUser
https://[domain]:[port]/AgilePointService/Admin/UpdateRegisterUser
| Name | Description |
|---|---|
| None | Not Applicable |
| Name | Description |
|---|---|
Department |
|
EMailAddress |
|
FullName |
|
Locale |
|
Manager |
|
OnlineContact |
|
RefID |
|
TimeZone |
|
Title |
|
UserName |
|
$("#btnUpdateRegisteredUser").click(function () {
var JSONObject = {
Department: "HR",
EMailAddress: "admin@tusca.com",
FullName: "Administrator",
Locale: null,
Manager: "demo3\\administrator",
OnlineContact: null,
RefID: null,
TimeZone: null,
Title: "SHR",
UserName: "admin"
};
$.ajax({
url: "https://mydomain:9011/AgilePointServer/Admin/UpdateRegisterUser",
data: JSON.stringify(JSONObject)
});
});
public String UpdateRegisterUser() {
String URI = "https://mydomain:9011/AgilePointServer/Admin/UpdateRegisterUser";
HTTPOperations ops = new HTTPOperations(domain, userName,
password, appID, locale);
JSONObject postData = new JSONObject();
postData.put("Department", "HR");
postData.put("EMailAddress", "Bob@tusca.com");
postData.put("FullName", "Bob");
postData.put("Locale", "en-US");
postData.put("Manager", "demo3\\Bill");
postData.put("OnlineContact", "");
postData.put("RefID", "");
postData.put("TimeZone", "");
postData.put("Title", "");
postData.put("UserName", "demo3\\Bob");
return ops.POSTMethod(URI, postData.toString());
return "";
}
public string UpdateRegisterUser()
{
string URI = "https://mydomain:9011/AgilePointServer/Admin/UpdateRegisterUser";
string jsonRequestData = "{
\"Department\":\"\",
\"EMailAddress\":\"peter.parker@agilepoint.com\",
\"FullName\":\"Peter Parker\",
\"Locale\":\"\",
\"Manager\":\"\",
\"OnlineContact\":\"\",
\"RefID\":\"\",
\"TimeZone\":\"\",
\"Title\":\"\",
\"UserName\":\"MYDOMAIN\\\\AAMAadmi\"}";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.POSTMethod(URI, jsonRequestData);
}
None.
The response body is empty.
AgilePoint BPMS v5.0 R2 and higher