POST api/MonthlySubscriptionAddOn/GetAncillary?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": "37fc3ccb-0153-4b11-bb38-27e47a25d369", "SubscriptionMonth": 3, "ModelYear": 4, "SubscriptionKm": 5, "RentalTariffID": "84daff03-aa91-400f-83db-ecff1c75b7bf", "RentalTariffName": "sample string 7", "CheckOutOn": "2023-12-08T19:45:35.2184382+04:00", "CheckInOn": "2023-12-08T19:45:35.2184382+04:00", "CheckOutBranchID": "49ea45c0-03d7-4c24-95a3-ac786812cc6c", "CheckInBranchID": "aaee1d8c-c49e-44c6-a5b1-7cb649f90df9", "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": "9e809c0c-5184-4b80-a514-bef1b617cb03", "RentalDiscountOffered": 14.1, "AdditionalDrivers": 15, "IsPAISelected": true, "IsCDWSelected": true, "IsSCDWSelected": true, "AncillaryIn": [ { "AncillaryID": "82de62e1-04b8-4571-aa5f-507b4f9de2f1", "Qty": 2, "AncillaryItemIDs": [ "a3979638-297e-41eb-8e19-ed35161b459b", "74198d0e-657c-4372-b535-4343120bc53c" ] }, { "AncillaryID": "82de62e1-04b8-4571-aa5f-507b4f9de2f1", "Qty": 2, "AncillaryItemIDs": [ "a3979638-297e-41eb-8e19-ed35161b459b", "74198d0e-657c-4372-b535-4343120bc53c" ] } ], "RemovedLedgerID": "9d095bb7-d2f0-4727-8de1-89bc51bd8a7a", "PromoCode": "sample string 20", "SpecialOfferID": "375db9a2-9d76-493e-adc8-7516b8cdd152", "SpecialOfferName": "sample string 22", "CheckOutKm": 23, "CheckInKm": 24, "CheckInFuel": 25, "CheckOutFuel": 26, "VehicleID": "ec884da0-f8c5-4c00-a46d-9251c0726037", "AllowedKm": 28, "AllowedKmPerRental": 29, "TransactionID": "49f963ef-f882-4229-a9d3-1980a49df307", "TransactionType": 0, "RentalRate": 31.1, "ModelWiseChargeID": "c82d4e50-ac48-4e99-aca7-81364277fa7b", "VehicleVariantID": "80fa3a72-cb99-422a-9e7c-573b04efe060", "CancelledOn": "2023-12-08T19:45:35.2184382+04:00", "DayUnitID": 35, "PaymentStatus": 0, "UpgradeTariffGroupID": "51c47767-b22e-48ed-bcba-c4fa62d47190", "UpgradeModelID": "4a6ee10a-c39e-457a-a5ff-f53412fad2a3", "UpgradeType": 0, "ModifiedReservationID": "45819277-bd1b-4164-9caa-e1c92e8ff50d", "ContactID": "f74283fc-b0e5-4585-a55c-d3918a2287a7", "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>82de62e1-04b8-4571-aa5f-507b4f9de2f1</AncillaryID> <AncillaryItemIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>a3979638-297e-41eb-8e19-ed35161b459b</d4p1:guid> <d4p1:guid>74198d0e-657c-4372-b535-4343120bc53c</d4p1:guid> </AncillaryItemIDs> <Qty>2</Qty> </AncillaryIn> <AncillaryIn> <AncillaryID>82de62e1-04b8-4571-aa5f-507b4f9de2f1</AncillaryID> <AncillaryItemIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>a3979638-297e-41eb-8e19-ed35161b459b</d4p1:guid> <d4p1:guid>74198d0e-657c-4372-b535-4343120bc53c</d4p1:guid> </AncillaryItemIDs> <Qty>2</Qty> </AncillaryIn> </AncillaryIn> <CancelledOn>2023-12-08T19:45:35.2184382+04:00</CancelledOn> <CheckInBranchID>aaee1d8c-c49e-44c6-a5b1-7cb649f90df9</CheckInBranchID> <CheckInFuel>25</CheckInFuel> <CheckInKm>24</CheckInKm> <CheckInOn>2023-12-08T19:45:35.2184382+04:00</CheckInOn> <CheckOutBranchID>49ea45c0-03d7-4c24-95a3-ac786812cc6c</CheckOutBranchID> <CheckOutFuel>26</CheckOutFuel> <CheckOutKm>23</CheckOutKm> <CheckOutOn>2023-12-08T19:45:35.2184382+04:00</CheckOutOn> <ContactID>f74283fc-b0e5-4585-a55c-d3918a2287a7</ContactID> <DayUnitID>35</DayUnitID> <DebtorID>9e809c0c-5184-4b80-a514-bef1b617cb03</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>c82d4e50-ac48-4e99-aca7-81364277fa7b</ModelWiseChargeID> <ModelYear>4</ModelYear> <ModifiedReservationID>45819277-bd1b-4164-9caa-e1c92e8ff50d</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>9d095bb7-d2f0-4727-8de1-89bc51bd8a7a</RemovedLedgerID> <RentalDays>1</RentalDays> <RentalDiscountOffered>14.1</RentalDiscountOffered> <RentalRate>31.1</RentalRate> <RentalTariffID>84daff03-aa91-400f-83db-ecff1c75b7bf</RentalTariffID> <RentalTariffName>sample string 7</RentalTariffName> <RentalType>Daily</RentalType> <SpecialOfferID>375db9a2-9d76-493e-adc8-7516b8cdd152</SpecialOfferID> <SpecialOfferName>sample string 22</SpecialOfferName> <SubscriptionKm>5</SubscriptionKm> <SubscriptionMonth>3</SubscriptionMonth> <TransactionID>49f963ef-f882-4229-a9d3-1980a49df307</TransactionID> <TransactionType>None</TransactionType> <UpgradeModelID>4a6ee10a-c39e-457a-a5ff-f53412fad2a3</UpgradeModelID> <UpgradeTariffGroupID>51c47767-b22e-48ed-bcba-c4fa62d47190</UpgradeTariffGroupID> <UpgradeType>None</UpgradeType> <VehicleID>ec884da0-f8c5-4c00-a46d-9251c0726037</VehicleID> <VehicleModelID>37fc3ccb-0153-4b11-bb38-27e47a25d369</VehicleModelID> <VehicleVariantID>80fa3a72-cb99-422a-9e7c-573b04efe060</VehicleVariantID> </RentalIn>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of AncillaryTariffName | Description | Type | Additional information |
---|---|---|---|
AncillaryTariffID | globally unique identifier |
None. |
|
Name | string |
None. |
|
IsCompulsoryOnRental | boolean |
None. |
|
Description | string |
None. |
|
Attachment | Attachment |
None. |
|
SelectionType | SelectionType |
None. |
|
Rate | decimal number |
None. |
|
RateType | RateType |
None. |
|
FreeDays | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "AncillaryTariffID": "4656cc83-48b6-4ae5-8eef-4a4e8f80477d", "Name": "sample string 2", "IsCompulsoryOnRental": true, "Description": "sample string 7", "Attachment": { "AttachmentID": "294ff500-5bf4-43a1-b06f-3439a5762f54", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "SelectionType": 0, "Rate": 9.1, "RateType": 0, "FreeDays": 11 }, { "AncillaryTariffID": "4656cc83-48b6-4ae5-8eef-4a4e8f80477d", "Name": "sample string 2", "IsCompulsoryOnRental": true, "Description": "sample string 7", "Attachment": { "AttachmentID": "294ff500-5bf4-43a1-b06f-3439a5762f54", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "SelectionType": 0, "Rate": 9.1, "RateType": 0, "FreeDays": 11 } ]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.