Get Schedules of Others

    Gets events from another user’s default calendar during a specified period. The period can be up to 30 days.

    API Type

    Service API

    Request URL

    https://apis.worksmobile.com/r/{API_ID}/calendar/v2/users/{accountId}/calendars/events

    HTTP Method

    GET

    Path Parameters

    Parameter Type Required Description
    accountId String Y User’s accountId

    Query Parameters

    Parameter Type Required Description
    rangeDateFrom String Y Start date (yyyyMMdd).
    The date is inclusive.
    The period between the start date and end date must be within 30 days.
    rangeDateUntil String Y End date (yyyyMMdd).
    The date is exclusive.
    The period between the start date and end date must be within 30 days.

    Response

    Property Type Required Description
    result String Y API request result
    code Integer Y HTTP status code
    returnValue List Y Array of iCalendar strings

    Response Example

    {
        "result": "success",
        "code": 200,
        "returnValue": [
            "BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-//Michael Angstadt//biweekly 0.4.2//EN\r\nBEGIN:VEVENT\r\nDTSTAMP:20191008T075756Z\r\nUID:test_createSchedule_a24df74a-fa95-41f0-8d61-8c694f269d45\r\nSUMMARY:summary\r\nDTSTART:20181231T150000Z\r\nDTEND:20181231T160000Z\r\nSEQUENCE:0\r\nX-NAVER-REGISTERER;X-WORKSMOBILE-WID\u003d99392964744;CUTYPE\u003dINDIVIDUAL:\r\nCREATED:20191008T075756Z\r\nLAST-MODIFIED:20191008T075756Z\r\nX-NAVER-LAST-MODIFIER;X-WORKSMOBILE-WID\u003d99392964744;CUTYPE\u003dINDIVIDUAL;CN\u003dnameOf_99392964744:\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n"
        ]
    }