booking_creation

Provides the detail of the proposal accommodations and attendees arrangement

get/v1/proposals/{proposal_id}/accommodations_arrangement

Request

  • Base URL: https://api.clubmed.com
  • URL: https://api.clubmed.com/v1/proposals/{proposal_id}/accommodations_arrangement
  • Auth: HTTP bearer

Path parameters

proposal_idstring required

Proposal identifier

Example:123456

Query parameters

merge_accommodationsboolean

If set to false, accommodations will be unmerged

Headers

x-api-keystring required

Api_key provided by ClubMed API team

Response

ok

idstring required

id of the accommodation

labelstring required

label of the accommodation

occupancyinteger required

if merge_accomodation is false then the number of occupants in the accommodation is displayed, otherwise we display the sum of all the occupants in the same accommodation category

quantityinteger required

number of accommodations where the attendees will be allocated

shared_roomboolean required

Indicate if the room is sharable

Example response

[
  {
    "id": "A2",
    "label": "Club room",
    "occupancy": 2,
    "quantity": 2,
    "attendees": [
      {
        "id": "A",
        "type": "MAIN",
        "birthdate": "2022-04-15",
        "customer_id": "143890448",
        "room_id": "roomId",
        "waiver": {
          "age_condition": 25
        }
      }
    ],
    "accommodation_categories": [
      {
        "id": "000021",
        "label": "5-Trident Luxury Space Deluxe",
        "_links": [
          {
            "rel": "self",
            "deprecated_rel": true,
            "method": "GET",
            "href": "https://api.clubmed.com/products",
            "label": "A label"
          }
        ]
      }
    ],
    "_links": [
      {
        "rel": "self",
        "deprecated_rel": true,
        "method": "GET",
        "href": "https://api.clubmed.com/products",
        "label": "A label"
      }
    ]
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.