POST api/SearchVehicleModel/GetAllVehicleModels?apiKey={apiKey}&lng={lng}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiKey

string

Required

lng

string

Default value is en

Body Parameters

SearchVehicleModelParameter
NameDescriptionTypeAdditional 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": "b3f591c0-6707-454d-ac80-681ccbc962f3",
  "VehicleMakeID": "b6805861-dcd0-4641-94ef-7d9c64cfc6f9",
  "Classifications": [
    "5b372566-1c90-45a3-9a24-4a4751d12eb3",
    "10494b0d-0b4b-411b-b750-278f9c7dd993"
  ],
  "CheckOutOn": "2024-06-16T14:05:32.0761381+04:00",
  "CheckInOn": "2024-06-16T14:05:32.0761381+04:00",
  "CheckOutBranchID": "b0bc7d58-3ce8-4358-b3be-992e611982bd",
  "DeliveryDetails": {
    "Address": "sample string 4",
    "AddressJson": "sample string 5",
    "StateName": "sample string 8"
  },
  "CheckInBranchID": "62a8082e-fc1f-40b7-9664-01261811e745",
  "PickupDetails": {
    "Address": "sample string 4",
    "AddressJson": "sample string 5",
    "StateName": "sample string 8"
  },
  "Passengers": 5,
  "AutoTransmission": 0,
  "MinRentalRate": 1.1,
  "MaxRentalRate": 1.1,
  "SpecialOfferID": "4e5b40bd-58f5-41f4-9a6c-8d4cd307ad42",
  "PromoCode": "sample string 6",
  "DebtorID": "66705900-ec47-4239-be3b-dc44eabe44f5",
  "NoOfRecords": 8,
  "DriverAge": 10,
  "ModifiedReservationID": "3b25f680-c624-4881-9674-2e68541e6d4f",
  "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>62a8082e-fc1f-40b7-9664-01261811e745</CheckInBranchID>
  <CheckInOn>2024-06-16T14:05:32.0761381+04:00</CheckInOn>
  <CheckOutBranchID>b0bc7d58-3ce8-4358-b3be-992e611982bd</CheckOutBranchID>
  <CheckOutOn>2024-06-16T14:05:32.0761381+04:00</CheckOutOn>
  <Classifications xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>5b372566-1c90-45a3-9a24-4a4751d12eb3</d2p1:guid>
    <d2p1:guid>10494b0d-0b4b-411b-b750-278f9c7dd993</d2p1:guid>
  </Classifications>
  <DebtorID>66705900-ec47-4239-be3b-dc44eabe44f5</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>3b25f680-c624-4881-9674-2e68541e6d4f</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>4e5b40bd-58f5-41f4-9a6c-8d4cd307ad42</SpecialOfferID>
  <VehicleMakeID>b6805861-dcd0-4641-94ef-7d9c64cfc6f9</VehicleMakeID>
  <VehicleModelID>b3f591c0-6707-454d-ac80-681ccbc962f3</VehicleModelID>
</SearchVehicleModelParameter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of SearchVehicleModel
NameDescriptionTypeAdditional 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": "d2101e86-809d-46f5-9db3-075c34071d53",
    "DeliveryCharge": 3.0,
    "RentalDays": 6,
    "UpgradeCharges": {
      "UpgradeExtraRateTotal": 1.1
    },
    "IsOriginalModelWhileModify": true,
    "VehicleModelID": "1ff6d486-b6e9-4539-9ad5-de23bf0fa94a",
    "Name": "sample string 9",
    "Code": "sample string 10",
    "Description": "sample string 11",
    "TariffGroup": {
      "TariffGroupID": "8b58b4c4-c417-4bb9-b04b-3614f094732c",
      "Name": "sample string 2",
      "IsOnFreeSale": true
    },
    "VehicleClassification": {
      "VehicleClassificationID": "7698e11a-39d1-48b9-a11b-7c5e3090b5e1",
      "Name": "sample string 2",
      "Description": "sample string 3",
      "SequenceNo": 4,
      "Attachment": {
        "AttachmentID": "e55a9082-0bfb-4326-aba1-2fd53739bd20",
        "ImageString": "sample string 6",
        "AttachmentDataBase64": "sample string 7"
      },
      "Icon": {
        "AttachmentID": "e55a9082-0bfb-4326-aba1-2fd53739bd20",
        "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": "6f7d9e8a-e6c9-4d81-8d70-73261bc6e0de",
      "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": "e55a9082-0bfb-4326-aba1-2fd53739bd20",
        "ImageString": "sample string 6",
        "AttachmentDataBase64": "sample string 7"
      },
      "BackImageAttachment": {
        "AttachmentID": "e55a9082-0bfb-4326-aba1-2fd53739bd20",
        "ImageString": "sample string 6",
        "AttachmentDataBase64": "sample string 7"
      },
      "LeftImageAttachment": {
        "AttachmentID": "e55a9082-0bfb-4326-aba1-2fd53739bd20",
        "ImageString": "sample string 6",
        "AttachmentDataBase64": "sample string 7"
      },
      "RightImageAttachment": {
        "AttachmentID": "e55a9082-0bfb-4326-aba1-2fd53739bd20",
        "ImageString": "sample string 6",
        "AttachmentDataBase64": "sample string 7"
      }
    },
    "SuggestedUpgradeModelIDs": [
      "094ac51c-2386-4aae-9ded-7df04ee5a44f",
      "12487706-589e-4103-8550-ff1690b6dd54"
    ],
    "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": "d2101e86-809d-46f5-9db3-075c34071d53",
    "DeliveryCharge": 3.0,
    "RentalDays": 6,
    "UpgradeCharges": {
      "UpgradeExtraRateTotal": 1.1
    },
    "IsOriginalModelWhileModify": true,
    "VehicleModelID": "1ff6d486-b6e9-4539-9ad5-de23bf0fa94a",
    "Name": "sample string 9",
    "Code": "sample string 10",
    "Description": "sample string 11",
    "TariffGroup": {
      "TariffGroupID": "8b58b4c4-c417-4bb9-b04b-3614f094732c",
      "Name": "sample string 2",
      "IsOnFreeSale": true
    },
    "VehicleClassification": {
      "VehicleClassificationID": "7698e11a-39d1-48b9-a11b-7c5e3090b5e1",
      "Name": "sample string 2",
      "Description": "sample string 3",
      "SequenceNo": 4,
      "Attachment": {
        "AttachmentID": "e55a9082-0bfb-4326-aba1-2fd53739bd20",
        "ImageString": "sample string 6",
        "AttachmentDataBase64": "sample string 7"
      },
      "Icon": {
        "AttachmentID": "e55a9082-0bfb-4326-aba1-2fd53739bd20",
        "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": "6f7d9e8a-e6c9-4d81-8d70-73261bc6e0de",
      "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": "e55a9082-0bfb-4326-aba1-2fd53739bd20",
        "ImageString": "sample string 6",
        "AttachmentDataBase64": "sample string 7"
      },
      "BackImageAttachment": {
        "AttachmentID": "e55a9082-0bfb-4326-aba1-2fd53739bd20",
        "ImageString": "sample string 6",
        "AttachmentDataBase64": "sample string 7"
      },
      "LeftImageAttachment": {
        "AttachmentID": "e55a9082-0bfb-4326-aba1-2fd53739bd20",
        "ImageString": "sample string 6",
        "AttachmentDataBase64": "sample string 7"
      },
      "RightImageAttachment": {
        "AttachmentID": "e55a9082-0bfb-4326-aba1-2fd53739bd20",
        "ImageString": "sample string 6",
        "AttachmentDataBase64": "sample string 7"
      }
    },
    "SuggestedUpgradeModelIDs": [
      "094ac51c-2386-4aae-9ded-7df04ee5a44f",
      "12487706-589e-4103-8550-ff1690b6dd54"
    ],
    "FavouriteNote": "sample string 33",
    "IsRestrictBooking": true,
    "PaymentMode": 0,
    "ModelYear": "sample string 35"
  }
]

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.