List User Availability Calendars
GET
/v1/user_availability_calendarsThe List User Availability Calendars API returns a list of templates that define user availability for accepting bookings. These templates are used to configure and manage the schedules during which bookings can be accepted. Each template provides a preset schedule that can be applied to different event types, streamlining the process of setting up availability across various booking scenarios.
Request
Query Params
userId
string
required
page
number
optional
perPage
number
optional
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
$ref(#/definitions/1420444)[]
required
#/definitions/1420444
optional
Example
{
"data": [
{
"uid": "12eWFJ58fDjD",
"teamId": 39,
"userId": "oDVmLILwPNPdenYge4dFiRkVA6G3",
"name": "基本設定",
"isDefault": 1,
"timezone": "Asia/Tokyo",
"createdAt": "2024-02-07T13:04:41.000Z",
"updatedAt": "2024-02-07T13:04:41.000Z",
"calendars": [
{
"startHour": 10,
"startMinute": 0,
"endHour": 19,
"endMinute": 0,
"startedAt": "2024-02-07T13:05:02.000Z",
"endedAt": null,
"wday": 1,
"frequencyType": 2,
"frequencyInterval": 1,
"exceptions": null
},
{
"startHour": 10,
"startMinute": 0,
"endHour": 19,
"endMinute": 0,
"startedAt": "2024-02-07T13:05:02.000Z",
"endedAt": null,
"wday": 2,
"frequencyType": 2,
"frequencyInterval": 1,
"exceptions": null
}
]
}
],
"errors": {},
"totalCount": 1,
"count": 1,
"currentPage": 1,
"numberOfPages": 1
}
Last modified: 3 months ago