3.0OAS 3.0

Giữ chỗ, nhập thông tin hành khách và tạo mã đặt chỗ (PNR) cho đại lý trực tuyến.

API mẫu của cổng thử nghiệm, dữ liệu 100% giả lập. Đơn vị: Vietjet (Vietjet · Đặt chỗ). Nhóm: Đặt chỗ & xuất vé. Trạng thái: GA. Xác thực dự kiến: OAuth 2.0 · mTLS; trên sandbox dùng khóa API.

API Base URL
  • Server 1:https://apis-dev.hdbank.work

    Sandbox (dữ liệu giả lập)

Security
apiKey (apiKey)

Khóa API sandbox cấp khi tạo ứng dụng trên cổng

Danh sách bản ghi mẫu

get
https://apis-dev.hdbank.work/booking/v3/records

Headers

X-Correlation-IDstring(uuid)

Tự sinh nếu thiếu

X-Mock-Scenariostring

Chỉ sandbox: ép mã lỗi để thử

Allowed values:400403409429503

Response

application/json

OK

get/booking/v3/records
 
application/json

Chi tiết một bản ghi mẫu

get
https://apis-dev.hdbank.work/booking/v3/records/{id}

Path Parameters

idstringrequired

Example:sample-001

Headers

X-Correlation-IDstring(uuid)

Tự sinh nếu thiếu

X-Mock-Scenariostring

Chỉ sandbox: ép mã lỗi để thử

Allowed values:400403409429503

Response

application/json

OK

Record

idstring
apistring
versionstring
statusstring
notestring
get/booking/v3/records/{id}
 
application/json

Problem

object
typestring
titlestring
statusinteger
detailstring
Example

Record

object
idstring
apistring
versionstring
statusstring
notestring
Example