コンテンツにスキップ

イベントの予約フォーム設定を読む

GET
/api/v1/events/{id}/booking-form-settings
curl --request GET \
--url https://app.goyoka.com/api/v1/events/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/booking-form-settings \
--header 'Authorization: Bearer <token>'

予約フォームで時間・担当者を選ばせるか、おまかせを許すか、おまかせの担当者を見せるか、備考、キャンセル待ちの方式と回答期限。イベントは自分の値をそのまま持ち、お店の標準は作成時に写した初期値でしかありません——以後は読みません。override⁠とeffective⁠は同じ値です(旧契約との互換で両方返しますが、override⁠で包まず、応答専用のeffective⁠も送らないでください)。null⁠は返しません。4⁠つの真偽値・waitlist_mode・waitlist_offer_hours⁠は必ず値があり、notice⁠だけ備考なしのときnull⁠です。PUT本文はGET⁠のdata.override⁠にあるtime_selectable・provider_selectable・allow_auto_assign・reveal_auto_assigned_provider・notice⁠の5欄が必須、waitlist_mode・waitlist_offer_hours⁠は省略できます。他店・不明・アーカイブ済みは404⁠です。

false⁠は明示的な無効として保存し、true⁠に化けません。書き戻し時の型違い・必須欄の欠落は無変更判定より先に、REST⁠では422 VALIDATION(details.fieldErrors⁠の最上位の欄名を確認)、MCP⁠ではツールの入力検査のエラー文を返します。

必要な範囲: events:read

id
必須
string 形式: uuid

イベントの予約フォーム設定を読む

メディアタイプapplication/json
object
data
必須
object
override
必須
object
time_selectable
必須
boolean
provider_selectable
必須
boolean
allow_auto_assign
必須
boolean
reveal_auto_assigned_provider
必須
boolean
notice
必須
string | null
waitlist_mode
必須
string
取りうる値: SEQUENTIAL BROADCAST
waitlist_offer_hours
必須
integer
effective
必須
object
time_selectable
必須
boolean
provider_selectable
必須
boolean
allow_auto_assign
必須
boolean
reveal_auto_assigned_provider
必須
boolean
notice
必須
string | null
waitlist_mode
必須
string
取りうる値: SEQUENTIAL BROADCAST
waitlist_offer_hours
必須
integer
例
{
"data": {
"override": {
"waitlist_mode": "SEQUENTIAL"
},
"effective": {
"waitlist_mode": "SEQUENTIAL"
}
}
}

利用できないヘッダ

メディアタイプapplication/json
object
error
必須
object
code
必須
string
message
必須
string
details
object
任意のキー
追加の項目
request_id
必須
string
例自動生成
{
"error": {
"code": "example",
"message": "example",
"details": {
"additionalProperty": "example"
},
"request_id": "example"
}
}

鍵が無い・無効

メディアタイプapplication/json
object
error
必須
object
code
必須
string
message
必須
string
details
object
任意のキー
追加の項目
request_id
必須
string
例自動生成
{
"error": {
"code": "example",
"message": "example",
"details": {
"additionalProperty": "example"
},
"request_id": "example"
}
}

範囲不足

メディアタイプapplication/json
object
error
必須
object
code
必須
string
message
必須
string
details
object
任意のキー
追加の項目
request_id
必須
string
例自動生成
{
"error": {
"code": "example",
"message": "example",
"details": {
"additionalProperty": "example"
},
"request_id": "example"
}
}

見つからない

メディアタイプapplication/json
object
error
必須
object
code
必須
string
message
必須
string
details
object
任意のキー
追加の項目
request_id
必須
string
例自動生成
{
"error": {
"code": "example",
"message": "example",
"details": {
"additionalProperty": "example"
},
"request_id": "example"
}
}

予約・冪等キーの競合

メディアタイプapplication/json
object
error
必須
object
code
必須
string
message
必須
string
details
object
任意のキー
追加の項目
request_id
必須
string
例自動生成
{
"error": {
"code": "example",
"message": "example",
"details": {
"additionalProperty": "example"
},
"request_id": "example"
}
}

本文が1 MiB⁠を超えている

メディアタイプapplication/json
object
error
必須
object
code
必須
string
message
必須
string
details
object
任意のキー
追加の項目
request_id
必須
string
例自動生成
{
"error": {
"code": "example",
"message": "example",
"details": {
"additionalProperty": "example"
},
"request_id": "example"
}
}

入力の検証失敗

メディアタイプapplication/json
object
error
必須
object
code
必須
string
message
必須
string
details
object
任意のキー
追加の項目
request_id
必須
string
例自動生成
{
"error": {
"code": "example",
"message": "example",
"details": {
"additionalProperty": "example"
},
"request_id": "example"
}
}

回数の上限

メディアタイプapplication/json
object
error
必須
object
code
必須
string
message
必須
string
details
object
任意のキー
追加の項目
request_id
必須
string
例自動生成
{
"error": {
"code": "example",
"message": "example",
"details": {
"additionalProperty": "example"
},
"request_id": "example"
}
}
RateLimit-Limit
integer
>= 1

固定窓内の回数上限

RateLimit-Remaining
integer

固定窓内の残り回数

RateLimit-Reset
integer

窓終了までの秒数

Retry-After
integer
>= 1

再試行までの待機秒数

内部エラー

メディアタイプapplication/json
object
error
必須
object
code
必須
string
message
必須
string
details
object
任意のキー
追加の項目
request_id
必須
string
例自動生成
{
"error": {
"code": "example",
"message": "example",
"details": {
"additionalProperty": "example"
},
"request_id": "example"
}
}