Skip to content

Instantly share code, notes, and snippets.

@sudeeptarlekar
Last active December 10, 2018 19:01
Show Gist options
  • Save sudeeptarlekar/582ebacf9818922f9edb7b989db666c8 to your computer and use it in GitHub Desktop.
Save sudeeptarlekar/582ebacf9818922f9edb7b989db666c8 to your computer and use it in GitHub Desktop.
Final Project Summary API Response
{
    "startDate": "2018-12-03",
    "endDate": "2018-12-09",
    "totalBilledHours": "158.23",
    "totalUnbilledHours": "158.23",
    "totalAmount": "500.00",
    "projectsList": [
        {
            "label": "All Projects",
            "value": null
        },
        ...
        {
            "label": "numberF",
            "value": 55
        }
    ],
    "selectedProjectIds": [
        "40"
    ],
    "usersList": [
        {
            "label": "All Members",
            "value": null
        },
        ...
        {
            "label": "Vishnu Prasad",
            "value": 138
        }
    ],
    "selectedUserIds": [],
    "groupedTimeEntries": [
        {
            "projectId": 40,
            "projectName": "AceInvoice",
            "projectTotal": "118.228",
            "projectUnbilledTotal": "100.28",
            "userTaskTimeEntries": [
                {
                    "userId": 469,
                    "userName": "Gaurav Varma",
                    "userTotal": "21.83",
                    "unbilledTotalHours": "5.000",
                    "hourlyRate": "50",
                    "taskGroupedTimeEntries": [
                        {
                            "taskId": 77,
                            "taskName": "Web Development",
                            "timeEntriesTotal": "21.83"
                        }
                    ]
                },
                {
                    "userId": 404,
                    "userName": "Athul Prakash",
                    "userTotal": "24.25",
                    "unbilledTotalHours": "5.000",
                    "hourlyRate": "50",
                    "taskGroupedTimeEntries": [
                        {
                            "taskId": 77,
                            "taskName": "Web Development",
                            "timeEntriesTotal": "24.25"
                        }
                    ]
                }
            ]
        }
    ],
    "groupedTimeEntriesByTask": [
      {
        "projectId": 40,
        "projectName": "AceInvoice",
        "taskGroupedTimeEntries": [
          {
            "taskId": 43,
            "taskName: "Development",
            "totalHoursWorked": 54.34,
            "totalHoursUnbilled": 34.94,
            "totalAmountBilled": 300.23

          }
        ]

      }
    ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment