Fulfillments

Confirms the booking a triggers the fulfillment of the booking synchronously or asynchronously.

Changed on

Confirms the booking and triggers the fulfillment of the booking.

If the fulfillments are created synchronously the service directly returns the fulfillments. The fulfillments are then in state FULFILLED.

If the fulfillments are created asynchronously the service starts the creation of the fulfillments. The fulfillmentIds may or may not returned. The fulfillments are in stage CONFIRMED. The booking needs to be retrieved later to obtain the fulfillments.

post/bookings/{bookingId}/fulfillments

Request

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

Path parameters

bookingIdstring required

id of the booking to be patched

Headers

Requestorstring

The requestor header contains detailed information about who is calling the API. It can include information such as channel, organization, sales unit or workstation id and be used to configure e.g. the fare range provided to the caller. The content of the string is part of a bilateral contract by the two parties and not standardized by OSDM. It is recommend to encrypt the information transferred.

Accept-Languagestring

Describes the set of natural languages that are preferred for localized text in the response to the request (see RFC9110). Supporting English (en) is a must.

traceparentstring

The traceparent header describes the position of the incoming request in its trace graph in a portable, fixed-length format. Its design focuses on fast parsing. Every tracing tool MUST properly set traceparent even when it only relies on vendor-specific information in tracestate (see W3C Trace Context).

tracestatestring

The tracestate extends traceparent with vendor-specific data represented by a set of name/value pairs. Storing information in tracestate is optional (see W3C Trace Context).

Idempotency-Keystring uuid

The HTTP Idempotency request header field can be used to carry idempotency key in order to make non-idempotent HTTP methods such as POST or PATCH fault-tolerant. Servers should keep the idempotency key for as long as the result of the underlying operation is valid. Idempotency keys should be globally unique.

x-accept-namespacestring

The x-accept-namespace HTTP header indicates the URN namespace that the client prefers. The provider uses content-negotiation to apply the corresponding namespace(s) where applicable.

Request body

issuingLanguagestring

the desired issuing language (ISO-639-1 language code). If not provided or not available, will default to (one of) the language(s) of the issuing country

preferredFulfillmentMediastring

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 Listed values here are examples.

requestedFulfillmentTypestring

Values from the Fulfillment Type Code List Listed values here are examples.

Response

Fulfillment successfully completed

Changes