Skip to content

Show Booking

GET
/api/managing-entity/{managingEntityIdentifier}/channel-manager/booking/{bookingIdentifier}
curl --request GET \
--url https://integrations.wink.travel/api/managing-entity/property-1/channel-manager/booking/booking-1 \
--header 'Wink-Version: 2.0'

Retrieves a specific booking by property / booking combo.

managingEntityIdentifier
required
string
""

Retrieve record owned by managingEntityIdentifier

Example
property-1
bookingIdentifier
required
string
""

Retrieve record for this bookingIdentifier

Example
booking-1
Wink-Version
string
default: 2.0.0
Allowed values: 2.0

OK

Media type application/json
object
bookingIdentifier
required

Booking ID

string format: uuid
"" >= 1 characters
propertyIdentifier
required

Property ID

string format: uuid
"" >= 1 characters
roomRateIdentifier
required

Master Rate ID

string format: uuid
"" >= 1 characters
name
required

Master Rate name

string
"" >= 1 characters
guestRoomName
required

Guest room name

string
"" >= 1 characters
ratePlanName
required

Rate plan name

string
"" >= 1 characters
rooms
required

Number of rooms

integer format: int32
""
guests
required

Number of guests

integer format: int32
""
adults
required

Number of adults

integer format: int32
""
children
required

Number of children

integer format: int32
""
firstName
required

First name of traveler

string
"" >= 1 characters
lastName
required

Last name of traveler

string
"" >= 1 characters
email
required

E-mail of traveler

string
"" >= 1 characters
amount
required

Total booking amount

number
""
currencyCode
required

Supplier currency

string
"" >= 1 characters
bookingCode
required

Ref. code for traveler

string
"" >= 1 characters
startDate
required

Arrival date

string format: date
""
endDate
required

Departure date

string format: date
""
createdDate
required

Created date

string format: date-time
""
cancelled
required

Whether booking is cancelled or not

boolean
cancelDate

Cancellation date if booking was cancelled

string format: date-time
""
paymentMethodType
required

Payment method

string
"" >= 1 characters
paymentWalletType

Optional payment wallet type

string
""
paymentMethodStatus
required

Status of payment

string
""
Allowed values: INITIALIZED TEST_PAYMENT_SUCCEEDED PAYMENT_SUCCEEDED PAYMENT_FAILED FAILED CANCELLED PARTIALLY_REFUNDED FULLY_REFUNDED
salesChannelName
required

Sales channel name

string
"" >= 1 characters
salesChannelIdentifier
required

Sales channel ID

string format: uuid
"" >= 1 characters
Example
{
"bookingIdentifier": "",
"propertyIdentifier": "",
"roomRateIdentifier": "",
"name": "",
"guestRoomName": "",
"ratePlanName": "",
"rooms": "",
"guests": "",
"adults": "",
"children": "",
"firstName": "",
"lastName": "",
"email": "",
"amount": "",
"currencyCode": "",
"bookingCode": "",
"startDate": "",
"endDate": "",
"createdDate": "",
"cancelled": false,
"cancelDate": "",
"paymentMethodType": "",
"paymentWalletType": "",
"paymentMethodStatus": "INITIALIZED",
"salesChannelName": "",
"salesChannelIdentifier": ""
}

Bad Request

object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "https://example.com",
"properties": {
"additionalProperty": "example"
}
}

Unauthorized

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Forbidden

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Internal Server Error

object
Example generated
{}