GET api/VehicleRates/{id}?VehicleId={VehicleId}&ManufacturerId={ManufacturerId}&RangeId={RangeId}&CategoryId={CategoryId}&Instock={Instock}&Transmission={Transmission}&FuelType={FuelType}&Business={Business}&ContractType={ContractType}&MinPrice={MinPrice}&MaxPrice={MaxPrice}&MinContractLength={MinContractLength}&MaxContractLength={MaxContractLength}&InitialPayment={InitialPayment}&payfrom={payfrom}&payto={payto}&lengthfrom={lengthfrom}&lengthto={lengthto}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
|
VehicleId | integer |
Required |
|
ManufacturerId | integer |
Required |
|
RangeId | integer |
Required |
|
CategoryId | string |
Required |
|
Instock | boolean |
Required |
|
Transmission | string |
Required |
|
FuelType | string |
Required |
|
Business | boolean |
Required |
|
ContractType | string |
Required |
|
MinPrice | integer |
Default value is 0 |
|
MaxPrice | integer |
Default value is 2000 |
|
MinContractLength | integer |
Default value is 0 |
|
MaxContractLength | integer |
Default value is 60 |
|
InitialPayment | integer |
Default value is 0 |
|
payfrom | decimal number |
Default value is 0 |
|
payto | decimal number |
Default value is 10000 |
|
lengthfrom | decimal number |
Default value is 0 |
|
lengthto | decimal number |
Default value is 10000 |
Body Parameters
None.
Response Information
Resource Description
Collection of ApiRatesDataName | Description | Type | Additional information |
---|---|---|---|
RateId | integer |
None. |
|
Months | integer |
None. |
|
Milage | integer |
None. |
|
Price | decimal number |
None. |
|
InitialRental | decimal number |
None. |
|
DocumentFee | decimal number |
None. |
|
Business | boolean |
None. |
|
Maintenance | boolean |
None. |
|
BestRate | boolean |
None. |
|
RateStatus | string |
None. |
|
InitialRentalPeriod | integer |
None. |
|
BalloonPayment | decimal number |
None. |
|
ContractType | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "RateId": 1, "Months": 2, "Milage": 3, "Price": 4.0, "InitialRental": 5.0, "DocumentFee": 6.0, "Business": true, "Maintenance": true, "BestRate": true, "RateStatus": "sample string 10", "InitialRentalPeriod": 11, "BalloonPayment": 12.0, "ContractType": "sample string 13" }, { "RateId": 1, "Months": 2, "Milage": 3, "Price": 4.0, "InitialRental": 5.0, "DocumentFee": 6.0, "Business": true, "Maintenance": true, "BestRate": true, "RateStatus": "sample string 10", "InitialRentalPeriod": 11, "BalloonPayment": 12.0, "ContractType": "sample string 13" } ]
application/xml, text/xml
Sample:
<ArrayOfApiRatesData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JetRateManager.Infrastructure.ViewModels.APi"> <ApiRatesData> <BalloonPayment>12</BalloonPayment> <BestRate>true</BestRate> <Business>true</Business> <ContractType>sample string 13</ContractType> <DocumentFee>6</DocumentFee> <InitialRental>5</InitialRental> <InitialRentalPeriod>11</InitialRentalPeriod> <Maintenance>true</Maintenance> <Milage>3</Milage> <Months>2</Months> <Price>4</Price> <RateId>1</RateId> <RateStatus>sample string 10</RateStatus> </ApiRatesData> <ApiRatesData> <BalloonPayment>12</BalloonPayment> <BestRate>true</BestRate> <Business>true</Business> <ContractType>sample string 13</ContractType> <DocumentFee>6</DocumentFee> <InitialRental>5</InitialRental> <InitialRentalPeriod>11</InitialRentalPeriod> <Maintenance>true</Maintenance> <Milage>3</Milage> <Months>2</Months> <Price>4</Price> <RateId>1</RateId> <RateStatus>sample string 10</RateStatus> </ApiRatesData> </ArrayOfApiRatesData>