Submit Timesheet

Submit Timesheet JSON

ParameterTypeDescription
[IN] Parameters described in Overview
CompanyString[IN] The users default company number for the companies list
ActionString[IN] Identifier for the list requested
Input [OPTIONAL]String[IN] timesheet entry number – becomes mandatory if optional date parameters are not supplied
Date [OPTIONAL]Date[IN] date of timesheets to submit format YYYY/MM/DD – becomes mandatory if date range and input are not supplied
DateFrom [OPTIONAL]Date[IN] start date of timesheets to submit format YYYY/MM/DD - becomes mandatory if date and input are not supplied
DateTo [OPTIONAL]Date[IN] end date of timesheets to submit format YYYY/MM/DD - becomes mandatory if date and input are not supplied
ResponseXML/JSON[OUT] An XML tree / JSON string containing the success or error response

Description

Calling the timesheets API with an action of pendingsubmit retrieves a response.

Return Values

Response – Success or error response.

The structure of the response is:

<Responses>
	<Success>
		<SuccessText>
			TS pending record(s) submitted
		</SuccessText>
	</Success>
</Responses>
{
    "errormessage": "",
    "responsecode": 1,
    "responsestatus": "OK",
    "success": true,
    "responsemessage": "TS pending record(s) submitted",
    "errorcode": 0
}