Get Booking Detail API

Description: Get booking detail

Path: /api/v2/reservation/getBookingDetail

Method: POST

Content Type/Accept Type: application/json

Request

Attributes

* = required

clientId*

string

Identity of client

timestamp*

timestamp

Current timestamp

transactionId*

string

A unique identifier for each booking, provided as a unique key by partner

Example

Response

Attributes

bookingNo

integer

Go2Joy’s Identity of booking

transactionId

string

A unique identifier for each booking, provided as a unique key by partner

checkIn

string

Check-in time

Format: YYYY-mm-dd HH:mm:ss

checkOut

string

Check-out time

Format: YYYY-mm-dd HH:mm:ss

bookingStatus

integer

Status of booking

Possible enum values: 0 = Pending 1 = Confirmed 3 = Canceled

bookingType

integer

Type of booking

Possible enum values: 1 = Hourly Booking 2 = Overnight Booking 3 = Daily Booking

hotelName

string

Name of hotel

roomTypeName

string

Name of room

countryCode

string

Country code

mobile

string

Phone number of user

flashSale

boolean

Applied/Not applied flash sale

directDiscount

boolean

Applied/Not applied direct discount

highDemand

boolean

Applied/Not applied high demand

totalAmount

integer

The total booking amount needs to be paid at once for this booking, including extra fee if you’re booking at high demand time. This does not include promotion such as flash sale, direct discount

amountFromUser

integer

The total booking amount needs to be paid from user

Example