| Methods / Methods for Custom Attributes | |
REST
POST
Removes multiple custom attributes from a custom ID.
https://[domain]:[port]/AgilePointServer/Workflow/RemoveCustomAttrs/[customID]
https://[domain]:[port]/AgilePointService/Workflow/RemoveCustomAttrs/[customID]
| Name | Description |
|---|---|
customID |
|
| Name | Description |
|---|---|
namesArray |
|
$("#btnRemoveCustomAttrs").click(function () {
var JSONObject = { namesArray: "test2;ErrorMessage"};
$.ajax({
url: "https://mydomain:9011/AgilePointServer/Workflow/
RemoveCustomAttrs/864739D327144B22A48F77FAC09A24DB",
data: JSON.stringify(JSONObject)
});
});
public String RemoveCustomAttrs(String customID, String namesArray) {
String URI = "http://mydomain:9011/AgilePointServer/Workflow/RemoveCustomAttrs/"
+ customID;
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
JSONObject postData = new JSONObject();
try {
postData.put("namesArray", namesArray);
return ops.POSTMethod(URI, postData.toString());
} catch (JSONException e1) {
e1.printStackTrace();
}
return "";
}
public string RemoveCustomAttrs()
{
string URL = "http://mydomain:9011/AgilePointServer/Workflow/
RemoveCustomAttrs/2926CD677D434679964F60C676206C14";
string jsonRequestdata = "{
\"namesArray\":\"" + "test2;ErrorMessage" + "\"}";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.POSTMethod(URL, jsonRequestdata);
}
None.
The response body is empty.
AgilePoint BPMS v5.0 R2 and higher