# Flight Book

## Flight Book

<mark style="color:green;">`POST`</mark> `https://traveloapi.com/yourapi/flightmain/flight_book`&#x20;

#### Path Parameters

| Name                   | Type   | Description                                                                                                                                                                                                                                       |
| ---------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| gatkey                 | string | gatkey (provided by traveloapi)Pass gatkey with url                                                                                                                                                                                               |
| BookSegment            | string | It contains information about booking Segments                                                                                                                                                                                                    |
| EngineID               | string | This parameter has been defined as Enumeration type which has specified list of constant values. Each int value has been assigned to a different airline Indigo = 0, Spicjet = 1, GoAir = 5, TravelPort = 7, AirAsia=10, AirCosta = 6, Trujet=11. |
| EngineIDList           | string | It contains list of all airlines                                                                                                                                                                                                                  |
| IsAndroidBooking       | string | It contains boolean value(True/False)                                                                                                                                                                                                             |
| IsDomestic             | string | This element represents whether flight is for domestic or international places and has bool type values(True/False)                                                                                                                               |
| PaymentDetails         | string |                                                                                                                                                                                                                                                   |
| BookingAmount          | string | This is required element and represents total amount needed to make flight booking.                                                                                                                                                               |
| BookingCurrencyCode    | string | Represents currency code for a speific country (like INR for Indian Rupee and AUD for Australia Dollar).                                                                                                                                          |
| SearchDetail           | string | This parameter gets and sets the entire flight search – specified properties entered by user.These search parameters should be submiited as query string with URL                                                                                 |
| Origin                 | string | This value represents source city name. Three alphabetic IATA code should be entered by user to get valid source city. This field should not contain More than and less than 3 characters.                                                        |
| Destination            | string | It represents destination city/airport name .It cannot be same as source value. Three alphabetic IATA code should be entered by user to get valid destination city. This field should not contain More than and less than 3 characters.           |
| BeginDate              | string | It represents journey date. This value should be entered as string not less than and More than 10 characters in date format ‘dd/mm/yyyy’.(Date and time are taken in miliseconds)                                                                 |
| EndDate                | string | It represents return date and should be entered as string not less than and More than 10 characters in date format ‘dd/mm/yyyy’. It cannot be greater than journey date.(Date and time are taken in miliseconds)                                  |
| Cabin                  | string | This field has enumeration values (Economy =0,Business=2)                                                                                                                                                                                         |
| CurrencyCode           | string | Represents currency code for a speific country (like INR for Indian Rupee and AUD for Australia Dollar).                                                                                                                                          |
| VisaType               | string | Type of the Visa (e.g Employee Visa, Student Visa and Tourist Visa)                                                                                                                                                                               |
| TraceId                | string | Mandatory To Send Flight Recheck and Flight Booking Api, It is a unique id By Us                                                                                                                                                                  |
| TransactionId          | string | It contains value of transaction id which is unique for every booking.                                                                                                                                                                            |
| Travellers             | string | This property has been defined under class Traveller which sets all the properties of TravellerDetail class which in turn sets all properties related to passenger detail mentioned below.                                                        |
| AdultTraveller         | string | Domain for this field contains values from 1-9. At least one adult must be selected.                                                                                                                                                              |
| Address1               | string | It represents address details of the user                                                                                                                                                                                                         |
| Address2               | string | It also use for the address details of the user                                                                                                                                                                                                   |
| City                   | string | This value represents source city name.                                                                                                                                                                                                           |
| CountryCode            | string | Two letter ISO country code.                                                                                                                                                                                                                      |
| CultureCode            | string |                                                                                                                                                                                                                                                   |
| DOB                    | string | It represents the date of birth of the user(Date and time are taken in miliseconds)                                                                                                                                                               |
| EmailAddress           | string | Email id of the user                                                                                                                                                                                                                              |
| FirstName              | string | It represents the first name of the user.                                                                                                                                                                                                         |
| FrequentFlierNumber    | string | Flight frequent flier number                                                                                                                                                                                                                      |
| Gender                 | string | This property has been defined as enumeration type having two constant values as MALE and FEMALE                                                                                                                                                  |
| HomePhone              | string | Land-line number                                                                                                                                                                                                                                  |
| LastName               | string | It represents the last name of the user                                                                                                                                                                                                           |
| Meal                   | string | This property has been defined as enumeration type having three constant values as VGML, NVML, UnMapped                                                                                                                                           |
| MiddleName             | string | It represents the middle name of the user                                                                                                                                                                                                         |
| MobileNumber           | string | It represents the mobile number                                                                                                                                                                                                                   |
| Nationality            | string | It represents natinality of the user like Indian etc etc.                                                                                                                                                                                         |
| PassportExpiryDate     | string | Represents date of passport expiration(Date and time are taken in miliseconds)                                                                                                                                                                    |
| PassportNo             | string | Reprsents passport number of the user.                                                                                                                                                                                                            |
| PaxType                | string | This property has enumeration type and has specified list of constant values as (ADT, CHD and INF)                                                                                                                                                |
| ProvisionState         | string | It represents state.                                                                                                                                                                                                                              |
| ResidentCountry        | string | It represents country where the user resident                                                                                                                                                                                                     |
| Title                  | string | It represents the values like Mr., Mrs.                                                                                                                                                                                                           |
| ChildTraveller         | string | Domain range for this field is 0-9                                                                                                                                                                                                                |
| Address1               | string | It represents address details of the user                                                                                                                                                                                                         |
| Address2               | string | It also use for the address details of the user                                                                                                                                                                                                   |
| City                   | string | This value represents source city name.                                                                                                                                                                                                           |
| CountryCode            | string | Two letter ISO country code.                                                                                                                                                                                                                      |
| CultureCode            | string |                                                                                                                                                                                                                                                   |
| DOB                    | string | It represents the date of birth of the user(Date and time are taken in miliseconds)                                                                                                                                                               |
| EmailAddress           | string | Email id of the user                                                                                                                                                                                                                              |
| FirstName              | string | It represents the first name of the user.                                                                                                                                                                                                         |
| FrequentFlierNumber    | string | Flight frequent flier number                                                                                                                                                                                                                      |
| Gender                 | string | This property has been defined as enumeration type having two constant values as MALE and FEMALE                                                                                                                                                  |
| HomePhone              | string | Land-line number                                                                                                                                                                                                                                  |
| LastName               | string | It represents the last name of the user                                                                                                                                                                                                           |
| Meal                   | string | This property has been defined as enumeration type having three constant values as VGML, NVML, UnMapped                                                                                                                                           |
| MiddleName             | string | It represents the middle name of the user                                                                                                                                                                                                         |
| MobileNumber           | string | It represents the mobile number                                                                                                                                                                                                                   |
| Nationality            | string | It represents natinality of the user like Indian etc etc.                                                                                                                                                                                         |
| PassportExpiryDate     | string | Represents date of passport expiration(Date and time are taken in miliseconds).                                                                                                                                                                   |
| PassportNo             | string | Reprsents passport number of the user.                                                                                                                                                                                                            |
| PaxType                | string | This property has enumeration type and has specified list of constant values as (ADT, CHD and INF)                                                                                                                                                |
| ProvisionState	        | string | It represents state.                                                                                                                                                                                                                              |
| ResidentCountry        | string | It represents country where the user resident                                                                                                                                                                                                     |
| Title                  | string | It represents the values like Mr., Mrs.                                                                                                                                                                                                           |
| InfantTraveller        | string | This field’s domain has values from 0-2. Number of infants cannot be more than number of adults as per single booking                                                                                                                             |
| Address1               | string | It represents address details of the user                                                                                                                                                                                                         |
| Address2               | string | It also use for the address details of the user                                                                                                                                                                                                   |
| City                   | string | This value represents source city name.                                                                                                                                                                                                           |
| CountryCode            | string | Two letter ISO country code.                                                                                                                                                                                                                      |
| CultureCode            | string | Culture Code                                                                                                                                                                                                                                      |
| DOB                    | string | It represents the date of birth of the user(Date and time are taken in miliseconds)                                                                                                                                                               |
| EmailAddress           | string | Email id of the user                                                                                                                                                                                                                              |
| FirstName              | string | It represents the first name of the user.                                                                                                                                                                                                         |
| FrequentFlierNumber    | string | Flight frequent flier number                                                                                                                                                                                                                      |
| Gender                 | string | This property has been defined as enumeration type having two constant values as MALE and FEMALE                                                                                                                                                  |
| HomePhone              | string | Land-line number                                                                                                                                                                                                                                  |
| LastName               | string | It represents the last name of the user                                                                                                                                                                                                           |
| Meal                   | string | This property has been defined as enumeration type having three constant values as VGML, NVML, UnMapped                                                                                                                                           |
| MiddleName             | string | It represents the middle name of the user                                                                                                                                                                                                         |
| MobileNumber           | string | It represents the mobile number                                                                                                                                                                                                                   |
| Nationality            | string | It represents natinality of the user like Indian etc etc.                                                                                                                                                                                         |
| PassportExpiryDate     | string | Represents date of passport expiration(Date and time are taken in miliseconds).                                                                                                                                                                   |
| PassportNo             | string | Reprsents passport number of the user.                                                                                                                                                                                                            |
| PaxType                | string | This property has enumeration type and has specified list of constant values as (ADT, CHD and INF)                                                                                                                                                |
| ProvisionState         | string | It represents state.                                                                                                                                                                                                                              |
| ResidentCountry        | string | It represents country where the user resident                                                                                                                                                                                                     |
| Title                  | string | It represents the values like Mr., Mrs.                                                                                                                                                                                                           |
| Segments               | string |                                                                                                                                                                                                                                                   |
| BondType               | string | IsInternational                                                                                                                                                                                                                                   |
| Bonds                  | string | IsRoundTrip                                                                                                                                                                                                                                       |
| Deeplink               | string | IsSpecial                                                                                                                                                                                                                                         |
| EngineID               | string | IsSpecialId                                                                                                                                                                                                                                       |
| Fare                   | string | ItineraryKey                                                                                                                                                                                                                                      |
| FareRule               | string | JourneyIndex                                                                                                                                                                                                                                      |
| IsBaggageFare          | string | NearByAirport                                                                                                                                                                                                                                     |
| IsCache                | string | Remark                                                                                                                                                                                                                                            |
| IsHoldBooking          | string | SearchId                                                                                                                                                                                                                                          |
| Bonds                  | string |                                                                                                                                                                                                                                                   |
| BoundType              | string | Represents Inbound/Outbound flight                                                                                                                                                                                                                |
| ItineraryKey           | string | Represents a string value for a particular journey from source to destination                                                                                                                                                                     |
| IsBaggageFare          | string | Fares for baggage facility(True/False)                                                                                                                                                                                                            |
| IsSSR                  | string | It contains boolean value(True/False)                                                                                                                                                                                                             |
| JourneyTime            | string | Represents journey duration                                                                                                                                                                                                                       |
| Legs                   | string | Represents details about flight                                                                                                                                                                                                                   |
| SpecialServices        | string | <p>Represents special services provided in flight<br></p>                                                                                                                                                                                         |
| MealType               | string | This property has been defined as enumeration type having three constant values as VGML, NVML, UnMapped                                                                                                                                           |
| IsMeal                 | string | It contains boolean value (True/False)                                                                                                                                                                                                            |
| PaxType                | string | This property has enumeration type and has specified list of constant values as (ADT=0,CHD=1 and INF=2)                                                                                                                                           |
| Id                     | string | Unique id provided to each meal type                                                                                                                                                                                                              |
| Legs                   | string |                                                                                                                                                                                                                                                   |
| AircraftCode           | string | This is provided by airline (for eg: VX09KHT7TSm+ZhCrSZcPJg==)                                                                                                                                                                                    |
| AircraftType           | string | Provided by airline                                                                                                                                                                                                                               |
| AirlineName            | string | Represents name of the airline(Spice Jet,Indigo,GoAir,GDS)                                                                                                                                                                                        |
| Amount                 | string | Calculated amount of other services like tax, PSF, UDF                                                                                                                                                                                            |
| ArrivalDate            | string | It represents arrival date of the Journey.                                                                                                                                                                                                        |
| ArrivalTerminal        | string | It represents arrival terminal of the Journey.                                                                                                                                                                                                    |
| ArrivalTime            | string | It represents arrival time of the Journey.                                                                                                                                                                                                        |
| AvailableSeat          | string | Total numbers of seats available.                                                                                                                                                                                                                 |
| BaggageUnit            | string | Units like KG and G etc.                                                                                                                                                                                                                          |
| BaggageWeight          | string | It represents the weight of the baggage.                                                                                                                                                                                                          |
| BoundType              | string | Represents Inbound/Outbound flight                                                                                                                                                                                                                |
| Cabin                  | string | This field has enumeration values (Economy =0,Business=2)                                                                                                                                                                                         |
| CabinClasses           | string |                                                                                                                                                                                                                                                   |
| BookingClass           | string |                                                                                                                                                                                                                                                   |
| CabinType              | string | This field has enumeration values (Economy =0,Business=2)                                                                                                                                                                                         |
| Capacity               | string | Total capacity                                                                                                                                                                                                                                    |
| CarrierCode            | string | Flight carrier code                                                                                                                                                                                                                               |
| CurrencyCode           | string | Represents currency codes(INR for india)                                                                                                                                                                                                          |
| DepartureDate          | string | It represents departure date of the journey.                                                                                                                                                                                                      |
| DepartureTerminal      | string | It represents departure terminal of the Journey.                                                                                                                                                                                                  |
| DepartureTime          | string | It represents departure time of the journey.                                                                                                                                                                                                      |
| Destination            | string | It represents destination city/airport name .It cannot be same as source value. Three alphabetic IATA code should be entered by user to get valid destination city. This field should not contain More than and less than 3 characters.           |
| Duration               | string | It represents the total time duration of the journey.                                                                                                                                                                                             |
| FareBasisCode          | string | Flight fare basis code                                                                                                                                                                                                                            |
| FareClassOfService     | string | It is an array type having a list of constant values.                                                                                                                                                                                             |
| FlightDesignator       | string | Flight designator details                                                                                                                                                                                                                         |
| FlightDetailRefKey     | string | Id for flight details                                                                                                                                                                                                                             |
| FlightNumber           | string | It represents the flight number.                                                                                                                                                                                                                  |
| Group                  | string |                                                                                                                                                                                                                                                   |
| IsConnecting           | string | It contains boolean value(True/False)                                                                                                                                                                                                             |
| NumberOfStops          | string | Total number of stops between source to destination                                                                                                                                                                                               |
| Origin                 | string | This value represents source city name. Three alphabetic IATA code should be entered by user to get valid source city. This field should not contain More than and less than 3 characters.                                                        |
| ProviderCode           | string | Airline provider code                                                                                                                                                                                                                             |
| Remarks                | string | Brief description                                                                                                                                                                                                                                 |
| SSRDetails             | string |                                                                                                                                                                                                                                                   |
| Amount                 | string |                                                                                                                                                                                                                                                   |
| Detail                 | string |                                                                                                                                                                                                                                                   |
| SSRCode                | string |                                                                                                                                                                                                                                                   |
| SSRType                | string |                                                                                                                                                                                                                                                   |
| Sold                   | string |                                                                                                                                                                                                                                                   |
| Status                 | string | Status of the booking                                                                                                                                                                                                                             |
| Fare                   | string |                                                                                                                                                                                                                                                   |
| BasicFare              | string | Represents basic fares excluding of any other service charges                                                                                                                                                                                     |
| ExchangeRate           | string | Exchange Rate                                                                                                                                                                                                                                     |
| PaxFares               | string | <p> It contains information about      BaggageUnit,BaggageWeight,<br>BasicFare    and PaxType.</p>                                                                                                                                                |
| TotalFareWithOutMarkUp | string | Total amount                                                                                                                                                                                                                                      |
| TotalTaxWithOutMarkUp  | string | Total tax                                                                                                                                                                                                                                         |
| PaxFares               | string |                                                                                                                                                                                                                                                   |
| BaggageUnit            | string | Units like KG and G etc.                                                                                                                                                                                                                          |
| BaggageWeight          | string | It represents the weight of the baggage.                                                                                                                                                                                                          |
| BaseTransactionAmount  | string | It contains transaction amount                                                                                                                                                                                                                    |
| BasicFare              | string | Represents basic fares excluding of any other service charges                                                                                                                                                                                     |
| CancelPenalty          | string | Cancel before departure date within twenty four hours(CAN-BEF 24\_0:14811)                                                                                                                                                                        |
| ChangePenalty          | string | Change before departure date within twenty fore hours (CHG-BEF 24\_0:4443.0)                                                                                                                                                                      |
| EquivCurrencyCode      | string | Flight equivalent currency code                                                                                                                                                                                                                   |
| Fare                   | string |                                                                                                                                                                                                                                                   |
| Amount                 | string | Calculated amount of other services like tax, PSF, UDF                                                                                                                                                                                            |
| ChargeCode             | string | This field stores a specific code for applied charge.                                                                                                                                                                                             |
| ChargeType             | string | Represents which type of charge has been applied(Like Tax, Service Charge, Travel Fee, Fare Price)                                                                                                                                                |
| FareBasisCode          | string | Flight fare basis code                                                                                                                                                                                                                            |
| FareInfoKey            | string | Flight fare information key                                                                                                                                                                                                                       |
| FareInfoValue          | string | Flight fare information value                                                                                                                                                                                                                     |
| MarkUP                 | string | Flight markup                                                                                                                                                                                                                                     |
| PaxType                | string | This property has enumeration type and has specified list of constant values as (ADT, CHD and INF)                                                                                                                                                |
| Refundable             | string | Represents whether this flight is refundable or non refundable                                                                                                                                                                                    |
| TotalFare              | string | Calculated amount of other services like tax, PSF, UDF                                                                                                                                                                                            |
| TotalTax               | string | Total tax                                                                                                                                                                                                                                         |
| TransactionAmount      | string | Transaction Amount                                                                                                                                                                                                                                |

{% tabs %}
{% tab title="200 " %}
```javascript
{
  "BookingDetail": {
    "CurrencyCode": "INR",
    "PaymentAmount": 4604,
    "PnrDetail": {
      "Pnr": [
        {
          "Destination": "IXR",
          "EngineID": 5,
          "Origin": "DEL",
          "PNR": "X8LFMJ",
          "TYPE": 1
        },
        {
          "Destination": "IXR",
          "EngineID": 5,
          "Origin": "DEL",
          "PNR": "X8LFMJ",
          "TYPE": 0
        },
        {
          "Destination": "IXR",
          "EngineID": 5,
          "Origin": "DEL",
          "PNR": "",
          "TYPE": 5
        },
        {
          "Destination": "IXR",
          "EngineID": 5,
          "Origin": "DEL",
          "PNR": "4604",
          "TYPE": 6
        },
        {
          "Destination": "IXR",
          "EngineID": 5,
          "Origin": "DEL",
          "PNR": null,
          "TYPE": 9
        }
      ],
      "Tickets": [
        {
          "Destination": "IXR",
          "EngineID": 5,
          "FirstName": "Deepak",
          "IsBaggBooked": false,
          "IsMealBooked": false,
          "LastName": "Kumar",
          "Origin": "DEL",
          "PassengerNumber": 1,
          "PaxType": 0,
          "Prefix": "",
          "TicketNumber": "X8LFMJ-1"
        }
      ]
    }
  },
  "BookingId": "",
  "Errors": null,
  "PnrQueueStatus": false,
  "SearchDetails": null,
  "TransactionId": "TMT561237452619322#EMT54690891"
}
```
{% endtab %}

{% tab title="404 " %}
```javascript
{
    "message": "Invalid Request",
    "status": "error",
    
}
```
{% endtab %}
{% endtabs %}

### Example Oneway Request :

```````coffeescript
{
  "BookSegment": [
    {
      "BondType": "OutBound",
      "Bonds": [
        {
          "BoundType": "OutBound",
          "IsBaggageFare": false,
          "IsSSR": false,
          "ItineraryKey": "IY8Y5uF2M9EKQh3DWSNY05f09dBTuoZuqpGfmxUKLEM=",
          "JourneyTime": "01h 20m",
          "Legs": [
            {
              "AircraftCode": null,
              "AircraftType": "737",
              "AirlineName": "SG",
              "AirlinePnr": null,
              "ArrivalDate": "Thu-29Nov2018",
              "ArrivalTerminal": "1B",
              "ArrivalTime": "02:10",
              "AvailableSeat": null,
              "BaggageUnit": "KG",
              "BaggageWeight": "15",
              "BookSeat": null,
              "BoundType": "OutBound",
              "Cabin": "ECONOMY",
              "CabinClasses": null,
              "Capacity": 149,
              "CarrierCode": "SG",
              "CurrencyCode": "INR",
              "DepartureDate": "Thu-29Nov2018",
              "DepartureTerminal": "1",
              "DepartureTime": "00:50",
              "Destination": "GOI",
              "Duration": "01h 20m",
              "FareBasisCode": "ASAVER",
              "FareClassOfService": "A",
              "FareRulesKey": null,
              "FlightDesignator": null,
              "FlightDetailRefKey": null,
              "FlightName": "Spicejet",
              "FlightNumber": "612",
              "GDSPnr": null,
              "Group": null,
              "IsConnecting": false,
              "IsSeatOpen": false,
              "LayoverAt": null,
              "LayoverDuration": null,
              "NumberOfStops": "0",
              "OperatedBy": null,
              "Origin": "BOM",
              "ProviderCode": "SG` 612` ``BOM`11/29/2018 00:50`GOI`11/29/2018 02:10`!0`A``ASAVER`2025``4`X!!`737`1B``KG`15`ECONOMY``SG`1``False`0``````01h 20m`ASAVER`A",
              "Remarks": null,
              "SSRDetails": null,
              "Sold": 0,
              "Status": "Normal"
            }
          ],
          "addOnDetail": null
        }
      ],
      "CurrencyCode": null,
      "Deeplink": "",
      "EngineID": 1,
      "Fare": {
        "BasicFare": 2537,
        "BrandKeys": null,
        "ExchangeRate": 0,
        "PaxFares": [
          {
            "AirlinePnr": null,
            "BaggageUnit": "KG",
            "BaggageWeight": "15",
            "BaseTransactionAmount": 0,
            "BasicFare": 2537,
            "Branded": null,
            "CancelPenalty": 3000,
            "Cashback": 0,
            "ChangePenalty": 2500,
            "Commission": 0,
            "DFValue": "0",
            "EquivCurrencyCode": null,
            "Fare": [
              {
                "Amount": 2537,
                "ChargeCode": "",
                "ChargeType": "FarePrice"
              },
              {
                "Amount": 100,
                "ChargeCode": "RCS",
                "ChargeType": "TravelFee"
              },
              {
                "Amount": 50,
                "ChargeCode": "TRF",
                "ChargeType": "TravelFee"
              },
              {
                "Amount": 142,
                "ChargeCode": "ADF",
                "ChargeType": "TravelFee"
              },
              {
                "Amount": 153,
                "ChargeCode": "PSF",
                "ChargeType": "TravelFee"
              },
              {
                "Amount": 4,
                "ChargeCode": "CGST27",
                "ChargeType": "Tax"
              },
              {
                "Amount": 64,
                "ChargeCode": "CGST27",
                "ChargeType": "Tax"
              },
              {
                "Amount": 4,
                "ChargeCode": "SGST27",
                "ChargeType": "Tax"
              },
              {
                "Amount": 64,
                "ChargeCode": "SGST27",
                "ChargeType": "Tax"
              },
              {
                "Amount": 0,
                "ChargeCode": "OC",
                "ChargeType": "OtherCharge"
              }
            ],
            "FareBasisCode": null,
            "FareInfoKey": null,
            "FareInfoValue": null,
            "GDSPnr": null,
            "IsZeroCancellation": false,
            "MarkUP": 0,
            "PaxType": 0,
            "Refundable": true,
            "STF": 0,
            "ServiceFee": 0,
            "TDS": 0,
            "TotalFare": 3118,
            "TotalTax": 581,
            "TransactionAmount": 0,
            "TransactionFee": 0,
            "ZeroCancellationCharge": 100,
            "ZeroCancellationValidity": "28"
          }
        ],
        "TotalFareWithOutMarkUp": 3118,
        "TotalTaxWithOutMarkUp": 581
      },
      "FareIndicator": 0,
      "FareRule": "CAN-BEF 4_0:3000|CHG-BEF 4_0:2500|EMTFee-250|CANCEL-BEF 4_0:3000|CHANGE-BEF 4_0:2500",
      "Fares": null,
      "IsBaggageFare": false,
      "IsBranded": false,
      "IsCache": true,
      "IsHoldBooking": false,
      "IsInternational": false,
      "IsRoundTrip": false,
      "IsSpecial": false,
      "IsSpecialId": false,
      "ItineraryKey": "IY8Y5uF2M9EKQh3DWSNY05f09dBTuoZuqpGfmxUKLEM=",
      "JourneyIndex": 0,
      "MemoryCreationTime": "/Date(1542913325687+0530)/",
      "NearByAirport": false,
      "PaxSSRs": null,
      "PromoCode": null,
      "Remark": "",
      "SSDetails": null,
      "SearchId": "107,ADT:BF=2537.0000 Tax=581,CHD:BF=0 Tax=0,INF:BF=0 Tax=0,DFValue=0,APFV=3118`581`2537.0000`3000`2500`0`0```KG`15`True`0`0`0`0`,CPFV=,IPFV=,ATB=`:2537.0000`RCS:100.000`TRF:50.0000`ADF:142.00000`PSF:153.00000`CGST27:4.00000`CGST27:64.00000`SGST27:4.00000`SGST27:64.00000`OC:0,CTB=,ITB=,TBA=2537.0000,TTA=581,TFA=3118.0000",
      "Sessionfilepath": "",
      "description": null
    }
  ],
  "EngineID": 7,
  "EngineIDList": [
    7,
    0,
    1,
    5,
    10,
    6,
    11
  ],
  "IsAndroidBooking": false,
  "IsDomestic": false,
  "IPAddress": "203.171.247.16",
  "InsuranceCharge": "0",
  "InsuranceStatus": true,
  "IsAppBooking": false,
  "PaymentDetails": {
    "BookingAmount": "3118",
    "BookingCurrencyCode": "INR"
  },
  "Browser": "Crome",
  "Cabin": 0,
  "ConvenienceFee": 0,
  "CouponAmt": 0,
  "CouponCode": "dgg",
  "CustomerId": "",
  "FlightSearchDetails": [
    {
      "BeginDate": "2018-11-19",
      "Cabin": "0",
      "CurrencyCode": "INR",
      "Origin": " BOM",
      "Destination": " GOI"
    }
  ],
  "GSTDetail": {
    "Address": "Kolkata",
    "CompanyName": "Suvo Goalltrip Pvt Ltd",
    "Email": "care@goalltrip.com",
    "GSTNumber": "19AAVCS6905NAB",
    "Phone": "7890080744"
  },
  "TraceId": "2018122358ed0cac70e145bd00c006cf6b4c28b6",
  "TransactionId": "TRVL262277227",
  "Traveller": {
    "AdultTraveller": [
      {
        "CountryCode": "IN",
        "DOB": "08-03-1963",
        "EmailAddress": "care@goalltrip.com",
        "FirstName": "Dip",
        "FrequentFlierNumber": "",
        "Gender": 0,
        "LastName": "Sarkar",
        "MiddleName": "",
        "MobileNumber": "9051689072",
        "Nationality": "Indian",
        "PassportExpiryDate": "",
        "PassportNo": "",
        "ResidentCountry": "IN",
        "Title": "Mr"
      }
    ],
    "ChildTraveller": [],
    "InfantTraveller": []
  },
  "TripType": 0
}
```````

### Example Roundtrip Request :

```````coffeescript
{
  "BookSegment": [
    {
      "BondType": "OutBound",
      "Bonds": [
        {
          "BoundType": "OutBound",
          "IsBaggageFare": false,
          "IsSSR": false,
          "ItineraryKey": "IY8Y5uF2M9EKQh3DWSNY05f09dBTuoZuqpGfmxUKLEM=",
          "JourneyTime": "01h 20m",
          "Legs": [
            {
              "AircraftCode": null,
              "AircraftType": "737",
              "AirlineName": "SG",
              "AirlinePnr": null,
              "ArrivalDate": "Thu-29Nov2018",
              "ArrivalTerminal": "1B",
              "ArrivalTime": "02:10",
              "AvailableSeat": null,
              "BaggageUnit": "KG",
              "BaggageWeight": "15",
              "BookSeat": null,
              "BoundType": "OutBound",
              "Cabin": "ECONOMY",
              "CabinClasses": null,
              "Capacity": 149,
              "CarrierCode": "SG",
              "CurrencyCode": "INR",
              "DepartureDate": "Thu-29Nov2018",
              "DepartureTerminal": "1",
              "DepartureTime": "00:50",
              "Destination": "GOI",
              "Duration": "01h 20m",
              "FareBasisCode": "ASAVER",
              "FareClassOfService": "A",
              "FareRulesKey": null,
              "FlightDesignator": null,
              "FlightDetailRefKey": null,
              "FlightName": "Spicejet",
              "FlightNumber": "612",
              "GDSPnr": null,
              "Group": null,
              "IsConnecting": false,
              "IsSeatOpen": false,
              "LayoverAt": null,
              "LayoverDuration": null,
              "NumberOfStops": "0",
              "OperatedBy": null,
              "Origin": "BOM",
              "ProviderCode": "SG` 612` ``BOM`11/29/2018 00:50`GOI`11/29/2018 02:10`!0`A``ASAVER`2025``4`X!!`737`1B``KG`15`ECONOMY``SG`1``False`0``````01h 20m`ASAVER`A",
              "Remarks": null,
              "SSRDetails": null,
              "Sold": 0,
              "Status": "Normal"
            }
          ],
          "addOnDetail": null
        }
      ],
      "CurrencyCode": null,
      "Deeplink": "",
      "EngineID": 1,
      "Fare": {
        "BasicFare": 2537,
        "BrandKeys": null,
        "ExchangeRate": 0,
        "PaxFares": [
          {
            "AirlinePnr": null,
            "BaggageUnit": "KG",
            "BaggageWeight": "15",
            "BaseTransactionAmount": 0,
            "BasicFare": 2537,
            "Branded": null,
            "CancelPenalty": 3000,
            "Cashback": 0,
            "ChangePenalty": 2500,
            "Commission": 0,
            "DFValue": "0",
            "EquivCurrencyCode": null,
            "Fare": [
              {
                "Amount": 2537,
                "ChargeCode": "",
                "ChargeType": "FarePrice"
              },
              {
                "Amount": 100,
                "ChargeCode": "RCS",
                "ChargeType": "TravelFee"
              },
              {
                "Amount": 50,
                "ChargeCode": "TRF",
                "ChargeType": "TravelFee"
              },
              {
                "Amount": 142,
                "ChargeCode": "ADF",
                "ChargeType": "TravelFee"
              },
              {
                "Amount": 153,
                "ChargeCode": "PSF",
                "ChargeType": "TravelFee"
              },
              {
                "Amount": 4,
                "ChargeCode": "CGST27",
                "ChargeType": "Tax"
              },
              {
                "Amount": 64,
                "ChargeCode": "CGST27",
                "ChargeType": "Tax"
              },
              {
                "Amount": 4,
                "ChargeCode": "SGST27",
                "ChargeType": "Tax"
              },
              {
                "Amount": 64,
                "ChargeCode": "SGST27",
                "ChargeType": "Tax"
              },
              {
                "Amount": 0,
                "ChargeCode": "OC",
                "ChargeType": "OtherCharge"
              }
            ],
            "FareBasisCode": null,
            "FareInfoKey": null,
            "FareInfoValue": null,
            "GDSPnr": null,
            "IsZeroCancellation": false,
            "MarkUP": 0,
            "PaxType": 0,
            "Refundable": true,
            "STF": 0,
            "ServiceFee": 0,
            "TDS": 0,
            "TotalFare": 3118,
            "TotalTax": 581,
            "TransactionAmount": 0,
            "TransactionFee": 0,
            "ZeroCancellationCharge": 100,
            "ZeroCancellationValidity": "28"
          }
        ],
        "TotalFareWithOutMarkUp": 3118,
        "TotalTaxWithOutMarkUp": 581
      },
      "FareIndicator": 0,
      "FareRule": "CAN-BEF 4_0:3000|CHG-BEF 4_0:2500|EMTFee-250|CANCEL-BEF 4_0:3000|CHANGE-BEF 4_0:2500",
      "Fares": null,
      "IsBaggageFare": false,
      "IsBranded": false,
      "IsCache": true,
      "IsHoldBooking": false,
      "IsInternational": false,
      "IsRoundTrip": false,
      "IsSpecial": false,
      "IsSpecialId": false,
      "ItineraryKey": "IY8Y5uF2M9EKQh3DWSNY05f09dBTuoZuqpGfmxUKLEM=",
      "JourneyIndex": 0,
      "MemoryCreationTime": "/Date(1542913325687+0530)/",
      "NearByAirport": false,
      "PaxSSRs": null,
      "PromoCode": null,
      "Remark": "",
      "SSDetails": null,
      "SearchId": "107,ADT:BF=2537.0000 Tax=581,CHD:BF=0 Tax=0,INF:BF=0 Tax=0,DFValue=0,APFV=3118`581`2537.0000`3000`2500`0`0```KG`15`True`0`0`0`0`,CPFV=,IPFV=,ATB=`:2537.0000`RCS:100.000`TRF:50.0000`ADF:142.00000`PSF:153.00000`CGST27:4.00000`CGST27:64.00000`SGST27:4.00000`SGST27:64.00000`OC:0,CTB=,ITB=,TBA=2537.0000,TTA=581,TFA=3118.0000",
      "Sessionfilepath": "",
      "description": null
    }
  ],
  "EngineID": 7,
  "EngineIDList": [
    7,
    0,
    1,
    5,
    10,
    6,
    11
  ],
  "IsAndroidBooking": false,
  "IsDomestic": false,
  "IPAddress": "203.171.247.16",
  "InsuranceCharge": "0",
  "InsuranceStatus": true,
  "IsAppBooking": false,
  "PaymentDetails": {
    "BookingAmount": "3118",
    "BookingCurrencyCode": "INR"
  },
  "Browser": "Crome",
  "Cabin": 0,
  "ConvenienceFee": 0,
  "CouponAmt": 0,
  "CouponCode": "dgg",
  "CustomerId": "",
  "FlightSearchDetails": [
    {
      "BeginDate": "2018-11-19",
      "Cabin": "0",
      "CurrencyCode": "INR",
      "Origin": " BOM",
      "Destination": " GOI"
    }
  ],
  "GSTDetail": {
    "Address": "Kolkata",
    "CompanyName": "Suvo Goalltrip Pvt Ltd",
    "Email": "care@goalltrip.com",
    "GSTNumber": "19AAVCS6905NAB",
    "Phone": "7890080744"
  },
  "TraceId": "2018122358ed0cac70e145bd00c006cf6b4c28b6",
  "TransactionId": "TRVL262277227",
  "Traveller": {
    "AdultTraveller": [
      {
        "CountryCode": "IN",
        "DOB": "08-03-1963",
        "EmailAddress": "care@goalltrip.com",
        "FirstName": "Dip",
        "FrequentFlierNumber": "",
        "Gender": 0,
        "LastName": "Sarkar",
        "MiddleName": "",
        "MobileNumber": "9051689072",
        "Nationality": "Indian",
        "PassportExpiryDate": "",
        "PassportNo": "",
        "ResidentCountry": "IN",
        "Title": "Mr"
      }
    ],
    "ChildTraveller": [],
    "InfantTraveller": []
  },
  "TripType": 0
}
```````
