---
title: "Returns all defined passenger categories."
method: GET
path: "/passenger-categories"
tags: ["Master Data", "Passenger Categories"]
---

# Returns all defined passenger categories.

`GET /passenger-categories`

## Request

- Base URL: `https://s3p-osdm.cloud.sqills.com`
- URL: `https://s3p-osdm.cloud.sqills.com/passenger-categories`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://login.microsoftonline.com/tbd`

Provider may *optionally* define passenger categories. These are usually intended for frontend (UI) usage instead of full passenger specification entry when provider works with unified list of passenger categories. For 
precise entry, or when PassengerCategory is not defined, the full passenger specification must always be supported by the provider.

## Headers

- `Requestor` string
- `Accept-Language` string
- `traceparent` string
- `tracestate` string

## Response `200`

OK

- PassengerCategory[]
  - `base` boolean, nullable: Indicate whether this passenger category should be preselected as a default option in the passenger selection. Usually results to a "full fare" or "adult fare" offers.
  - `additional` boolean, nullable: Indicate whether this passenger category should be always visible in UI or folded into "additional" section.
  - `title` Text2, required: Directly included text in case of online services. Text must be encoded in UTF-8 format.
    - `id` string, required
    - `translations` Translation2[]
      - `language` string, required: ISO-639-1 language code
      - `text` string, required
      - `shortText` string, nullable
    - `text` string, required
    - `shortText` string, nullable
  - `specification` AnonymousPassengerSpecification, required: Minimal specification of a passenger to request offers without any GDPR relevant attributes such as name or address. Either the date of birth or the age at the time of travel needs to be set. We recommend to use date of birth as it is more stable than age.
    - `externalRef` string, required: A stable reference to a passenger from other elements, or from caller system. When received in input of a request, it must be echoed back in the response.
    - `dateOfBirth` string, date, nullable: Date of birth of the passenger. Only needed for passengers of type persons, family child, PRM and wheelchair.
    - `age` integer, nullable
    - `type` string, required: Passenger type according to UIC passenger, i.e. passenger type list. Values from the [Passenger Type Code List](https://osdm.io/spec/catalog-of-code-lists/#PassengerType) Listed values here are examples. Proposed default PERSON
    - `prmNeeds` PRMNeedType2[]
    - `cards` CardReference2[]
      - `code` string, nullable: Code of the card type according to issuer. E.g. BahnCard50. Predefined values from the [Reduction Card Code List](https://osdm.io/spec/catalog-of-code-lists/#ReductionCard)
      - `number` string, nullable: Number identifying the travel account, need issuer to be unique.
      - `issuer` string: Identifies a company. For rail, a RICS company code or compatible ERA company code are used. E.g.: 'urn:uic:rics:1185:000011'
      - `type` 'LINKED_TICKET' | 'LOYALTY_CARD' | 'MULTI_RIDE' | 'REDUCTION_CARD' | 'TRAVEL_PASS', required: Values from the [Travel Account Type Code List](https://osdm.io/spec/catalog-of-code-lists/#TravelAccountType)
      - `chipCardContentFormat` string
      - `chipCardContent` string, byte, nullable: base64 encoded content of the chip card. This is in some scenarios needed to validate whether the new ticket will be compatible with the tickets already on the card.
      - `cardValidation` string: indication, that the card was verified during the sale. A provider might request this element amd the consumer then needs to verify the existence and confirms this by an update.
    - `gender` 'MALE' | 'FEMALE' | 'X', nullable: The gender of the passenger, which is important in the case of night trains. Values from the [Gender Code List](https://osdm.io/spec/catalog-of-code-lists/#Gender)
    - `residency` string: ISO 3166-1 alpha-2 2 character country code
    - `transportable` TransportableSpecification2: Transportables which are handled similar to passengers like dogs, bicycles, car transport. These transportables might need a ticket or reservation. The Transportable specification does not include personal data (e.g. a license plate.)
      - `type` string, required: Subset of the values from the [Passenger Type Code List](https://osdm.io/spec/catalog-of-code-lists/#PassengerType) Listed values here are examples.
      - `car` CarSpecification2: car, trailer or special vehicle to be transported (car carriage trains)
        - `weight` integer, required: weight in kg
        - `length` integer, required: size in cm
        - `width` integer, required: size in cm
        - `height` integer, required: size in cm
        - `brand` string, required: Free text description of the brand (e.g. BMW)
        - `model` string, required: Free text description of the model (e.g. X5)
        - `specialType` string, nullable
        - `roofWidth` integer, required
        - `textileRoof` boolean: indication that the car has a textile rook only
        - `rack` CarRack2: a rack on a car
          - `mounting` string
          - `type` string
          - `additionalHeight` integer: additional height in cm
          - `additionalLength` integer: additional length in cm
          - `numberOfBicycles` integer: number of bicycles on the rack
        - `attachedItems` AttachableItemType2[]: Indication of items attached to the car
      - `motorcycle` MotorcycleSpecification2
        - `weight` integer, required: weight in kg
        - `length` integer, required: size in cm
        - `width` integer, required: size in cm
        - `height` integer, required: size in cm
        - `brand` string, required: Free text description of the brand (e.g. BMW)
        - `model` string, required: Free text description of the model (e.g. X5)
        - `isSideCarIncluded` boolean, nullable: deprecated use car of type SPECIAL_VEHICLE instead
      - `trailer` CarSpecification2: car, trailer or special vehicle to be transported (car carriage trains)
        - `weight` integer, required: weight in kg
        - `length` integer, required: size in cm
        - `width` integer, required: size in cm
        - `height` integer, required: size in cm
        - `brand` string, required: Free text description of the brand (e.g. BMW)
        - `model` string, required: Free text description of the model (e.g. X5)
        - `specialType` string, nullable
        - `roofWidth` integer, required
        - `textileRoof` boolean: indication that the car has a textile rook only
        - `rack` CarRack2: a rack on a car
          - `mounting` string
          - `type` string
          - `additionalHeight` integer: additional height in cm
          - `additionalLength` integer: additional length in cm
          - `numberOfBicycles` integer: number of bicycles on the rack
        - `attachedItems` AttachableItemType2[]: Indication of items attached to the car

## Other responses

- `400`: Bad Request (400)
- `401`: Unauthorized (401)
- `403`: Forbidden (403)
- `500`: Internal Server Error (500)
- `501`: Not Implemented (501)

## Changes

- **2026-10-22** `4b5d9b1df9c9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/unioninternationalcheminsdefer/apis/uic-90918-10-osdm/changes/passenger-categories/get.md)

---

[API](https://skmtc.dev/unioninternationalcheminsdefer/apis/uic-90918-10-osdm.md) - [All operations](https://skmtc.dev/unioninternationalcheminsdefer/apis/uic-90918-10-osdm/llms.txt) - [OpenAPI document](https://skmtc.dev/unioninternationalcheminsdefer/apis/uic-90918-10-osdm/revisions/f2e631e1357c?raw)
