Delete Timesheet

Delete Timesheet

ParameterTypeDescription
[IN] Parameters described in Overview
CompanyString[IN] The users default company number for the companies list
ActionString[IN] Identifier for the list requested
InputXML/JSON[IN] data array containing optional parameters
tspending_entrynoXML/JSON[IN] timesheet entry number input data array parameter (required if tspending_uuid is not supplied)
tspending_uuidXML/JSON[IN] timesheet entry uuid data array parameter (required if tspending_entryno is 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 delete deletes a timesheet and retrieves a response.

Return Values

Response – Success or error response.

The structure of the response is:

<Responses>
<Success>
<SuccessText>data processed successfully.</SuccessText>
<Data>
<tspending_entryno>484</tspending_entryno>
</Data>
<Data>
<tspending_uuid>6BF0C4CE91FA7D4694433C9CA844BA57</tspending_uuid>
</Data>
</Success>
</Responses>
{
    "responsecode": 1,
    "responsestatus": "OK",
    "errorcode": 0,
    "errormessage": "",
    "responsemessage": "data processed successfully.",
    "success": true,
    "data": [
        {
            "tspending_entryno": 483,
            "tspending_uuid": "66AD500788B5024DBBBEE6E22658B1C3"
        }
    ]
}