Returns the fulfillment, aka. ticket for the provided id.
Changed onRequest
- Base URLhttps://s3p-osdm.cloud.sqills.com
- AuthOAuth 2Client credentialsToken URLhttps://login.microsoftonline.com/tbd
Path parameters
id of the fulfillment to get.
Query parameters
The desired issuing language (ISO-639-1 language code) for the document(s) produced by this call. Relevant for providers that generate the fulfillment lazily when this endpoint is called.
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.
Preferred media type for the document(s) produced by this call. Relevant for providers that generate the fulfillment lazily when this endpoint is called. Applies to this call only and does not persist any booking state.
Values from the Fulfillment Type Code List Listed values here are examples.
The requested fulfillment type (e.g. paper or e-ticket) for the document(s) produced by this call. Relevant for providers that generate the fulfillment lazily when this endpoint is called. Applies to this call only and does not persist any booking state.
Headers
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.
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.
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).
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).
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.
Response
fulfillment found
Example response
{
"warnings": {
"warnings": [
{
"type": "https://example.com/warns/price-updated",
"detail": "The price of the given offer part has been updated during the booking operation",
"instance": "offers/offer1234"
}
]
},
"problems": [
{
"type": "https://example.com/probs/passenger-too-young",
"title": "Service Unavailable",
"status": 503,
"detail": "Connection to database timed out",
"pointers": [
{
"type": "https://example.com/probs/passenger-too-young",
"title": "Service Unavailable",
"status": 503,
"detail": "Connection to database timed out",
"requestPointer": "#/offers[1]/placeSelections[1]/reservationId",
"responsePointer": "#/booking/bookedOffers[4]/reservations[1]/id",
"originator": "IMS1"
}
],
"alternativeSystemProposals": [
{
"reservationSystemId": 80,
"scope": [
{
"vehicleNumber": "462"
}
],
"priority": 1
}
]
}
],
"fulfillment": {
"bookingParts": [
{
"_links": [
{
"rel": "self",
"type": "application/json"
}
]
}
],
"availableUsage": {
"availableZones": [
{
"polygon": {
"edges": [
{
"longitude": 8.54021,
"latitude": 47.37818
}
]
}
}
]
},
"continuousServiceUsage": {
"geoPosition": {
"longitude": 8.54021,
"latitude": 47.37818
}
},
"billingReferences": [
{
"price": {
"currency": "CHF",
"vats": [
{
"countryCode": "DE",
"amount": 5,
"netAmount": 5,
"grossAmount": 5
}
],
"appliedCurrencyConversion": {
"originalCurrency": "CHF",
"originalVats": [
{
"countryCode": "DE",
"amount": 5,
"netAmount": 5,
"grossAmount": 5
}
]
}
}
}
],
"_links": [
{
"rel": "self",
"type": "application/json"
}
]
}
}Changes
- info
endpoint added
- info