Timesheet Summary Dates

Timesheetsummarydates

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 date range for the timesheetsummary.

Description

Calling the timesheets API with an action of timesheetsummarydates retrieves the weekly timesheet summary date range.

Return Values

Response – Date range for the timesheetsummary.

The structure of the response is:

<timesheetsummary morepages="False" totalpages="1" totalrows="1">
<timesheetsummarydata>
<variable_timesheetsummaryfridaydate>2015-01-23</variable_timesheetsummaryfridaydate>
<variable_timesheetsummarymondaydate>2015-01-19</variable_timesheetsummarymondaydate>
<variable_timesheetsummarysaturdaydate>2015-01-24</variable_timesheetsummarysaturdaydate>
<variable_timesheetsummarysundaydate>2015-01-25</variable_timesheetsummarysundaydate>
<variable_timesheetsummarythursdaydate>2015-01-22</variable_timesheetsummarythursdaydate>
<variable_timesheetsummarytuesdaydate>2015-01-20</variable_timesheetsummarytuesdaydate>
<variable_timesheetsummarywednesdaydate>
2015-01-21
</variable_timesheetsummarywednesdaydate>
</timesheetsummarydata>
</timesheetsummary>
{
    "responsecode": 1,
    "responsestatus": "OK",
    "errorcode": 0,
    "errormessage": "",
    "totalrows": 1,
    "totalpages": 1,
    "responsemessage": "",
    "pagerows": 0,
    "pagenumber": 1,
    "success": true,
    "dates": [
        {
            "variable_timesheetsummaryfridaydate": "2015-01-23",
            "variable_timesheetsummarymondaydate": "2015-01-19",
            "variable_timesheetsummarysaturdaydate": "2015-01-24",
            "variable_timesheetsummarysundaydate": "2015-01-25",
            "variable_timesheetsummarythursdaydate": "2015-01-22",
            "variable_timesheetsummarytuesdaydate": "2015-01-20",
            "variable_timesheetsummarywednesdaydate": "2015-01-21"
        }
    ]
}