Copy Timesheet

Copy 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

String

[IN]

timesheet entry number

Response

XML/JSON

[OUT]

An XML tree / JSON string containing the success or error response

Description

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

Return Values

Response – Success or error response.

The structure of the response is:

<Responses>
<Success>
<SuccessText>
TS pending 451 record copied to 452
</SuccessText>
<Data>
<tspending_entryno>
452
</tspending_entryno>
</Data>
<Data>
<tspending_uuid>
A04987494A0AD345AE11B684528AA171
</tspending_uuid>
</Data>
</Success>
</Responses>
{
    "responsecode": 1,
    "responsestatus": "OK",
    "errorcode": 0,
    "errormessage": "",
    "responsemessage": "TS pending 451 record copied to 452",
    "success": true,
    "data": [
        {
            "tspending_entryno": 452,
            "tspending_uuid": "13D9A906BE501943BB878B74E52A0490"
        }
    ]
}