Methods / Methods for Custom Attributes |
REST
POST
Removes a custom attribute from a custom ID.
https://[domain]:[port]/AgilePointServer/Workflow/RemoveCustomAttr/[customID]
https://[domain]:[port]/AgilePointService/Workflow/RemoveCustomAttr/[customID]
Name | Description |
---|---|
customID |
|
Name | Description |
---|---|
attributeName |
|
$("#btnRemoveCustomAttr").click(function () { $.ajax({ url: "https://mydomain:9011/AgilePointServer/Workflow/ RemoveCustomAttr/864739D327144B22A48F77FAC09A24DB/test1", }); });
public String RemoveCustomAttr(String customID, String attributeName) { String URI = "http://mydomain:9011/AgilePointServer/Workflow/RemoveCustomAttr/" + customID; HTTPOperations ops = new HTTPOperations(domain, this.userName, password, appID, locale); JSONObject postData = new JSONObject(); try { postData.put("attributeName", attributeName); return ops.POSTMethod(URI, postData.toString()); } catch (JSONException e1) { e1.printStackTrace(); } return ""; }
public string RemoveCustomAttr() { string URL = "http://mydomain:9011/AgilePointServer/Workflow/ RemoveCustomAttr/136D2E2E364F445F9E4B0A6673AF8F69/test1"; HTTPOperations ops = new HTTPOperations(domain, this.userName, password, appID, locale); return ops.POSTMethod(URL); }
None.
The response body is empty.
AgilePoint BPMS v5.0 R2 and higher