All URIs are relative to https://www6.rentcentric.com:443/Client7020/UpNorthApi
Method | HTTP request | Description |
---|---|---|
vehicle_type_get_all_vehicle_types | POST /api/VehicleType/GetAllVehicleTypes | |
vehicle_type_get_available_vehicle_types_and_rates | POST /api/VehicleType/GetAvailableVehicleTypesAndRates |
ResponseListVehicleTypesResponse vehicle_type_get_all_vehicle_types(opts)
# load the gem
require 'rent_centric'
api_instance = RentCentric::VehicleTypeApi.new
opts = {
authorization: 'authorization_example' # String | {token_type} {access_token}
}
begin
result = api_instance.vehicle_type_get_all_vehicle_types(opts)
p result
rescue RentCentric::ApiError => e
puts "Exception when calling VehicleTypeApi->vehicle_type_get_all_vehicle_types: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
authorization | String | {token_type} {access_token} | [optional] |
ResponseListVehicleTypesResponse
No authorization required
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
ResponseListAvailableVehicleTypesAndRatesDTO vehicle_type_get_available_vehicle_types_and_rates(request, opts)
# load the gem
require 'rent_centric'
api_instance = RentCentric::VehicleTypeApi.new
request = RentCentric::GetAvailableVehicleTypeAndRatesRequest.new # GetAvailableVehicleTypeAndRatesRequest |
opts = {
authorization: 'authorization_example' # String | {token_type} {access_token}
}
begin
result = api_instance.vehicle_type_get_available_vehicle_types_and_rates(request, opts)
p result
rescue RentCentric::ApiError => e
puts "Exception when calling VehicleTypeApi->vehicle_type_get_available_vehicle_types_and_rates: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
request | GetAvailableVehicleTypeAndRatesRequest | ||
authorization | String | {token_type} {access_token} | [optional] |
ResponseListAvailableVehicleTypesAndRatesDTO
No authorization required
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml