Returns the count of the following inbox items: open, unread, due today, and overdue.
Method
GET
URL
https://localhost/Flowtime/_vti_bin/Flowtime/MessagesService.svc/GetAggregatedData
Example Request
$.ajax({
type: "GET",
url: "http://server:port/_vti_bin/Flowtime/ MessagesService.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 messages. |
unRead | integer | Number of unread messages. |
dueToday | integer | Number of messages due today. |
overDue | integer | Number of overdue messages. |
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":1, "Items": [{ "open":20, "unRead":5, "dueToday":10, "overDue":5 }], "TotalRows":1 }