Master Data
Passenger Categories

Returns all defined passenger categories.

Changed on

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.

get/passenger-categories

Request

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

Headers

Requestorstring

The requestor header contains detailed information about who is calling the API. It can include information such as channel, organization, sales unit or workstation id and be used to configure e.g. the fare range provided to the caller. The content of the string is part of a bilateral contract by the two parties and not standardized by OSDM. It is recommend to encrypt the information transferred.

Accept-Languagestring

Describes the set of natural languages that are preferred for localized text in the response to the request (see RFC9110). Supporting English (en) is a must.

traceparentstring

The traceparent header describes the position of the incoming request in its trace graph in a portable, fixed-length format. Its design focuses on fast parsing. Every tracing tool MUST properly set traceparent even when it only relies on vendor-specific information in tracestate (see W3C Trace Context).

tracestatestring

The tracestate extends traceparent with vendor-specific data represented by a set of name/value pairs. Storing information in tracestate is optional (see W3C Trace Context).

Response

OK

baseboolean 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.

additionalboolean nullable

Indicate whether this passenger category should be always visible in UI or folded into "additional" section.

Example response

[
  {
    "specification": {
      "residency": "DE"
    }
  }
]

Changes