Timesheetsummaryresource
Parameter | Type | Description |
---|---|---|
[IN] Parameters described in Overview | ||
Company | String | [IN] The users default company number for the companies list |
Action | String | [IN] Identifier for the list requested |
Resource | String | [IN] Identifier for the resource context |
Date | Date | [IN] dd/mm/yyyy start of week date |
Response | XML/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
}
]
}