ホストの優先度を更新する方法
はじめに
ホストの優先度の更新には、予約ページごとに発行される "uid" と各ホストのIDである "userId" が必要となります。
"uid" "userId"の取得
List Event Type Hosts
GET /v1/event_type_hosts
{
"data": [
{
"eventType": {
"uid": "ZZZZZZZZZZZZZZ",
// ...その他のデータ
},
"hosts": [
{
"uid": "XXXXXXXXXXXXXXXXXXXXXXXXX",
"priority": 0,
// ...その他のデータ
}
]
}
]
}
Update Event Type Hostの実行
Update Event Type Host
PATCH /v1/event_types/ZZZZZZZZZZZZZZ/hosts/XXXXXXXXXXXXXXXXXXXXXXXXX
{
"priority": 1
}
Modified at 2024-10-03 08:46:51