| Methods / Process Definition Methods | |
REST
GET
Retrieves a process definition in XML format.
https://[domain]:[port]/AgilePointServer/Workflow/GetProcDefXml/[processTemplateID]
https://[domain]:[port]/AgilePointService/Workflow/GetProcDefXml/[processTemplateID]
| Name | Description |
|---|---|
processTemplateID |
|
$("#btnGetProcDefXml").click(function () {
$.ajax({
url: "https://mydomain:9011/AgilePointServer/Workflow/
GetProcDefXml/FFF216089A274862BA56223B3E087A82",
type: "GET"
});
});
public String GetProcDefXml(String processTemplateID) {
String URI = "http://mydomain:9011/AgilePointServer/Workflow/GetProcDefXml/"
+ processTemplateID;
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.GETMethod(URI);
}
public string GetProcDefXML()
{
string URI = "http://mydomain:9011/AgilePointServer/Workflow/
GetProcDefXml/6E1259372F89448CA220718128ECB018";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.GetData(URI);
}
string that contains XML format of the process definition.
{
"GetProcDefXmlResult":
"<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>
<ProcessDefinition>...<\/ ProcessDefinition>"
}
AgilePoint BPMS v5.0 R2 and higher