Versions Compared

Key

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

...

Code Block
languagejs
titleGET /workingHours period object:
linenumberstrue
collapsetrue
[{
    "endDate": "2018-07-08",
    "endDateDate": 1531008000000,
    "firstWeek": false,
    "fourthWeek": false,
    "fri": false,
    "lastWeek": false,
    "mon": false,
    "objects": [{
        "days": [{
            "checked": false,
            "times": [{
                "active": true,
                "endTime": 1100,
                "endTimeObj": "2018-07-01 13:00:00",
                "roomNumber": null,
                startTime: 900,
                startTimeObj: "2018-07-01 12:00:00",
                workScheduleId: 1390854
            }]
            workday: 1
        }{
            checked: false,
            times: [{
                active: true,
                endTime: 1300,
                endTimeObj: "2018-07-01 13:00:00",
                startTime: 1200,
                startTimeObj: "2018-07-01 12:00:00",
                workScheduleId: 1390855
            }]
            workday: 3
       }{
            checked: false,
            times: [{
                active: true,
                endTime: 1300,
                endTimeObj: "2018-07-01 13:00:00",
                startTime: 1200,
                startTimeObj: "2018-07-01 12:00:00",
                workScheduleId: 1390856
            }]
            workday: 5
        }]
        locationId: 81125,
        locationName: "Second Office",
        objecttype: "PROFESSIONAL",
        professionalId: 81651,
        professionalName: "Titus Bigly",
        reasonId: null,
        reasonName: null,
        resourceId: null,
        resourceName: null
    }]
    recurring: false,
    repeatInterval: null,
    repeatSchedule: null,
    sat: false,
    secondWeek: false,
    startDate: "2018-07-01",
    startDateDate: 1530403200000,
    sun: false,
    thirdWeek: false,
    thu: false,
    tue: false,
    wed: false
}]

...