This API will soon be deprecated. Please use another API.

    Get the Number of Schedules for Today

    Gets the number of schedules for today.

    API Type

    Service API

    Request URL

    https://apis.worksmobile.com/{API ID}/calendar/getTodayScheduleItemCount

    HTTP Method

    POST (Content-Type: application/json; charset=UTF-8)

    Request

    Parameter Type Required Description
    date String N yyyy-mm-dd.
    The server cannot decide what date it is today using the server base time (GMT+9) when the user is in a different time zone from the server, so the client should set it.

    Request Example

    {
        "date": "2015-03-27"
    }
    

    Response

    It returns the property value in the table below when the API call succeeds.

    Property Type Required Description
    today Integer Y The number of schedules

    Response Example

    {
      "today": "3"
    }