showPropertyBookingSecured
Deprecated
GET
/api/services/channelmanager/secured/property/{propertyIdentifier}/booking/{bookingIdentifier}
const url = 'https://integrations.wink.travel/api/services/channelmanager/secured/property/example/booking/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://integrations.wink.travel/api/services/channelmanager/secured/property/example/booking/exampleParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” propertyIdentifier
required
string
bookingIdentifier
required
string
Responses
Section titled “ Responses ”OK
Media type application/hal+json
object
bookingIdentifier
required
Booking ID
string format: uuid
propertyIdentifier
required
Property ID
string format: uuid
roomRateIdentifier
required
Master Rate ID
string format: uuid
name
required
Master Rate name
string
guestRoomName
required
Guest room name
string
ratePlanName
required
Rate plan name
string
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
lastName
required
Last name of traveler
string
email
required
E-mail of traveler
string
amount
required
Total booking amount
number
currencyCode
required
Supplier currency
string
bookingCode
required
Ref. code for traveler
string
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
paymentWalletType
Optional payment wallet type
string
paymentMethodStatus
required
Status of payment
string
salesChannelName
required
Sales channel name
string
salesChannelIdentifier
required
Sales channel ID
string format: uuid
_links
object
key
additional properties
object
href
string
hreflang
string
title
string
type
string
deprecation
string
profile
string
name
string
templated
boolean
Example
{ "bookingIdentifier": "##default", "propertyIdentifier": "##default", "roomRateIdentifier": "##default", "name": "##default", "guestRoomName": "##default", "ratePlanName": "##default", "rooms": "##default", "guests": "##default", "adults": "##default", "children": "##default", "firstName": "##default", "lastName": "##default", "email": "##default", "amount": "##default", "currencyCode": "##default", "bookingCode": "##default", "startDate": "##default", "endDate": "##default", "createdDate": "##default", "cancelled": false, "cancelDate": "##default", "paymentMethodType": "##default", "paymentWalletType": "##default", "paymentMethodStatus": "INITIALIZED", "salesChannelName": "##default", "salesChannelIdentifier": "##default"}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" }}object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
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
{}