| Methods / Methods for Custom Attributes | |
REST
POST
Retrieves a single custom attribute.
https://[domain]:[port]/AgilePointServer/Workflow/GetCustomAttr/[customID]
https://[domain]:[port]/AgilePointService/Workflow/GetCustomAttr/[customID]
| Name | Description |
|---|---|
customID |
|
| Name | Description |
|---|---|
attrName |
|
$("#btnGetCustomAttr").click(function () {
var JSONObject = {
attrName: "/pd:myFields/pd:orgamount"};
$.ajax({
url: "https://mydomain:9011/AgilePointServer/Workflow/
GetCustomAttr/AAA82AAE37054A1AB469FB480028A7A3",
data: JSON.stringify(JSONObject)
});
});
public String GetCustomAttr() {
String URI = "https://mydomain:9011/AgilePointServer/Workflow/
GetCustomAttr/AAA82AAE37054A1AB469FB480028A7A3";
HTTPOperations ops = new HTTPOperations(domain, userName,
password, appID, locale);
JSONObject postData = new JSONObject();
postData.put("attrName", "/pd:myFields/pd:orgamount");
return ops.POSTMethod(URI, postData.toString());
return "";
}
public string GetCustomAttr()
{
string URL = "https://mydomain:9011/AgilePointServer/Workflow/
GetCustomAttr/AAA82AAE37054A1AB469FB480028A7A3";
string jsonRequestdata = "{
\"attrName\":\"" + "/pd:myFields/pd:file" + "\"}";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.POSTMethod(URL, jsonRequestdata);
}
Custom attribute value (can be string, integer, float, double, bool, and/or DateTime).
"100.2"
AgilePoint BPMS v5.0 R2 and higher