Release Process Definition

API Type

REST

HTTP Method

POST

Description

Releases a process definition from the AgilePoint Server.

URL Format (On Premises)

https://[domain]:[port]/AgilePointServer/Workflow/ReleaseProcDef/[processTemplateID]

URL Format (AgilePoint for Azure)

https://[domain]:[port]/AgilePointService/Workflow/ReleaseProcDef/[processTemplateID]

Request Parameters

Name Description

processTemplateID

Definition:
The unique identifier for the process definition to be checked out for modification.
Type
string
Allowed Values:
A valid process template ID

JavaScript Code Example

$("#btnReleaseProcDef").click(function () {
  
  $.ajax({
    url: "https://mydomain:9011/AgilePointServer/Workflow/
                      ReleaseProcDef/C769BA234EFD421B8B95A525B972E511"
  });
});

Java Code Example

public String ReleaseProcDef(String processTemplateID) {

  String URI = "http://mydomain:9011/AgilePointServer/Workflow/ReleaseProcDef/"
                       + processTemplateID;

  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 ReleaseProcDef()
  {
    string URI = "http://mydomain:9011/AgilePointServer/Workflow/
                         ReleaseProcDef/ 3B9A54192B6C4C4AA902BD46279C7FAF";

    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