Delete

Delete a timesheet

Delete

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areatimesheets.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"tsuuid": "C8A3BA7E49551847857147BCE655292A"

Example request (OAuth 2.0):

Authorization: Bearer <access_token>
http://<SERVER>/jsonapi/timesheets.json?&version=6&action=delete&company=1&input={
  "data": [
    {
      "tsuuid": "C8A3BA7E49551847857147BCE655292A"
    }
  ]
}

Example request (legacy username/password):

http://<SERVER>/jsonapi/timesheets.json?&version=6&action=delete&company=1&input={
  "data": [
    {
      "tsuuid": "C8A3BA7E49551847857147BCE655292A"
    }
  ]
}&user=<username>&password=<password>