Timesheetsummarydates
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 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"
}
]
}