---
title: "Search for products based on search parameters."
method: POST
path: "/products-search"
tags: ["Product", "Search"]
---

# Search for products based on search parameters.

`POST /products-search`

## Request

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

## Headers

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

## Request body

- ProductSearchRequest: Search criteria to search for products
  - `id` string: id of the product
  - `types` ProductType2[]
  - `codes` string[]: The product codes to be searched.
  - `flexibilities` Flexibility2[]
  - `serviceClasses` ServiceClass2[]
    - `type` 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.
    - `name` string, required: The name the carrier itself uses to designate this specific service class.
  - `travelClasses` TravelClass2[]
  - `fulfillmentOptions` FulfillmentOption2[]
    - `type` string, required: Values from the [Fulfillment Type Code List](https://osdm.io/spec/catalog-of-code-lists/#FulfillmentType) Listed values here are examples.
    - `media` string, required: Fulfillment types. RCT2, RCCST and UIC_PDF are official UIC standards. Notice:`ALLOCATOR_APP` is deprecated and should not be used anymore. The `ALLOCATOR_APP` type is replaced by the `RETAILER_APP` type. `DISTRIBUTOR_APP` was introduced to distinguish between the different types of apps that can be used to fulfill a booking. Values from the [Fulfillment Media Type Code List](https://osdm.io/spec/catalog-of-code-lists/#FulfillmentMediaType) Listed values here are examples.
    - `applications` string[]: list of applications that can handle the fulfillment. This is required in case of media `APPLICATION`. minItems >= 1 is applicable on business logic level exclusively for this media type. The applications might be modules on a vending machine to handle chop cards or smartphone apps handling NFC communication.
    - `specification` string[]: accepted fulfillment specifications in case the fulfillment via `APPLICATION` or `CHIP_CARD` is not not limited to a specific application.
  - `productTags` string[]: product tags associated with the product

## Response `200`

booking search results found

- ProductSearchResponse: Result of a product search
  - `products` Product2[], required
    - `id` string, required: id of the product
    - `summary` string, nullable: A human-readable description of the product.
    - `summaryTranslations` Translation2[]: Translations of the summary attribute
      - `language` string, required: ISO-639-1 language code
      - `text` string, required
      - `shortText` string, nullable
    - `type` string: General product types harmonized across fare providers. (More to be added, use null for types not listed yet.) Values from the [Product Type Code List](https://osdm.io/spec/catalog-of-code-lists/#ProductTypes) Listed values here are examples.
    - `code` string, required: The product code expressed in the provider system (could be a mapping from an even lower-level provider).
    - `description` string, nullable: Textual description of the product.
    - `descriptionTranslations` Translation2[]: Translations of the description attribute
      - `language` string, required: ISO-639-1 language code
      - `text` string, required
      - `shortText` string, nullable
    - `owner` 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'
    - `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
    - `flexibility` string, required
    - `serviceClass` ServiceClass2: Class of service.
      - `type` 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.
      - `name` string, required: The name the carrier itself uses to designate this specific service class.
    - `travelClass` string: Traditional first and second class.
    - `fulfillmentOptions` FulfillmentOption2[]
      - `type` string, required: Values from the [Fulfillment Type Code List](https://osdm.io/spec/catalog-of-code-lists/#FulfillmentType) Listed values here are examples.
      - `media` string, required: Fulfillment types. RCT2, RCCST and UIC_PDF are official UIC standards. Notice:`ALLOCATOR_APP` is deprecated and should not be used anymore. The `ALLOCATOR_APP` type is replaced by the `RETAILER_APP` type. `DISTRIBUTOR_APP` was introduced to distinguish between the different types of apps that can be used to fulfill a booking. Values from the [Fulfillment Media Type Code List](https://osdm.io/spec/catalog-of-code-lists/#FulfillmentMediaType) Listed values here are examples.
      - `applications` string[]: list of applications that can handle the fulfillment. This is required in case of media `APPLICATION`. minItems >= 1 is applicable on business logic level exclusively for this media type. The applications might be modules on a vending machine to handle chop cards or smartphone apps handling NFC communication.
      - `specification` string[]: accepted fulfillment specifications in case the fulfillment via `APPLICATION` or `CHIP_CARD` is not not limited to a specific application.
    - `isTrainBound` boolean, nullable
    - `isReturnProduct` boolean, nullable
    - `serviceConstraintText` string, nullable
    - `serviceConstraintTextTranslations` Translation2[]: Translations of the service constraint text attribute
      - `language` string, required: ISO-639-1 language code
      - `text` string, required
      - `shortText` string, nullable
    - `carrierConstraintText` string, nullable
    - `carrierConstraintTextTranslations` Translation2[]: Translations of the carrier constraint text attribute
      - `language` string, required: ISO-639-1 language code
      - `text` string, required
      - `shortText` string, nullable
    - `descriptiveTexts` TextElement2[]
      - `description` string, required: Full version of the text for display when sufficient space is available.
      - `descriptionTranslations` Translation2[]: Translations of description and shortDescription attributes
        - `language` string, required: ISO-639-1 language code
        - `text` string, required
        - `shortText` string, nullable
      - `shortDescription` string, required: Brief version of the text for display in space restricted environments, e.g. mobile phone. No longer than 64 characters.
      - `textElementType` 'INFORMATION' | 'MANDATORY' | 'MANDATORY_WITH_CONFIRMATION' | 'TICKET_VALIDITY', required: Type of descriptive text. Valid Values: - INFORMATION: pure informational text (product/fulfillment). - MANDATORY: must be displayed to the customer prior to purchase (product). - MANDATORY_WITH_CONFIRMATION: must be confirmed, e.g. by checking a checkbox, prior to purchase (product). - TICKET_VALIDITY: any text on the ticket regarding it's validity (other than information which can be retrieved from the booking)
    - `tariff` string, nullable: Mapping to Tariff 42 of IRS-90918-3 (Hermes/Hosa). Helps the H2O converter in mapping offers to a requested tariff. See legacyReservationParameter.tariff in OSDM offline.
    - `combinationTags` CombinationTag2[]
      - `id` string, required
      - `needsToBeCombined` boolean, nullable: If false it means that this product can be sold also when not in conjunction with a product with the same tag. This is needed to propose specific products from one provider that depend on public ones of another.
    - `productTags` string[]: product tags associated with the product that can be used to search for offers. This can be omitted outside of the product master data service
    - `_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.
  - `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.
  - `_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/products-search/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)
