---
title: "Returns a coach deck layout for a provided id."
method: GET
path: "/coach-deck-layouts/{layoutId}"
tags: ["Master Data"]
---

# Returns a coach deck layout for a provided id.

`GET /coach-deck-layouts/{layoutId}`

## Request

- Base URL: `https://s3p-osdm.cloud.sqills.com`
- URL: `https://s3p-osdm.cloud.sqills.com/coach-deck-layouts/{layoutId}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://login.microsoftonline.com/tbd`

Retrieve a coach layout description needed for graphical reservation for a given layout id.

## Path parameters

- `layoutId` string, required

## Headers

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

## Response `200`

coach layouts

- CoachDeckLayoutResponse
  - `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.
  - `coachDeckLayout` CoachDeckLayout: A deck of a coach.
    - `name` string, required
    - `nameTranslation` Translation2[]: Translations for the name
      - `language` string, required: ISO-639-1 language code
      - `text` string, required
      - `shortText` string, nullable
    - `dimension` GridDimension2, required: Describes the dimension of a grid element.
      - `width` integer, required
      - `height` integer, required
      - `borderRadius` BorderRadius: Rounds the corners of an element's border edge.
        - `topLeft` integer, nullable
        - `topRight` integer, nullable
        - `bottomRight` integer, nullable
        - `bottomLeft` integer, nullable
    - `lowFloorEntry` boolean, nullable: Typically set on the lowest deck. Empty if unknown.
    - `id` string, required
    - `deckLevel` string, required
    - `placeGroups` PlaceGroup2[]: Groups places. No place groups might exist for special coach types (e.g. traction units without seats).
      - `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: 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.
      - `places` PlaceLayout2[], required: Seats or bicycle hooks in a coach compartment.
        - `number` string, required: The place number. There might be cases where the place number is not unique per coach (e.g. same place number for a seat and associated bicycle hook, same place numbers on upper and lower deck)
        - `rectangle` RectangleGeometry2, required: Describes a two-dimensional rectangle
          - `position` GridPosition2, required: Describes the position in a 3D grid on which the element must be placed. The grid origin (x=0, y=0) is on the top left, the x coordinate increases to the right, the y coordinate increases downwards and the z coordinate increases towards the foreground.
            - `x` integer, required
            - `y` integer, required
            - `z` integer, required
          - `dimension` GridDimension2, required: Describes the dimension of a grid element.
            - `width` integer, required
            - `height` integer, required
            - `borderRadius` BorderRadius: Rounds the corners of an element's border edge.
              - …
        - `orientation` integer, required: Orientation angle in degrees
        - `placeProperties` PlaceProperty2[]: Static place properties
    - `graphicElements` GraphicElement2[]
      - `rectangle` RectangleGeometry2, required: Describes a two-dimensional rectangle
        - `position` GridPosition2, required: Describes the position in a 3D grid on which the element must be placed. The grid origin (x=0, y=0) is on the top left, the x coordinate increases to the right, the y coordinate increases downwards and the z coordinate increases towards the foreground.
          - `x` integer, required
          - `y` integer, required
          - `z` integer, required
        - `dimension` GridDimension2, required: Describes the dimension of a grid element.
          - `width` integer, required
          - `height` integer, required
          - `borderRadius` BorderRadius: Rounds the corners of an element's border edge.
            - `topLeft` integer, nullable
            - `topRight` integer, nullable
            - `bottomRight` integer, nullable
            - `bottomLeft` integer, nullable
      - `orientation` integer, required: Orientation angle in degrees
      - `code` string, required: See https://osdm.io/spec/catalog-of-code-lists/#GraphicsItems
    - `serviceIcons` ServiceIcon2[]
      - `rectangle` RectangleGeometry2, required: Describes a two-dimensional rectangle
        - `position` GridPosition2, required: Describes the position in a 3D grid on which the element must be placed. The grid origin (x=0, y=0) is on the top left, the x coordinate increases to the right, the y coordinate increases downwards and the z coordinate increases towards the foreground.
          - `x` integer, required
          - `y` integer, required
          - `z` integer, required
        - `dimension` GridDimension2, required: Describes the dimension of a grid element.
          - `width` integer, required
          - `height` integer, required
          - `borderRadius` BorderRadius: Rounds the corners of an element's border edge.
            - `topLeft` integer, nullable
            - `topRight` integer, nullable
            - `bottomRight` integer, nullable
            - `bottomLeft` integer, nullable
      - `code` string, required: See https://osdm.io/spec/catalog-of-code-lists/#GraphicsItems

## 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/coach-deck-layouts/:layoutId/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)
