Get Dashboard Info Account wise
User can view the total project count, contacts, uploaded files; view active users, recently 10 logged-in users,
api/AccountDashboard/GetDashboard
Query String
Parameter | Required | Value |
---|---|---|
isArchived | Optional | 0(default) or 1 |
includeArchive | Optional | 0(default) or 1 |
lastDays | Optional | User Input, default 7 |
monthlyProjectionFor | Optional | User Input, default 12 |
Request Header
Parameter | Required | Value |
---|---|---|
TokenKey | Mandatory | User Input |
Accept-Language | Optional | en-US |
Accept-Encoding | Optional | gzip |
Content-Type | Mandatory | application/json |
Response
{
"ProjectCount": 4,
"ContactCount": 59,
"UploadedFileCount": 8,
"ActiveUsers": {
"Count": 15,
"Users": [
{
"LastLoginDate": "2016-10-27T08:07:58.053",
"PWUserID": 161641,
"PWAccountID": 0,
"PWContactID": 0,
"FirstName": "Employee15",
"LastName": "inPL",
"UserName": "Employee15 inPL"
},
{
"LastLoginDate": "2016-10-27T08:22:25.87",
"PWUserID": 161642,
"PWAccountID": 0,
"PWContactID": 0,
"FirstName": "Employee16",
"LastName": "inPL",
"UserName": "Employee16 inPL"
},
{
"LastLoginDate": "2016-10-27T08:35:01.917",
"PWUserID": 161643,
"PWAccountID": 0,
"PWContactID": 0,
"FirstName": "Employee17",
"LastName": "inPL",
"UserName": "Employee17 inPL"
},
{
"LastLoginDate": "2016-10-27T08:41:23.083",
"PWUserID": 161644,
"PWAccountID": 0,
"PWContactID": 0,
"FirstName": "Employee18",
"LastName": "",
"UserName": "Employee18"
},
{
"LastLoginDate": "2016-11-05T05:04:40.067",
"PWUserID": 161045,
"PWAccountID": 0,
"PWContactID": 0,
"FirstName": "Manas",
"LastName": "Malik",
"UserName": "Manas Malik"
},
{
"LastLoginDate": "2016-11-05T05:04:40.067",
"PWUserID": 161045,
"PWAccountID": 0,
"PWContactID": 0,
"FirstName": "Manas",
"LastName": "Malik",
"UserName": "Manas Malik"
},
{
"LastLoginDate": "2016-11-05T05:04:40.067",
"PWUserID": 161045,
"PWAccountID": 0,
"PWContactID": 0,
"FirstName": "Manas",
"LastName": "Malik",
"UserName": "Manas Malik"
},
{
"LastLoginDate": "2016-11-05T05:04:40.067",
"PWUserID": 161045,
"PWAccountID": 0,
"PWContactID": 0,
"FirstName": "Manas",
"LastName": "Malik",
"UserName": "Manas Malik"
},
{
"LastLoginDate": "2016-11-05T05:04:40.067",
"PWUserID": 161045,
"PWAccountID": 0,
"PWContactID": 0,
"FirstName": "Manas",
"LastName": "Malik",
"UserName": "Manas Malik"
},
{
"LastLoginDate": "2016-11-05T05:04:40.067",
"PWUserID": 161045,
"PWAccountID": 0,
"PWContactID": 0,
"FirstName": "Manas",
"LastName": "Malik",
"UserName": "Manas Malik"
},
{
"LastLoginDate": "2016-11-05T05:04:40.067",
"PWUserID": 161045,
"PWAccountID": 0,
"PWContactID": 0,
"FirstName": "Manas",
"LastName": "Malik",
"UserName": "Manas Malik"
},
{
"LastLoginDate": "2016-11-05T05:04:40.067",
"PWUserID": 161045,
"PWAccountID": 0,
"PWContactID": 0,
"FirstName": "Manas",
"LastName": "Malik",
"UserName": "Manas Malik"
},
{
"LastLoginDate": "2016-11-05T05:04:40.067",
"PWUserID": 161045,
"PWAccountID": 0,
"PWContactID": 0,
"FirstName": "Manas",
"LastName": "Malik",
"UserName": "Manas Malik"
},
{
"LastLoginDate": "2016-11-05T05:04:40.067",
"PWUserID": 161045,
"PWAccountID": 0,
"PWContactID": 0,
"FirstName": "Manas",
"LastName": "Malik",
"UserName": "Manas Malik"
},
{
"LastLoginDate": "2016-11-05T05:04:40.067",
"PWUserID": 161045,
"PWAccountID": 0,
"PWContactID": 0,
"FirstName": "Manas",
"LastName": "Malik",
"UserName": "Manas Malik"
}
]
},
"RecentUsers": {
"Count": 15,
"Users": [
{
"LastLoginDate": "2016-11-05T05:04:40.067",
"PWUserID": 161045,
"PWAccountID": 0,
"PWContactID": 0,
"FirstName": "Manas",
"LastName": "Malik",
"UserName": "Manas Malik"
},
{
"LastLoginDate": "2016-11-05T05:04:40.067",
"PWUserID": 161045,
"PWAccountID": 0,
"PWContactID": 0,
"FirstName": "Manas",
"LastName": "Malik",
"UserName": "Manas Malik"
},
{
"LastLoginDate": "2016-11-05T05:04:40.067",
"PWUserID": 161045,
"PWAccountID": 0,
"PWContactID": 0,
"FirstName": "Manas",
"LastName": "Malik",
"UserName": "Manas Malik"
},
{
"LastLoginDate": "2016-11-05T05:04:40.067",
"PWUserID": 161045,
"PWAccountID": 0,
"PWContactID": 0,
"FirstName": "Manas",
"LastName": "Malik",
"UserName": "Manas Malik"
},
{
"LastLoginDate": "2016-11-05T05:04:40.067",
"PWUserID": 161045,
"PWAccountID": 0,
"PWContactID": 0,
"FirstName": "Manas",
"LastName": "Malik",
"UserName": "Manas Malik"
},
{
"LastLoginDate": "2016-11-05T05:04:40.067",
"PWUserID": 161045,
"PWAccountID": 0,
"PWContactID": 0,
"FirstName": "Manas",
"LastName": "Malik",
"UserName": "Manas Malik"
},
{
"LastLoginDate": "2016-11-05T05:04:40.067",
"PWUserID": 161045,
"PWAccountID": 0,
"PWContactID": 0,
"FirstName": "Manas",
"LastName": "Malik",
"UserName": "Manas Malik"
},
{
"LastLoginDate": "2016-11-05T05:04:40.067",
"PWUserID": 161045,
"PWAccountID": 0,
"PWContactID": 0,
"FirstName": "Manas",
"LastName": "Malik",
"UserName": "Manas Malik"
},
{
"LastLoginDate": "2016-11-05T05:04:40.067",
"PWUserID": 161045,
"PWAccountID": 0,
"PWContactID": 0,
"FirstName": "Manas",
"LastName": "Malik",
"UserName": "Manas Malik"
},
{
"LastLoginDate": "2016-11-05T05:04:40.067",
"PWUserID": 161045,
"PWAccountID": 0,
"PWContactID": 0,
"FirstName": "Manas",
"LastName": "Malik",
"UserName": "Manas Malik"
}
]
},
"GuestUsers": {
"Count": 0,
"Users": []
},
"GraphData": {
"XAxis": {
"AxisName": "X-Axis",
"Unit": "Monthly",
"Data": [
"Nov",
"Dec",
"Jan",
"Feb",
"Mar",
"Apr",
"May",
"Jun",
"Jul",
"Aug",
"Sep",
"Oct"
]
},
"YAxis": {
"AxisName": "Y-Axis",
"Unit": "",
"Data": [
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"3",
"0",
"15"
]
}
}
}
Updated less than a minute ago