Refresh an individual 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=calendarrefresh | |
Identifier | Yes | Booking ID or UUID | diary=136015 |
Example request:
http://<SERVER>/jsonapi/calendar.json?user=user&password=user&version=3.9&action=calendarrefresh&diary=136006
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "data processed successfully.",
"warningmessage": "",
"success": true,
"data": [
{
"calResourceId": "405",
"calResourceName": "Mr.Later",
"calTimeSummaryInternal": 1012213,
"calClientCode": "3/ET",
"calClientName": "Egon Test",
"calJobNumber": "3/00001015",
"calJobNumberSimple": "1015",
"calJobDescription1stLine": "Here is the job description",
"calJobHandlerName": "Adele.Graham",
"calJobAndPhase": "3/00001015.001",
"calJobPhaseNumberSimple": "1015.001",
"calPhaseDescription1stLine": "Egon - Training 1",
"calStageCode": "",
"calTaskDescription": "",
"calChargeCode": "3/R1",
"calChargeCodeDescription": "Rail Engineer 1",
"calDescription": "",
"calNotes": "",
"calStatus": "Normal",
"calRequestStatus": "",
"calStartDate": "2017-11-09",
"calStartTime": "09:00:00",
"calEndTime": "11:00:00",
"calRequisitionId": 7562,
"calRequisitionSubject": "job level reqisitiion",
"calRequisitionDetails": "here is a desc",
"calIsoDateTimeStart": "2017-11-07T09:00:00",
"calIsoDateTimeEnd": "2017-11-09T11:00:00",
"calAllDay": false,
"calDiaryInternal": 137463,
"calColourHex": "FFFFFF",
"calFeedback": "TODO",
"calWeakLink": 5305,
"calendarunallocatedunique": "3/00001015.001###3/R1",
"calendarunallocatedestimated": 2,
"calendarunallocatedbooked": 6,
"calendarunallocatedremaining": -4,
"calendarunallocatedtimesheets": 14,
"calendarunallocateddraft": 0,
"calendarunallocatedinitials": "ML",
"calNumberOfDays": "3",
"calDurationDescription": "3 day, 2 hours per day",
"calHoursPerDay": "2"
}
]
}