POST api/SearchVehicleModel/GetUpgradeSuggestions?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": "80d1158c-1ff6-4d97-ba2d-26974d9440d9",
  "VehicleMakeID": "29472a53-33ac-408d-93d6-591b0bc154b2",
  "Classifications": [
    "064a46c7-66dd-4320-9e2d-af144fc30ee1",
    "23a3656a-2335-4f8b-90e2-fc817b505398"
  ],
  "CheckOutOn": "2023-12-10T15:30:34.1894913+04:00",
  "CheckInOn": "2023-12-10T15:30:34.1894913+04:00",
  "CheckOutBranchID": "6490839f-18a9-4589-af89-45db800f967c",
  "DeliveryDetails": {
    "Address": "sample string 4",
    "AddressJson": "sample string 5",
    "StateName": "sample string 8"
  },
  "CheckInBranchID": "74a39144-4f57-4bc7-a4cc-3b84b3fd346f",
  "PickupDetails": {
    "Address": "sample string 4",
    "AddressJson": "sample string 5",
    "StateName": "sample string 8"
  },
  "Passengers": 5,
  "AutoTransmission": 0,
  "MinRentalRate": 1.1,
  "MaxRentalRate": 1.1,
  "SpecialOfferID": "f0c5c910-79dd-42e2-a972-ead7a2a594c8",
  "PromoCode": "sample string 6",
  "DebtorID": "44f2d3bb-01bd-40f5-91c6-27d8f5808e5a",
  "NoOfRecords": 8,
  "DriverAge": 10,
  "ModifiedReservationID": "63fff9d8-3fd0-4d57-b34e-f0cb96b83fe9",
  "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>74a39144-4f57-4bc7-a4cc-3b84b3fd346f</CheckInBranchID>
  <CheckInOn>2023-12-10T15:30:34.1894913+04:00</CheckInOn>
  <CheckOutBranchID>6490839f-18a9-4589-af89-45db800f967c</CheckOutBranchID>
  <CheckOutOn>2023-12-10T15:30:34.1894913+04:00</CheckOutOn>
  <Classifications xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>064a46c7-66dd-4320-9e2d-af144fc30ee1</d2p1:guid>
    <d2p1:guid>23a3656a-2335-4f8b-90e2-fc817b505398</d2p1:guid>
  </Classifications>
  <DebtorID>44f2d3bb-01bd-40f5-91c6-27d8f5808e5a</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>63fff9d8-3fd0-4d57-b34e-f0cb96b83fe9</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>f0c5c910-79dd-42e2-a972-ead7a2a594c8</SpecialOfferID>
  <VehicleMakeID>29472a53-33ac-408d-93d6-591b0bc154b2</VehicleMakeID>
  <VehicleModelID>80d1158c-1ff6-4d97-ba2d-26974d9440d9</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": "5c90eeef-6a31-4c2a-b657-13bc9309ba60",
    "DeliveryCharge": 3.0,
    "RentalDays": 6,
    "UpgradeCharges": {
      "UpgradeExtraRateTotal": 1.1
    },
    "IsOriginalModelWhileModify": true,
    "VehicleModelID": "f3581d7c-14f9-4c0c-b530-60632188ee7b",
    "Name": "sample string 9",
    "Code": "sample string 10",
    "Description": "sample string 11",
    "TariffGroup": {
      "TariffGroupID": "015b6cb5-7cc8-4f02-9f41-06f61af82ad6",
      "Name": "sample string 2",
      "IsOnFreeSale": true
    },
    "VehicleClassification": {
      "VehicleClassificationID": "b1d20d8c-78e9-4301-a2e3-b46ac42ab28a",
      "Name": "sample string 2",
      "Description": "sample string 3",
      "SequenceNo": 4,
      "Attachment": {
        "AttachmentID": "8284d73a-8bcd-4a9d-8cd5-4e9bba605eb6",
        "ImageString": "sample string 6",
        "AttachmentDataBase64": "sample string 7"
      },
      "Icon": {
        "AttachmentID": "8284d73a-8bcd-4a9d-8cd5-4e9bba605eb6",
        "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": "a73e03db-9c7e-4890-96b0-3ff106fad526",
      "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": "8284d73a-8bcd-4a9d-8cd5-4e9bba605eb6",
        "ImageString": "sample string 6",
        "AttachmentDataBase64": "sample string 7"
      },
      "BackImageAttachment": {
        "AttachmentID": "8284d73a-8bcd-4a9d-8cd5-4e9bba605eb6",
        "ImageString": "sample string 6",
        "AttachmentDataBase64": "sample string 7"
      },
      "LeftImageAttachment": {
        "AttachmentID": "8284d73a-8bcd-4a9d-8cd5-4e9bba605eb6",
        "ImageString": "sample string 6",
        "AttachmentDataBase64": "sample string 7"
      },
      "RightImageAttachment": {
        "AttachmentID": "8284d73a-8bcd-4a9d-8cd5-4e9bba605eb6",
        "ImageString": "sample string 6",
        "AttachmentDataBase64": "sample string 7"
      }
    },
    "SuggestedUpgradeModelIDs": [
      "638c2535-e853-46d3-8734-d9dc490274db",
      "4403e332-8695-440f-aede-2ca14df47386"
    ],
    "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": "5c90eeef-6a31-4c2a-b657-13bc9309ba60",
    "DeliveryCharge": 3.0,
    "RentalDays": 6,
    "UpgradeCharges": {
      "UpgradeExtraRateTotal": 1.1
    },
    "IsOriginalModelWhileModify": true,
    "VehicleModelID": "f3581d7c-14f9-4c0c-b530-60632188ee7b",
    "Name": "sample string 9",
    "Code": "sample string 10",
    "Description": "sample string 11",
    "TariffGroup": {
      "TariffGroupID": "015b6cb5-7cc8-4f02-9f41-06f61af82ad6",
      "Name": "sample string 2",
      "IsOnFreeSale": true
    },
    "VehicleClassification": {
      "VehicleClassificationID": "b1d20d8c-78e9-4301-a2e3-b46ac42ab28a",
      "Name": "sample string 2",
      "Description": "sample string 3",
      "SequenceNo": 4,
      "Attachment": {
        "AttachmentID": "8284d73a-8bcd-4a9d-8cd5-4e9bba605eb6",
        "ImageString": "sample string 6",
        "AttachmentDataBase64": "sample string 7"
      },
      "Icon": {
        "AttachmentID": "8284d73a-8bcd-4a9d-8cd5-4e9bba605eb6",
        "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": "a73e03db-9c7e-4890-96b0-3ff106fad526",
      "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": "8284d73a-8bcd-4a9d-8cd5-4e9bba605eb6",
        "ImageString": "sample string 6",
        "AttachmentDataBase64": "sample string 7"
      },
      "BackImageAttachment": {
        "AttachmentID": "8284d73a-8bcd-4a9d-8cd5-4e9bba605eb6",
        "ImageString": "sample string 6",
        "AttachmentDataBase64": "sample string 7"
      },
      "LeftImageAttachment": {
        "AttachmentID": "8284d73a-8bcd-4a9d-8cd5-4e9bba605eb6",
        "ImageString": "sample string 6",
        "AttachmentDataBase64": "sample string 7"
      },
      "RightImageAttachment": {
        "AttachmentID": "8284d73a-8bcd-4a9d-8cd5-4e9bba605eb6",
        "ImageString": "sample string 6",
        "AttachmentDataBase64": "sample string 7"
      }
    },
    "SuggestedUpgradeModelIDs": [
      "638c2535-e853-46d3-8734-d9dc490274db",
      "4403e332-8695-440f-aede-2ca14df47386"
    ],
    "FavouriteNote": "sample string 33",
    "IsRestrictBooking": true,
    "PaymentMode": 0,
    "ModelYear": "sample string 35"
  }
]

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.