Delete a calendar booking
Calendar delete
Delete a calendar booking.
Parameter | Description | Examples | More info |
---|---|---|---|
Action | Delete a calendar bookings entry | action=create | |
Parameters described in overview | |||
Input | JSON string | "data": ... | |
diary_diaryinternal | "diary_diaryinternal":56568 |
Example request:
Request to delete a booking
http://<SERVER>/jsonapi/calendar.json?user=user&password=user&version=3.3&action=delete&input={"data": [{"diary_diaryinternal":56568}]}&_=1499954515492_
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "data processed successfully.",
"warningmessage": "",
"success": true,
"data": [
{
"calDiaryInternal": 56566,
"calUuid": "7239680C46928342AB66D5524C1E1C44",
"calendarunallocatedunique": "1/00010481.H01###1/ALT",
"calendarunallocatedestimated": 1,
"calendarunallocatedbooked": 2.5,
"calendarunallocatedremaining": -1.5,
"calendarunallocatedtimesheets": 0,
"calendarunallocateddraft": 0,
"calendarunallocatedinitials": "F0,FC"
}
]
}