| 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 URI = "https://mydomain:9011/AgilePointServer/Workflow/
RemoveCustomAttrs/864739D327144B22A48F77FAC09A24DB";
HTTPOperations ops = new HTTPOperations(domain, userName,
password, appID, locale);
JSONObject postData = new JSONObject();
postData.put("namesArray", "TotalCost;ErrorMessage");
return ops.POSTMethod(URI, postData.toString());
return "";
}
public string RemoveCustomAttrs()
{
string URL = "https://mydomain:9011/AgilePointServer/Workflow/
RemoveCustomAttrs/864739D327144B22A48F77FAC09A24DB";
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