Timesheet Summary Resource

Timesheetsummaryresource

ParameterTypeDescription
[IN] Parameters described in Overview
CompanyString[IN] The users default company number for the companies list
ActionString[IN] Identifier for the list requested
ResourceString[IN] Identifier for the resource context
DateDate[IN] dd/mm/yyyy start of week date
ResponseXML/JSON[OUT] An XML tree / JSON string containing a list of weekly statistics for the resource

Description

Calling the timesheets API with an action of timesheetsummaryresource retrieves weekly statistics for the resource.

Return Values

Response – List of resource statistics for the timesheetsummary.

The structure of the response is:

<timesheetsummary morepages="False" totalpages="1" totalrows="1">
<timesheetsummarydata>
<variable_timesheethoursrequired>32</variable_timesheethoursrequired>
<variable_timesheetsummaryresourcechargeable>17.5
</variable_timesheetsummaryresourcechargeable>
<variable_timesheetsummaryresourcenonchargeable>1.75
</variable_timesheetsummaryresourcenonchargeable>
</timesheetsummarydata>
</timesheetsummary>
{
    "errormessage": "",
    "responsecode": 1,
    "pagerows": 0,
    "totalrows": 1,
    "responsestatus": "OK",
    "success": true,
    "responsemessage": "",
    "errorcode": 0,
    "totalpages": 1,
    "pagenumber": 1,
    "data": [
        {
            "variable_timesheetsummaryresourcenonchargeable": 1.75,
            "variable_timesheethoursrequired": 32,
            "variable_timesheetsummaryresourcechargeable": 17.5
        }
    ]
}