@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Trip Purpose Prediction
@base https://test.api.amadeus.com/v1
@version 1.1.4
@endpoints 1
@toc travel(1)

@endpoint GET /travel/predictions/trip-purpose
@required {originLocationCode: any, destinationLocationCode: any, departureDate: any, returnDate: any}
@optional {searchDate: any}
@returns(200)
@errors {400}

@end
