This is an auto-generated translation

バケーションレンタルのためのユニット構成

2026年1月予定:バケーションレンタル用ユニット構成スキーマの更新


バケーションレンタルの場合、Content API は、各 施設 の部屋とベッドのオプションに関する情報を含むunit_configurations というオブジェクトを返します。このオブジェクトを使用すると、部屋とベッドのオプションを視覚的に表示することができます。

bed type configurations

その結果、APIが現在使用しているいくつかの属性は非推奨となります。

Warning

重要なお知らせ

このアップデートは、コアAPIやVrboサプライを利用したものを含め、/properties/content を利用したすべてのバケーションレンタルに適用されます。**このバケーションレンタルユニットの設定をバケーションレンタルの表面に使用している場合は、更新する必要があります。**このユニット構成を使用していない場合は、何もする必要はありません。

注意:この変更はデータの表示方法の変更です。これはスキーマの変更ではありません。

ユニット構成の更新

新しいバージョンのスキーマでは、unit_configurations オブジェクトに、より詳細な説明が含まれるようになりました:

  • multi-unitシナリオでは、より正確なユニット情報を受け取ることができます。例えば、現在のオブジェクトのキー1Other1 の代わりに、新しいアプローチでは、各ユニットのキーの前に部屋IDを次のように付けます:231607625123_Bedroom1.

  • ベッドタイプの数値は、オールキャップからよりコンパクトな構造へと変化しています。例えばTWIN_SINGLE_BEDTwinBed になります。

  • 利用可能な病床の説明は合理化されています。例えば、Twin/Single bed(s) - Twin Bed(s) - と読みます。

スキーマ変更の例

Multi-unitバケーションレンタル

この例では、multi-unit施設、3つの独立したユニットで構成され、各ユニットに1つのベッドルームがあります。

古いスキーマ

{
      "property_id": "49154578123",
      "vacation_rental": {
            "unit_configurations": {
                  "1": [
                        {
                              "quantity": 1,
                              "description": "King bed(s) - ",
                              "type": "KING_BED"
                        }
                  ],
                  "2": [
                        {
                              "quantity": 2,
                              "description": "Queen bed(s) - ",
                              "type": "QUEEN_BED"
                        },
                        {
                              "quantity": 1,
                              "description": "Sleep sofa/futon(s) - ",
                              "type": "SLEEP_SOFA_FUTON"
                        }
                  ],
                  "3": [
                        {
                              "quantity": 1,
                              "description": "Sleep sofa/futon(s) - ",
                              "type": "SLEEP_SOFA_FUTON"
                        }
                  ]
            }
      }
}

新しいスキーマ

{
      "property_id": "491545781237",
      "vacation_rental": {
            "unit_configurations": {
                  "831607625124_Bedroom1": [
                        {
                              "quantity": 1,
                              "description": "King Bed(s) - ",
                              "type": "KingBed"
                        }
                  ],
                  "831607648123_Bedroom1": [
                        {
                              "quantity": 2,
                              "description": "Queen Bed(s) - ",
                              "type": "QueenBed"
                        },
                        {
                              "quantity": 1,
                              "description": "Futon(s) - ",
                              "type": "Futon"
                        }
                  ],
                  "231607641239123_Bedroom1": [
                        {
                              "quantity": 1,
                              "description": "Futon(s) - ",
                              "type": "Futon"
                        }
                  ]
            }
      }
}

Two-bedroom Vrbo施設

この例は2ベッドルームのVrbo施設です。

旧スキーマ

{
      "property_id": "721545781234",
      "vacation_rental": {
            "unit_configurations": {
                  "1": [
                        {
                              "quantity": 1,
                              "description": "King bed(s) - ",
                              "type": "KING_BED"
                        }
                  ],
                  "2": [
                        {
                              "quantity": 2,
                              "description": "Queen bed(s) - ",
                              "type": "QUEEN_BED"
                        },
                        {
                              "quantity": 1,
                              "description": "Sleep sofa/futon(s) - ",
                              "type": "SLEEP_SOFA_FUTON"
                        }
                  ]
            }
      }
}

新しいスキーマ

{
      "property_id": "721545781234",
      "vacation_rental": {
            "unit_configurations": {
                  "6516076251239_Bedroom1": [
                        {
                              "quantity": 1,
                              "description": "King Bed(s) - ",
                              "type": "KingBed"
                        }
                  ],
                  "6516076251239_Bedroom2": [
                        {
                              "quantity": 2,
                              "description": "Queen Bed(s) - ",
                              "type": "QueenBed"
                        },
                        {
                              "quantity": 1,
                              "description": "Futon(s) - ",
                              "type": "Futon"
                        }
                  ]
            }
      }
}

これらの変更またはRapidの導入への影響についてご不明な点がございましたら、サポート窓口 までお問い合わせください。

このページは役に立ちましたか ?
このコンテンツに改善が必要な点があれば、
サービス向上にご協力いただきありがとうございます。