Returns open and closed processes for a user.
Method
GET
URL
https://localhost/Flowtime/_vti_bin/Flowtime/userInstancesService.svc/GetAggregatedData
Example Request
$.ajax({
type: "GET",
url: "http://server:port/_vti_bin/Flowtime/userInstancesService.svc/GetAggregatedData",
dataType: "json",
contentType: "application/json; charset=utf-8",
success: function (data) {
alert(data)
},
error: function (error) {
console.log(error);
}
});Response Parameters
| Name | Type | Description |
|---|---|---|
CurrentRows | integer | Number of items returned. |
Items | array | List of items returned. Each item contains properties as defined in the config file, for example {WorkflowInstance:1 ,[etc.]}. |
Open | integer | Number of open processes. |
Close | integer | Number of closed processes. |
TotalRows | integer | Number of total items in the system. |
PageSize | integer | Number of records returned on a page. |
PageNum | integer | Number of the page to retrieve records for. |
Example Response
{"CurrentRows":10,
"Items":
[{"Open":7,
"Close":3
}]
,"TotalRows":12}