Delete

Delete a calendar booking

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areacalendar.json
GeneralYesParameters described in overviewuser=user&password=user&version=3.7v3.7 Overview
ActionYesThe action to performaction=delete
InputYesJSON stringSee below
JSON InputMandatoryDescriptionExamples
IdentifierYesID or UUID"diary_diaryinternal":56568

Example request:

http://<SERVER>/jsonapi/calendar.json?user=user&password=user&version=3.7&action=delete&input={
  "data": [
    {
      "calDiaryInternal": 56568
    }
  ]
}

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "data processed successfully.",
  "warningmessage": "",
  "success": true,
  "synversion": "12.600",
  "synapiversion": 3.5,
  "data": [
    {
      "calUniqueSelect": "16/0050015.001#16/W0000000918##16/ALT",
      "calEstimatedSelect": 0,
      "calBookedSelect": 7.5,
      "calRemainingSelect": -7.5,
      "calTimesheetsSelect": 7,
      "calDraftSelect": 0,
      "calInitialsSelect": "MP",
      "calDiaryInternal": 56568,
      "calUuid": "DE97D556CB0EF444993F1CD594B18444"
    }
  ]
}