Delete

Deletes a pending timesheet.

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areatspending.json
GeneralYesParameters described in overviewsee overviewStructure of an API call
ActionYesThe action to performaction=delete
InputYesJSON stringSee below
JSON InputMandatoryDescriptionExamples
IdentifierYesData to identify the timesheet"tspEntryNo":14822

Example request:

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

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "data processed successfully.",
  "warningmessage": "",
  "success": true,
  "data": [
    {
      "tspEntryNo": 14822,
      "tspUuid": "F9896E8E3EBAD047A0C346C8929BA0DD"
    }
  ]
}