RentCentric - the Ruby gem for the V4 Online API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
This SDK is automatically generated by the Swagger Codegen project:
- API version: v4
- Package version: 1.0.0
- Build package: io.swagger.codegen.languages.RubyClientCodegen
To build the Ruby code into a gem:
gem build rent_centric.gemspec
Then either install the gem locally:
gem install ./rent_centric-1.0.0.gem
(for development, run gem install --dev ./rent_centric-1.0.0.gem
to install the development dependencies)
or publish the gem to a gem hosting service, e.g. RubyGems.
Finally add this to the Gemfile:
gem 'rent_centric', '~> 1.0.0'
If the Ruby gem is hosted at a git repository: https://github.com/YOUR_GIT_USERNAME/YOUR_GIT_REPO, then add the following in the Gemfile:
gem 'rent_centric', :git => 'https://github.com/YOUR_GIT_USERNAME/YOUR_GIT_REPO.git'
Include the Ruby code directly using -I
as follows:
ruby -Ilib script.rb
Please follow the installation procedure and then run the following code:
# Load the gem
require 'rent_centric'
api_instance = RentCentric::CompanyApi.new
opts = {
authorization: 'authorization_example' # String | {token_type} {access_token}
}
begin
result = api_instance.company_get_companies(opts)
p result
rescue RentCentric::ApiError => e
puts "Exception when calling CompanyApi->company_get_companies: #{e}"
end
All URIs are relative to https://www6.rentcentric.com:443/Client7020/UpNorthApi
Class | Method | HTTP request | Description |
---|---|---|---|
RentCentric::CompanyApi | company_get_companies | GET /api/Company/GetCompanies | |
RentCentric::CustomerApi | customer_get_customer | GET /api/Customer/GetCustomer | |
RentCentric::CustomerApi | customer_get_customer_active_credit_card | GET /api/Customer/GetCustomerActiveCreditCard | |
RentCentric::CustomerApi | customer_get_customers | POST /api/Customer/GetCustomers | |
RentCentric::DamageApi | damage_get_reported_damages | POST /api/Damage/GetReportedDamages | |
RentCentric::GpsControlApi | gps_control_get_direction | GET /api/GpsControl/GetDirection | |
RentCentric::GpsControlApi | gps_control_get_engine_communication_status | GET /api/GpsControl/GetEngineCommunicationStatus | |
RentCentric::GpsControlApi | gps_control_get_fuel | GET /api/GpsControl/GetFuel | |
RentCentric::GpsControlApi | gps_control_get_fuel_percentage | GET /api/GpsControl/GetFuelPercentage | |
RentCentric::GpsControlApi | gps_control_get_gprs_time_stamp | GET /api/GpsControl/GetGprsTimeStamp | |
RentCentric::GpsControlApi | gps_control_get_gps_server_time | GET /api/GpsControl/GetGpsServerTime | |
RentCentric::GpsControlApi | gps_control_get_gps_time_stamp | GET /api/GpsControl/GetGpsTimeStamp | |
RentCentric::GpsControlApi | gps_control_get_ignition_status | GET /api/GpsControl/GetIgnitionStatus | |
RentCentric::GpsControlApi | gps_control_get_immobilizer_status | GET /api/GpsControl/GetImmobilizerStatus | |
RentCentric::GpsControlApi | gps_control_get_ip_address | GET /api/GpsControl/GetIpAddress | |
RentCentric::GpsControlApi | gps_control_get_last_ip_change_date | GET /api/GpsControl/GetLastIpChangeDate | |
RentCentric::GpsControlApi | gps_control_get_odometer | GET /api/GpsControl/GetOdometer | |
RentCentric::GpsControlApi | gps_control_get_speed | GET /api/GpsControl/GetSpeed | |
RentCentric::GpsControlApi | gps_control_get_vehicle_coordinates | GET /api/GpsControl/GetVehicleCoordinates | |
RentCentric::LocationApi | location_get_locations | GET /api/Location/GetLocations | |
RentCentric::LocationApi | location_get_nearest_location | GET /api/Location/GetNearestLocation | |
RentCentric::LocationApi | location_get_offsite_locations | GET /api/Location/GetOffsiteLocations | |
RentCentric::LocationApi | location_get_one_way_locations | GET /api/Location/GetOneWayLocations | |
RentCentric::LocationApi | location_get_one_way_offsite_locations | GET /api/Location/GetOneWayOffsiteLocations | |
RentCentric::LocationApi | location_get_one_way_parent_locations | GET /api/Location/GetOneWayParentLocations | |
RentCentric::LocationApi | location_get_parent_locations | GET /api/Location/GetParentLocations | |
RentCentric::LocationApi | location_is_location_open | GET /api/Location/IsLocationOpen | |
RentCentric::QuoteApi | quote_get_quote_calculate | POST /api/Quote/GetQuoteCalculate | |
RentCentric::RateApi | rate_get_add_ons | POST /api/Rate/GetAddOns | |
RentCentric::RateApi | rate_get_add_ons_one_list | POST /api/Rate/GetAddOnsOneList | |
RentCentric::RateApi | rate_get_insurance_types | GET /api/Rate/GetInsuranceTypes | |
RentCentric::RateApi | rate_get_insurances | POST /api/Rate/GetInsurances | |
RentCentric::RateApi | rate_get_misc_charges | POST /api/Rate/GetMiscCharges | |
RentCentric::RateApi | rate_get_taxes | POST /api/Rate/GetTaxes | |
RentCentric::RentalApi | rental_get_number_of_rentals | GET /api/Rental/GetNumberOfRentals | |
RentCentric::RentalApi | rental_get_rentals | POST /api/Rental/GetRentals | |
RentCentric::ReservationApi | reservation_get_active_reservation | GET /api/Reservation/GetActiveReservation | |
RentCentric::ReservationApi | reservation_get_number_of_reservations | GET /api/Reservation/GetNumberOfReservations | |
RentCentric::ReservationApi | reservation_get_reservations | POST /api/Reservation/GetReservations | |
RentCentric::SelfServiceApi | self_service_get_member_ship_package | GET /api/SelfService/GetMemberShipPackage | |
RentCentric::SelfServiceApi | self_service_get_registration_polices | GET /api/SelfService/GetRegistrationPolices | |
RentCentric::SettingApi | setting_get_api_version | GET /api/Setting/GetApiVersion | |
RentCentric::SettingApi | setting_get_countries | GET /api/Setting/GetCountries | |
RentCentric::SettingApi | setting_get_currency_symbol | GET /api/Setting/GetCurrencySymbol | |
RentCentric::SettingApi | setting_get_location_current_date_time | GET /api/Setting/GetLocationCurrentDateTime | |
RentCentric::SettingApi | setting_get_location_public_setting | GET /api/Setting/GetLocationPublicSetting | |
RentCentric::SettingApi | setting_get_minimum_age | GET /api/Setting/GetMinimumAge | |
RentCentric::SettingApi | setting_get_pay_methods | GET /api/Setting/GetPayMethods | |
RentCentric::SettingApi | setting_get_self_service_car_rental_setup | GET /api/Setting/GetSelfServiceCarRentalSetup | |
RentCentric::SettingApi | setting_get_states | GET /api/Setting/GetStates | |
RentCentric::SettingApi | setting_is_system_under_maintenance | GET /api/Setting/IsSystemUnderMaintenance | |
RentCentric::TokenApi | token_admin_login | POST /api/Token/AdminLogin | |
RentCentric::VehicleApi | vehicle_get_available_vehicles | POST /api/Vehicle/GetAvailableVehicles | |
RentCentric::VehicleApi | vehicle_get_available_vehicles_search_criteria | POST /api/Vehicle/GetAvailableVehiclesSearchCriteria | |
RentCentric::VehicleApi | vehicle_get_locations_by_available_vehicles | POST /api/Vehicle/GetLocationsByAvailableVehicles | |
RentCentric::VehicleApi | vehicle_get_vehicle | POST /api/Vehicle/GetVehicle | |
RentCentric::VehicleApi | vehicle_get_vehicle_calendar | POST /api/Vehicle/GetVehicleCalendar | |
RentCentric::VehicleApi | vehicle_get_vehicles | POST /api/Vehicle/GetVehicles | |
RentCentric::VehicleTypeApi | vehicle_type_get_all_vehicle_types | POST /api/VehicleType/GetAllVehicleTypes | |
RentCentric::VehicleTypeApi | vehicle_type_get_available_vehicle_types_and_rates | POST /api/VehicleType/GetAvailableVehicleTypesAndRates |
- RentCentric::AdminLoginRequest
- RentCentric::AdminLoginResponse
- RentCentric::AvailableVehicleTypesAndRatesDTO
- RentCentric::AvailableVehiclesSearchCriteriaDTO
- RentCentric::AvailableVehiclesWithRateDTO
- RentCentric::ChargeSummaryDTO
- RentCentric::CompanyDTO
- RentCentric::CountryDTO
- RentCentric::CustomerCreditCardDTOResponse
- RentCentric::CustomerDTOResponse
- RentCentric::CustomerMembershipPackageInfoDTO
- RentCentric::CustomerScannedIDsDTO
- RentCentric::GetActiveReservationResponse
- RentCentric::GetAddOnsOneListResponse
- RentCentric::GetAddOnsRequset
- RentCentric::GetAddOnsResponse
- RentCentric::GetAvailableVehicleTypeAndRatesRequest
- RentCentric::GetAvailableVehiclesRequest
- RentCentric::GetAvailableVehiclesSearchCriteriaRequest
- RentCentric::GetCustomerResponse
- RentCentric::GetCustomersRequest
- RentCentric::GetInsuranceRequest
- RentCentric::GetLocationsByAvailableVehiclesDTO
- RentCentric::GetLocationsByAvailableVehiclesRequest
- RentCentric::GetMiscChargeRequest
- RentCentric::GetQuoteCalculateRequest
- RentCentric::GetRentalsRequest
- RentCentric::GetReportedDamageRequest
- RentCentric::GetReservationsRequest
- RentCentric::GetTaxRequest
- RentCentric::GetVehicleCalendarRequest
- RentCentric::GetVehicleCalendarResponse
- RentCentric::InsuranceDTO
- RentCentric::InsuranceTypesDTO
- RentCentric::LocationDTO
- RentCentric::LocationPublicSettingDTO
- RentCentric::MakeModelDTO
- RentCentric::MapPoint
- RentCentric::MemberShipTypeDTO
- RentCentric::MiscChargeDTO
- RentCentric::MobileAppVersionDTO
- RentCentric::NumberOfRentalsDTO
- RentCentric::NumberOfReservationsDTO
- RentCentric::OneWayLocation
- RentCentric::OptionGroupDTO
- RentCentric::PayMethodDTO
- RentCentric::QuoteCalculateCharge
- RentCentric::QuoteCalculateDTO
- RentCentric::QuoteCalculateOption
- RentCentric::RateValues
- RentCentric::RentalDto
- RentCentric::ReportedDamageDTO
- RentCentric::ReservationDto
- RentCentric::ResponseAdminLoginResponse
- RentCentric::ResponseAvailableVehiclesSearchCriteriaDTO
- RentCentric::ResponseBoolean
- RentCentric::ResponseCustomerCreditCardDTOResponse
- RentCentric::ResponseDateTime
- RentCentric::ResponseGetActiveReservationResponse
- RentCentric::ResponseGetCustomerResponse
- RentCentric::ResponseGetVehicleCalendarResponse
- RentCentric::ResponseInt32
- RentCentric::ResponseListAvailableVehicleTypesAndRatesDTO
- RentCentric::ResponseListCompanyDTO
- RentCentric::ResponseListCountryDTO
- RentCentric::ResponseListGetAddOnsOneListResponse
- RentCentric::ResponseListGetAddOnsResponse
- RentCentric::ResponseListGetCustomerResponse
- RentCentric::ResponseListGetLocationsByAvailableVehiclesDTO
- RentCentric::ResponseListInsuranceDTO
- RentCentric::ResponseListInsuranceTypesDTO
- RentCentric::ResponseListLocationDTO
- RentCentric::ResponseListMemberShipTypeDTO
- RentCentric::ResponseListMiscChargeDTO
- RentCentric::ResponseListOneWayLocation
- RentCentric::ResponseListPayMethodDTO
- RentCentric::ResponseListRentalDto
- RentCentric::ResponseListReportedDamageDTO
- RentCentric::ResponseListReservationDto
- RentCentric::ResponseListStateDTO
- RentCentric::ResponseListTaxDTO
- RentCentric::ResponseListVehicleDTO
- RentCentric::ResponseListVehicleTypesResponse
- RentCentric::ResponseLocationDTO
- RentCentric::ResponseLocationPublicSettingDTO
- RentCentric::ResponseMapPoint
- RentCentric::ResponseMobileAppVersionDTO
- RentCentric::ResponseNumberOfRentalsDTO
- RentCentric::ResponseNumberOfReservationsDTO
- RentCentric::ResponseQuoteCalculateDTO
- RentCentric::ResponseSelfServiceCarRentalSetupDTO
- RentCentric::ResponseString
- RentCentric::ResponseVehicleDTO
- RentCentric::SelfServiceCarRentalSetupDTO
- RentCentric::StateDTO
- RentCentric::TaxDTO
- RentCentric::VehicleDTO
- RentCentric::VehicleTypeDTO
- RentCentric::VehicleTypesResponse
All endpoints do not require authorization.