---
title: "Get a place map for a requested vehicle including availabilities."
method: POST
path: "/availabilities/vehicle-place-map"
tags: ["Availabilities"]
---

# Get a place map for a requested vehicle including availabilities.

`POST /availabilities/vehicle-place-map`

## Request

- Base URL: `https://s3p-osdm.cloud.sqills.com`
- URL: `https://s3p-osdm.cloud.sqills.com/availabilities/vehicle-place-map`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://login.microsoftonline.com/tbd`

Get a vehicle map including availabilities.

## Headers

- `Requestor` string
- `Accept-Language` string
- `traceparent` string
- `tracestate` string
- `x-accept-namespace` string

## Request body

- PlaceAvailabilityMapRequest: Reservation offer/bookingParts or reservation fares for which place availabilities shall be returned.
  - `placeRestrictions` PlaceRestriction2[], required
    - `reservationRef` ReservationReference2, required: Reference to a reservation fare/offerPart/bookingPart
      - `contextId` string, required
      - `contextType` 'OFFER' | 'BOOKING', required
      - `resourceId` string, required
      - `resourceType` 'FARE' | 'RESERVATION', required
    - `serviceClass` string: Type of quality level, finer grained than the comfort class. Values from the [Service Class Code List](https://osdm.io/spec/catalog-of-code-lists/#ServiceClass) Listed values here are examples.
    - `accommodationSubTypes` AccommodationSubType[]: Specifies the accommodation sub types for which place availabilities shall be returned.

## Response `200`

place availabilities for the requested fares and offer parts

- PlaceAvailabilityMapResponse
  - `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.
  - `vehicle` VehicleAvailability2: A vehicle run for which place availabilities were requested.
    - `coaches` CoachAvailability[]: List of the coaches in a vehicle run ordered according to the physical ordering of the vehicle. Empty if train composition data is missing or specific place selection is not supported.
      - `number` string, required: Coach number
      - `travelDirection` string, required: Indicated travel direction of a coach. Standard direction is left to right with ascending coordinates in the layout values. To get the direction of travel for a place the direction information of the coach needs to be combined with the direction of the seat in the coach layout. Values from the [Travel Direction Code List](https://osdm.io/spec/catalog-of-code-lists/#TravelDirection) Listed values here are examples. <br><br> Known Values: - UNSPECIFIED - IN_DIRECTION - OPPOSITE_DIRECTION - CHANGING - @Deprecated STARING_IN_DIRECTION: <br><br> Deprecated: Substituted by STARTING_IN_DIRECTION (since: 3.5.0, removed with: 4.0.0) - STARTING_IN_DIRECTION - STARTING_OPPOSITE_TO_DIRECTION
      - `noPassageToNextCoach` boolean, nullable: Indicates that there is no passage to the next coach.
      - `decks` DeckAvailability2[]: The decks of a coach ordered in ascending order from the lowest to the highest deck. Optional as for some coaches (especially special/not reservable coach types) no coach layout might exist.
        - `layoutId` string, nullable: Identifies the coach deck layout. It is recommended to import coach deck layout master data periodically by calling GET /coach-deck-layouts
        - `compartments` CompartmentAvailability2[]: Only compartments that match a requested place restriction must be returned (e.g. only return bike hook compartments if availabilities for a bicycle reservation offer were requested). Empty if the whole deck contains no compartments (e.g. traction unit) or no places that matches a requested place restriction.
          - `serviceClass` string, required: Type of quality level, finer grained than the comfort class. Values from the [Service Class Code List](https://osdm.io/spec/catalog-of-code-lists/#ServiceClass) Listed values here are examples.
          - `accommodationType` string, required: 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, required: 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.
          - `places` SpecificPlaceAvailability2[], required: Seats or bicycle hooks in a coach compartment that are covered by a requested reservation fare/offerPart/bookingPart. No place availabilities must be returned for places that are NOT covered by a requested offer.
            - `number` string, required: Place number as indicated at the place in the coach.
            - `status` 'ALLOCATED' | 'FREE' | 'RESTRICTED', required: Availability status of a place or a compartment.
            - `reservationRefs` ReservationReference2[], required: References requested reservation fares/offerParts/bookingParts that allow the selection of the place. This allows clients to link place availabilities with the corresponding reservation fare/offerPart/bookingPart. E.g. link a bicycle hook with a bicycle reservationOfferPart.
              - …
            - `selectionFee` SelectionFee2: selection fee that will be applied when selecting the place in a graphical seat map. (https://osdm.io/spec/processes/#SeatSelectionFees)
              - …
          - `isSelectable` boolean, required: Indicates whether the compartment is selectable as a whole only.
          - `number` string, nullable: Compartment number as indicated at the compartment in the coach. A compartment number must be set if the compartment is selectable as a whole only.
          - `status` 'ALLOCATED' | 'FREE' | 'RESTRICTED': Availability status of a place or a compartment.
          - `reservationRefs` ReservationReference2[]: reservationRefs must be set if the compartment is selectable as a whole only
            - `contextId` string, required
            - `contextType` 'OFFER' | 'BOOKING', required
            - `resourceId` string, required
            - `resourceType` 'FARE' | 'RESERVATION', required
          - `selectionFee` SelectionFee2: selection fee that will be applied when selecting the place in a graphical seat map. (https://osdm.io/spec/processes/#SeatSelectionFees)
            - `price` Price2, required
              - …
    - `directionChanges` DirectionChange[]: List of direction changes (in direction of travel).
      - `stopPlaceRef` StopPlaceRef2, required: Reference to a Stop Place using URNs to define code. For UIC see UIC MERITS/TAP-TSI station codes. Provided by OJP.
        - `objectType` string, required: Attribute is used as discriminator for inheritance between data types.
        - `stopPlaceRef` string, required
      - `stopPlaceName` string, required: Name of the station where the direction changes
    - `preSelectedPlaces` PlacePreSelection2[]
      - `reservationId` string: id of the reservation in case the places have already been selected and the customer now wants to change the selection. <br><br> Deprecated: Substituted by SpecificPlaceAvailability.reservationRefs (since: 3.5.0, removed with: 4.0.0)
      - `coach` string, required: Coach number
      - `place` string, required: Place number as indicated at the place in the coach
    - `preSelectedCompartments` CompartmentPreSelection[]
      - `coach` string, required: Coach number
      - `compartment` string, required: Compartment number as indicated at the compartment in the coach.

## Other responses

- `400`: Bad Request (400)
- `401`: Unauthorized (401)
- `403`: Forbidden (403)
- `404`: Not Found (404)
- `406`: Not Acceptable (406)
- `415`: Unsupported Media Type (415)
- `500`: Internal Server Error (500)
- `501`: Not Implemented (501)
- `503`: Service Unavailable (503)
- `default`: default error response

## Changes

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

[Operation history](https://skmtc.dev/unioninternationalcheminsdefer/apis/uic-90918-10-osdm/changes/availabilities/vehicle-place-map/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)
