Copyright | (c) 2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns a list of flights.
See: QPX Express API Reference for qpxExpress.trips.search
.
- type TripsSearchResource = "qpxExpress" :> ("v1" :> ("trips" :> ("search" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` TripsSearchRequest :> Post `[JSON]` TripsSearchResponse)))))
- tripsSearch :: TripsSearchRequest -> TripsSearch
- data TripsSearch
- tsPayload :: Lens' TripsSearch TripsSearchRequest
REST Resource
type TripsSearchResource = "qpxExpress" :> ("v1" :> ("trips" :> ("search" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` TripsSearchRequest :> Post `[JSON]` TripsSearchResponse))))) Source
A resource alias for qpxExpress.trips.search
method which the
TripsSearch
request conforms to.
Creating a Request
Creates a value of TripsSearch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TripsSearch Source
Returns a list of flights.
See: tripsSearch
smart constructor.
Request Lenses
tsPayload :: Lens' TripsSearch TripsSearchRequest Source
Multipart request metadata.