---
title: "Returns an overview of prices based on route"
method: POST
path: "/offer-overview-route"
tags: ["Offer Overview"]
---

# Returns an overview of prices based on route

`POST /offer-overview-route`

## Request

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

Returns an overview of prices for a given route search and criteria.
The overview does not contain detailed offer information, but only the
prices.

## Headers

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

## Request body

- OfferOverviewRouteRequest: Defines the parameters needed to request an offer overview for a route. Travel class and flexibility are optional parameters to filter the desired offers.
  - `routeSpecification` RouteSpecification2, required
    - `origin` PlaceRef2
      - `objectType` string, required: Attribute is used as discriminator for inheritance between data types.
    - `destination` PlaceRef2
      - `objectType` string, required: Attribute is used as discriminator for inheritance between data types.
  - `passengerSpecifications` AnonymousPassengerSpecification[], required
    - `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
  - `startDateTime` string, date-time, required
  - `endDateTime` string, date-time, required
  - `timeFrameSegmentation` 'HOUR' | 'DAY': Defines the segmentation of the time frame for the offer overview. The default is DAY, which means that one price offer overview is given for each day of the requested time frame (provided there aren't more than one travel classes or flexibilities for one time segment).
  - `travelClass` string: Traditional first and second class.
  - `flexibility` string

## Response `200`

overview of prices found

- OfferOverviewRouteResponse
  - `problems` Problem2[]
    - `code` string, nullable: optional in version 3.1, will be made mandatory in upcoming releases
    - `type` string, uri, nullable: An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type (e.g., using HTML).
    - `title` string, nullable: A short, summary of the problem type. Written in English and readable for engineers (usually not suited for non technical stakeholders and not localized);
    - `status` integer, nullable: The HTTP status code generated by the origin server for this occurrence of the problem.
    - `detail` string, nullable: A human readable explanation specific to this occurrence of the problem.
    - `instance` string, uri, nullable: An absolute URI that identifies the specific occurrence of the problem.
    - `pointers` ProblemPointer2[]
      - `code` string, nullable: optional in version 3.1, will be made mandatory in upcoming releases
      - `type` string, uri, nullable: An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type (e.g., using HTML).
      - `title` string, nullable: A short, summary of the problem type. Written in English and readable for engineers (usually not suited for non technical stakeholders and not localized);
      - `status` integer, nullable: The HTTP status code generated by the origin server for this occurrence of the problem.
      - `detail` string, nullable: A human readable explanation specific to this occurrence of the problem.
      - `instance` string, uri, nullable: An absolute URI that identifies the specific occurrence of the problem.
      - `requestPointer` string, nullable: A pointer to the attribute in the request for the problem.
      - `responsePointer` string, nullable: A pointer to the attribute in the response for the problem.
      - `originator` string, nullable: Identifier to the origin server for this occurrence of the problem.
    - `alternativeSystemProposals` AlternativeSystemProposal[]
      - `reservationSystemId` integer: The 90918.1 code of the alternative reservation system.
      - `systemOperatorCode` string, required: Identifies a company. For rail, a RICS company code or compatible ERA company code are used. E.g.: 'urn:uic:rics:1185:000011'
      - `scope` AlternativeSystemProposalScope[]
        - `vehicleNumber` string, required: Vehicle number, such as the train number, for which the alternative system proposal is valid.
        - `travelClass` string: Traditional first and second class.
        - `accommodationType` string: Accommodation type definition out of the [Accommodation Type Code List](https://osdm.io/spec/catalog-of-code-lists/#AccomodationType) Listed values here are examples.
        - `accommodationSubType` string: Accommodation sub type definition out of the [Accommodation Sub Type Code List](https://osdm.io/spec/catalog-of-code-lists/#PlaceProperty) Listed values here are examples.
      - `priority` integer: If multiple alternative system proposals are returned, the provider might define a priority order between them. The requestor should first use the proposal with the lowest priority that matches the requestor's case based on the proposal's scope and problem pointer.
  - `offerOverviews` OfferOverviewRoute[]
    - `price` Price2
      - `currency` string, required: ISO 4217 currency codes
      - `amount` integer, required: amount in cents
      - `scale` integer, nullable: scale of the amount - the number of positions after the comma
      - `vats` VAT2[]
        - `countryCode` string, required: ISO 3166-1 alpha-2 2 character country code
        - `amount` integer, required: VAT amount in cents
        - `scale` integer, nullable: scale of the amount - the number of positions after the comma
        - `netAmount` integer: amount before adding VAT
        - `netAmountScale` integer, nullable: scale of the netAmount - the number of positions after the comma
        - `grossAmount` integer: total amount after adding VAT in cents
        - `grossAmountScale` integer, nullable: scale of the grossAmount - the number of positions after the comma
        - `percentage` number, float, nullable
        - `taxId` string, nullable
        - `vatOnInvoice` boolean, nullable
        - `taxIdOnInvoice` boolean, nullable
        - `scope` string: scope where the VAT applies. Values from the [Tax Scope Code List](https://osdm.io/spec/catalog-of-code-lists/#VatScope) Listed values here are examples.
      - `appliedCurrencyConversion` CurrencyConversion2: details on a currency conversion applied
        - `description` string: description of the conversion, e.g. rate, rounding rules, reference to rules
        - `originalCurrency` string, required: ISO 4217 currency codes
        - `originalAmount` integer, required: amount in cents
        - `scale` integer, nullable: scale of the amount - the number of positions after the comma
        - `appliedRate` number
        - `originalVats` VAT2[]
          - `countryCode` string, required: ISO 3166-1 alpha-2 2 character country code
          - `amount` integer, required: VAT amount in cents
          - `scale` integer, nullable: scale of the amount - the number of positions after the comma
          - `netAmount` integer: amount before adding VAT
          - `netAmountScale` integer, nullable: scale of the netAmount - the number of positions after the comma
          - `grossAmount` integer: total amount after adding VAT in cents
          - `grossAmountScale` integer, nullable: scale of the grossAmount - the number of positions after the comma
          - `percentage` number, float, nullable
          - `taxId` string, nullable
          - `vatOnInvoice` boolean, nullable
          - `taxIdOnInvoice` boolean, nullable
          - `scope` string: scope where the VAT applies. Values from the [Tax Scope Code List](https://osdm.io/spec/catalog-of-code-lists/#VatScope) Listed values here are examples.
    - `travelClass` string: Traditional first and second class.
    - `flexibility` string
    - `startDateTime` string, date-time
    - `routeSpecification` RouteSpecification2
      - `origin` PlaceRef2
        - `objectType` string, required: Attribute is used as discriminator for inheritance between data types.
      - `destination` PlaceRef2
        - `objectType` string, required: Attribute is used as discriminator for inheritance between data types.

## Other responses

- `400`: Bad Request (400)
- `401`: Unauthorized (401)
- `403`: Forbidden (403)
- `404`: Not Found (404)
- `406`: Not Acceptable (406)
- `409`: Conflict (409)
- `415`: Unsupported Media Type (415)
- `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/offer-overview-route/post.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)
