GET api/Dashboard/Stats?accountId={accountId}&startDate={startDate}&endDate={endDate}&roleId={roleId}&userId={userId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
accountId | integer |
Required |
|
startDate | date |
Required |
|
endDate | date |
Required |
|
roleId | integer |
Required |
|
userId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of DashboardWidgetDTOName | Description | Type | Additional information |
---|---|---|---|
GlobalId | integer |
None. |
|
Name | string |
None. |
|
Counts | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "GlobalId": 1, "Name": "sample string 2", "Counts": 3 }, { "GlobalId": 1, "Name": "sample string 2", "Counts": 3 } ]
application/xml, text/xml
Sample:
<ArrayOfDashboardWidgetDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.DTOs.Dashboards"> <DashboardWidgetDTO> <Counts>3</Counts> <GlobalId>1</GlobalId> <Name>sample string 2</Name> </DashboardWidgetDTO> <DashboardWidgetDTO> <Counts>3</Counts> <GlobalId>1</GlobalId> <Name>sample string 2</Name> </DashboardWidgetDTO> </ArrayOfDashboardWidgetDTO>