POST api/Reservations/HandleRemoveLedger?apiKey={apiKey}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiKey | string |
Required |
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": "83fc7528-b749-4659-bf5d-831188fc6f9d", "SubscriptionMonth": 3, "ModelYear": 4, "SubscriptionKm": 5, "RentalTariffID": "b602e94a-a251-4753-bd7c-85bb08dad931", "RentalTariffName": "sample string 7", "CheckOutOn": "2023-12-08T19:28:58.1022802+04:00", "CheckInOn": "2023-12-08T19:28:58.1022802+04:00", "CheckOutBranchID": "7f8c7a9e-3636-4bd9-a076-d631137a56f2", "CheckInBranchID": "11146a53-dbcb-4079-ae94-e1a9a062c85a", "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": "a1b0d019-fe3f-4749-af84-93aff774971d", "RentalDiscountOffered": 14.1, "AdditionalDrivers": 15, "IsPAISelected": true, "IsCDWSelected": true, "IsSCDWSelected": true, "AncillaryIn": [ { "AncillaryID": "f88f6e64-6d7b-410d-a3d2-8d5ae4d26e00", "Qty": 2, "AncillaryItemIDs": [ "e5994094-b30a-4daa-a2b7-b323e0dc6ea3", "045ed6d9-ef28-4bb8-93b2-da84164996b1" ] }, { "AncillaryID": "f88f6e64-6d7b-410d-a3d2-8d5ae4d26e00", "Qty": 2, "AncillaryItemIDs": [ "e5994094-b30a-4daa-a2b7-b323e0dc6ea3", "045ed6d9-ef28-4bb8-93b2-da84164996b1" ] } ], "RemovedLedgerID": "972677b1-8236-4af7-8d78-96d3e9e92181", "PromoCode": "sample string 20", "SpecialOfferID": "7bbbf30c-d3ea-4a34-afdf-4e4d0f1ab338", "SpecialOfferName": "sample string 22", "CheckOutKm": 23, "CheckInKm": 24, "CheckInFuel": 25, "CheckOutFuel": 26, "VehicleID": "ff3cf6d1-2418-4742-8827-d1531fb413df", "AllowedKm": 28, "AllowedKmPerRental": 29, "TransactionID": "0c975a5c-ecb2-49f6-b170-f2db2cab8e6f", "TransactionType": 0, "RentalRate": 31.1, "ModelWiseChargeID": "d178cac3-3444-443d-ae4d-6399df59463b", "VehicleVariantID": "f9ae0d03-e70a-44ef-bcd8-173ce4cac908", "CancelledOn": "2023-12-08T19:28:58.1022802+04:00", "DayUnitID": 35, "PaymentStatus": 0, "UpgradeTariffGroupID": "f1d8f74e-3a61-4131-88c2-499324416e18", "UpgradeModelID": "898538c5-5f88-4ebb-9609-5e7b6cdbf42c", "UpgradeType": 0, "ModifiedReservationID": "e7580f22-edcc-4769-bb6b-2588e43b3365", "ContactID": "4ede36d4-ea36-4bf7-84e3-14874cbd22e0", "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>f88f6e64-6d7b-410d-a3d2-8d5ae4d26e00</AncillaryID> <AncillaryItemIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>e5994094-b30a-4daa-a2b7-b323e0dc6ea3</d4p1:guid> <d4p1:guid>045ed6d9-ef28-4bb8-93b2-da84164996b1</d4p1:guid> </AncillaryItemIDs> <Qty>2</Qty> </AncillaryIn> <AncillaryIn> <AncillaryID>f88f6e64-6d7b-410d-a3d2-8d5ae4d26e00</AncillaryID> <AncillaryItemIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>e5994094-b30a-4daa-a2b7-b323e0dc6ea3</d4p1:guid> <d4p1:guid>045ed6d9-ef28-4bb8-93b2-da84164996b1</d4p1:guid> </AncillaryItemIDs> <Qty>2</Qty> </AncillaryIn> </AncillaryIn> <CancelledOn>2023-12-08T19:28:58.1022802+04:00</CancelledOn> <CheckInBranchID>11146a53-dbcb-4079-ae94-e1a9a062c85a</CheckInBranchID> <CheckInFuel>25</CheckInFuel> <CheckInKm>24</CheckInKm> <CheckInOn>2023-12-08T19:28:58.1022802+04:00</CheckInOn> <CheckOutBranchID>7f8c7a9e-3636-4bd9-a076-d631137a56f2</CheckOutBranchID> <CheckOutFuel>26</CheckOutFuel> <CheckOutKm>23</CheckOutKm> <CheckOutOn>2023-12-08T19:28:58.1022802+04:00</CheckOutOn> <ContactID>4ede36d4-ea36-4bf7-84e3-14874cbd22e0</ContactID> <DayUnitID>35</DayUnitID> <DebtorID>a1b0d019-fe3f-4749-af84-93aff774971d</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>d178cac3-3444-443d-ae4d-6399df59463b</ModelWiseChargeID> <ModelYear>4</ModelYear> <ModifiedReservationID>e7580f22-edcc-4769-bb6b-2588e43b3365</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>972677b1-8236-4af7-8d78-96d3e9e92181</RemovedLedgerID> <RentalDays>1</RentalDays> <RentalDiscountOffered>14.1</RentalDiscountOffered> <RentalRate>31.1</RentalRate> <RentalTariffID>b602e94a-a251-4753-bd7c-85bb08dad931</RentalTariffID> <RentalTariffName>sample string 7</RentalTariffName> <RentalType>Daily</RentalType> <SpecialOfferID>7bbbf30c-d3ea-4a34-afdf-4e4d0f1ab338</SpecialOfferID> <SpecialOfferName>sample string 22</SpecialOfferName> <SubscriptionKm>5</SubscriptionKm> <SubscriptionMonth>3</SubscriptionMonth> <TransactionID>0c975a5c-ecb2-49f6-b170-f2db2cab8e6f</TransactionID> <TransactionType>None</TransactionType> <UpgradeModelID>898538c5-5f88-4ebb-9609-5e7b6cdbf42c</UpgradeModelID> <UpgradeTariffGroupID>f1d8f74e-3a61-4131-88c2-499324416e18</UpgradeTariffGroupID> <UpgradeType>None</UpgradeType> <VehicleID>ff3cf6d1-2418-4742-8827-d1531fb413df</VehicleID> <VehicleModelID>83fc7528-b749-4659-bf5d-831188fc6f9d</VehicleModelID> <VehicleVariantID>f9ae0d03-e70a-44ef-bcd8-173ce4cac908</VehicleVariantID> </RentalIn>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
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. |
Response Formats
application/json, text/json
Sample:
{ "RentalDays": 1, "RentalType": 0, "VehicleModelID": "55471ca0-5e77-409f-84bf-d5f0824ebfc5", "SubscriptionMonth": 3, "ModelYear": 4, "SubscriptionKm": 5, "RentalTariffID": "91731578-b70f-4e5f-9c2b-a033facd3b0f", "RentalTariffName": "sample string 7", "CheckOutOn": "2023-12-08T19:28:58.1022802+04:00", "CheckInOn": "2023-12-08T19:28:58.1022802+04:00", "CheckOutBranchID": "aad91ae0-3a4c-4c13-a605-b1459ee614ef", "CheckInBranchID": "a190bfed-96f3-429b-9d48-f87b07cd1b87", "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": "e3246942-02f2-4f95-88db-29b8c62190d1", "RentalDiscountOffered": 14.1, "AdditionalDrivers": 15, "IsPAISelected": true, "IsCDWSelected": true, "IsSCDWSelected": true, "AncillaryIn": [ { "AncillaryID": "a32a61a1-71b2-43fd-8f91-9d222921e5f3", "Qty": 2, "AncillaryItemIDs": [ "6e797c17-32e1-4d0d-a476-062f20ae1635", "44f642f8-b3cf-4395-8067-66e676b19e59" ] }, { "AncillaryID": "a32a61a1-71b2-43fd-8f91-9d222921e5f3", "Qty": 2, "AncillaryItemIDs": [ "6e797c17-32e1-4d0d-a476-062f20ae1635", "44f642f8-b3cf-4395-8067-66e676b19e59" ] } ], "RemovedLedgerID": "25d29cf0-0cf3-47a4-83c8-a442e292ab70", "PromoCode": "sample string 20", "SpecialOfferID": "5ab9ea4e-07f6-440c-a43d-5b9e584f34ae", "SpecialOfferName": "sample string 22", "CheckOutKm": 23, "CheckInKm": 24, "CheckInFuel": 25, "CheckOutFuel": 26, "VehicleID": "c250e494-e4f7-413a-9ed3-91be89e0ffa7", "AllowedKm": 28, "AllowedKmPerRental": 29, "TransactionID": "31ea6fc0-349e-45f7-a627-81a3062be56d", "TransactionType": 0, "RentalRate": 31.1, "ModelWiseChargeID": "71ae4326-04fc-434e-b56a-e611f36d39f5", "VehicleVariantID": "d3987eec-3202-4a72-ae5a-cecec87972ff", "CancelledOn": "2023-12-08T19:28:58.1022802+04:00", "DayUnitID": 35, "PaymentStatus": 0, "UpgradeTariffGroupID": "92a79bee-8ea8-4928-95b7-d75677f5dffe", "UpgradeModelID": "47e388c6-d3be-43f9-8e78-92b342cea7e9", "UpgradeType": 0, "ModifiedReservationID": "4a809230-fabd-4b47-8686-fe925d371b24", "ContactID": "d1f377d1-d50e-4da9-bbda-794ac59766e0", "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>a32a61a1-71b2-43fd-8f91-9d222921e5f3</AncillaryID> <AncillaryItemIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>6e797c17-32e1-4d0d-a476-062f20ae1635</d4p1:guid> <d4p1:guid>44f642f8-b3cf-4395-8067-66e676b19e59</d4p1:guid> </AncillaryItemIDs> <Qty>2</Qty> </AncillaryIn> <AncillaryIn> <AncillaryID>a32a61a1-71b2-43fd-8f91-9d222921e5f3</AncillaryID> <AncillaryItemIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>6e797c17-32e1-4d0d-a476-062f20ae1635</d4p1:guid> <d4p1:guid>44f642f8-b3cf-4395-8067-66e676b19e59</d4p1:guid> </AncillaryItemIDs> <Qty>2</Qty> </AncillaryIn> </AncillaryIn> <CancelledOn>2023-12-08T19:28:58.1022802+04:00</CancelledOn> <CheckInBranchID>a190bfed-96f3-429b-9d48-f87b07cd1b87</CheckInBranchID> <CheckInFuel>25</CheckInFuel> <CheckInKm>24</CheckInKm> <CheckInOn>2023-12-08T19:28:58.1022802+04:00</CheckInOn> <CheckOutBranchID>aad91ae0-3a4c-4c13-a605-b1459ee614ef</CheckOutBranchID> <CheckOutFuel>26</CheckOutFuel> <CheckOutKm>23</CheckOutKm> <CheckOutOn>2023-12-08T19:28:58.1022802+04:00</CheckOutOn> <ContactID>d1f377d1-d50e-4da9-bbda-794ac59766e0</ContactID> <DayUnitID>35</DayUnitID> <DebtorID>e3246942-02f2-4f95-88db-29b8c62190d1</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>71ae4326-04fc-434e-b56a-e611f36d39f5</ModelWiseChargeID> <ModelYear>4</ModelYear> <ModifiedReservationID>4a809230-fabd-4b47-8686-fe925d371b24</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>25d29cf0-0cf3-47a4-83c8-a442e292ab70</RemovedLedgerID> <RentalDays>1</RentalDays> <RentalDiscountOffered>14.1</RentalDiscountOffered> <RentalRate>31.1</RentalRate> <RentalTariffID>91731578-b70f-4e5f-9c2b-a033facd3b0f</RentalTariffID> <RentalTariffName>sample string 7</RentalTariffName> <RentalType>Daily</RentalType> <SpecialOfferID>5ab9ea4e-07f6-440c-a43d-5b9e584f34ae</SpecialOfferID> <SpecialOfferName>sample string 22</SpecialOfferName> <SubscriptionKm>5</SubscriptionKm> <SubscriptionMonth>3</SubscriptionMonth> <TransactionID>31ea6fc0-349e-45f7-a627-81a3062be56d</TransactionID> <TransactionType>None</TransactionType> <UpgradeModelID>47e388c6-d3be-43f9-8e78-92b342cea7e9</UpgradeModelID> <UpgradeTariffGroupID>92a79bee-8ea8-4928-95b7-d75677f5dffe</UpgradeTariffGroupID> <UpgradeType>None</UpgradeType> <VehicleID>c250e494-e4f7-413a-9ed3-91be89e0ffa7</VehicleID> <VehicleModelID>55471ca0-5e77-409f-84bf-d5f0824ebfc5</VehicleModelID> <VehicleVariantID>d3987eec-3202-4a72-ae5a-cecec87972ff</VehicleVariantID> </RentalIn>