Activate Delegation

API Type

REST

HTTP Method

POST

Description

Activates a delegation.

URL Format (On Premises)

https://[domain]:[port]/AgilePointServer/Admin/ActivateDelegation/[delegationID]

URL Format (AgilePoint for Azure)

https://[domain]:[port]/AgilePointService/Admin/ActivateDelegation/[delegationID]

Request Parameters

Name Description

delegationID

Definition:
The unique ID of a delegation object.
Type
string
Allowed Values:
A valid delegation ID.

JavaScript Code Example

$("#btnActivateDelegation").click(function () {
  $.ajax({
    url: "https://mydomain:9011/AgilePointServer/Admin/
                  ActivateDelegation/CFF4B6D3DBF546A2B0423AD413A94420",
  });
});

Java Code Example

public String ActivateDelegation(String delegationID) {

  String URI = "http://mydomain:9011/AgilePointServer/Admin/ActivateDelegation/"
                       + delegationID;

  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 ActivateDelegation()
  {
    string URI = "http://mydomain:9011/AgilePointServer/Admin/
                         ActivateDelegation/C0298B1AA3444A28A7CE5E1DFC297A87";

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

    return ops.POSTMethod(URI, "");
  }

Output

None.

JSON Response Body Example

The response body is empty.

Supported Versions

AgilePoint BPMS v5.0 R2 and higher