POST api/AddOn/GetOptFullInsurance?apiKey={apiKey}&lng={lng}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiKey | string |
Required |
|
lng | string |
Default value is en |
Body Parameters
RentalInName | Description | Type | Additional 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": "97ceb2b4-5fc9-4ec9-a198-535b4106565f", "SubscriptionMonth": 3, "ModelYear": 4, "SubscriptionKm": 5, "RentalTariffID": "1e90b025-15de-4d53-97cd-86f195607444", "RentalTariffName": "sample string 7", "CheckOutOn": "2023-12-08T19:09:34.173446+04:00", "CheckInOn": "2023-12-08T19:09:34.173446+04:00", "CheckOutBranchID": "b80b4ae9-df2d-4de3-9dd7-33253eba6548", "CheckInBranchID": "20f968d9-b90d-4b40-904c-6900b784ee35", "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": "d3d5cf00-6de5-41c2-8123-2b137b414c52", "RentalDiscountOffered": 14.1, "AdditionalDrivers": 15, "IsPAISelected": true, "IsCDWSelected": true, "IsSCDWSelected": true, "AncillaryIn": [ { "AncillaryID": "ce710cc1-4b6d-453f-9107-62c051e4bcd2", "Qty": 2, "AncillaryItemIDs": [ "e80ab875-23b0-4801-8e5c-a4ed1ff215b9", "87f736e4-b68e-4ddf-89a5-6c57189f3c9d" ] }, { "AncillaryID": "ce710cc1-4b6d-453f-9107-62c051e4bcd2", "Qty": 2, "AncillaryItemIDs": [ "e80ab875-23b0-4801-8e5c-a4ed1ff215b9", "87f736e4-b68e-4ddf-89a5-6c57189f3c9d" ] } ], "RemovedLedgerID": "8fda203a-39bb-478a-bcd2-aaeb7aece4d5", "PromoCode": "sample string 20", "SpecialOfferID": "1a5fe7d5-382b-4a3c-b8d7-d4d20acde1af", "SpecialOfferName": "sample string 22", "CheckOutKm": 23, "CheckInKm": 24, "CheckInFuel": 25, "CheckOutFuel": 26, "VehicleID": "2a2a74cf-dcb4-420c-a07e-1c68c3427739", "AllowedKm": 28, "AllowedKmPerRental": 29, "TransactionID": "ed8122b4-e2c3-40be-8697-1f8891ae5d69", "TransactionType": 0, "RentalRate": 31.1, "ModelWiseChargeID": "1400a4cc-64c0-44bf-94e1-6cd4e408bbd6", "VehicleVariantID": "f67009e6-1626-4197-8976-fbdd44d4207e", "CancelledOn": "2023-12-08T19:09:34.173446+04:00", "DayUnitID": 35, "PaymentStatus": 0, "UpgradeTariffGroupID": "f2cbc7bd-71ae-4a5e-a651-e28a2bd98f38", "UpgradeModelID": "dbfda411-e342-460a-8620-38d9c3502af5", "UpgradeType": 0, "ModifiedReservationID": "f7107794-ff1d-4030-90fe-db8717e75614", "ContactID": "315b60ce-bbfe-499f-b820-3bc42d90983e", "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>ce710cc1-4b6d-453f-9107-62c051e4bcd2</AncillaryID> <AncillaryItemIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>e80ab875-23b0-4801-8e5c-a4ed1ff215b9</d4p1:guid> <d4p1:guid>87f736e4-b68e-4ddf-89a5-6c57189f3c9d</d4p1:guid> </AncillaryItemIDs> <Qty>2</Qty> </AncillaryIn> <AncillaryIn> <AncillaryID>ce710cc1-4b6d-453f-9107-62c051e4bcd2</AncillaryID> <AncillaryItemIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>e80ab875-23b0-4801-8e5c-a4ed1ff215b9</d4p1:guid> <d4p1:guid>87f736e4-b68e-4ddf-89a5-6c57189f3c9d</d4p1:guid> </AncillaryItemIDs> <Qty>2</Qty> </AncillaryIn> </AncillaryIn> <CancelledOn>2023-12-08T19:09:34.173446+04:00</CancelledOn> <CheckInBranchID>20f968d9-b90d-4b40-904c-6900b784ee35</CheckInBranchID> <CheckInFuel>25</CheckInFuel> <CheckInKm>24</CheckInKm> <CheckInOn>2023-12-08T19:09:34.173446+04:00</CheckInOn> <CheckOutBranchID>b80b4ae9-df2d-4de3-9dd7-33253eba6548</CheckOutBranchID> <CheckOutFuel>26</CheckOutFuel> <CheckOutKm>23</CheckOutKm> <CheckOutOn>2023-12-08T19:09:34.173446+04:00</CheckOutOn> <ContactID>315b60ce-bbfe-499f-b820-3bc42d90983e</ContactID> <DayUnitID>35</DayUnitID> <DebtorID>d3d5cf00-6de5-41c2-8123-2b137b414c52</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>1400a4cc-64c0-44bf-94e1-6cd4e408bbd6</ModelWiseChargeID> <ModelYear>4</ModelYear> <ModifiedReservationID>f7107794-ff1d-4030-90fe-db8717e75614</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>8fda203a-39bb-478a-bcd2-aaeb7aece4d5</RemovedLedgerID> <RentalDays>1</RentalDays> <RentalDiscountOffered>14.1</RentalDiscountOffered> <RentalRate>31.1</RentalRate> <RentalTariffID>1e90b025-15de-4d53-97cd-86f195607444</RentalTariffID> <RentalTariffName>sample string 7</RentalTariffName> <RentalType>Daily</RentalType> <SpecialOfferID>1a5fe7d5-382b-4a3c-b8d7-d4d20acde1af</SpecialOfferID> <SpecialOfferName>sample string 22</SpecialOfferName> <SubscriptionKm>5</SubscriptionKm> <SubscriptionMonth>3</SubscriptionMonth> <TransactionID>ed8122b4-e2c3-40be-8697-1f8891ae5d69</TransactionID> <TransactionType>None</TransactionType> <UpgradeModelID>dbfda411-e342-460a-8620-38d9c3502af5</UpgradeModelID> <UpgradeTariffGroupID>f2cbc7bd-71ae-4a5e-a651-e28a2bd98f38</UpgradeTariffGroupID> <UpgradeType>None</UpgradeType> <VehicleID>2a2a74cf-dcb4-420c-a07e-1c68c3427739</VehicleID> <VehicleModelID>97ceb2b4-5fc9-4ec9-a198-535b4106565f</VehicleModelID> <VehicleVariantID>f67009e6-1626-4197-8976-fbdd44d4207e</VehicleVariantID> </RentalIn>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OptFullInsuranceName | Description | Type | Additional information |
---|---|---|---|
FullInsuranceNotOptedText | string |
None. |
|
FullInsuranceIncluded | Collection of string |
None. |
|
PerDayPriceFI | decimal number |
None. |
|
TotalPriceFI | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "FullInsuranceNotOptedText": "sample string 1", "FullInsuranceIncluded": [ "sample string 1", "sample string 2" ], "PerDayPriceFI": 2.1, "TotalPriceFI": 3.1 }
application/xml, text/xml
Sample:
<OptFullInsurance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity.Booking"> <FullInsuranceIncluded xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </FullInsuranceIncluded> <FullInsuranceNotOptedText>sample string 1</FullInsuranceNotOptedText> <PerDayPriceFI>2.1</PerDayPriceFI> <TotalPriceFI>3.1</TotalPriceFI> </OptFullInsurance>