Methods / Process Definition Methods |
REST
GET
Retrieves all of process definition objects.
https://[domain]:[port]/AgilePointServer/Workflow/GetProcDefs
https://[domain]:[port]/AgilePointService/Workflow/GetProcDefs
Name | Description |
---|---|
None | Not Applicable |
$("#btnGetProcDefs").click(function () { $.ajax({ url: "https://mydomain:9011/AgilePointServer/Workflow/GetProcDefs", type: "GET" }); });
public String GetProcessDefinitions() { String URI = "http://mydomain:9011/AgilePointServer/Workflow/GetProcDefs"; HTTPOperations ops = new HTTPOperations(domain, this.userName, password, appID, locale); return ops.GETMethod(URI); }
public string GetProcDefs() { string URI = "http://mydomain:9011/AgilePointServer/Workflow/GetProcDefs"; HTTPOperations ops = new HTTPOperations(domain, this.userName, password, appID, locale); return ops.GetData(URI); }
An array of WFBaseProcessDefinition objects.
{ "GetProcDefsResult": [{ "ApplName": "MyApplication", "AssemblyName": "", "AuditLevel": 0, "BaseDefID": "00C1D40833204A348DC9D302ED55A0C3", "CheckedOutBy": "", "CheckedOutDate": "\/Date(928149600000+0000)\/", "ClassName": "", "CreatedBy": "demo3\\administrator", "CreatedDate": "\/Date(928149600000+0000)\/", "DefID": "00C1D40833204A348DC9D302ED55A0C3", "DefName": "BudgetRequest", "Description": "", "Diagnostic": false, "DocRef": "", "ExpectedTime": { "BusinessTime": false, "Length": "1", "Unit": { "Value": 2 } }, "InitiateConstraint": 2, "MaximumSessionAllowed": 0, "OnComplete": 0, "Owner": "administrator", "PreVersion": "", "ReleaseDate": "\/Date(928149600000+0000)\/", "Rule": null, "Status": "Retired", "SupplementInfo": "", "Version": "1.0" }] }
AgilePoint BPMS v5.0 R2 and higher