POST api/VehicleClassification?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": "d04be476-66c7-4bb8-b4f6-00ad817d27b3", "VehicleMakeID": "6c874ee7-3880-44ce-acd9-2910076dbe42", "Classifications": [ "3e0a76a6-e0e6-4829-afd7-e1853838c3ca", "fd490a7f-b21a-44ec-a0c5-bacd8819bdbd" ], "CheckOutOn": "2023-12-10T14:04:10.348786+04:00", "CheckInOn": "2023-12-10T14:04:10.348786+04:00", "CheckOutBranchID": "6b00c8e9-dd02-41db-90c9-626122905266", "DeliveryDetails": { "Address": "sample string 4", "AddressJson": "sample string 5", "StateName": "sample string 8" }, "CheckInBranchID": "c22c9cf5-8eb8-4c24-8a6a-dabbd1f8d2d8", "PickupDetails": { "Address": "sample string 4", "AddressJson": "sample string 5", "StateName": "sample string 8" }, "Passengers": 5, "AutoTransmission": 0, "MinRentalRate": 1.1, "MaxRentalRate": 1.1, "SpecialOfferID": "2cfc7348-1a00-48f9-9b8d-1e1cb6b9687f", "PromoCode": "sample string 6", "DebtorID": "e5a944f7-bc99-4010-9a1c-e27c21395e6f", "NoOfRecords": 8, "DriverAge": 10, "ModifiedReservationID": "132fe978-fff3-4f4d-8c48-2e59cc1c00f1", "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>c22c9cf5-8eb8-4c24-8a6a-dabbd1f8d2d8</CheckInBranchID> <CheckInOn>2023-12-10T14:04:10.348786+04:00</CheckInOn> <CheckOutBranchID>6b00c8e9-dd02-41db-90c9-626122905266</CheckOutBranchID> <CheckOutOn>2023-12-10T14:04:10.348786+04:00</CheckOutOn> <Classifications xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>3e0a76a6-e0e6-4829-afd7-e1853838c3ca</d2p1:guid> <d2p1:guid>fd490a7f-b21a-44ec-a0c5-bacd8819bdbd</d2p1:guid> </Classifications> <DebtorID>e5a944f7-bc99-4010-9a1c-e27c21395e6f</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>132fe978-fff3-4f4d-8c48-2e59cc1c00f1</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>2cfc7348-1a00-48f9-9b8d-1e1cb6b9687f</SpecialOfferID> <VehicleMakeID>6c874ee7-3880-44ce-acd9-2910076dbe42</VehicleMakeID> <VehicleModelID>d04be476-66c7-4bb8-b4f6-00ad817d27b3</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": "d2714edb-f973-4c85-b87a-179ae79d505e", "Name": "sample string 2", "Description": "sample string 3", "SequenceNo": 4, "Attachment": { "AttachmentID": "24457f98-2859-4f7b-8df4-622079dde442", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "Icon": { "AttachmentID": "24457f98-2859-4f7b-8df4-622079dde442", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "ShortDetails": "sample string 5" }, "MinPrice": 1.1 }, { "VehicleClassification": { "VehicleClassificationID": "d2714edb-f973-4c85-b87a-179ae79d505e", "Name": "sample string 2", "Description": "sample string 3", "SequenceNo": 4, "Attachment": { "AttachmentID": "24457f98-2859-4f7b-8df4-622079dde442", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "Icon": { "AttachmentID": "24457f98-2859-4f7b-8df4-622079dde442", "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.