Create Schedule
POST
/v1/schedulesスケジュール作成APIはユーザーが手動で新しいスケジュールをJicooカレンダーに追加することができます。このAPIはJicooインターフェイスを通して直接管理されるスケジュールを作成する為のもので、イベントタイプのページで行われた予約とは関係ありません。一度作成されたスケジュールはJicooカレンダーページに表示されます。
Request
Body Params application/json
name
string
required
<= 64 characters
description
optional
Any of
<= 10000 characters
routine
optional
Any of
duration
integer
required
> 0
endedAt
required
schedules
array [object {7}]
required
isRemind
boolean
optional
projectId
number
optional
> 0
phoneNumber
optional
Any of
<= 32 characters
access
optional
Any of
<= 2000 characters
address
optional
Any of
<= 255 characters
customLocation
optional
Any of
<= 2000 characters
attendees
array [object {4}]
required
userId
string
optional
email
string <email>
optional
role
enum<string>
required
Allowed values:
admineditorviewer
userType
enum<string>
required
Allowed values:
hostguest
isAllDay
boolean
optional
timeZone
string
required
startedAt
required
Any of
endedAt
required
Any of
priority
optional
Any of
Allowed values:
lowmiddlehigh
displayType
enum<string>
optional
Allowed values:
privateteamPublicpublic
location
optional
Any of
Allowed values:
inPersonphonezoomgoogleMeetaskInviteeteamscustom
transparency
enum<string>
optional
Allowed values:
opaquetransparent
behavior
enum<string>
optional
Allowed values:
eventwork
visibilityType
enum<string>
optional
Allowed values:
defaultbusy
Example
{
"name": "MTG",
"timeZone": "Asia/Tokyo",
"startedAt": "2024-04-01T14:00:00.000Z",
"endedAt": "2024-04-01T14:30:00.000Z",
"routine": null,
"attendees": [
{
"userId": "cfmSbUHeizSoZob9cRA3N8fmfKg1",
"role": "admin",
"userType": "host"
}
]
}
Request samples
Responses
Created(201)
HTTP Code: 201
Content Type : JSONapplication/json
Data Schema
data
#/definitions/1384674required
Example
{
"name": "dignissimos voluptas iusto",
"startedAt": "2024-03-01T14:00:00.000Z",
"endedAt": "2024-03-01T14:30:00.000Z",
"address": "ut fugiat",
"phoneNumber": "561-428-5385 x054",
"customLocation": "huddle",
"description": "Sequi earum minus dicta. Asperiores maxime illo rem voluptates a nemo beatae. Odio quia quisquam necessitatibus dolore.",
"routine": null,
"isRemind": true,
"access": "qui",
"attendees": [
{
"userId": "cfmSbUHeizSoZob9cRA3N8fmfKg1",
"role": "admin",
"userType": "host"
}
],
"isAllDay": false,
"timeZone": "Asia/Tokyo",
"priority": "middle",
"displayType": "teamPublic",
"location": "zoom",
"transparency": "transparent",
"behavior": "work",
"visibilityType": "default"
}
Last modified: 3 months ago