Versions Compared

Key

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

...

Code Block
languagejson
{
  "Id": int,
  "EmailAddress": "string (email address)",
  "Date": "yyyy/MM/DD",
  "StartTime": "HH:mm",
  "EndTime": "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"
    }
  ]
}