Delete a calendar booking
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | calendar.json | |
General | Yes | Parameters described in overview | user=user&password=user&version=3.9 | Overview |
Action | Yes | The action to perform | action=delete | |
Input | Yes | JSON string | See below |
JSON Input | Mandatory | Description | Examples |
---|---|---|---|
Identifier | Yes | ID or UUID | "diary_diaryinternal":56568 |
Example request:
http://<SERVER>/jsonapi/calendar.json?user=user&password=user&version=3.9&action=delete&input={
"data": [
{
"calDiaryInternal": 56568
}
]
}
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "data processed successfully.",
"warningmessage": "",
"success": true,
"synapiversion": 3.8,
"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"
}
]
}