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

# Get place map including availabilities.

`GET /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 place map including availabilities.
<br><br>
Deprecated: Substituted by getAvailabilitiesVehiclePlaceMap (since: 3.5.0, removed with: 4.0.0)

## Query parameters

- `contextId` string, required
- `contextType` 'OFFER' | 'BOOKING', required
- `resourceId` string, required
- `resourceType` 'FARE' | 'RESERVATION', required

## Headers

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

## Response `200`

- PlaceAvailabilityResponse
  - `warnings` WarningCollection2: List of warnings. This structure has been deprecated and replaced by the problems array.
    - `warnings` Warning2[], required
      - `code` string, required
      - `type` string, uri, nullable: An absolute URI that identifies the warning type. When dereferenced, it SHOULD provide human-readable documentation for the problem type (e.g., using HTML).
      - `detail` string, nullable: A human readable explanation specific to this occurrence of the warning.
      - `instance` string, uri, nullable: An absolute URI that identifies the specific occurrence of the warning.
  - `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.
  - `vehicleAvailability` PlaceAvailability: Availability of places on vehicle.
    - `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)
              - …
          - `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
              - …
        - `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/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)
