Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The request will have five valid parameters.

The UserId Id or EmailAddress can be used; at least one is required.
The Date is optional and used to find the user's status for a future day; if not included the current date should be used.
The StartTime & EndTime are optional and used to get a user's status based on a specific time frame; if not included the status should be returned based on the current time.

...

Code Block
languagejson
{
  "UserIdId": 13int,
  "EmailAddress": "charlotte.hill@email.comstring (email address)",
  "Date": "dd/MM/yyyy",
  "StartTime": "dd/MM/yyyy HH:mm",
  "EndTime": "dd/MM/yyyy HH:mm"
}

...

Code Block
languagejson
{
  "UserIdId": 13int,
  "EmailAddress": "charlotte.hill@email.comstring (email address)",
  "Date": "yyyy/MM/DD",
  "StartTime": "HH:mm",
  "EndTime": "HH:mm"
  "Status": "availablestring", // available, busy, do not disturb, away, offline
  "WorkingLocation": "Officestring",
  "ActiveBooking": xxxxint, // if in a booking include booking ID
  "WorkingLocatingSchedule": {
    "Monday": [
      {"StartTime": "09:00", "EndTime": "17:00", "Location": "Officestring"}
    ],
    "Tuesday": [
      {"StartTime": "09:00", "EndTime": "17:00", "Location": "Officestring"}
    ],
    "Wednesday": [
      {"StartTime": "09:00", "EndTime": "17:00", "Location": "Officestring"}
    ],
    "Thursday": [
      {"StartTime": "09:00", "EndTime": "17:00", "Location": "Officestring"}
    ],
    "Friday": [
      {"StartTime": "09:00", "EndTime": "17:00", "Location": "Homestring"}
    ],
    "Saturday": [],
    "Sunday": [],
  }
  "FutureWorkingLocation": [
    {
      "Date": "dd/MM/yyyy",
      "StartTime": "HH:mm",
      "EndTime": "HH:mm",
      "WorkingLocation": "string"
    }
  ]
}