Delete

Delete

Parameter

Description

Examples

API

The API area

tspending.json

Action

The action to perform

action=delete

Parameters described in overview

user=user&password=user&version=3.3

Company

The company context

company=1

input

JSON string

input="data": ...

Identifier

data to identify the timesheet to update

"tspEntryNo":714

Response

Returned data

See below

Example request:

http://<SERVER>/jsonapi/tspending.json?user=user&password=user&version=3.3&company=1&action=delete&input={"data":[{"tspEntryNo":714}]}

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "data processed successfully.",
  "warningmessage": "",
  "success": true,
  "data": [
    {
      "tspUuid": "334EEB2AD102C940951D3E58F6DF4EF7",
      "tspEntryNo": 14013,
      "tspTimeStampModified": 1531908104,
      "tspending_recordversionnumber": 0
    }
  ]
}