This method is used for searching flight.
| Field Name | Data Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Username | string | -- | ||||||||||||||||||
| Password | string | -- | ||||||||||||||||||
| OriginDestinations | list | List of origin(s) and destination(s) | ||||||||||||||||||
| Adult | integer | Number of adults (Over 12 years old) | ||||||||||||||||||
| Child | integer | Number of children (2 to 12 years old) | ||||||||||||||||||
| Infant | integer | Number of infants (Under 2 years old) | ||||||||||||||||||
| OriginDestinations | list | list of origin(s) and destination(s) | ||||||||||||||||||
|
||||||||||||||||||||
| Field Name | Data Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Successful | boolean | true: Successful false: Failed |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Status | string | "Successful" or "Failed" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ErrorCode | string | Error code (null: No error) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ErrorMessage | string | Error message (null: No error) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FlightProposals | list | list of flight proposal(s) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Note: All the flight dates and times (departure and arrival) from the web service responses returned are according to the departure and arrival locations time zone.
This method is used for booking a flight before payment.
| Field Name | Data Type | Description | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Username | string | -- | |||||||||||||||||||||||||||||||||
| Password | string | -- | |||||||||||||||||||||||||||||||||
| FlightProposalID | string | FlightProposal ID (returned in the “FlightSearch” method) | |||||||||||||||||||||||||||||||||
| Passengers | list | list of passenger(s) information | |||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||
| Mobile | string | -- | |||||||||||||||||||||||||||||||||
| Phone | string | -- | |||||||||||||||||||||||||||||||||
| string | -- | ||||||||||||||||||||||||||||||||||
| Field Name | Data Type | Description | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Successful | boolean | true: Successful false: Failed |
||||||||||||||||||||||||||||||
| Status | string | “Successful” or “Failed” | ||||||||||||||||||||||||||||||
| RequestType | integer | -- | ||||||||||||||||||||||||||||||
| RequestID | string | -- | ||||||||||||||||||||||||||||||
| ReservationID | string | Reservation ID (Required for issuing) | ||||||||||||||||||||||||||||||
| Reference | string | Reference / PNR | ||||||||||||||||||||||||||||||
| ErrorCode | string | Error code (null: No error) | ||||||||||||||||||||||||||||||
| ErrorMessage | string | Error message (null: No error) | ||||||||||||||||||||||||||||||
| EndUserMessageCode | string | End-User message code (null: No error) | ||||||||||||||||||||||||||||||
| EndUserMessage | string | End-User message (null: No error) | ||||||||||||||||||||||||||||||
| RequestDateTime | datetime | Request date and time | ||||||||||||||||||||||||||||||
| TimeLimit | datetime | Time limit for issuance | ||||||||||||||||||||||||||||||
| IsDeferredIssuance | boolean | -- | ||||||||||||||||||||||||||||||
| DeferredIssuanceTimeLimit | int | -- | ||||||||||||||||||||||||||||||
| TotalPrice | decimal | Total price | ||||||||||||||||||||||||||||||
| Currency | string | |||||||||||||||||||||||||||||||
| PriceChanged | boolean | Price changed or not | ||||||||||||||||||||||||||||||
| NewPrice | list | New price information | ||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||
This method is used for issuing tickets after payment.
| Field Name | Data Type | Description |
|---|---|---|
| Username | string | -- |
| Password | string | -- |
| FlightProposalID | string | FlightProposal ID (returned in the "FlightSearch" method) |
| ReservationID | string | Reservation ID (returned in the "FlightBook" method) |
| Field Name | Data Type | Description |
|---|---|---|
| Successful | boolean | true: Successful false: Failed |
| Status | string | "Successful" or "Failed" |
| RequestType | integer | -- |
| ReservationID | string | Reservation ID (Required for retrieving) |
| Reference | string | Reference / PNR |
| ErrorCode | string | Error code (null: No error) |
| ErrorMessage | string | Error message (null: No error) |
| EndUserMessageCode | string | End-User message code (null: No error) |
| EndUserMessage | string | End-User message (null: No error) |
| RequestDateTime | datetime | Request date and time |
| IsDeferredIssuance | boolean | -- |
| IssuanceDeadline | datetime | -- |
| TotalPrice | decimal | Total price |
| Currency | string | -- |
| PriceChanged | boolean | -- |
This method retrieves the request that is already created. This method is used to get the ticket(s) after issuance. Please note that the “IssueTicket” method does not return the issued ticket(s) information. You can call the “RetrieveRequest” method after at least 10 seconds after successful ticket(s) issuance for retrieving the information of the issued ticket(s).
| Field Name | Data Type | Description |
|---|---|---|
| Username | string | -- |
| Password | string | -- |
| FlightProposalID | string | FlightProposal ID (returned in the "FlightSearch" method) |
| ReservationID | string | Reservation ID (returned in the "IssueTicket" method) |
| Field Name | Data Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Successful | boolean | true: Successful false: Failed |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Status | string | "Successful" or "Failed" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RequestType | integer | 0: Reserve, 1: Issue | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ReservationID | string | Reservation ID | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Reference | string | Reference / PNR | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ErrorCode | string | Error code (null: No error) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ErrorMessage | string | Error message (null: No error) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| EndUserMessageCode | string | End-User message code (null: No error) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| EndUserMessage | string | End-User message (null: No error) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RequestDateTime | string (datetime) | Request date and time | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TimeLimit | string (datetime) | If request is Reserve, time limit for issuance | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| IsDeferredIssuance | boolean | true: Deferred issuance, false: Immediate issuance | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DeferredIssuanceTimeLimit | int? | Deferred issuance time limit in minutes (nullable) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TotalPrice | decimal? | Total price (nullable) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Currency | string | Currency code (e.g., USD, EUR, IRR) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ItineraryInfo | list | Itinerary information | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Tickets | list | ticket(s) details | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||