---
# System prepended metadata

title: 'Pluto New Dashboard '

---

## Pluto Dashborad RMD


### Features
**1. Display Goal Reports**
    
```js 
1. Get user's goal list
endpoint: "/dashboard/get-user-goal-list"
method: get
response: {
   data: [
       {id: 1, title: "this is title", dateRange: "if needed"}
   ]
}
```

```js 
2. Get goal specific details
endpoint: "/dashboard/get-goal-details"
method: get
payload: "?type=SALE/PRODUCT&goalId=123"
response: {
    data: {
        "userSaleGoalId": 189,
        "startedTodayAt": 0,
        "shouldBeAt": 6.86,
        "goalForToday": 6.86,
        "achievedToday": 0,
        "stillNeededForToday": 6.86,
        "currentFrequencyTotalSale": 0,
        "currentGoalPercentage": 0,
        "currentMonth": "July",
        "currentYear": "2025",
        "currentFrequencyStartDate": "2025-07-07",
        "currentFrequencyEndDate": "2025-07-13",
        "previousGoalTotalSale": 0,
        "currentFrequencyPredictedSale": 0,
        "trendingForText": "100% below goal of $12",
        "currentVsLastSalesGrowth": null,
        "frequency": "WEEKLY"
   }
}
```
![image](https://hackmd.io/_uploads/SygKB_hCVlg.png)
![image](https://hackmd.io/_uploads/rJDY_nANge.png)

    
**2. Tab Count Informations**

```js 
1. Get dashboard short report
endpoint: "/dashboard/get-short-report"
method: get
payload:"?accountType=user/team&startDate=
2025-06-11 07:00:00&endDate=2025-07-11 06:59:59"
response: {
   data: {
        totalLead: 0,
        totalOpportunities: 0,
        totalTasksAppointments: 0,
        totalUnreadMessages: 0
   }
}
```
  ![image](https://hackmd.io/_uploads/SkegFnA4ex.png)

        
**3. Deals Report**
```js 
1. Get dashboard deal report
endpoint: "/dashboard/get-deal-report"
method: get
payload:"?accountType=user/team&startDate=
2025-06-11 07:00:00&endDate=2025-07-11 06:59:59&pipelineId=123"
response: {
   data: [
       {
            "dealValue": 1162,
            "dealCount": 11,
            "stage": "Lead Generation",
            "colorCode": "#3e50f7",
            "percentage": "0.86"
        },
        {
            "dealValue": 131354,
            "dealCount": 32,
            "stage": "Qualification",
            "colorCode": "#ffc905",
            "percentage": "97.72"
        },
        {
            "dealValue": 120,
            "dealCount": 6,
            "stage": "Proposal and Quotation",
            "colorCode": "#33f28b",
            "percentage": "0.09"
        },
        {
            "dealValue": 23,
            "dealCount": 2,
            "stage": "Negotiation",
            "colorCode": "#ff0055",
            "percentage": "0.02"
        },
        {
            "dealValue": 1763,
            "dealCount": 2,
            "stage": "Objections",
            "colorCode": "#62c6ff",
            "percentage": "1.31"
        },
        {
            "dealValue": 0,
            "dealCount": 3,
            "stage": "Onboarding",
            "colorCode": "#007bff",
            "percentage": "0.00"
        }
   ],
   extraData:{
    "totalCount": 56,
    "totalValue": 134422
   }

```
![image](https://hackmd.io/_uploads/HJgGF3RNgx.png)

        
**4. Activity**
```js 
1. Get dashboard activity report
endpoint: "/dashboard/get-activity-report"
method: get
payload:"?accountType=user/team&startDate=
2025-06-11 07:00:00&endDate=2025-07-11 06:59:59&selectedActivity=TEXT/EMAIL/CALL/TASK/DEAL"
response: {
    //response will based on selectedActivity
}
```
 ![image](https://hackmd.io/_uploads/H1cmYnCVxg.png)

    
**5. Announcements**

    1. Get Announcements list
![image](https://hackmd.io/_uploads/HJPSFnR4xl.png)


**6. Important Links of Specific Contact**
```js 
1. Get list
endpoint: "/contact/get-contact-important-links"
method: get
payload: "?id=123"
response: {
   data: [
       {title: "url", type: "DEFAULT" / "CUSTOM", value:"__url__"}
   ]
}
```
```js 
2. Add / Edit / Delete 
endpoint: "/contact/update-contact-important-links"
method: post
payload: {
    contactId: 123,
    urls: [
        {title: "url", type: "DEFAULT" / "CUSTOM", value:"__url__"}
    ]
    
}
// Note: We will provide full data on any action. let us know if anything need to update
```