---
title: "Get multiple place maps including availabilities."
method: POST
path: "/availabilities/place-map"
tags: ["Availabilities"]
deprecated: true
---

# Get multiple place maps including availabilities.

`POST /availabilities/place-map`

## Request

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

> **Deprecated.**

Get multiple place maps including availabilities.
<br><br>
Deprecated: Substituted by getAvailabilitiesVehiclePlaceMap (since: 3.5.0, removed with: 4.0.0)

## Headers

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

## Request body

- AvailabilityScope: fare or offerParts which should be covered by the available seats
  - `singleSelectionMapsRequired` boolean: if true the place map must include places for a single reservation or fare only
  - `partReferences` PartReference2[], required
    - `contextId` string, required
    - `contextType` 'OFFER' | 'BOOKING', required
    - `resourceId` string, required
    - `resourceType` 'FARE' | 'RESERVATION', required

## Response `200`

place availabilities for the requested fares and offer parts

- PlaceAvailability[]
  - `reference` PartReference2: reference to a fare or offerPart
    - `contextId` string, required
    - `contextType` 'OFFER' | 'BOOKING', required
    - `resourceId` string, required
    - `resourceType` 'FARE' | 'RESERVATION', required
  - `vehicle` Vehicle2, required: List of the coaches in a vehicle run ordered according to the physical ordering of the vehicle.
    - `coaches` Coach[]
      - `compartments` Compartment2[]
        - `places` PlacePosition2[], required
          - `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` string[]: references to the reservations for which this place can be selected. The reservation ids must be part of the list of reservation ids for which the consumer has requested the available places and the consumer must accept a list by setting singleSelectionMapsRequired to false
          - `placeProperties` PlaceProperty2[]
          - `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
              - …
        - `number` string: Compartment number
        - `isSelectable` boolean, nullable: Indicates whether compartments are selectable as a whole only
        - `reservationRefs` string[]: references to the reservations/fares for which this place can be selected. The reservation ids must be part of the list of reservation ids for which the consumer has requested the available places and the consumer must accept a list by setting singleSelectionMapsRequired to false
        - `status` 'ALLOCATED' | 'FREE' | 'RESTRICTED': Availability status of a place or a compartment.
        - `travelClass` string: Traditional first and second class.
        - `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.
        - `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
            - `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[]
              - …
            - `appliedCurrencyConversion` CurrencyConversion2: details on a currency conversion applied
              - …
      - `number` string, required: coach number
      - `layoutId` string, required: Id to identify the coach layout. In case of two deck vehicles, both upper and lower deck layouts are provided next to each other.
      - `layoutIdUpperDeck` string, nullable: id to identify a layout for the upper deck in a double deck coach
      - `layoutIdLowerDeck` string, nullable: id to identify a layout for the lower deck in a double deck coach
      - `direction` string: 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
      - `owner` string: Identifies a company. For rail, a RICS company code or compatible ERA company code are used. E.g.: 'urn:uic:rics:1185:000011'
      - `specialCoach` string: indication of special coach
      - `reservationRefs` string[]: references to the reservations/fares for which all places in the coach can be selected. The reservation ids must be part of the list of reservation ids for which the consumer has requested the available places and the consumer must accept a list by setting singleSelectionMapsRequired to false
    - `reservationRefs` string[]: References to the reservations/fares for which all places in the vehicle can be selected. The reservation ids must be part of the list of reservation ids for which the consumer has requested the available places and the consumer must accept a list by setting singleSelectionMapsRequired to false
  - `preSelections` PlacePreSelection2[]: suggested pre-selection of places
    - `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

## 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/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)
