GET api/Reservation/Get?apiKey={apiKey}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiKey | string |
Required |
Body Parameters
ReservationParameterName | Description | Type | Additional information |
---|---|---|---|
ReservationStatus | ReservationStatus |
None. |
|
UpcomingDispatches | boolean |
None. |
|
FromDate | date |
None. |
|
ToDate | date |
None. |
|
RentalType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ReservationStatus": 0, "UpcomingDispatches": true, "FromDate": "2023-12-10T14:33:38.0478154+04:00", "ToDate": "2023-12-10T14:33:38.0478154+04:00", "RentalType": 2 }
application/xml, text/xml
Sample:
<ReservationParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity.Rental"> <FromDate>2023-12-10T14:33:38.0478154+04:00</FromDate> <RentalType>2</RentalType> <ReservationStatus>Pending</ReservationStatus> <ToDate>2023-12-10T14:33:38.0478154+04:00</ToDate> <UpcomingDispatches>true</UpcomingDispatches> </ReservationParameter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of RentalReservationName | Description | Type | Additional information |
---|---|---|---|
Identity | Identity |
None. |
|
ContactInfo | ContactInfo |
None. |
|
RentalIn | RentalIn |
None. |
|
RentalRateDetail | Collection of RateDetail |
None. |
|
ModifyRateDetail | Collection of RateDetail |
None. |
|
UpgradeText | string |
None. |
|
InsuranceText | string |
None. |
|
ReservationStatus | ReservationStatus |
None. |
|
Remark | string |
None. |
|
Renter | Renter |
None. |
|
TotalAmount | decimal number |
None. |
|
TotalTax | decimal number |
None. |
|
SubTotal | decimal number |
None. |
|
RentalType | RentalType |
None. |
|
CustomerFeedback | Feedback |
None. |
|
AirlinesName | string |
None. |
|
PaynowDiscount | decimal number |
None. |
|
OnlinePaymentDetail | OnlinePaymentDetail |
None. |
|
BookingSource | BookingSource |
None. |
|
BookingIncluded | Collection of BookingIncluded |
None. |
|
ModificationCharge | ModificationCharge |
None. |
|
CancellationCharge | CancellationCharge |
None. |
|
IsAllowCancellation | boolean |
None. |
|
IsAllowModification | boolean |
None. |
|
IPLocation | IPLocation |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Identity": { "Id": "c69a1c9a-b4f2-4ff2-9084-9ddb89c9c311", "Code": "sample string 2" }, "ContactInfo": { "CustomerType": 0, "TitleType": 0, "Name": "sample string 1", "Address": "sample string 2", "Email": "sample string 3", "ContactNo": "sample string 4", "CountryState": { "StateCode": "sample string 2", "StateName": "sample string 3", "CountryCode": "sample string 4", "CountryName": "sample string 5", "NationalityCode": "sample string 6", "NationalityName": "sample string 7" }, "Id": "d14b0a85-44f4-49d2-854b-ad2e44d8ff6b", "Code": "sample string 9" }, "RentalIn": { "RentalDays": 1, "RentalType": 0, "VehicleModelID": "3c3f8990-eb04-44ed-acd4-3b5b93e23d2d", "SubscriptionMonth": 3, "ModelYear": 4, "SubscriptionKm": 5, "RentalTariffID": "f270c326-6325-4c73-abd3-9e74f6341b1b", "RentalTariffName": "sample string 7", "CheckOutOn": "2023-12-10T14:33:38.0478154+04:00", "CheckInOn": "2023-12-10T14:33:38.0478154+04:00", "CheckOutBranchID": "33ad87be-dbbd-4337-8d4c-43f2d1a635ae", "CheckInBranchID": "7e2e3f90-1e3d-4604-8600-4cfb013b84a5", "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": "36f5ec54-5a8a-4947-8f45-2d1156e0f3f0", "RentalDiscountOffered": 14.1, "AdditionalDrivers": 15, "IsPAISelected": true, "IsCDWSelected": true, "IsSCDWSelected": true, "AncillaryIn": [ { "AncillaryID": "aba6577e-7bd5-43ea-ba23-5126309e38b0", "Qty": 2, "AncillaryItemIDs": [ "bcb6bc73-e937-47d3-b7d9-0e4fa777e6fc", "8f484cb6-189c-4cb9-a5ad-6f5970a9f160" ] }, { "AncillaryID": "aba6577e-7bd5-43ea-ba23-5126309e38b0", "Qty": 2, "AncillaryItemIDs": [ "bcb6bc73-e937-47d3-b7d9-0e4fa777e6fc", "8f484cb6-189c-4cb9-a5ad-6f5970a9f160" ] } ], "RemovedLedgerID": "d622d891-fc64-41b6-8d81-6f3442aef62f", "PromoCode": "sample string 20", "SpecialOfferID": "0f792adb-00a6-46f0-b1c2-d000eb9eefac", "SpecialOfferName": "sample string 22", "CheckOutKm": 23, "CheckInKm": 24, "CheckInFuel": 25, "CheckOutFuel": 26, "VehicleID": "b618cf64-72e8-466c-b9a9-e92c8e65861a", "AllowedKm": 28, "AllowedKmPerRental": 29, "TransactionID": "65ea4dfc-4577-45c2-9248-bbb2c2b0a83c", "TransactionType": 0, "RentalRate": 31.1, "ModelWiseChargeID": "8d782e60-cae9-48b6-abf9-6333cda5da25", "VehicleVariantID": "737a667d-2caa-4a81-ade2-cb9df89557c6", "CancelledOn": "2023-12-10T14:33:38.0478154+04:00", "DayUnitID": 35, "PaymentStatus": 0, "UpgradeTariffGroupID": "35b22bf8-495f-45eb-88b0-ef05ef6444c5", "UpgradeModelID": "63f47f6f-3d93-4495-a08e-9978ce5180bf", "UpgradeType": 0, "ModifiedReservationID": "e28b0589-5f38-4d76-8921-ebcecc9f33e3", "ContactID": "91f25b29-1c23-45c3-8e83-6219f3f60724", "IsMonthlyBooking": true, "IPLocation": { "IPAddress": "sample string 2" } }, "RentalRateDetail": [ { "RentalRateDetailID": "168c7498-fe4e-4d1f-9170-19df244e614f", "ItemID": "013947d3-9f9b-4070-8db9-5894ecee456e", "Item": "sample string 3", "Description": "sample string 4", "Days": 5, "Qty": 6, "Rate": 7.1, "DiscRate": 8.1, "TaxAmt": 9.1, "FreeDays": 10, "SequenceNo": 11, "RateChargeType": 0, "RateOffered": 12.1, "OnlinePayDiscPer": 13.1, "DiscTotal": -30.0, "SubTotal": 243.0, "TotalWithOutDisc": 222.1, "TotalAmt": 252.1, "CanBeDeleted": true }, { "RentalRateDetailID": "168c7498-fe4e-4d1f-9170-19df244e614f", "ItemID": "013947d3-9f9b-4070-8db9-5894ecee456e", "Item": "sample string 3", "Description": "sample string 4", "Days": 5, "Qty": 6, "Rate": 7.1, "DiscRate": 8.1, "TaxAmt": 9.1, "FreeDays": 10, "SequenceNo": 11, "RateChargeType": 0, "RateOffered": 12.1, "OnlinePayDiscPer": 13.1, "DiscTotal": -30.0, "SubTotal": 243.0, "TotalWithOutDisc": 222.1, "TotalAmt": 252.1, "CanBeDeleted": true } ], "ModifyRateDetail": [ { "RentalRateDetailID": "168c7498-fe4e-4d1f-9170-19df244e614f", "ItemID": "013947d3-9f9b-4070-8db9-5894ecee456e", "Item": "sample string 3", "Description": "sample string 4", "Days": 5, "Qty": 6, "Rate": 7.1, "DiscRate": 8.1, "TaxAmt": 9.1, "FreeDays": 10, "SequenceNo": 11, "RateChargeType": 0, "RateOffered": 12.1, "OnlinePayDiscPer": 13.1, "DiscTotal": -30.0, "SubTotal": 243.0, "TotalWithOutDisc": 222.1, "TotalAmt": 252.1, "CanBeDeleted": true }, { "RentalRateDetailID": "168c7498-fe4e-4d1f-9170-19df244e614f", "ItemID": "013947d3-9f9b-4070-8db9-5894ecee456e", "Item": "sample string 3", "Description": "sample string 4", "Days": 5, "Qty": 6, "Rate": 7.1, "DiscRate": 8.1, "TaxAmt": 9.1, "FreeDays": 10, "SequenceNo": 11, "RateChargeType": 0, "RateOffered": 12.1, "OnlinePayDiscPer": 13.1, "DiscTotal": -30.0, "SubTotal": 243.0, "TotalWithOutDisc": 222.1, "TotalAmt": 252.1, "CanBeDeleted": true } ], "UpgradeText": "sample string 4", "InsuranceText": "sample string 5", "ReservationStatus": 0, "Remark": "sample string 6", "Renter": { "Identity": { "Id": "c69a1c9a-b4f2-4ff2-9084-9ddb89c9c311", "Code": "sample string 2" }, "TitleType": 0, "FirstName": "sample string 2", "LastName": "sample string 3", "ContactNo": "sample string 4", "EmailId": "sample string 5", "BirthDate": "2023-12-10T14:33:38.0478154+04:00", "Address": "sample string 7", "CountryState": { "StateCode": "sample string 2", "StateName": "sample string 3", "CountryCode": "sample string 4", "CountryName": "sample string 5", "NationalityCode": "sample string 6", "NationalityName": "sample string 7" }, "DrivingLicense": { "LicenseNo": "sample string 1", "IssuedBy": "sample string 2", "IssuedOn": "2023-12-10T14:33:38.0478154+04:00", "ExpiresOn": "2023-12-10T14:33:38.0478154+04:00" }, "Passport": { "PassportNo": "sample string 1", "IssuedOn": "2023-12-10T14:33:38.0478154+04:00", "ExpiresOn": "2023-12-10T14:33:38.0478154+04:00", "IssuedCountryCode": "sample string 5", "IssuedCountryName": "sample string 6" }, "Balance": 9.0, "CreditCardDetail": [ { "CreditCardType": "sample string 3", "CreditCardNo": "sample string 4", "ExpiryOn": "2023-12-10T14:33:38.0634429+04:00", "IssuedByBank": "sample string 7" }, { "CreditCardType": "sample string 3", "CreditCardNo": "sample string 4", "ExpiryOn": "2023-12-10T14:33:38.0634429+04:00", "IssuedByBank": "sample string 7" } ], "AdditionalDocument": { "DocumentNo": "sample string 1", "IssuedBy": "sample string 2", "IssuedOn": "2023-12-10T14:33:38.0634429+04:00", "ExpiresOn": "2023-12-10T14:33:38.0634429+04:00" } }, "TotalAmount": 9.1, "TotalTax": 10.1, "SubTotal": -1.0, "RentalType": 0, "CustomerFeedback": { "TransactionID": "bf2bdfd3-b29f-4e7b-bcdf-1f53a7ba644c", "TransactionType": 0, "TransactionNo": "sample string 3", "Rating": 6, "Remark": "sample string 7", "FeatureType": [ 1, 2 ] }, "AirlinesName": "sample string 13", "PaynowDiscount": 15.1, "OnlinePaymentDetail": { "OrderRefNo": "sample string 3", "OnlinePayRefNo": "sample string 5", "OnlinePayStatus": 0, "PaymentMessage": "sample string 7" }, "BookingSource": 0, "BookingIncluded": [ { "BookingIncludedID": "93d3b03a-5100-49e5-9deb-02a7ef462dbf", "BookingIncludedType": 0, "ShortText": "sample string 2", "LongText": "sample string 3", "TempCRUD": { "TempId": 1, "IsNew": true, "IsDeleted": true, "IsUpdated": true, "IsActive": true } }, { "BookingIncludedID": "93d3b03a-5100-49e5-9deb-02a7ef462dbf", "BookingIncludedType": 0, "ShortText": "sample string 2", "LongText": "sample string 3", "TempCRUD": { "TempId": 1, "IsNew": true, "IsDeleted": true, "IsUpdated": true, "IsActive": true } } ], "ModificationCharge": { "AmountPaid": 1.1, "AmountToRefund": 2.1, "AmountToPay": 3.1 }, "CancellationCharge": { "AmountCancellationCharge": 1.1, "AmountToRefund": 2.1, "AmountToPay": 3.1, "AmountPaid": 4.1 }, "IsAllowCancellation": true, "IsAllowModification": true, "IPLocation": { "IPAddress": "sample string 2" } }, { "Identity": { "Id": "c69a1c9a-b4f2-4ff2-9084-9ddb89c9c311", "Code": "sample string 2" }, "ContactInfo": { "CustomerType": 0, "TitleType": 0, "Name": "sample string 1", "Address": "sample string 2", "Email": "sample string 3", "ContactNo": "sample string 4", "CountryState": { "StateCode": "sample string 2", "StateName": "sample string 3", "CountryCode": "sample string 4", "CountryName": "sample string 5", "NationalityCode": "sample string 6", "NationalityName": "sample string 7" }, "Id": "d14b0a85-44f4-49d2-854b-ad2e44d8ff6b", "Code": "sample string 9" }, "RentalIn": { "RentalDays": 1, "RentalType": 0, "VehicleModelID": "3c3f8990-eb04-44ed-acd4-3b5b93e23d2d", "SubscriptionMonth": 3, "ModelYear": 4, "SubscriptionKm": 5, "RentalTariffID": "f270c326-6325-4c73-abd3-9e74f6341b1b", "RentalTariffName": "sample string 7", "CheckOutOn": "2023-12-10T14:33:38.0478154+04:00", "CheckInOn": "2023-12-10T14:33:38.0478154+04:00", "CheckOutBranchID": "33ad87be-dbbd-4337-8d4c-43f2d1a635ae", "CheckInBranchID": "7e2e3f90-1e3d-4604-8600-4cfb013b84a5", "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": "36f5ec54-5a8a-4947-8f45-2d1156e0f3f0", "RentalDiscountOffered": 14.1, "AdditionalDrivers": 15, "IsPAISelected": true, "IsCDWSelected": true, "IsSCDWSelected": true, "AncillaryIn": [ { "AncillaryID": "aba6577e-7bd5-43ea-ba23-5126309e38b0", "Qty": 2, "AncillaryItemIDs": [ "bcb6bc73-e937-47d3-b7d9-0e4fa777e6fc", "8f484cb6-189c-4cb9-a5ad-6f5970a9f160" ] }, { "AncillaryID": "aba6577e-7bd5-43ea-ba23-5126309e38b0", "Qty": 2, "AncillaryItemIDs": [ "bcb6bc73-e937-47d3-b7d9-0e4fa777e6fc", "8f484cb6-189c-4cb9-a5ad-6f5970a9f160" ] } ], "RemovedLedgerID": "d622d891-fc64-41b6-8d81-6f3442aef62f", "PromoCode": "sample string 20", "SpecialOfferID": "0f792adb-00a6-46f0-b1c2-d000eb9eefac", "SpecialOfferName": "sample string 22", "CheckOutKm": 23, "CheckInKm": 24, "CheckInFuel": 25, "CheckOutFuel": 26, "VehicleID": "b618cf64-72e8-466c-b9a9-e92c8e65861a", "AllowedKm": 28, "AllowedKmPerRental": 29, "TransactionID": "65ea4dfc-4577-45c2-9248-bbb2c2b0a83c", "TransactionType": 0, "RentalRate": 31.1, "ModelWiseChargeID": "8d782e60-cae9-48b6-abf9-6333cda5da25", "VehicleVariantID": "737a667d-2caa-4a81-ade2-cb9df89557c6", "CancelledOn": "2023-12-10T14:33:38.0478154+04:00", "DayUnitID": 35, "PaymentStatus": 0, "UpgradeTariffGroupID": "35b22bf8-495f-45eb-88b0-ef05ef6444c5", "UpgradeModelID": "63f47f6f-3d93-4495-a08e-9978ce5180bf", "UpgradeType": 0, "ModifiedReservationID": "e28b0589-5f38-4d76-8921-ebcecc9f33e3", "ContactID": "91f25b29-1c23-45c3-8e83-6219f3f60724", "IsMonthlyBooking": true, "IPLocation": { "IPAddress": "sample string 2" } }, "RentalRateDetail": [ { "RentalRateDetailID": "168c7498-fe4e-4d1f-9170-19df244e614f", "ItemID": "013947d3-9f9b-4070-8db9-5894ecee456e", "Item": "sample string 3", "Description": "sample string 4", "Days": 5, "Qty": 6, "Rate": 7.1, "DiscRate": 8.1, "TaxAmt": 9.1, "FreeDays": 10, "SequenceNo": 11, "RateChargeType": 0, "RateOffered": 12.1, "OnlinePayDiscPer": 13.1, "DiscTotal": -30.0, "SubTotal": 243.0, "TotalWithOutDisc": 222.1, "TotalAmt": 252.1, "CanBeDeleted": true }, { "RentalRateDetailID": "168c7498-fe4e-4d1f-9170-19df244e614f", "ItemID": "013947d3-9f9b-4070-8db9-5894ecee456e", "Item": "sample string 3", "Description": "sample string 4", "Days": 5, "Qty": 6, "Rate": 7.1, "DiscRate": 8.1, "TaxAmt": 9.1, "FreeDays": 10, "SequenceNo": 11, "RateChargeType": 0, "RateOffered": 12.1, "OnlinePayDiscPer": 13.1, "DiscTotal": -30.0, "SubTotal": 243.0, "TotalWithOutDisc": 222.1, "TotalAmt": 252.1, "CanBeDeleted": true } ], "ModifyRateDetail": [ { "RentalRateDetailID": "168c7498-fe4e-4d1f-9170-19df244e614f", "ItemID": "013947d3-9f9b-4070-8db9-5894ecee456e", "Item": "sample string 3", "Description": "sample string 4", "Days": 5, "Qty": 6, "Rate": 7.1, "DiscRate": 8.1, "TaxAmt": 9.1, "FreeDays": 10, "SequenceNo": 11, "RateChargeType": 0, "RateOffered": 12.1, "OnlinePayDiscPer": 13.1, "DiscTotal": -30.0, "SubTotal": 243.0, "TotalWithOutDisc": 222.1, "TotalAmt": 252.1, "CanBeDeleted": true }, { "RentalRateDetailID": "168c7498-fe4e-4d1f-9170-19df244e614f", "ItemID": "013947d3-9f9b-4070-8db9-5894ecee456e", "Item": "sample string 3", "Description": "sample string 4", "Days": 5, "Qty": 6, "Rate": 7.1, "DiscRate": 8.1, "TaxAmt": 9.1, "FreeDays": 10, "SequenceNo": 11, "RateChargeType": 0, "RateOffered": 12.1, "OnlinePayDiscPer": 13.1, "DiscTotal": -30.0, "SubTotal": 243.0, "TotalWithOutDisc": 222.1, "TotalAmt": 252.1, "CanBeDeleted": true } ], "UpgradeText": "sample string 4", "InsuranceText": "sample string 5", "ReservationStatus": 0, "Remark": "sample string 6", "Renter": { "Identity": { "Id": "c69a1c9a-b4f2-4ff2-9084-9ddb89c9c311", "Code": "sample string 2" }, "TitleType": 0, "FirstName": "sample string 2", "LastName": "sample string 3", "ContactNo": "sample string 4", "EmailId": "sample string 5", "BirthDate": "2023-12-10T14:33:38.0478154+04:00", "Address": "sample string 7", "CountryState": { "StateCode": "sample string 2", "StateName": "sample string 3", "CountryCode": "sample string 4", "CountryName": "sample string 5", "NationalityCode": "sample string 6", "NationalityName": "sample string 7" }, "DrivingLicense": { "LicenseNo": "sample string 1", "IssuedBy": "sample string 2", "IssuedOn": "2023-12-10T14:33:38.0478154+04:00", "ExpiresOn": "2023-12-10T14:33:38.0478154+04:00" }, "Passport": { "PassportNo": "sample string 1", "IssuedOn": "2023-12-10T14:33:38.0478154+04:00", "ExpiresOn": "2023-12-10T14:33:38.0478154+04:00", "IssuedCountryCode": "sample string 5", "IssuedCountryName": "sample string 6" }, "Balance": 9.0, "CreditCardDetail": [ { "CreditCardType": "sample string 3", "CreditCardNo": "sample string 4", "ExpiryOn": "2023-12-10T14:33:38.0634429+04:00", "IssuedByBank": "sample string 7" }, { "CreditCardType": "sample string 3", "CreditCardNo": "sample string 4", "ExpiryOn": "2023-12-10T14:33:38.0634429+04:00", "IssuedByBank": "sample string 7" } ], "AdditionalDocument": { "DocumentNo": "sample string 1", "IssuedBy": "sample string 2", "IssuedOn": "2023-12-10T14:33:38.0634429+04:00", "ExpiresOn": "2023-12-10T14:33:38.0634429+04:00" } }, "TotalAmount": 9.1, "TotalTax": 10.1, "SubTotal": -1.0, "RentalType": 0, "CustomerFeedback": { "TransactionID": "bf2bdfd3-b29f-4e7b-bcdf-1f53a7ba644c", "TransactionType": 0, "TransactionNo": "sample string 3", "Rating": 6, "Remark": "sample string 7", "FeatureType": [ 1, 2 ] }, "AirlinesName": "sample string 13", "PaynowDiscount": 15.1, "OnlinePaymentDetail": { "OrderRefNo": "sample string 3", "OnlinePayRefNo": "sample string 5", "OnlinePayStatus": 0, "PaymentMessage": "sample string 7" }, "BookingSource": 0, "BookingIncluded": [ { "BookingIncludedID": "93d3b03a-5100-49e5-9deb-02a7ef462dbf", "BookingIncludedType": 0, "ShortText": "sample string 2", "LongText": "sample string 3", "TempCRUD": { "TempId": 1, "IsNew": true, "IsDeleted": true, "IsUpdated": true, "IsActive": true } }, { "BookingIncludedID": "93d3b03a-5100-49e5-9deb-02a7ef462dbf", "BookingIncludedType": 0, "ShortText": "sample string 2", "LongText": "sample string 3", "TempCRUD": { "TempId": 1, "IsNew": true, "IsDeleted": true, "IsUpdated": true, "IsActive": true } } ], "ModificationCharge": { "AmountPaid": 1.1, "AmountToRefund": 2.1, "AmountToPay": 3.1 }, "CancellationCharge": { "AmountCancellationCharge": 1.1, "AmountToRefund": 2.1, "AmountToPay": 3.1, "AmountPaid": 4.1 }, "IsAllowCancellation": true, "IsAllowModification": true, "IPLocation": { "IPAddress": "sample string 2" } } ]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.