Performs a complete cleanup of a booking in a single step
Changed onThe booking is cleaned up completely: confirmed items are refunded, and unconfirmed items are deleted. -- Attention point: refundDate and overruleCode are deprecated request attributes and will be ignored
Request
- Base URLhttps://s3p-osdm.cloud.sqills.com
- AuthOAuth 2Client credentialsToken URLhttps://login.microsoftonline.com/tbd
Path parameters
id of the booking.
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.
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 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.
Request body
Response
Cleanup successfully initiated
Example response
{
"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"
}
]
}Changes
- info
endpoint added
- info