1. V2.0
HLS Open API
  • V2.0
    • Query Booking Data
      GET
    • Query Pre-Alert Documents
      GET
    • Push Pre-Alert Documents
      POST
    • Push Booking Data (Including CPA)
      POST
    • Receive Customer's Booking Confirmation (CBC)
      POST
    • Push ISF Data
      POST
  1. V2.0

Receive Customer's Booking Confirmation (CBC)

Developing
UAT
https://uateds.hlsholding.com/dts
UAT
https://uateds.hlsholding.com/dts
POST
https://uateds.hlsholding.com/dts
/V2/CBC
Developed by HLSInitiated by customerData from customer
Used for customers to return the selected carrier information and booking approval to HLS to proceed with the booking operation.

Request

Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
Body Params application/jsonRequired

Example
{
    "ref_number": "XXX213145",
    "cpa_id": "7505622762977808386",
    "selling_rate": 2000,
    "selling_rate_type": "FIX",
    "notes": "XXXXXXXXXXXXXXXX"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://uateds.hlsholding.com/dts/V2/CBC' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
    "ref_number": "XXX213145",
    "cpa_id": "7505622762977808386",
    "selling_rate": 2000,
    "selling_rate_type": "FIX",
    "notes": "XXXXXXXXXXXXXXXX"
}'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
    "is_success": true,
    "message": "CBC Success"
}
Previous
Push Booking Data (Including CPA)
Next
Push ISF Data
Built with