...
The Id
or EmailAddress
can be used; at least one is required.The
Date
- optional, the user's Work Place information should be returned only for the specified day.
StartDateTime
& EndDateTime
are - optional and , used to get a user's status Work Place information based on a specific date & time range; if .
If either the Date
or StartDateTime/EndDateTime
are not included the status should be returned based on the current day.
...
Code Block | ||
---|---|---|
| ||
{ "Id": int, "EmailAddress": "string (email address)", "Date": "dd/MM/yyyy", "StartDateTime": "dd/MM/yyyy HH:mm", "EndDateTime": "dd/MM/yyyy HH:mm" } |
...
Code Block | ||
---|---|---|
| ||
{
"Id": int,
"EmailAddress": "string (email address)",
"Date": "dd/MM/yyyy",
"StartDateTime": "dd/MM/yyyy HH:mm",
"EndDateTime": "dd/MM/yyyy HH:mm"
"Status": "string", // available, busy, do not disturb, away, offline
"CurrentWorkPlace": "string",
"ActiveBooking": int, // if in a booking include booking ID
"DefaultWorkPlaces": Object{
"Monday": Array[
Object{"StartTime": "09:00", "EndTime": "17:00", "Place": "string"}
],
"Tuesday": Array[
Object{"StartTime": "09:00", "EndTime": "17:00", "Place": "string"}
],
"Wednesday": Array[
Object{"StartTime": "09:00", "EndTime": "17:00", "Place": "string"}
],
"Thursday": Array[
Object{"StartTime": "09:00", "EndTime": "17:00", "Place": "string"}
],
"Friday": Array[
Object{"StartTime": "09:00", "EndTime": "17:00", "Place": "string"}
],
"Saturday": Array[],
"Sunday": Array[],
}
"WorkPlaceExceptions": Array[
Object{
"Id": int,
"Date": "dd/MM/yyyy",
"StartTime": "HH:mm",
"EndTime": "HH:mm",
"WorkPlace": "string"
}
]
} |