コンテンツにスキップ

開催回の担当者名簿

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

開催回の担当者名簿を優先順で返します。event_provider_id⁠とname⁠は応答専用です。この2欄を除いた行をproviders PUT⁠へ戻せます。日時はミリ秒を保持し、完全一致の往復では保存しません。

アーカイブ済み・他店・指定イベントや開催回や予約への帰属違いは404 NOT_FOUND⁠で、EVENT_EDIT_BLOCKED⁠は返しません。

全行をdata⁠に返し、cursor・limit・next_cursor⁠はありません。

必要な範囲: events:read

id
必須
string 形式: uuid
occId
必須
string 形式: uuid

開催回の担当者名簿

メディアタイプapplication/json
object
data
必須
Array<object>
object
event_provider_id
必須
string 形式: uuid
provider_id
必須
string 形式: uuid
name
必須
string
120文字以下
priority_order
必須
integer
<= 2147483647
starts_at
必須
string 形式: date-time
ends_at
必須
string 形式: date-time
breaks
必須
Array<object>
object
starts_at
必須
string 形式: date-time
ends_at
必須
string 形式: date-time
occurrence_menu_ids
必須
Array<string>
例自動生成
{
"data": [
{
"event_provider_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"provider_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"name": "example",
"priority_order": 1,
"starts_at": "2026-04-15T12:00:00Z",
"ends_at": "2026-04-15T12:00:00Z",
"breaks": [
{
"starts_at": "2026-04-15T12:00:00Z",
"ends_at": "2026-04-15T12:00:00Z"
}
],
"occurrence_menu_ids": [
"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
]
}
]
}

利用できないヘッダ

メディアタイプ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"
}
}