POST api/VehicleClassification/GetWithPrice?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": "8a9b232d-4d16-42fc-9ac1-763b1f0077e6", "VehicleMakeID": "cc60801d-775a-4e14-a7f4-e8f3b6e85c57", "Classifications": [ "29c4e77d-2e9a-419f-993b-ce31d2d96d88", "eb2ef3f0-6132-4c85-8fc9-f6b1c62cbf73" ], "CheckOutOn": "2023-12-08T19:49:20.9052264+04:00", "CheckInOn": "2023-12-08T19:49:20.9052264+04:00", "CheckOutBranchID": "168ba028-afbf-4576-ba7b-d6fcfa13d1b4", "DeliveryDetails": { "Address": "sample string 4", "AddressJson": "sample string 5", "StateName": "sample string 8" }, "CheckInBranchID": "5bf7619f-30af-4804-8c6d-0adbd299aaff", "PickupDetails": { "Address": "sample string 4", "AddressJson": "sample string 5", "StateName": "sample string 8" }, "Passengers": 5, "AutoTransmission": 0, "MinRentalRate": 1.1, "MaxRentalRate": 1.1, "SpecialOfferID": "1f3ebdcc-86de-4ab2-b9eb-d4efa28c4a3b", "PromoCode": "sample string 6", "DebtorID": "d480e242-edf0-4d4d-8d89-e08c8133c474", "NoOfRecords": 8, "DriverAge": 10, "ModifiedReservationID": "e790d755-69f3-43d8-baa9-b119e0e9a543", "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>5bf7619f-30af-4804-8c6d-0adbd299aaff</CheckInBranchID> <CheckInOn>2023-12-08T19:49:20.9052264+04:00</CheckInOn> <CheckOutBranchID>168ba028-afbf-4576-ba7b-d6fcfa13d1b4</CheckOutBranchID> <CheckOutOn>2023-12-08T19:49:20.9052264+04:00</CheckOutOn> <Classifications xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>29c4e77d-2e9a-419f-993b-ce31d2d96d88</d2p1:guid> <d2p1:guid>eb2ef3f0-6132-4c85-8fc9-f6b1c62cbf73</d2p1:guid> </Classifications> <DebtorID>d480e242-edf0-4d4d-8d89-e08c8133c474</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>e790d755-69f3-43d8-baa9-b119e0e9a543</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>1f3ebdcc-86de-4ab2-b9eb-d4efa28c4a3b</SpecialOfferID> <VehicleMakeID>cc60801d-775a-4e14-a7f4-e8f3b6e85c57</VehicleMakeID> <VehicleModelID>8a9b232d-4d16-42fc-9ac1-763b1f0077e6</VehicleModelID> </SearchVehicleModelParameter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of VehicleClassificationPriceName | Description | Type | Additional information |
---|---|---|---|
VehicleClassification | VehicleClassification |
None. |
|
MinPrice | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "VehicleClassification": { "VehicleClassificationID": "5997a103-3408-4aa6-8973-8de8c6663eff", "Name": "sample string 2", "Description": "sample string 3", "SequenceNo": 4, "Attachment": { "AttachmentID": "b3d23eab-d5d8-4e90-8252-b1db022b6efc", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "Icon": { "AttachmentID": "b3d23eab-d5d8-4e90-8252-b1db022b6efc", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "ShortDetails": "sample string 5" }, "MinPrice": 1.1 }, { "VehicleClassification": { "VehicleClassificationID": "5997a103-3408-4aa6-8973-8de8c6663eff", "Name": "sample string 2", "Description": "sample string 3", "SequenceNo": 4, "Attachment": { "AttachmentID": "b3d23eab-d5d8-4e90-8252-b1db022b6efc", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "Icon": { "AttachmentID": "b3d23eab-d5d8-4e90-8252-b1db022b6efc", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "ShortDetails": "sample string 5" }, "MinPrice": 1.1 } ]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.