Skip to content

Latest commit

 

History

History
90 lines (62 loc) · 2.19 KB

TripPlannerApi.md

File metadata and controls

90 lines (62 loc) · 2.19 KB

TripPlannerApi

All URIs are relative to https://api.openmove.com

Method HTTP request Description
tripPlannerGetPost POST /trip-planner/get Returns trips list
tripPlannerTicketsGetPost POST /trip-planner/tickets/get Returns tickets list for a trip

tripPlannerGetPost

tripPlannerGetPost(body)

Returns trips list

Example

// Import classes:
//import com.openmove.api.TripPlannerApi;

TripPlannerApi apiInstance = new TripPlannerApi();
TripRequest body = new TripRequest(); // TripRequest | trips request
try {
    apiInstance.tripPlannerGetPost(body);
} catch (ApiException e) {
    System.err.println("Exception when calling TripPlannerApi#tripPlannerGetPost");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
body TripRequest trips request

Return type

null (empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

tripPlannerTicketsGetPost

tripPlannerTicketsGetPost(body)

Returns tickets list for a trip

Example

// Import classes:
//import com.openmove.api.TripPlannerApi;

TripPlannerApi apiInstance = new TripPlannerApi();
TripTicketsRequest body = new TripTicketsRequest(); // TripTicketsRequest | trip tickets request
try {
    apiInstance.tripPlannerTicketsGetPost(body);
} catch (ApiException e) {
    System.err.println("Exception when calling TripPlannerApi#tripPlannerTicketsGetPost");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
body TripTicketsRequest trip tickets request

Return type

null (empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined