Delete Custom Attributes

API Type

REST

HTTP Method

POST

Description

Deletes multiple custom attributes using a custom ID.

URL Format (On Premises)

https://[domain]:[port]/AgilePointServer/Workflow/DeleteCustomAttrs/[customID]

URL Format (AgilePoint for Azure)

https://[domain]:[port]/AgilePointService/Workflow/DeleteCustomAttrs/[customID]

Request Parameters

Name Description

customID

Definition:
A work object ID specified within a process instance.
Type
string
Allowed Values:
One valid work object ID.

JavaScript Code Example

$("#btnDeleteCustomAttrs").click(function () {
  $.ajax({
    url: "https://mydomain:9011/AgilePointServer/Workflow/
                  DeleteCustomAttrs/CFF4B6D3DBF546A2B0423AD413A94420"
  });
});

Java Code Example

public String DeleteCustomAttrs(String customID) {

  String URI = "http://mydomain:9011/AgilePointServer/Workflow/DeleteCustomAttrs/"
                       + customID;

  HTTPOperations ops = new HTTPOperations(domain, this.userName,
                       password, appID, locale);

  JSONObject postData = new JSONObject();
  return ops.POSTMethod(URI, postData.toString());

}

C# Code Example

public string DeleteCustomAttrs()
  {
    string URL = "http://mydomain:9011/AgilePointServer/Workflow/
                         DeleteCustomAttrs/FEC1DFE6281E4807A172FB001F0944D0";

    HTTPOperations ops = new HTTPOperations(domain, this.userName, 
                         password, appID, locale);

    return ops.POSTMethod(URL);
  }

Output

None.

JSON Response Body Example

The response body is empty.

Supported Versions

AgilePoint BPMS v5.0 R2 and higher