A set of endpoints to interact with RegioJet transport services. Search for connections, book tickets, see the list of served stations and more. All endpoints consume and produce JSON strings, with the exception of ticket printing (/tickets/{ticketId}/print) that produce printable HTML code.
This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.
- API version: 1.1.0
- Package version: 1.1.0
- Build package:
org.openapitools.codegen.languages.RustClientCodegen
Put the package under your project folder in a directory named openapi
and add the following to Cargo.toml
under [dependencies]
:
openapi = { path = "./openapi" }
All URIs are relative to https://dpl-qa-ybus-privapi.sa.cz/restapi
Class | Method | HTTP request | Description |
---|---|---|---|
AddonsApi | get_available_addons | POST /addons | Get possible addons for given route. |
AddonsApi | order_addons | PUT /addons | Order tickets addons |
AddonsApi | verify_addons | POST /addons/verify | Verify validity of addons selection |
ConstsApi | consts_translations_language_get | GET /consts/translations/{language} | Get the used dictionary of the selected language |
ConstsApi | get_action_prices | GET /consts/actionPrices | Returns list of Action Prices |
ConstsApi | get_carriers | GET /consts/carriers | Returns List of Carriers |
ConstsApi | get_city_pairs | GET /consts/cityPairs | Returns List of possible CityPairs |
ConstsApi | get_locations | GET /consts/locations | List all possible locations served by RegioJet transportation services |
ConstsApi | get_online_paymenth_methods | GET /consts/paymentMethods | Get the list of all payment methods |
ConstsApi | get_seat_classes | GET /consts/seatClasses | Get all possible seat classes |
ConstsApi | get_tariffs | GET /consts/tariffs | Get all possible tariffs |
ConstsApi | get_timetables | GET /consts/timetables | Get timetables of all connections or of a single one |
ConstsApi | get_vehicle_standards | GET /consts/vehicleStandards | Get all possible vehicle standards |
ContentApi | content_layout | GET /content/layout | |
ContentApi | content_news | GET /content/news | |
DiscountsApi | get_percentual_by_user | GET /discounts/percentual | Get possible discounts for given account. |
DiscountsApi | verify_code_discount | POST /discounts/code/{code}/verify | Verify code discount compatibility with a given route |
DiscountsApi | verify_percentual_discount | POST /discounts/percentual/{discountId}/verify | Verify percentual discount compatibility with a given route |
OthersApi | send_conta_form | POST /support/sendContactForm | |
PaymentsApi | get_payment_form | POST /payments/form | |
PaymentsApi | get_payments | GET /payments | |
PaymentsApi | get_payments_methods | POST /payments/methods | |
PaymentsApi | pay_ticket_by_affiliate | PUT /payments/{ticketId}/pay | |
PaymentsApi | payments_credit_add | POST /payments/credit/add | |
PaymentsApi | payments_credit_charge | POST /payments/credit/charge | |
PaymentsApi | payments_credit_gift_certificate_add | POST /payments/credit/giftCertificate/add | |
PaymentsApi | payments_pay | POST /payments/pay | |
PaymentsApi | print_bulk_invoice | POST /payments/print/invoice | |
PaymentsApi | print_invoice | GET /payments/{paymentId}/print/invoice | Print payment invoice |
PaymentsApi | print_receipt | GET /payments/{paymentId}/print/receipt | Print payment receipt |
PaymentsApi | verify_gift_certificate | POST /payments/credit/giftCertificate/verify | |
PriceListApi | get_time_ticket_price | POST /pricelists/timeticket/{fromStationId}/{toStationId}/{timeTicketType}/{validFrom}/{tariff} | Get timeTicket prices for tariff, ticket type, stationFrom, stationTo, dateTime and currency. |
RoutesApi | get_departures | GET /routes/{stationId}/departures | Get arrivals and departures for the given station. |
RoutesApi | get_passengers_data | POST /routes/{routeId}/passengersData | Get mandatory data of first passenger and others passengers for the given route. |
RoutesApi | get_route_free_seats | POST /routes/{routeId}/freeSeats | Get route tandem free seats group by vehicle |
RoutesApi | get_simple_route_detail | GET /routes/{routeId}/simple | Get detail for the given route. |
RoutesApi | search_routes | GET /routes/search | Get collection of all routes that satisfy specified search criteria for the route. |
RoutesApi | simple_search_routes | GET /routes/search/simple | Get collection of all routes that satisfy specified search criteria for the route. |
TicketsApi | cancel_ticket | PUT /tickets/{ticketId}/cancel | Delete ticket by ID |
TicketsApi | cancel_ticket_by_affiliate | PUT /tickets/{accountCode}/{ticketId}/cancel/affiliate | Delete ticket by ID for affiliate partners |
TicketsApi | create_registered_tickets | POST /tickets/create/registered | Create new ticket(s) for an account |
TicketsApi | create_tickets_by_affiliate | POST /tickets/create/affiliate | Create new ticket(s) for new account as affiliate partner |
TicketsApi | create_unregistered_tickets | POST /tickets/create/unregistered | Create new ticket(s) for new account |
TicketsApi | delete_passenger | DELETE /tickets/{ticketId}/passengers/{passengerId} | Delete passenger from the ticket |
TicketsApi | get_all_tickets | GET /tickets | Get all tickets of the user |
TicketsApi | get_all_tickets_for_affiliate | GET /tickets/{accountCode}/affiliate | Get all tickets of the user for affiliate partner |
TicketsApi | get_ticket_by_id | GET /tickets/{ticketId} | Get ticket by ID |
TicketsApi | get_ticket_by_idfor_affiliate | GET /tickets/{accountCode}/{ticketId}/affiliate | Get ticket by ID for affiliate partner |
TicketsApi | get_ticket_detail_rating | GET /tickets/{ticketId}/rating | Get ticket rating questions |
TicketsApi | get_ticket_qr_code | GET /tickets/{ticketId}/qrcode | Get GR code for ticket |
TicketsApi | get_ticket_qr_code_png | GET /tickets/{ticketId}/qrcode/png | GR code for ticket |
TicketsApi | get_unpaid_tickets | GET /tickets/unpaid | Get unpaid tickets (and tickets with remaining items to pay) of the user. |
TicketsApi | print_ticket | GET /tickets/{ticketId}/print | Print ticket |
TicketsApi | put_ticket_detail_rating | PUT /tickets/{ticketId}/rating | Update ticket rating |
TicketsApi | send_ticket_by_email | POST /tickets/{ticketId}/sendByEmail | Send ticket to email |
TicketsApi | update_passenger | PUT /tickets/{ticketId}/passengers/{passengerId} | Update passenger on the ticket |
TimeTicketsApi | cancel_time_ticket | PUT /tickets/timetickets/{timeTicketId}/cancel | Delete time ticket by ID |
TimeTicketsApi | get_time_ticket_by_id | GET /tickets/timetickets/{timeTicketId} | Get time ticket by ID |
TimeTicketsApi | time_ticket_check_in | PUT /tickets/timetickets/checkin/{timeTicketId} | Verify time ticket for connection. |
UsersApi | authenticate | GET /users/authenticate | |
UsersApi | change_user_information | PUT /users/settings/changeUserInformation | |
UsersApi | change_user_password | PUT /users/settings/changePassword | |
UsersApi | forgotten_password | POST /users/forgottenPassword | |
UsersApi | login_moje_id_account | POST /users/login/mojeId | |
UsersApi | login_registered_account | POST /users/login/registeredAccount | |
UsersApi | login_unregistered_account | POST /users/login/unregisteredAccount | |
UsersApi | reset_password | POST /users/resetPassword | |
UsersApi | signup_registered_account | POST /users/signup/registeredAccount | |
UsersApi | signup_simple_registered_account | POST /users/signup/registeredAccount/simple | |
UsersApi | user_logout | POST /users/logout | |
UsersApi | user_settings_change_mojeid | PUT /users/settings/changeMojeid | |
UsersApi | verify_reset_password_token | GET /users/resetPassword/verify |
- ActionPrice
- AddGiftCertificateRequest
- AddonConditionsDescriptions
- AddonsVerifyRequest
- ArrivalDepartureConnection
- ArrivalDepartureConnectionStation
- AvailableAddon
- AvailableAddonConditions
- AvailableAddonsRequest
- BannerBubble
- CancelCharge
- CancelTicketRequest
- Carrier
- ChangeMojeid
- ChangePasswordRequest
- ChangeUserRequest
- ChargeRequest
- ChargeResponse
- City
- CityPair
- CodeDiscount
- Company
- ContactFormRequest
- Country
- CreateRegisteredTicketRequest
- CreateTicketRequest
- CreateTicketResponseRegistered
- CreateTicketResponseUnregistered
- CreateTicketRouteRequest
- CreateTicketSectionRequest
- CreateUnregisteredTicketRequest
- CreditAddRequest
- CreditAddResponse
- Currency
- CustomerActions
- DeletePassengerRequest
- Discount
- DiscountState
- ErrorResponse
- ForgottenPasswordRequest
- FormAnswer
- FormQuestion
- FormQuestionType
- GiftCertificateInfo
- GiftCertificateState
- InlineResponse200
- Layout
- LayoutFooter
- LayoutFooterFormUrl
- LayoutFooterPaymentMethods
- LayoutHeader
- Line
- MessageField
- MojeIdLogin
- News
- NewsDiscounts
- NewsNews
- NewsPromotions
- Notifications
- OrderAddonsRequest
- OrderedAddon
- Passenger
- PassengerChangeResponse
- PassengerRequest
- PassengersDataRequest
- PassengersDataResponse
- PassengersInfo
- PayRequest
- Payment
- PaymentFormField
- PaymentFormFieldRequest
- PaymentFormFieldType
- PaymentFormFieldValue
- PaymentMethod
- PaymentTicketRequest
- PaymentTicketType
- PaymentType
- PaymentsMethodsRequest
- PercentualDiscount
- PersonalDataType
- PriceClass
- PriceConditions
- PriceConditionsDescriptions
- PrintInvoicesRequest
- PutRatingRequest
- QrCodeTicket
- QrCodeTicketType
- RatingAnsweredFormData
- RatingAnsweredFormField
- RatingFormData
- RegisteredLogin
- ResetPasswordRequest
- Route
- RouteSeatsRequest
- RouteSeatsResponse
- RouteSectionRequest
- SearchResult
- Seat
- SeatClass
- Section
- SectionPutRatingRequest
- SelectedAddon
- SelectedSeat
- SignupRegisteredAccountRequest
- SimpleRegisteredAccountRequest
- SimpleRoute
- SimpleSearchResult
- SimpleSection
- Station
- SuccessResponse
- Surcharge
- Tariff
- TariffNotifications
- TextBubble
- Ticket
- TicketBill
- TicketEmailRequest
- TicketSection
- TicketState
- TimePeriod
- TimeTicket
- TimeTicketBill
- TimeTicketCheckinInfo
- TimeTicketCustomerAction
- TimeTicketPrice
- TimeTicketType
- TimeTicketsCheckinRequest
- Timetable
- TimetableStation
- Token
- TransactionMethod
- Transfer
- TransferType
- TransfersInfo
- UnregisteredLogin
- User
- Vehicle
- VehicleStandard
- VehicleType
- VerifiedDiscountResponse
- VerifyDiscountRequest
- VerifyGiftCertificateRequest
To get access to the crate's generated documentation, use:
cargo doc --open