POST api/MonthlySubscriptionAddOn/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": "e443fffe-8a15-4404-9d93-02a9552bbba7", "SubscriptionMonth": 3, "ModelYear": 4, "SubscriptionKm": 5, "RentalTariffID": "3f7d33d8-1d24-4de1-9cb2-cceedf1ba59a", "RentalTariffName": "sample string 7", "CheckOutOn": "2023-12-08T19:18:40.4925624+04:00", "CheckInOn": "2023-12-08T19:18:40.4925624+04:00", "CheckOutBranchID": "53c461c2-8f9f-458a-9fb9-806010c1d45b", "CheckInBranchID": "a025e59e-fcb0-4fe6-b358-62eb828c992c", "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": "cafdb56e-3479-4598-9d5a-c844ea22bad9", "RentalDiscountOffered": 14.1, "AdditionalDrivers": 15, "IsPAISelected": true, "IsCDWSelected": true, "IsSCDWSelected": true, "AncillaryIn": [ { "AncillaryID": "575ce4ea-969e-4a6a-8075-964682ade0c3", "Qty": 2, "AncillaryItemIDs": [ "231358bc-88dd-47d6-a6cd-c2ece9fe023d", "3ba5cf46-a9cf-4c68-9b19-746ca88a384e" ] }, { "AncillaryID": "575ce4ea-969e-4a6a-8075-964682ade0c3", "Qty": 2, "AncillaryItemIDs": [ "231358bc-88dd-47d6-a6cd-c2ece9fe023d", "3ba5cf46-a9cf-4c68-9b19-746ca88a384e" ] } ], "RemovedLedgerID": "f4d1883c-3346-43dc-88c4-8d16a85c8375", "PromoCode": "sample string 20", "SpecialOfferID": "84e24dbd-72eb-457a-9fc9-9b602ff9b938", "SpecialOfferName": "sample string 22", "CheckOutKm": 23, "CheckInKm": 24, "CheckInFuel": 25, "CheckOutFuel": 26, "VehicleID": "d9c09ee3-783d-4c2d-a6e2-aadcf375cf72", "AllowedKm": 28, "AllowedKmPerRental": 29, "TransactionID": "721d7b3c-4b2f-4f14-a5e1-72a9ec25bfd7", "TransactionType": 0, "RentalRate": 31.1, "ModelWiseChargeID": "2e1184a5-9377-4685-8564-69b27d1266a4", "VehicleVariantID": "dcace40a-09e0-4a86-aa38-77fa6e7e9618", "CancelledOn": "2023-12-08T19:18:40.4925624+04:00", "DayUnitID": 35, "PaymentStatus": 0, "UpgradeTariffGroupID": "fef02a27-bde3-4579-8f7d-57f5b5e1c1c2", "UpgradeModelID": "682a3182-9af0-43ca-8637-d38e121bc4ab", "UpgradeType": 0, "ModifiedReservationID": "751f5d98-20a4-42cf-a6cb-502529063173", "ContactID": "07c50f0a-2e6a-4e31-8c3f-99052057a9ef", "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>575ce4ea-969e-4a6a-8075-964682ade0c3</AncillaryID> <AncillaryItemIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>231358bc-88dd-47d6-a6cd-c2ece9fe023d</d4p1:guid> <d4p1:guid>3ba5cf46-a9cf-4c68-9b19-746ca88a384e</d4p1:guid> </AncillaryItemIDs> <Qty>2</Qty> </AncillaryIn> <AncillaryIn> <AncillaryID>575ce4ea-969e-4a6a-8075-964682ade0c3</AncillaryID> <AncillaryItemIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>231358bc-88dd-47d6-a6cd-c2ece9fe023d</d4p1:guid> <d4p1:guid>3ba5cf46-a9cf-4c68-9b19-746ca88a384e</d4p1:guid> </AncillaryItemIDs> <Qty>2</Qty> </AncillaryIn> </AncillaryIn> <CancelledOn>2023-12-08T19:18:40.4925624+04:00</CancelledOn> <CheckInBranchID>a025e59e-fcb0-4fe6-b358-62eb828c992c</CheckInBranchID> <CheckInFuel>25</CheckInFuel> <CheckInKm>24</CheckInKm> <CheckInOn>2023-12-08T19:18:40.4925624+04:00</CheckInOn> <CheckOutBranchID>53c461c2-8f9f-458a-9fb9-806010c1d45b</CheckOutBranchID> <CheckOutFuel>26</CheckOutFuel> <CheckOutKm>23</CheckOutKm> <CheckOutOn>2023-12-08T19:18:40.4925624+04:00</CheckOutOn> <ContactID>07c50f0a-2e6a-4e31-8c3f-99052057a9ef</ContactID> <DayUnitID>35</DayUnitID> <DebtorID>cafdb56e-3479-4598-9d5a-c844ea22bad9</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>2e1184a5-9377-4685-8564-69b27d1266a4</ModelWiseChargeID> <ModelYear>4</ModelYear> <ModifiedReservationID>751f5d98-20a4-42cf-a6cb-502529063173</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>f4d1883c-3346-43dc-88c4-8d16a85c8375</RemovedLedgerID> <RentalDays>1</RentalDays> <RentalDiscountOffered>14.1</RentalDiscountOffered> <RentalRate>31.1</RentalRate> <RentalTariffID>3f7d33d8-1d24-4de1-9cb2-cceedf1ba59a</RentalTariffID> <RentalTariffName>sample string 7</RentalTariffName> <RentalType>Daily</RentalType> <SpecialOfferID>84e24dbd-72eb-457a-9fc9-9b602ff9b938</SpecialOfferID> <SpecialOfferName>sample string 22</SpecialOfferName> <SubscriptionKm>5</SubscriptionKm> <SubscriptionMonth>3</SubscriptionMonth> <TransactionID>721d7b3c-4b2f-4f14-a5e1-72a9ec25bfd7</TransactionID> <TransactionType>None</TransactionType> <UpgradeModelID>682a3182-9af0-43ca-8637-d38e121bc4ab</UpgradeModelID> <UpgradeTariffGroupID>fef02a27-bde3-4579-8f7d-57f5b5e1c1c2</UpgradeTariffGroupID> <UpgradeType>None</UpgradeType> <VehicleID>d9c09ee3-783d-4c2d-a6e2-aadcf375cf72</VehicleID> <VehicleModelID>e443fffe-8a15-4404-9d93-02a9552bbba7</VehicleModelID> <VehicleVariantID>dcace40a-09e0-4a86-aa38-77fa6e7e9618</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>