| Methods / Process Definition Methods | |
REST
GET
Retrieves the process definition name and version.
https://[domain]:[port]/AgilePointServer/Workflow/GetProcDefNameVersion/[processTemplateID]
| Name | Description |
|---|---|
processTemplateID |
|
$("#btnGetProcDefNameVersion").click(function () {
$.ajax({
url: "https://mydomain:9011/AgilePointServer/Workflow/
GetProcDefNameVersion/FFF216089A274862BA56223B3E087A82",
type: "GET"
});
});
public String GetProcDefNameVersion(String processTemplateID) {
String URI = "http://mydomain:9011/AgilePointServer/Workflow/GetProcDefNameVersion/"
+ processTemplateID;
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.GETMethod(URI);
}
public string GetProcDefNameVersion()
{
string URI = "http://mydomain:9011/AgilePointServer/Workflow/
GetProcDefNameVersion/6E1259372F89448CA220718128ECB018";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.GetData(URI);
}
KeyValue object, where Key contains process definition name and Value contains version.
{
"GetProcDefNameVersionResult":{
"Key":"ProcessMapApproval",
"Value":"1.01"
}}
AgilePoint BPMS v5.0 R2 and higher