...
The WorkingLocation
should be returned based on the requested time frame.WorkingLocationSchedule
should also be included which is the default weekly schedule the user has defined.
CustomWorkingLocation
will be dates and times that the user has specified as differing from their default schedule.
Example
Code Block | ||
---|---|---|
| ||
{ "userId": 13, "EmailAddress": "charlotte.hill@email.com", "date": "yyyy/MM/DD", "startTime": "HH:mm", "endTime": "HH:mm" "Status": "available", // available, busy, do not disturb, away, offline "WorkingLocation": "Office", "ActiveBooking": xxxx, // if in a booking include booking ID "WorkingLocatingSchedule": { "Monday": [ {"startStartTime": "09:00", "endEndTime": "17:00", "Location": "Office"} ], "Tuesday": [ {"startStartTime": "09:00", "endEndTime": "17:00", "Location": "Office"} ], "Wednesday": [ {"startStartTime": "09:00", "endEndTime": "17:00", "Location": "Office"} ], "Thursday": [ {"startStartTime": "09:00", "endEndTime": "17:00", "Location": "Office"} ], "Friday": [ {"startStartTime": "09:00", "endEndTime": "17:00", "Location": "Home"} ], "Saturday": [], "Sunday": [], } "CustomWorkingLocation": [ { "Date": "dd/MM/yyyy", "StartTime": "HH:mm", "EndTime": "HH:mm", "WorkingLocation": "string" } ] } |