Get Booking Detail API

Description: Get booking detail

Path: /api/v2/reservation/getBookingDetail

Method: POST

Content Type/Accept Type: application/json

Request

Attributes

* = required

chevron-rightclientId*hashtag

string

Identity of client

chevron-righttimestamp*hashtag

timestamp

Current timestamp

chevron-righttransactionId*hashtag

string

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

Example

Response

Attributes

chevron-rightbookingNohashtag

integer

Go2Joy’s Identity of booking

chevron-righttransactionIdhashtag

string

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

chevron-rightcheckInhashtag

string

Check-in time

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

chevron-rightcheckOuthashtag

string

Check-out time

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

chevron-rightbookingStatushashtag

integer

Status of booking

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

chevron-rightbookingTypehashtag

integer

Type of booking

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

chevron-righthotelNamehashtag

string

Name of hotel

chevron-rightroomTypeNamehashtag

string

Name of room

chevron-rightcountryCodehashtag

string

Country code

chevron-rightmobilehashtag

string

Phone number of user

chevron-rightflashSalehashtag

boolean

Applied/Not applied flash sale

chevron-rightdirectDiscounthashtag

boolean

Applied/Not applied direct discount

chevron-righthighDemandhashtag

boolean

Applied/Not applied high demand

chevron-righttotalAmounthashtag

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

chevron-rightamountFromUserhashtag

integer

The total booking amount needs to be paid from user

Example