Skip to main content

post_trips

Function post_trips 

Source
pub async fn post_trips(
    configuration: &Configuration,
    trip_search_criteria: TripSearchCriteria,
    requestor: Option<&str>,
    accept_language: Option<&str>,
    traceparent: Option<&str>,
    tracestate: Option<&str>,
    x_accept_namespace: Option<&str>,
    stop_behavior: Option<StopBehavior>,
) -> Result<TripCollectionResponse, Error<PostTripsError>>
Expand description

Returns trips for a given trip request based on the OJP specification.