| Methods / Administrative Service | |
REST
POST
Query the list of registered users in AgilePoint.
https://[domain]:[port]/AgilePointServer/Admin/QueryRegisterUsersUsingSQL
https://[domain]:[port]/AgilePointService/Admin/QueryRegisterUsersUsingSQL
| Name | Description |
|---|---|
| None | Not Applicable |
| Name | Description |
|---|---|
sqlWhereClause |
|
$("#btnQueryRegisterUsersUsingSQL").click(function () {
var JSONObject = { sqlWhereClause: "WF_REG_USERS.MANAGER='demo3\\susan.miller'" };
$.ajax({
url: "https://mydomain:9011/AgilePointServer/Admin/QueryRegisterUsersUsingSQL",
data: JSON.stringify(JSONObject)
});
});
public String QueryRegisterUsersUsingSQL() {
String URI = "https://mydomain:9011/AgilePointServer/Admin/QueryRegisterUsersUsingSQL";
HTTPOperations ops = new HTTPOperations(domain, userName,
password, appID, locale);
JSONObject postData = new JSONObject();
postData.put("sqlWhereClause",
"WF_REG_USERS.MANAGER='demo3\\susan.miller'");
return ops.POSTMethod(URI, postData.toString());
return "";
}
public string QueryRegisterUsersUsingSQL()
{
string URI = "https://mydomain:9011/AgilePointServer/Admin/QueryRegisterUsersUsingSQL";
string jsonRequestData = "{\"sqlWhereClause\":\""+"WF_REG_USERS.MANAGER='demo3\\susan.miller'"+"\"}";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.POSTMethod(URI, jsonRequestData);
}
An array of registered users.
[{
"Department": "Administrator"
"EmailAddress": "admin@mycompany.com"
"FullName": "administrator"
"Locale": "en-US"
"Manager": "demo3\susan.miller"
"OnlineContact": "admin@mycompany.com"
"RefID": ""
"RegisteredDate": "\/Date(928149600000)\/"
"TimeZone": ""
"Title": ""
"UALExpirationDate": " \/Date(928149600000)\/"
"UALNeverExpires": false
"UserName": "demo3\administrator"
}]
AgilePoint BPMS v5.0 R2 and higher