Get User Schedule


This request returns the schedule of the user.

Resource

GET /me/phone/schedule

Parameters

None

Payload

None

Context

Authorization

User

Errors

HTTP code Xelion code Description

404

10054

User has no phone line.

404

10056

User has no schedule.

Example

Request
GET https://xelion.nl/api/v1/master/me/phone/schedule
Response
{
    "object": {
        "enableDayNightMode": true,
        "disableNotReachableWarning": false,
        "syncSwitchTimeTemplate": false,
        "switchTime": [],
        "overrides": [
            {
                "overrideActive": false,
                "startOverrideDateTime": "2024-04-08 14:54:00",
                "endOverrideDateTime": "2024-04-09 14:54:00",
                "overrideStatus": "automatic",
                "oid": "2282483",
                "objectType": "XCCDayNightModeOverride"
            }
        ],
        "oid": "2282482",
        "objectType": "XCCDayNightMode"
    },
    "links": [
        {
            "rel": "self",
            "href": "https://xelion.nl/api/v1/master/me/phone/schedule",
            "method": "GET"
        }
    ]
}