---
title: "Returns all coach layouts."
method: GET
path: "/coach-layouts"
tags: ["Master Data"]
deprecated: true
---

# Returns all coach layouts.

`GET /coach-layouts`

## Request

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

> **Deprecated.**

Retrieve the coach layout description needed for graphical reservation. The coach
layouts can either be retrieved as a complete list or specificity for a train identified via offerId and reservationId or fareId.
<br><br>
Deprecated: Substituted by getCoachDeckLayouts (since: 3.5.0, removed with: 4.0.0)

## Query parameters

- `page` string

## Headers

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

## Response `200`

coach layouts

- CoachLayoutCollectionResponse
  - `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.
  - `layouts` CoachLayout[]
    - `id` string, required: id of this coachLayout on this server
    - `summary` string, nullable: A human-readable description of the coach layout.
    - `places` CoachLayoutPlace2[]: list of places included in the layout
      - `icon` string, required: Values from the [Graphics Items Code List](https://osdm.io/spec/catalog-of-code-lists/#GraphicsItems)
      - `number` string, required: place number as displayed physically on the place
      - `direction` 'RIGHT' | 'LEFT' | 'UP' | 'DOWN': Direction of a place, defined optional as it might be omitted in case of berths in future. Code list according to UIC90918-1 Valid Values: - RIGHT: to right, RIGHT is the default. In case of walls it indicates a wall parallel with the x axis. - LEFT: to left - UP: up (from right side of a coach pointing to the middle of the aisle) - DOWN: down (from right side of the coach pointing to the middle of the aisle)
      - `remarkId` string: Remark concerning the place (e.g. to be used in a tool tip). Code list according to UIC90918-1 Known Values: - MIGHT_HAVE_TABLE: place might have a table - MIGHT_NOT_HAVE_TABLE: table at the place might be missing - MIGHT_HAVE_DIFFERENT_DIRECTION: place might have a different direction - MIGHT_HAVE_TABLE_AND_DIFFERENT_DIRECTION: place might have a table and a different direction - MIGHT_NOT_HAVE_TABLE_AND_MIGHT_HAVE_DIFFERENT_DIRECTION: table at the place might be missing and place might have a different direction - MIGHT_BE_IN_COMPARTMENT: place might be in compartment - MIGHT_BE_IN_OPEN_SPACE: place might be in open space
      - `coords` LayoutCoordinates2, required
        - `x` integer, required: horizontal coordinate of the center of the place
        - `y` integer, required: vertical coordinate of the center of the place
        - `zOrder` integer, required: Graphical layer where this item has to be placed. Code list according to UIC90918-1 - value 0: lowest layer usually used for walls - value 1: middle layer usually used by places - value 2: top layer usually used by icons
    - `signs` CoachLayoutSign2[]
      - `icon` string, required: Values from the [Graphics Items Code List](https://osdm.io/spec/catalog-of-code-lists/#GraphicsItems)
      - `direction` 'RIGHT' | 'LEFT' | 'UP' | 'DOWN': Direction of a place, defined optional as it might be omitted in case of berths in future. Code list according to UIC90918-1 Valid Values: - RIGHT: to right, RIGHT is the default. In case of walls it indicates a wall parallel with the x axis. - LEFT: to left - UP: up (from right side of a coach pointing to the middle of the aisle) - DOWN: down (from right side of the coach pointing to the middle of the aisle)
      - `coords` LayoutCoordinates2, required
        - `x` integer, required: horizontal coordinate of the center of the place
        - `y` integer, required: vertical coordinate of the center of the place
        - `zOrder` integer, required: Graphical layer where this item has to be placed. Code list according to UIC90918-1 - value 0: lowest layer usually used for walls - value 1: middle layer usually used by places - value 2: top layer usually used by icons
    - `internals` CoachLayoutInternal2[]
      - `icon` string, required: Values from the [Graphics Items Code List](https://osdm.io/spec/catalog-of-code-lists/#GraphicsItems)
      - `mounting` 'UPPER_BORDER' | 'LOWER_BORDER' | 'UPPER_TO_LOWER_BORDER' | 'FREE'
      - `coords` LayoutCoordinates2, required
        - `x` integer, required: horizontal coordinate of the center of the place
        - `y` integer, required: vertical coordinate of the center of the place
        - `zOrder` integer, required: Graphical layer where this item has to be placed. Code list according to UIC90918-1 - value 0: lowest layer usually used for walls - value 1: middle layer usually used by places - value 2: top layer usually used by icons
    - `directedInternals` CoachLayoutDirectedInternal2[]
      - `icon` string, required: Values from the [Graphics Items Code List](https://osdm.io/spec/catalog-of-code-lists/#GraphicsItems)
      - `direction` 'RIGHT' | 'LEFT' | 'UP' | 'DOWN': Direction of a place, defined optional as it might be omitted in case of berths in future. Code list according to UIC90918-1 Valid Values: - RIGHT: to right, RIGHT is the default. In case of walls it indicates a wall parallel with the x axis. - LEFT: to left - UP: up (from right side of a coach pointing to the middle of the aisle) - DOWN: down (from right side of the coach pointing to the middle of the aisle)
      - `mounting` 'UPPER_BORDER' | 'LOWER_BORDER' | 'UPPER_TO_LOWER_BORDER' | 'FREE'
      - `coords` LayoutCoordinates2, required
        - `x` integer, required: horizontal coordinate of the center of the place
        - `y` integer, required: vertical coordinate of the center of the place
        - `zOrder` integer, required: Graphical layer where this item has to be placed. Code list according to UIC90918-1 - value 0: lowest layer usually used for walls - value 1: middle layer usually used by places - value 2: top layer usually used by icons
    - `compartmentNumbers` CoachLayoutCompartmentNumber2[]
      - `number` string, required
      - `coords` LayoutCoordinates2, required
        - `x` integer, required: horizontal coordinate of the center of the place
        - `y` integer, required: vertical coordinate of the center of the place
        - `zOrder` integer, required: Graphical layer where this item has to be placed. Code list according to UIC90918-1 - value 0: lowest layer usually used for walls - value 1: middle layer usually used by places - value 2: top layer usually used by icons
    - `gridSize` CoachLayoutGridSize2, required
      - `x` integer, required
      - `y` integer, required
    - `_links` object[]: A collection of hypermedia links associated with this resource. These links facilitate navigation and discovery of related resources, following HATEOAS principles.
      - `rel` string, required: the 'rel' field in HATEOAS navigation.
      - `href` string, uri, required: Allows to provide a value to the link, for example id of the targeted resource or displayable representation for the link.
      - `type` string, nullable: Hint to indicate the media type expected when dereferencing the target resource.
      - `value` string, nullable: Allows to provide a value to the link, for example id of the targeted resource or displayable representation for the link.
  - `_links` object[]: A collection of hypermedia links associated with this resource. These links facilitate navigation and discovery of related resources, following HATEOAS principles.
    - `rel` string, required: the 'rel' field in HATEOAS navigation.
    - `href` string, uri, required: Allows to provide a value to the link, for example id of the targeted resource or displayable representation for the link.
    - `type` string, nullable: Hint to indicate the media type expected when dereferencing the target resource.
    - `value` string, nullable: Allows to provide a value to the link, for example id of the targeted resource or displayable representation for the link.

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