POST api/MonthlySubscriptionAddOn/GetInsurance?apiKey={apiKey}&lng={lng}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiKey

string

Required

lng

string

Default value is en

Body Parameters

RentalIn
NameDescriptionTypeAdditional information
RentalDays

integer

None.

RentalType

RentalType

None.

VehicleModelID

globally unique identifier

None.

SubscriptionMonth

integer

None.

ModelYear

integer

None.

SubscriptionKm

integer

None.

RentalTariffID

globally unique identifier

None.

RentalTariffName

string

None.

CheckOutOn

date

None.

CheckInOn

date

None.

CheckOutBranchID

globally unique identifier

None.

CheckInBranchID

globally unique identifier

None.

DeliveryDetails

DeliveryPickupDetail

None.

PickupDetails

DeliveryPickupDetail

None.

DebtorID

globally unique identifier

None.

RentalDiscountOffered

decimal number

None.

AdditionalDrivers

integer

None.

IsPAISelected

boolean

None.

IsCDWSelected

boolean

None.

IsSCDWSelected

boolean

None.

AncillaryIn

Collection of AncillaryIn

None.

RemovedLedgerID

globally unique identifier

None.

PromoCode

string

None.

SpecialOfferID

globally unique identifier

None.

SpecialOfferName

string

None.

CheckOutKm

integer

None.

CheckInKm

integer

None.

CheckInFuel

integer

None.

CheckOutFuel

integer

None.

VehicleID

globally unique identifier

None.

AllowedKm

integer

None.

AllowedKmPerRental

integer

None.

TransactionID

globally unique identifier

None.

TransactionType

TransactionType

None.

RentalRate

decimal number

None.

ModelWiseChargeID

globally unique identifier

None.

VehicleVariantID

globally unique identifier

None.

CancelledOn

date

None.

DayUnitID

integer

None.

PaymentStatus

PaymentStatus

None.

UpgradeTariffGroupID

globally unique identifier

None.

UpgradeModelID

globally unique identifier

None.

UpgradeType

UpgradeType

None.

ModifiedReservationID

globally unique identifier

None.

ContactID

globally unique identifier

None.

IsMonthlyBooking

boolean

None.

IPLocation

IPLocation

None.

Request Formats

application/json, text/json

Sample:
{
  "RentalDays": 1,
  "RentalType": 0,
  "VehicleModelID": "5b79fa9a-c6f7-4d1e-a2ca-837cfa9e65eb",
  "SubscriptionMonth": 3,
  "ModelYear": 4,
  "SubscriptionKm": 5,
  "RentalTariffID": "edcdfd63-9b62-4f68-afe4-f76845056ab9",
  "RentalTariffName": "sample string 7",
  "CheckOutOn": "2024-06-14T07:12:21.4697196+04:00",
  "CheckInOn": "2024-06-14T07:12:21.4697196+04:00",
  "CheckOutBranchID": "d847d40d-cb3d-4c97-ade5-930d55b7dce7",
  "CheckInBranchID": "23c295b5-fa48-4ace-8e04-93bef9b53819",
  "DeliveryDetails": {
    "Address": "sample string 4",
    "AddressJson": "sample string 5",
    "StateName": "sample string 8"
  },
  "PickupDetails": {
    "Address": "sample string 4",
    "AddressJson": "sample string 5",
    "StateName": "sample string 8"
  },
  "DebtorID": "c9e6b704-5f7d-40da-b9cf-a8ee266fe500",
  "RentalDiscountOffered": 14.1,
  "AdditionalDrivers": 15,
  "IsPAISelected": true,
  "IsCDWSelected": true,
  "IsSCDWSelected": true,
  "AncillaryIn": [
    {
      "AncillaryID": "6f3bdc93-c932-4f58-aa94-24bfa29f3666",
      "Qty": 2,
      "AncillaryItemIDs": [
        "36345aba-4213-4864-91db-6d84dd923f29",
        "4305ecfa-0191-4362-9ed6-739883cf0b8c"
      ]
    },
    {
      "AncillaryID": "6f3bdc93-c932-4f58-aa94-24bfa29f3666",
      "Qty": 2,
      "AncillaryItemIDs": [
        "36345aba-4213-4864-91db-6d84dd923f29",
        "4305ecfa-0191-4362-9ed6-739883cf0b8c"
      ]
    }
  ],
  "RemovedLedgerID": "64b9250b-bee2-4646-8bd0-5bc124b12891",
  "PromoCode": "sample string 20",
  "SpecialOfferID": "c732e411-1a14-447e-b849-84b812df7511",
  "SpecialOfferName": "sample string 22",
  "CheckOutKm": 23,
  "CheckInKm": 24,
  "CheckInFuel": 25,
  "CheckOutFuel": 26,
  "VehicleID": "f98c6ecc-7c37-4b90-879f-70b2cba1f45e",
  "AllowedKm": 28,
  "AllowedKmPerRental": 29,
  "TransactionID": "3af0b379-3be4-4901-8ab8-d512e8383d13",
  "TransactionType": 0,
  "RentalRate": 31.1,
  "ModelWiseChargeID": "644432d9-44cf-4f39-bcf6-04977ddda732",
  "VehicleVariantID": "3d3e4bbd-344a-482c-921b-984b031352ec",
  "CancelledOn": "2024-06-14T07:12:21.4697196+04:00",
  "DayUnitID": 35,
  "PaymentStatus": 0,
  "UpgradeTariffGroupID": "da308566-c9be-4ab1-8e1c-284675cd517c",
  "UpgradeModelID": "77c03fc0-6379-426a-8505-ec20e7541ba9",
  "UpgradeType": 0,
  "ModifiedReservationID": "e8713600-d74e-4a4d-839b-2cbe028ab0ea",
  "ContactID": "679c3f31-8f7b-4183-aad3-b0a2129ff04b",
  "IsMonthlyBooking": true,
  "IPLocation": {
    "IPAddress": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<RentalIn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity.Rental">
  <AdditionalDrivers>15</AdditionalDrivers>
  <AllowedKm>28</AllowedKm>
  <AllowedKmPerRental>29</AllowedKmPerRental>
  <AncillaryIn>
    <AncillaryIn>
      <AncillaryID>6f3bdc93-c932-4f58-aa94-24bfa29f3666</AncillaryID>
      <AncillaryItemIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>36345aba-4213-4864-91db-6d84dd923f29</d4p1:guid>
        <d4p1:guid>4305ecfa-0191-4362-9ed6-739883cf0b8c</d4p1:guid>
      </AncillaryItemIDs>
      <Qty>2</Qty>
    </AncillaryIn>
    <AncillaryIn>
      <AncillaryID>6f3bdc93-c932-4f58-aa94-24bfa29f3666</AncillaryID>
      <AncillaryItemIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>36345aba-4213-4864-91db-6d84dd923f29</d4p1:guid>
        <d4p1:guid>4305ecfa-0191-4362-9ed6-739883cf0b8c</d4p1:guid>
      </AncillaryItemIDs>
      <Qty>2</Qty>
    </AncillaryIn>
  </AncillaryIn>
  <CancelledOn>2024-06-14T07:12:21.4697196+04:00</CancelledOn>
  <CheckInBranchID>23c295b5-fa48-4ace-8e04-93bef9b53819</CheckInBranchID>
  <CheckInFuel>25</CheckInFuel>
  <CheckInKm>24</CheckInKm>
  <CheckInOn>2024-06-14T07:12:21.4697196+04:00</CheckInOn>
  <CheckOutBranchID>d847d40d-cb3d-4c97-ade5-930d55b7dce7</CheckOutBranchID>
  <CheckOutFuel>26</CheckOutFuel>
  <CheckOutKm>23</CheckOutKm>
  <CheckOutOn>2024-06-14T07:12:21.4697196+04:00</CheckOutOn>
  <ContactID>679c3f31-8f7b-4183-aad3-b0a2129ff04b</ContactID>
  <DayUnitID>35</DayUnitID>
  <DebtorID>c9e6b704-5f7d-40da-b9cf-a8ee266fe500</DebtorID>
  <DeliveryDetails>
    <Address>sample string 4</Address>
    <AddressJson>sample string 5</AddressJson>
    <StateName>sample string 8</StateName>
  </DeliveryDetails>
  <IPLocation xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetlet.Entity.Booking">
    <d2p1:IPAddress>sample string 2</d2p1:IPAddress>
  </IPLocation>
  <IsCDWSelected>true</IsCDWSelected>
  <IsMonthlyBooking>true</IsMonthlyBooking>
  <IsPAISelected>true</IsPAISelected>
  <IsSCDWSelected>true</IsSCDWSelected>
  <ModelWiseChargeID>644432d9-44cf-4f39-bcf6-04977ddda732</ModelWiseChargeID>
  <ModelYear>4</ModelYear>
  <ModifiedReservationID>e8713600-d74e-4a4d-839b-2cbe028ab0ea</ModifiedReservationID>
  <PaymentStatus>PayAtCounter</PaymentStatus>
  <PickupDetails>
    <Address>sample string 4</Address>
    <AddressJson>sample string 5</AddressJson>
    <StateName>sample string 8</StateName>
  </PickupDetails>
  <PromoCode>sample string 20</PromoCode>
  <RemovedLedgerID>64b9250b-bee2-4646-8bd0-5bc124b12891</RemovedLedgerID>
  <RentalDays>1</RentalDays>
  <RentalDiscountOffered>14.1</RentalDiscountOffered>
  <RentalRate>31.1</RentalRate>
  <RentalTariffID>edcdfd63-9b62-4f68-afe4-f76845056ab9</RentalTariffID>
  <RentalTariffName>sample string 7</RentalTariffName>
  <RentalType>Daily</RentalType>
  <SpecialOfferID>c732e411-1a14-447e-b849-84b812df7511</SpecialOfferID>
  <SpecialOfferName>sample string 22</SpecialOfferName>
  <SubscriptionKm>5</SubscriptionKm>
  <SubscriptionMonth>3</SubscriptionMonth>
  <TransactionID>3af0b379-3be4-4901-8ab8-d512e8383d13</TransactionID>
  <TransactionType>None</TransactionType>
  <UpgradeModelID>77c03fc0-6379-426a-8505-ec20e7541ba9</UpgradeModelID>
  <UpgradeTariffGroupID>da308566-c9be-4ab1-8e1c-284675cd517c</UpgradeTariffGroupID>
  <UpgradeType>None</UpgradeType>
  <VehicleID>f98c6ecc-7c37-4b90-879f-70b2cba1f45e</VehicleID>
  <VehicleModelID>5b79fa9a-c6f7-4d1e-a2ca-837cfa9e65eb</VehicleModelID>
  <VehicleVariantID>3d3e4bbd-344a-482c-921b-984b031352ec</VehicleVariantID>
</RentalIn>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Insurance
NameDescriptionTypeAdditional information
Name

string

None.

ShortName

string

None.

InsuranceType

InsuranceType

None.

IsSelected

boolean

None.

Description

string

None.

Rate

decimal number

None.

RateType

RateType

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "ShortName": "sample string 2",
    "InsuranceType": 0,
    "IsSelected": true,
    "Description": "sample string 4",
    "Rate": 5.1,
    "RateType": 0
  },
  {
    "Name": "sample string 1",
    "ShortName": "sample string 2",
    "InsuranceType": 0,
    "IsSelected": true,
    "Description": "sample string 4",
    "Rate": 5.1,
    "RateType": 0
  }
]

application/xml, text/xml

Sample:
<ArrayOfInsurance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity.Booking">
  <Insurance>
    <Description>sample string 4</Description>
    <InsuranceType>PAI</InsuranceType>
    <IsSelected>true</IsSelected>
    <Name>sample string 1</Name>
    <Rate>5.1</Rate>
    <RateType>PerDay</RateType>
    <ShortName>sample string 2</ShortName>
  </Insurance>
  <Insurance>
    <Description>sample string 4</Description>
    <InsuranceType>PAI</InsuranceType>
    <IsSelected>true</IsSelected>
    <Name>sample string 1</Name>
    <Rate>5.1</Rate>
    <RateType>PerDay</RateType>
    <ShortName>sample string 2</ShortName>
  </Insurance>
</ArrayOfInsurance>