---
title: "Creates an on hold offer."
method: POST
path: "/bookings/{bookingId}/on-hold-offer"
tags: ["On Hold"]
---

# Creates an on hold offer.

`POST /bookings/{bookingId}/on-hold-offer`

## Request

- Base URL: `https://s3p-osdm.cloud.sqills.com`
- URL: `https://s3p-osdm.cloud.sqills.com/bookings/{bookingId}/on-hold-offer`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://login.microsoftonline.com/tbd`

On hold offer created

## Path parameters

- `bookingId` string, required

## Headers

- `Requestor` string
- `Accept-Language` string
- `traceparent` string
- `tracestate` string
- `Idempotency-Key` string, uuid

## Request body

- OnHoldOfferRequest: Confirming the offer puts into the 'On-hold' state.
  - `increaseTTL` integer, required: increase of time to live (in minutes)

## Response `200`

on-hold offer created

- OnHoldOfferResponse
  - `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.
  - `onHoldOffer` OnHoldOffer2
    - `id` string, required
    - `summary` string, required
    - `createdOn` string, date-time, required
    - `validFrom` string, date-time, required
    - `validUntil` string, date-time, required
    - `confirmedOn` string, date-time, nullable
    - `onHoldFee` Fee2, required: Fees are used to represent additional costs for services or products. In contrast to other offer parts in OSDM, the customer is not free whether to choose a fee or not: fees are generated and applied to other services or products by the providing system.
      - `id` string, required
      - `summary` string, nullable: A human-readable description of the fee.
      - `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[]
          - `countryCode` string, required: ISO 3166-1 alpha-2 2 character country code
          - `amount` integer, required: VAT amount in cents
          - `scale` integer, nullable: scale of the amount - the number of positions after the comma
          - `netAmount` integer: amount before adding VAT
          - `netAmountScale` integer, nullable: scale of the netAmount - the number of positions after the comma
          - `grossAmount` integer: total amount after adding VAT in cents
          - `grossAmountScale` integer, nullable: scale of the grossAmount - the number of positions after the comma
          - `percentage` number, float, nullable
          - `taxId` string, nullable
          - `vatOnInvoice` boolean, nullable
          - `taxIdOnInvoice` boolean, nullable
          - `scope` string: scope where the VAT applies. Values from the [Tax Scope Code List](https://osdm.io/spec/catalog-of-code-lists/#VatScope) Listed values here are examples.
        - `appliedCurrencyConversion` CurrencyConversion2: details on a currency conversion applied
          - `description` string: description of the conversion, e.g. rate, rounding rules, reference to rules
          - `originalCurrency` string, required: ISO 4217 currency codes
          - `originalAmount` integer, required: amount in cents
          - `scale` integer, nullable: scale of the amount - the number of positions after the comma
          - `appliedRate` number
          - `originalVats` VAT2[]
            - `countryCode` string, required: ISO 3166-1 alpha-2 2 character country code
            - `amount` integer, required: VAT amount in cents
            - `scale` integer, nullable: scale of the amount - the number of positions after the comma
            - `netAmount` integer: amount before adding VAT
            - `netAmountScale` integer, nullable: scale of the netAmount - the number of positions after the comma
            - `grossAmount` integer: total amount after adding VAT in cents
            - `grossAmountScale` integer, nullable: scale of the grossAmount - the number of positions after the comma
            - `percentage` number, float, nullable
            - `taxId` string, nullable
            - `vatOnInvoice` boolean, nullable
            - `taxIdOnInvoice` boolean, nullable
            - `scope` string: scope where the VAT applies. Values from the [Tax Scope Code List](https://osdm.io/spec/catalog-of-code-lists/#VatScope) Listed values here are examples.
      - `applicability` string
      - `transactionContext` string
      - `isProviderFee` boolean: The after sales fees are attributed to the provider. In some business models used with fares the fees are attributed to the distributor.
      - `status` 'PREBOOKED' | 'CONFIRMED' | 'REFUNDED'
      - `distributorBookingRef` string, nullable: reference to the booking in the downstream distributor system
      - `refundable` 'YES' | 'NO' | 'WITH_CONDITION'
      - `conditions` Condition2[]: Structured description of the sales or after-sales conditions.
        - `type` string, required
        - `description` string, required: human readable documentation of the text.
        - `descriptionTranslations` Translation2[]: Translations of the description and shortDescription
          - `language` string, required: ISO-639-1 language code
          - `text` string, required
          - `shortText` string, nullable
        - `shortDescription` string, nullable: short description of the condition no longer than 64 characters
      - `productCode` string, nullable: The product code expressed in the provider system (could be a mapping from an even lower-level provider).
      - `productRef` string: Reference to the Product representing the Fee
      - `accountingRef` AccountingRef2: reference to accounting data in case the accounting is not provided by the API provider
        - `accountingCompany` 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'
        - `accountingIds` AccountingId[]: ids of accounting data used to link the booking part with accounting data in the billing send by the accounting company
    - `deposit` 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[]
        - `countryCode` string, required: ISO 3166-1 alpha-2 2 character country code
        - `amount` integer, required: VAT amount in cents
        - `scale` integer, nullable: scale of the amount - the number of positions after the comma
        - `netAmount` integer: amount before adding VAT
        - `netAmountScale` integer, nullable: scale of the netAmount - the number of positions after the comma
        - `grossAmount` integer: total amount after adding VAT in cents
        - `grossAmountScale` integer, nullable: scale of the grossAmount - the number of positions after the comma
        - `percentage` number, float, nullable
        - `taxId` string, nullable
        - `vatOnInvoice` boolean, nullable
        - `taxIdOnInvoice` boolean, nullable
        - `scope` string: scope where the VAT applies. Values from the [Tax Scope Code List](https://osdm.io/spec/catalog-of-code-lists/#VatScope) Listed values here are examples.
      - `appliedCurrencyConversion` CurrencyConversion2: details on a currency conversion applied
        - `description` string: description of the conversion, e.g. rate, rounding rules, reference to rules
        - `originalCurrency` string, required: ISO 4217 currency codes
        - `originalAmount` integer, required: amount in cents
        - `scale` integer, nullable: scale of the amount - the number of positions after the comma
        - `appliedRate` number
        - `originalVats` VAT2[]
          - `countryCode` string, required: ISO 3166-1 alpha-2 2 character country code
          - `amount` integer, required: VAT amount in cents
          - `scale` integer, nullable: scale of the amount - the number of positions after the comma
          - `netAmount` integer: amount before adding VAT
          - `netAmountScale` integer, nullable: scale of the netAmount - the number of positions after the comma
          - `grossAmount` integer: total amount after adding VAT in cents
          - `grossAmountScale` integer, nullable: scale of the grossAmount - the number of positions after the comma
          - `percentage` number, float, nullable
          - `taxId` string, nullable
          - `vatOnInvoice` boolean, nullable
          - `taxIdOnInvoice` boolean, nullable
          - `scope` string: scope where the VAT applies. Values from the [Tax Scope Code List](https://osdm.io/spec/catalog-of-code-lists/#VatScope) Listed values here are examples.
    - `increasedTTL` string, date-time, required: Increased time-to-live.
    - `_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)
- `409`: Conflict (409)
- `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/bookings/:bookingId/on-hold-offer/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)
