POST Airline/BookingDetail
Request Information
URI Parameters
None.
Body Parameters
AirlineBookingDetailRequestName | Description | Type | Additional information |
---|---|---|---|
bookingCode | string |
None. |
|
bookingDate | date |
None. |
|
referenceNo | string |
None. |
|
userID |
user API |
string |
None. |
accessToken |
access code getting from login |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "bookingCode": "sample string 1", "bookingDate": "2025-01-22T23:54:29.9216724+07:00", "referenceNo": "sample string 3", "userID": "sample string 4", "accessToken": "sample string 5" }
application/xml, text/xml
Sample:
<AirlineBookingDetailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cebes.DI.H2H.Api.Models"> <accessToken>sample string 5</accessToken> <userID>sample string 4</userID> <bookingCode>sample string 1</bookingCode> <bookingDate>2025-01-22T23:54:29.9216724+07:00</bookingDate> <referenceNo>sample string 3</referenceNo> </AirlineBookingDetailRequest>
Response Information
Resource Description
AirlineBookingDetailResponseName | Description | Type | Additional information |
---|---|---|---|
airline | string |
None. |
|
airlineID | string |
None. |
|
flightClass | string |
None. |
|
bookingCode | string |
None. |
|
bookingDate | date |
None. |
|
timeLimit | date |
None. |
|
origin | string |
None. |
|
destination | string |
None. |
|
tripType | string |
None. |
|
departDate | date |
None. |
|
returnDate | date |
None. |
|
ticketStatus | string |
None. |
|
ticketDetail | string |
None. |
|
passengers | Collection of AirlinePassengerModel |
None. |
|
currency | string |
None. |
|
adminFee | AirlineFeeModel |
None. |
|
issuedDate | date |
None. |
|
isBlocked | boolean |
None. |
|
bookingCodeAirline | string |
None. |
|
airlineRemark | string |
None. |
|
referenceNo | string |
None. |
|
respTime |
describe time in sending response |
date |
None. |
userID |
user ID to access API |
string |
None. |
accessToken |
access token that needed to access API |
string |
None. |
status |
SUCCESS or FAILED |
string |
None. |
respMessage |
detail message of response status |
string |
None. |
flightDeparts | Collection of FligthDetailModel |
None. |
|
flightReturns | Collection of FligthDetailModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "flightDeparts": [ { "flightNumber": "sample string 1", "fdDepartTime": "2025-01-22T23:54:29.9216724+07:00", "fdArrivalTime": "2025-01-22T23:54:29.9216724+07:00", "fdOrigin": "sample string 4", "fdDestination": "sample string 5", "fdFlightClass": "sample string 6" }, { "flightNumber": "sample string 1", "fdDepartTime": "2025-01-22T23:54:29.9216724+07:00", "fdArrivalTime": "2025-01-22T23:54:29.9216724+07:00", "fdOrigin": "sample string 4", "fdDestination": "sample string 5", "fdFlightClass": "sample string 6" } ], "flightReturns": [ { "flightNumber": "sample string 1", "fdDepartTime": "2025-01-22T23:54:29.9216724+07:00", "fdArrivalTime": "2025-01-22T23:54:29.9216724+07:00", "fdOrigin": "sample string 4", "fdDestination": "sample string 5", "fdFlightClass": "sample string 6" }, { "flightNumber": "sample string 1", "fdDepartTime": "2025-01-22T23:54:29.9216724+07:00", "fdArrivalTime": "2025-01-22T23:54:29.9216724+07:00", "fdOrigin": "sample string 4", "fdDestination": "sample string 5", "fdFlightClass": "sample string 6" } ], "airline": "sample string 1", "airlineID": "sample string 2", "flightClass": "sample string 3", "bookingCode": "sample string 4", "bookingDate": "2025-01-22T23:54:29.9216724+07:00", "timeLimit": "2025-01-22T23:54:29.9216724+07:00", "origin": "sample string 6", "destination": "sample string 7", "tripType": "sample string 8", "departDate": "2025-01-22T23:54:29.9216724+07:00", "returnDate": "2025-01-22T23:54:29.9216724+07:00", "ticketStatus": "sample string 11", "ticketDetail": "sample string 12", "passengers": [ { "title": "sample string 1", "firstName": "sample string 2", "lastName": "sample string 3", "phone": "sample string 4", "type": "sample string 5", "ticketNumber": "sample string 6" }, { "title": "sample string 1", "firstName": "sample string 2", "lastName": "sample string 3", "phone": "sample string 4", "type": "sample string 5", "ticketNumber": "sample string 6" } ], "currency": "sample string 13", "adminFee": { "ticketPrice": 1.0, "ticketPriceIDR": 2.0, "airlineMarkup": 3.0, "memberMarkup": 4.0, "memberDiscount": 5.0, "salesPrice": 6.0 }, "issuedDate": "2025-01-22T23:54:29.9216724+07:00", "isBlocked": true, "bookingCodeAirline": "sample string 15", "airlineRemark": "sample string 16", "referenceNo": "sample string 17", "respTime": "2025-01-22T23:54:29.9216724+07:00", "userID": "sample string 19", "accessToken": "sample string 20", "status": "sample string 21", "respMessage": "sample string 22" }
application/xml, text/xml
Sample:
<AirlineBookingDetailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cebes.DI.H2H.Api.Models"> <accessToken>sample string 20</accessToken> <respMessage>sample string 22</respMessage> <respTime>2025-01-22T23:54:29.9216724+07:00</respTime> <status>sample string 21</status> <userID>sample string 19</userID> <adminFee> <airlineMarkup>3</airlineMarkup> <memberDiscount>5</memberDiscount> <memberMarkup>4</memberMarkup> <salesPrice>6</salesPrice> <ticketPrice>1</ticketPrice> <ticketPriceIDR>2</ticketPriceIDR> </adminFee> <airline>sample string 1</airline> <airlineID>sample string 2</airlineID> <airlineRemark>sample string 16</airlineRemark> <bookingCode>sample string 4</bookingCode> <bookingCodeAirline>sample string 15</bookingCodeAirline> <bookingDate>2025-01-22T23:54:29.9216724+07:00</bookingDate> <currency>sample string 13</currency> <departDate>2025-01-22T23:54:29.9216724+07:00</departDate> <destination>sample string 7</destination> <flightClass>sample string 3</flightClass> <flightDeparts> <FligthDetailModel> <fdArrivalTime>2025-01-22T23:54:29.9216724+07:00</fdArrivalTime> <fdDepartTime>2025-01-22T23:54:29.9216724+07:00</fdDepartTime> <fdDestination>sample string 5</fdDestination> <fdFlightClass>sample string 6</fdFlightClass> <fdOrigin>sample string 4</fdOrigin> <flightNumber>sample string 1</flightNumber> </FligthDetailModel> <FligthDetailModel> <fdArrivalTime>2025-01-22T23:54:29.9216724+07:00</fdArrivalTime> <fdDepartTime>2025-01-22T23:54:29.9216724+07:00</fdDepartTime> <fdDestination>sample string 5</fdDestination> <fdFlightClass>sample string 6</fdFlightClass> <fdOrigin>sample string 4</fdOrigin> <flightNumber>sample string 1</flightNumber> </FligthDetailModel> </flightDeparts> <flightReturns> <FligthDetailModel> <fdArrivalTime>2025-01-22T23:54:29.9216724+07:00</fdArrivalTime> <fdDepartTime>2025-01-22T23:54:29.9216724+07:00</fdDepartTime> <fdDestination>sample string 5</fdDestination> <fdFlightClass>sample string 6</fdFlightClass> <fdOrigin>sample string 4</fdOrigin> <flightNumber>sample string 1</flightNumber> </FligthDetailModel> <FligthDetailModel> <fdArrivalTime>2025-01-22T23:54:29.9216724+07:00</fdArrivalTime> <fdDepartTime>2025-01-22T23:54:29.9216724+07:00</fdDepartTime> <fdDestination>sample string 5</fdDestination> <fdFlightClass>sample string 6</fdFlightClass> <fdOrigin>sample string 4</fdOrigin> <flightNumber>sample string 1</flightNumber> </FligthDetailModel> </flightReturns> <isBlocked>true</isBlocked> <issuedDate>2025-01-22T23:54:29.9216724+07:00</issuedDate> <origin>sample string 6</origin> <passengers> <AirlinePassengerModel> <firstName>sample string 2</firstName> <lastName>sample string 3</lastName> <phone>sample string 4</phone> <ticketNumber>sample string 6</ticketNumber> <title>sample string 1</title> <type>sample string 5</type> </AirlinePassengerModel> <AirlinePassengerModel> <firstName>sample string 2</firstName> <lastName>sample string 3</lastName> <phone>sample string 4</phone> <ticketNumber>sample string 6</ticketNumber> <title>sample string 1</title> <type>sample string 5</type> </AirlinePassengerModel> </passengers> <referenceNo>sample string 17</referenceNo> <returnDate>2025-01-22T23:54:29.9216724+07:00</returnDate> <ticketDetail>sample string 12</ticketDetail> <ticketStatus>sample string 11</ticketStatus> <timeLimit>2025-01-22T23:54:29.9216724+07:00</timeLimit> <tripType>sample string 8</tripType> </AirlineBookingDetailResponse>