Get Cabin For RBD Mock Server

Retrieve cabin class information based on Reservation Booking Designator codes.

The Get Cabin For RBD API provides the cabin class associated with a specific Reservation Booking Designator (RBD). This service is essential for mapping fare classes to cabin categories during flight shopping and booking workflows.

Use this hosted mock server to simulate Get Cabin For RBD APIs without authentication, API keys, or extra dependencies. Point your code or SDK to the Beeceptor base URL, preferably through an environment variable or feature flag, and switch back to the production API when ready. This keeps your integration code consistent across local development, QA, demos, and production.

Use cases:

Use this sandbox to verify cabin-class mapping logic, validate RBD-to-cabin lookup responses, handle invalid or unrecognized booking designators, and ensure correct cabin display in your travel booking interface.

Get Cabin For RBD mock server is up and running!

Use this mock URL as the API base in your code to simulate Get Cabin For RBD responses instantly.

https://sabre-cabin-rbd.mock.beeceptor.com



Get Cabin For RBD

Header NameExample
Content-Type*"application/json"
{
  "lang": "EN",
  "segmentItems": {
    "segment": [
      {
        "bookingCode": "S",
        "carrierCode": "UA",
        "departureDate": "2027-05-02T00:00:00.0Z",
        "destination": "NRT",
        "equipmentType": "320",
        "flightNumber": 2129,
        "id": 911,
        "origin": "DXB",
        "processingDate": "2026-06-16T00:00:00.0Z"
      },
      {
        "bookingCode": "B",
        "carrierCode": "AF",
        "departureDate": "2026-07-13T00:00:00.0Z",
        "destination": "CDG",
        "equipmentType": "034",
        "flightNumber": 9025,
        "id": 480,
        "origin": "LHR",
        "processingDate": "2026-06-16T00:00:00.0Z"
      }
    ]
  },
  "version": "1.1.0"
}
{
  "status": "SUCCESS",
  "segmentItems": {
    "cabin": [
      {
        "code": "F",
        "sabreCode": "F",
        "longName": "FIRST",
        "shortName": "FIRST",
        "seqNo": 100015,
        "refId": 1
      }
    ]
  },
  "version": "1.0.0",
  "lang": "EN"
}
{
  "error": "Bad Request",
  "exception": "javax.validation.ConstraintViolationException",
  "message": "Request method 'GET' not supported",
  "path": "/v1.0.0/rbd/cabin",
  "status": "400",
  "timestamp": "2026-06-16T00:00:00.0Z"
}
{
  "error": "Unsupported Media Type",
  "exception": "org.springframework.web.HttpMediaTypeNotSupportedException",
  "message": "Content type 'application/xml;charset=UTF-8' not supported",
  "path": "/v1.0.0/rbd/cabin",
  "status": "415",
  "timestamp": "2024-07-05T11:47:12Z"
}
{
  "error": "Internal Server Error",
  "exception": "javax.validation.ConstraintViolationException",
  "message": "Invalid request (segment level)",
  "path": "/v1.0.0/rbd/cabin",
  "status": "500",
  "timestamp": "2024-07-05T11:08:51Z"
}
sabretravelaviationrbdcabinrest