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(body)
Returns trips list
// 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();
}
Name | Type | Description | Notes |
---|---|---|---|
body | TripRequest | trips request |
null (empty response body)
- Content-Type: application/json
- Accept: Not defined
tripPlannerTicketsGetPost(body)
Returns tickets list for a trip
// 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();
}
Name | Type | Description | Notes |
---|---|---|---|
body | TripTicketsRequest | trip tickets request |
null (empty response body)
- Content-Type: application/json
- Accept: Not defined