The purpose is to read the existing booking in the airline system to display the booking information. This allows you to retrieve complete booking details including passenger information, flight segments, pricing, and booking status.
| Environment | URL |
|---|---|
| Production | https://api.worldticket.net |
| Test | https://test-api.worldticket.net |
POST/ota/v2015b/OTA_ReadRQ{base_url}/ota/v2015b/OTA_ReadRQ (choose base URL per environment above)curl -X POST \
https://test-api.worldticket.net/ota/v2015b/OTA_ReadRQ \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
-d @ReadRQ.json
curl -X POST \
https://test-api.worldticket.net/ota/v2015b/OTA_ReadRQ \
-H 'X-API-Key: {api_key}' \
-H 'Content-Type: application/json' \
-d @ReadRQ.json
Attach the following headers to OTA requests.
| Header | Description | Example |
|---|---|---|
| Authorization | Bearer token for JWT authentication | Bearer {access_token} |
| X-API-Key | API key for key-based authentication | {api_key} |
| X-Realm | Airline realm identifier | {tenant-name} |
Note: Use either Authorization (for JWT) OR X-API-Key (for API key authentication), not both.
{
"version": "2.001",
"pos": {
"source": [
{
"bookingChannel": {
"type": "OTA"
},
"isoCurrency": "{currency_code}"
}
]
},
"readRequests": {
"readRequest": [
{
"uniqueID": {
"id": "{record_locator}",
"type": "14"
}
}
]
}
}
{
"version": "2.001",
"pos": {
"source": [
{
"bookingChannel": {
"type": "OTA"
},
"isoCurrency": "USD"
}
]
},
"readRequests": {
"readRequest": [
{
"uniqueID": {
"id": "KEVHTZ",
"type": "14"
}
}
]
}
}
{
"airReservation": {
"airItinerary": {
"originDestinationOptions": {
"originDestinationOption": [
{
"flightSegment": [
{
"departureAirport": {
"locationCode": "AAC",
"terminal": "1A"
},
"arrivalAirport": {
"locationCode": "AAL",
"terminal": "2B"
},
"operatingAirline": {
"value": "",
"code": "DX",
"flightNumber": "7878"
},
"equipment": [],
"departureDateTime": "2025-12-29T10:00:00.000+02:00",
"arrivalDateTime": "2025-12-29T12:00:00.000+01:00",
"stopQuantity": 0,
"rph": "1",
"marketingAirline": {
"value": "",
"code": "DX"
},
"flightNumber": "7878",
"resBookDesigCode": "Y",
"bookingClassAvails": [],
"comment": [],
"stopLocation": [],
"status": "30",
"tpaextensions": {
"fareBasis": "YID",
"fareRule": {
"code": "ID",
"name": "${[en]:pricing.farerules.general.name.ID}",
"value": "Test ID fare"
},
"operations": [
{
"modificationType": "10",
"name": "CANCEL"
},
{
"modificationType": "30",
"name": "REBOOK"
},
{
"modificationType": "3",
"name": "CHANGE_NAME"
}
]
}
}
]
}
]
}
},
"priceInfo": {
"itinTotalFare": [
{
"baseFare": {
"currencyCode": "USD",
"amount": 0.00
},
"equivFare": [],
"taxes": {
"tax": [
{
"value": "",
"taxCode": "MI",
"currencyCode": "USD",
"decimalPlaces": 2,
"amount": 0.76
}
]
},
"fees": {
"fee": [
{
"value": "",
"feeCode": "VAT_MI",
"currencyCode": "USD",
"decimalPlaces": 2,
"amount": 0.00
},
{
"value": "",
"feeCode": "VAT_reservation",
"currencyCode": "USD",
"decimalPlaces": 2,
"amount": 0.00
},
{
"value": "",
"feeCode": "reservation",
"currencyCode": "USD",
"decimalPlaces": 2,
"amount": 4.48
}
]
},
"totalFare": {
"currencyCode": "USD",
"amount": 5.24
},
"fareBaggageAllowance": [],
"remark": []
}
],
"ptcfareBreakdowns": {
"ptcfareBreakdown": [
{
"passengerTypeQuantity": {
"code": "ADT",
"quantity": 1
},
"fareBasisCodes": {
"fareBasisCode": [
{
"value": "YID"
}
]
},
"passengerFare": [
{
"baseFare": {
"currencyCode": "USD",
"decimalPlaces": 2,
"amount": 0.00
},
"equivFare": [],
"taxes": {
"tax": [
{
"value": "",
"taxCode": "MI",
"currencyCode": "USD",
"decimalPlaces": 2,
"amount": 0.76
}
]
},
"fees": {
"fee": [
{
"value": "",
"feeCode": "VAT_MI",
"currencyCode": "USD",
"decimalPlaces": 2,
"amount": 0.00
},
{
"value": "",
"feeCode": "VAT_reservation",
"currencyCode": "USD",
"decimalPlaces": 2,
"amount": 0.00
},
{
"value": "",
"feeCode": "reservation",
"currencyCode": "USD",
"decimalPlaces": 2,
"amount": 4.48
}
]
},
"totalFare": {
"currencyCode": "USD",
"decimalPlaces": 2,
"amount": 5.24
},
"fareBaggageAllowance": [],
"remark": []
}
],
"travelerRefNumber": [
{
"rph": "1"
}
],
"ticketDesignators": {
"ticketDesignator": [
{
"flightRefRPH": "1"
}
]
},
"fareInfo": [],
"pricingUnit": [],
"flightRefNumberRPHList": [
"1"
]
}
]
}
},
"travelerInfo": {
"airTraveler": [
{
"personName": {
"namePrefix": [
"MR"
],
"givenName": [
"QA"
],
"middleName": [],
"surname": "TESTER",
"nameSuffix": [],
"nameTitle": []
},
"telephone": [
{
"countryAccessCode": "66",
"phoneNumber": "78945612"
}
],
"email": [
{
"value": "qa@example.com"
}
],
"address": [],
"custLoyalty": [],
"document": [
{
"docLimitations": [],
"docID": "741852369",
"docType": "2",
"docHolderNationality": "TH",
"expireDate": "2025-12-31"
}
],
"travelerRefNumber": {
"rph": "1"
},
"flightSegmentRPHs": {
"flightSegmentRPH": [
"1"
]
},
"socialMediaInfo": [],
"passengerTypeCode": "ADT",
"gender": "Male",
"comment": []
}
],
"specialReqDetails": [
{
"specialServiceRequests": {
"specialServiceRequest": [
{
"text": "PP 741852369",
"serviceQuantity": 1,
"status": "30",
"number": 1,
"travelerRefNumberRPHList": [
"1"
],
"flightRefNumberRPHList": [
"1"
],
"ssrcode": "FOID"
}
]
}
}
]
},
"ticketing": [
{
"ticketAdvisory": [],
"ticketTimeLimit": "2025-11-27T07:34:29.000Z",
"ticketType": "E_TICKET",
"flightSegmentRefNumber": [],
"travelerRefNumber": [],
"miscTicketingCode": []
}
],
"bookingReferenceID": [
{
"companyName": {
"value": "",
"code": "DX"
},
"type": "14",
"id": "KEVHTZ",
"flightRefNumberRPHList": []
}
],
"offer": {
"summary": [],
"priced": [
{
"shortDescription": [],
"longDescription": [],
"originDestination": [],
"otherServices": [],
"restriction": [],
"termsAndConditions": [],
"commission": [],
"multimedia": [],
"bookingReferenceID": [],
"id": "2169489",
"tpaextensions": {
"orderInfo": {
"action": "CREATE_BOOKING",
"currencyCode": "USD",
"direction": "PAYMENT",
"orderType": "BOOKING",
"status": "PENDING",
"totalAmount": "5.24"
}
}
}
],
"purchased": []
},
"createDateTime": "2025-11-27T07:04:29.000Z",
"emdinfo": []
},
"success": {},
"timeStamp": "2025-11-27T07:16:41.588Z",
"version": 2.001,
"retransmissionIndicator": false
}
Common booking status codes returned in the response:
| Status Code | Description |
|---|---|
| HK | Holding Confirmed |
| UC | Unable to Confirm |
| UN | Unable, Need More Time |
| HX | Holding Cancelled |
| XX | Cancelled |
| NO | No Action Taken |