Pending copy

Pending copy

Parameter

Description

Examples

API

The API area

tspending.json

Action

The action to perform

action=pendingcopy

Parameters described in overview

user=user&password=user&version=3.3

Company

The company context

company=1

tspending

The pending timesheet number (tspEntryNo)

tspending=686

Response

Returned data

See below

Example request:

http://<SERVER>/jsonapi/tspending.json?user=user&password=user&version=3.3&action=pendingcopy&tspending=686

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "TS pending 686 record copied to 3640",
  "warningmessage": "",
  "success": true,
  "data": [
    {
      "tspEntryNo": 3640,
      "tspUuid": "F8281A58A3F9B942BB013FA483FD762C"
    }
  ]
}