booking_creation

Returns available cruise rooms for a given proposal context or for all accommodation categories

get/v0/proposals/{proposal_id}/available_rooms

Request

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

Path parameters

proposal_idstring required

Proposal identifier

Example:123456

Headers

x-api-keystring required

Api_key provided by ClubMed API team

Response

ok

idstring required

Id of the room

accommodation_idstring required

Id of the accommodation

occupancyinteger

Number of occupants in the accommodation

Example response

[
  {
    "id": "344S",
    "accommodation_id": "S2",
    "occupancy": 2,
    "_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.