Delete Timesheet

Delete Timesheet

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

Input

XML/JSON

[IN]

data array containing optional parameters

tspending_entryno

XML/JSON

[IN]

timesheet entry number input data array parameter (required if tspending_uuid is not supplied)

tspending_uuid

XML/JSON

[IN]

timesheet entry uuid data array parameter (required if tspending_entryno is not supplied)

Response

XML/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"
        }
    ]
}