POST api/SearchVehicleModel/GetAllVehicleModels?apiKey={apiKey}&lng={lng}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiKey | string |
Required |
|
lng | string |
Default value is en |
Body Parameters
SearchVehicleModelParameterName | Description | Type | Additional information |
---|---|---|---|
VehicleModelID | globally unique identifier |
None. |
|
VehicleMakeID | globally unique identifier |
None. |
|
Classifications | Collection of globally unique identifier |
None. |
|
CheckOutOn | date |
None. |
|
CheckInOn | date |
None. |
|
CheckOutBranchID | globally unique identifier |
None. |
|
DeliveryDetails | DeliveryPickupDetail |
None. |
|
CheckInBranchID | globally unique identifier |
None. |
|
PickupDetails | DeliveryPickupDetail |
None. |
|
Passengers | integer |
None. |
|
AutoTransmission | AutoTransmission |
None. |
|
MinRentalRate | decimal number |
None. |
|
MaxRentalRate | decimal number |
None. |
|
SpecialOfferID | globally unique identifier |
None. |
|
PromoCode | string |
None. |
|
DebtorID | globally unique identifier |
None. |
|
NoOfRecords | integer |
None. |
|
DriverAge | integer |
None. |
|
ModifiedReservationID | globally unique identifier |
None. |
|
PaymentMode | PaymentStatus |
None. |
|
IPLocation | IPLocation |
None. |
Request Formats
application/json, text/json
Sample:
{ "VehicleModelID": "8e63b629-8187-44f6-ac4f-a79fa062d3d6", "VehicleMakeID": "1f57d6b2-4e7f-4d89-ad3c-61ea41a26bcb", "Classifications": [ "42411c9b-fc3a-4e04-ad83-6eaffcfb04a5", "527f7756-d72a-424f-97bd-7e6fac5f383e" ], "CheckOutOn": "2023-12-10T15:34:29.4642537+04:00", "CheckInOn": "2023-12-10T15:34:29.4642537+04:00", "CheckOutBranchID": "9ab9534e-d338-4a69-bacd-a93c903252d5", "DeliveryDetails": { "Address": "sample string 4", "AddressJson": "sample string 5", "StateName": "sample string 8" }, "CheckInBranchID": "33b39213-a7dd-45fd-a736-778a47efab40", "PickupDetails": { "Address": "sample string 4", "AddressJson": "sample string 5", "StateName": "sample string 8" }, "Passengers": 5, "AutoTransmission": 0, "MinRentalRate": 1.1, "MaxRentalRate": 1.1, "SpecialOfferID": "a0841e8d-bac2-490c-a9cb-e99413e59e51", "PromoCode": "sample string 6", "DebtorID": "f0217e45-1209-4678-91d0-10d6838e3480", "NoOfRecords": 8, "DriverAge": 10, "ModifiedReservationID": "68071964-0382-40e0-a39d-002b254ee370", "PaymentMode": 0, "IPLocation": { "IPAddress": "sample string 2" } }
application/xml, text/xml
Sample:
<SearchVehicleModelParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity.Vehicles"> <AutoTransmission>None</AutoTransmission> <CheckInBranchID>33b39213-a7dd-45fd-a736-778a47efab40</CheckInBranchID> <CheckInOn>2023-12-10T15:34:29.4642537+04:00</CheckInOn> <CheckOutBranchID>9ab9534e-d338-4a69-bacd-a93c903252d5</CheckOutBranchID> <CheckOutOn>2023-12-10T15:34:29.4642537+04:00</CheckOutOn> <Classifications xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>42411c9b-fc3a-4e04-ad83-6eaffcfb04a5</d2p1:guid> <d2p1:guid>527f7756-d72a-424f-97bd-7e6fac5f383e</d2p1:guid> </Classifications> <DebtorID>f0217e45-1209-4678-91d0-10d6838e3480</DebtorID> <DeliveryDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetlet.Entity.Rental"> <d2p1:Address>sample string 4</d2p1:Address> <d2p1:AddressJson>sample string 5</d2p1:AddressJson> <d2p1:StateName>sample string 8</d2p1:StateName> </DeliveryDetails> <DriverAge>10</DriverAge> <IPLocation xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetlet.Entity.Booking"> <d2p1:IPAddress>sample string 2</d2p1:IPAddress> </IPLocation> <MaxRentalRate>1.1</MaxRentalRate> <MinRentalRate>1.1</MinRentalRate> <ModifiedReservationID>68071964-0382-40e0-a39d-002b254ee370</ModifiedReservationID> <NoOfRecords>8</NoOfRecords> <Passengers>5</Passengers> <PaymentMode>PayAtCounter</PaymentMode> <PickupDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetlet.Entity.Rental"> <d2p1:Address>sample string 4</d2p1:Address> <d2p1:AddressJson>sample string 5</d2p1:AddressJson> <d2p1:StateName>sample string 8</d2p1:StateName> </PickupDetails> <PromoCode>sample string 6</PromoCode> <SpecialOfferID>a0841e8d-bac2-490c-a9cb-e99413e59e51</SpecialOfferID> <VehicleMakeID>1f57d6b2-4e7f-4d89-ad3c-61ea41a26bcb</VehicleMakeID> <VehicleModelID>8e63b629-8187-44f6-ac4f-a79fa062d3d6</VehicleModelID> </SearchVehicleModelParameter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of SearchVehicleModelName | Description | Type | Additional information |
---|---|---|---|
SubscriptionCharges | Collection of SubscriptionCharge |
None. |
|
RentalCharges | Charges |
None. |
|
SpecialOfferID | globally unique identifier |
None. |
|
DeliveryCharge | decimal number |
None. |
|
RentalDays | integer |
None. |
|
UpgradeCharges | UpgradeCharges |
None. |
|
IsOriginalModelWhileModify | boolean |
None. |
|
VehicleModelID | globally unique identifier |
None. |
|
Name | string |
None. |
|
Code | string |
None. |
|
Description | string |
None. |
|
TariffGroup | TariffGroup |
None. |
|
VehicleClassification | VehicleClassification |
None. |
|
Passengers | string |
None. |
|
Luggages | string |
None. |
|
Doors | string |
None. |
|
AutoTransmission | boolean |
None. |
|
Airbag | boolean |
None. |
|
ABS | boolean |
None. |
|
AC | boolean |
None. |
|
CruseControl | boolean |
None. |
|
Engine | string |
None. |
|
VehicleMake | VehicleMake |
None. |
|
Features | Collection of VehicleModelFeature |
None. |
|
IsSoldOut | boolean |
None. |
|
IsCallToBook | boolean |
None. |
|
IsBestSeller | boolean |
None. |
|
VehicleImages | VehicleImages |
None. |
|
SuggestedUpgradeModelIDs | Collection of globally unique identifier |
None. |
|
FavouriteNote | string |
None. |
|
IsRestrictBooking | boolean |
None. |
|
PaymentMode | PaymentStatus |
None. |
|
ModelYear | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "SubscriptionCharges": [ { "Month": 1, "Km": 2, "Rate": 3.1, "PayNowRate": 4.1, "KmExtraRate": 5.1 }, { "Month": 1, "Km": 2, "Rate": 3.1, "PayNowRate": 4.1, "KmExtraRate": 5.1 } ], "RentalCharges": { "RackRate": 1.1, "DiscountedRate": 2.1, "PayNowRate": 3.1, "RateType": 0, "RackRateTotal": 4.1, "PayNowTotal": 5.1 }, "SpecialOfferID": "fb1fea3f-1fa3-43ca-a945-78d6b48c6d48", "DeliveryCharge": 3.0, "RentalDays": 6, "UpgradeCharges": { "UpgradeExtraRateTotal": 1.1 }, "IsOriginalModelWhileModify": true, "VehicleModelID": "3e95f819-26be-401e-8cd2-139f3ef4512f", "Name": "sample string 9", "Code": "sample string 10", "Description": "sample string 11", "TariffGroup": { "TariffGroupID": "77ce2519-ed7c-4ca4-b771-a6e93efa3eb9", "Name": "sample string 2", "IsOnFreeSale": true }, "VehicleClassification": { "VehicleClassificationID": "9a36e25b-ff10-4f5f-b0d5-0729f646903f", "Name": "sample string 2", "Description": "sample string 3", "SequenceNo": 4, "Attachment": { "AttachmentID": "f8996023-80f5-4c00-b982-4e5286962a55", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "Icon": { "AttachmentID": "f8996023-80f5-4c00-b982-4e5286962a55", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "ShortDetails": "sample string 5" }, "Passengers": "sample string 15", "Luggages": "sample string 16", "Doors": "sample string 17", "AutoTransmission": true, "Airbag": true, "ABS": true, "AC": true, "CruseControl": true, "Engine": "sample string 24", "VehicleMake": { "VehicleMakeID": "50638001-897c-415c-930b-b37cb200181c", "Name": "sample string 2" }, "Features": [ { "Name": "sample string 3", "Value": "sample string 4" }, { "Name": "sample string 3", "Value": "sample string 4" } ], "IsSoldOut": true, "IsCallToBook": true, "IsBestSeller": true, "VehicleImages": { "FrontImageAttachment": { "AttachmentID": "f8996023-80f5-4c00-b982-4e5286962a55", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "BackImageAttachment": { "AttachmentID": "f8996023-80f5-4c00-b982-4e5286962a55", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "LeftImageAttachment": { "AttachmentID": "f8996023-80f5-4c00-b982-4e5286962a55", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "RightImageAttachment": { "AttachmentID": "f8996023-80f5-4c00-b982-4e5286962a55", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" } }, "SuggestedUpgradeModelIDs": [ "9493f411-70d4-4ba7-8d13-bf2d6570a29a", "deb7787b-e7ee-4f56-8d22-6164e813f450" ], "FavouriteNote": "sample string 33", "IsRestrictBooking": true, "PaymentMode": 0, "ModelYear": "sample string 35" }, { "SubscriptionCharges": [ { "Month": 1, "Km": 2, "Rate": 3.1, "PayNowRate": 4.1, "KmExtraRate": 5.1 }, { "Month": 1, "Km": 2, "Rate": 3.1, "PayNowRate": 4.1, "KmExtraRate": 5.1 } ], "RentalCharges": { "RackRate": 1.1, "DiscountedRate": 2.1, "PayNowRate": 3.1, "RateType": 0, "RackRateTotal": 4.1, "PayNowTotal": 5.1 }, "SpecialOfferID": "fb1fea3f-1fa3-43ca-a945-78d6b48c6d48", "DeliveryCharge": 3.0, "RentalDays": 6, "UpgradeCharges": { "UpgradeExtraRateTotal": 1.1 }, "IsOriginalModelWhileModify": true, "VehicleModelID": "3e95f819-26be-401e-8cd2-139f3ef4512f", "Name": "sample string 9", "Code": "sample string 10", "Description": "sample string 11", "TariffGroup": { "TariffGroupID": "77ce2519-ed7c-4ca4-b771-a6e93efa3eb9", "Name": "sample string 2", "IsOnFreeSale": true }, "VehicleClassification": { "VehicleClassificationID": "9a36e25b-ff10-4f5f-b0d5-0729f646903f", "Name": "sample string 2", "Description": "sample string 3", "SequenceNo": 4, "Attachment": { "AttachmentID": "f8996023-80f5-4c00-b982-4e5286962a55", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "Icon": { "AttachmentID": "f8996023-80f5-4c00-b982-4e5286962a55", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "ShortDetails": "sample string 5" }, "Passengers": "sample string 15", "Luggages": "sample string 16", "Doors": "sample string 17", "AutoTransmission": true, "Airbag": true, "ABS": true, "AC": true, "CruseControl": true, "Engine": "sample string 24", "VehicleMake": { "VehicleMakeID": "50638001-897c-415c-930b-b37cb200181c", "Name": "sample string 2" }, "Features": [ { "Name": "sample string 3", "Value": "sample string 4" }, { "Name": "sample string 3", "Value": "sample string 4" } ], "IsSoldOut": true, "IsCallToBook": true, "IsBestSeller": true, "VehicleImages": { "FrontImageAttachment": { "AttachmentID": "f8996023-80f5-4c00-b982-4e5286962a55", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "BackImageAttachment": { "AttachmentID": "f8996023-80f5-4c00-b982-4e5286962a55", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "LeftImageAttachment": { "AttachmentID": "f8996023-80f5-4c00-b982-4e5286962a55", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "RightImageAttachment": { "AttachmentID": "f8996023-80f5-4c00-b982-4e5286962a55", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" } }, "SuggestedUpgradeModelIDs": [ "9493f411-70d4-4ba7-8d13-bf2d6570a29a", "deb7787b-e7ee-4f56-8d22-6164e813f450" ], "FavouriteNote": "sample string 33", "IsRestrictBooking": true, "PaymentMode": 0, "ModelYear": "sample string 35" } ]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.