{
  "opencollection": "1.0.0",
  "info": {
    "name": "Airline Code Lookup air-traffic trip-purpose-prediction API",
    "version": "1.2.1"
  },
  "items": [
    {
      "info": {
        "name": "trip-purpose-prediction",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Amadeus Returns the Forecast Purpose of a Trip",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://test.api.amadeus.com/v1/travel/predictions/trip-purpose",
            "params": [
              {
                "name": "originLocationCode",
                "value": "",
                "type": "query",
                "description": "city/airport [IATA code](http://www.iata.org/publications/Pages/code-search.aspx) from which the traveler will depart, e.g. BOS for Boston"
              },
              {
                "name": "destinationLocationCode",
                "value": "",
                "type": "query",
                "description": "city/airport [IATA code](http://www.iata.org/publications/Pages/code-search.aspx) to which the traveler is going, e.g. PAR for Paris"
              },
              {
                "name": "departureDate",
                "value": "",
                "type": "query",
                "description": "the date on which the traveler will depart from the origin to go to the destination. Dates are specified in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) YYYY-MM-DD format, e.g. 2017-12-25"
              },
              {
                "name": "returnDate",
                "value": "",
                "type": "query",
                "description": "the date on which the traveler will depart from the destination to return to the origin. Dates are specified in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) YYYY-MM-DD format, e.g. 2018-02-28"
              },
              {
                "name": "searchDate",
                "value": "",
                "type": "query",
                "description": "the date on which the traveler is performing the search. If this parameter is not specified, current date will be used. Dates are specified in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) YYYY-MM-DD format, e.g. 2018-02-28"
              }
            ]
          },
          "docs": "Amadeus Returns the Forecast Purpose of a Trip"
        }
      ]
    }
  ],
  "bundled": true
}