Get the Number of Today’s Events

    Gets the number of today’s events in a specified user’s default calendar.

    API Type

    Service API

    Request URL

    https://apis.worksmobile.com/r/{API_ID}/calendar/v2/users/me/eventsCount

    HTTP Method

    GET

    Query Parameters

    Parameter Type Required Description
    date String N Date on which you want to get events (yyyyMMdd).
    If it is empty, today’s date is set.

    Response

    Property Type Required Description
    result String Y API request result
    code Integer Y HTTP status code
    returnValue Integer Y Number of events

    Response Example

    {
        "result": "success",
        "code":200,
        "returnValue":1
    }