GET api/NGeniusPaymentIntegration/CallBack?apiKey={apiKey}&onlineRefNo={onlineRefNo}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiKey | string |
Required |
|
onlineRefNo | string |
Required |
Body Parameters
None.
Response Information
Resource Description
RentalReservationDetailName | Description | Type | Additional information |
---|---|---|---|
VehicleModel | VehicleModel |
None. |
|
InDetail | InOutDetail |
None. |
|
OutDetail | InOutDetail |
None. |
|
Driver | Renter |
None. |
|
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:
{ "VehicleModel": { "VehicleModelID": "780cbd31-b53f-4d3d-b817-3d751a006e83", "Name": "sample string 2", "Code": "sample string 3", "Description": "sample string 4", "TariffGroup": { "TariffGroupID": "0fe88710-795d-4916-b644-e5bbf980b3a7", "Name": "sample string 2", "IsOnFreeSale": true }, "VehicleClassification": { "VehicleClassificationID": "0e918397-364c-424c-8f5c-df21f08016bd", "Name": "sample string 2", "Description": "sample string 3", "SequenceNo": 4, "Attachment": { "AttachmentID": "8d0d76f1-71b1-4914-a061-652c1e724560", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "Icon": { "AttachmentID": "8d0d76f1-71b1-4914-a061-652c1e724560", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "ShortDetails": "sample string 5" }, "Passengers": "sample string 8", "Luggages": "sample string 9", "Doors": "sample string 10", "AutoTransmission": true, "Airbag": true, "ABS": true, "AC": true, "CruseControl": true, "Engine": "sample string 17", "VehicleMake": { "VehicleMakeID": "c82094a2-f7e9-4aa5-8568-02264ed511ea", "Name": "sample string 2" }, "Features": [ { "Name": "sample string 3", "Value": "sample string 4" }, { "Name": "sample string 3", "Value": "sample string 4" } ], "IsSoldOut": true, "IsCallToBook": true, "IsBestSeller": true, "VehicleImages": { "FrontImageAttachment": { "AttachmentID": "8d0d76f1-71b1-4914-a061-652c1e724560", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "BackImageAttachment": { "AttachmentID": "8d0d76f1-71b1-4914-a061-652c1e724560", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "LeftImageAttachment": { "AttachmentID": "8d0d76f1-71b1-4914-a061-652c1e724560", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "RightImageAttachment": { "AttachmentID": "8d0d76f1-71b1-4914-a061-652c1e724560", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" } }, "SuggestedUpgradeModelIDs": [ "8c0fc8ac-f815-4cb3-aaa5-acf6bc782a49", "13cf1413-9049-4029-a957-6dc0c3448337" ], "FavouriteNote": "sample string 26", "IsRestrictBooking": true, "PaymentMode": 0, "ModelYear": "sample string 28" }, "InDetail": { "Timestamp": "2023-12-08T20:37:54.8795579+04:00", "BranchID": "c11f0135-9643-4930-b812-79ae1d609d75", "Name": "sample string 5", "BranchDescription": "sample string 6", "BranchMessage": "sample string 7", "Address": "sample string 8", "StateName": "sample string 9", "DeliveryPickupAddress": "sample string 10", "DeliveryPickupStateName": "sample string 11", "ContactNo": "sample string 12", "Email": "sample string 13", "Attachment": { "AttachmentID": "8d0d76f1-71b1-4914-a061-652c1e724560", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" } }, "OutDetail": { "Timestamp": "2023-12-08T20:37:54.8795579+04:00", "BranchID": "c11f0135-9643-4930-b812-79ae1d609d75", "Name": "sample string 5", "BranchDescription": "sample string 6", "BranchMessage": "sample string 7", "Address": "sample string 8", "StateName": "sample string 9", "DeliveryPickupAddress": "sample string 10", "DeliveryPickupStateName": "sample string 11", "ContactNo": "sample string 12", "Email": "sample string 13", "Attachment": { "AttachmentID": "8d0d76f1-71b1-4914-a061-652c1e724560", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" } }, "Driver": { "Identity": { "Id": "f4a76475-df44-42a3-8fa6-051d31ffead4", "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-08T20:37:54.8795579+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-08T20:37:54.8795579+04:00", "ExpiresOn": "2023-12-08T20:37:54.8795579+04:00" }, "Passport": { "PassportNo": "sample string 1", "IssuedOn": "2023-12-08T20:37:54.8795579+04:00", "ExpiresOn": "2023-12-08T20:37:54.8795579+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-08T20:37:54.8795579+04:00", "IssuedByBank": "sample string 7" }, { "CreditCardType": "sample string 3", "CreditCardNo": "sample string 4", "ExpiryOn": "2023-12-08T20:37:54.8795579+04:00", "IssuedByBank": "sample string 7" } ], "AdditionalDocument": { "DocumentNo": "sample string 1", "IssuedBy": "sample string 2", "IssuedOn": "2023-12-08T20:37:54.8795579+04:00", "ExpiresOn": "2023-12-08T20:37:54.8795579+04:00" } }, "Identity": { "Id": "f4a76475-df44-42a3-8fa6-051d31ffead4", "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": "b8039923-1374-4185-a577-2b898401f343", "Code": "sample string 9" }, "RentalIn": { "RentalDays": 1, "RentalType": 0, "VehicleModelID": "de6069de-e490-49e5-afa3-896621b73005", "SubscriptionMonth": 3, "ModelYear": 4, "SubscriptionKm": 5, "RentalTariffID": "7c8781bc-c475-4689-80d7-234bcaa0393f", "RentalTariffName": "sample string 7", "CheckOutOn": "2023-12-08T20:37:54.8795579+04:00", "CheckInOn": "2023-12-08T20:37:54.8795579+04:00", "CheckOutBranchID": "7b16a56e-f0f1-46f2-a95d-bf873e1805b9", "CheckInBranchID": "bbf1fb64-c122-46a5-8987-e9e59dfab399", "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": "1ae39319-4d1a-4ed9-bc53-32a499746cce", "RentalDiscountOffered": 14.1, "AdditionalDrivers": 15, "IsPAISelected": true, "IsCDWSelected": true, "IsSCDWSelected": true, "AncillaryIn": [ { "AncillaryID": "dab7c395-1ea6-4586-b5cd-9a8f5a833874", "Qty": 2, "AncillaryItemIDs": [ "3ecbfa41-6bbe-43e5-9cd5-8235b44580d7", "4e86863a-93d3-41d8-b054-3dc579d74aee" ] }, { "AncillaryID": "dab7c395-1ea6-4586-b5cd-9a8f5a833874", "Qty": 2, "AncillaryItemIDs": [ "3ecbfa41-6bbe-43e5-9cd5-8235b44580d7", "4e86863a-93d3-41d8-b054-3dc579d74aee" ] } ], "RemovedLedgerID": "d323c52f-0842-4472-bdca-348d0125853b", "PromoCode": "sample string 20", "SpecialOfferID": "d9f44c7d-2027-4543-a64d-705b4567656b", "SpecialOfferName": "sample string 22", "CheckOutKm": 23, "CheckInKm": 24, "CheckInFuel": 25, "CheckOutFuel": 26, "VehicleID": "e6ac22e7-f693-4df1-9096-40de7591526f", "AllowedKm": 28, "AllowedKmPerRental": 29, "TransactionID": "60253fe1-508f-4c4e-aa98-4eb015007b91", "TransactionType": 0, "RentalRate": 31.1, "ModelWiseChargeID": "d5cfae0d-716d-4d1c-8efc-d833c951a63f", "VehicleVariantID": "3404c481-788d-422f-a94b-2f4c11a31e75", "CancelledOn": "2023-12-08T20:37:54.8795579+04:00", "DayUnitID": 35, "PaymentStatus": 0, "UpgradeTariffGroupID": "415f3c1f-4e4d-448a-97f4-af7529944f6f", "UpgradeModelID": "58e040f4-d40d-4ab9-b3d1-6ffc8256515d", "UpgradeType": 0, "ModifiedReservationID": "d84b4380-51fb-4329-96a5-125b3f311540", "ContactID": "ce70d5ed-6c78-4871-ae4e-d7356224bec3", "IsMonthlyBooking": true, "IPLocation": { "IPAddress": "sample string 2" } }, "RentalRateDetail": [ { "RentalRateDetailID": "7c6734c4-e4fd-456a-8674-09664ce6045a", "ItemID": "61cd67ab-217d-4e43-bdb1-4bbc27563804", "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": "7c6734c4-e4fd-456a-8674-09664ce6045a", "ItemID": "61cd67ab-217d-4e43-bdb1-4bbc27563804", "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": "7c6734c4-e4fd-456a-8674-09664ce6045a", "ItemID": "61cd67ab-217d-4e43-bdb1-4bbc27563804", "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": "7c6734c4-e4fd-456a-8674-09664ce6045a", "ItemID": "61cd67ab-217d-4e43-bdb1-4bbc27563804", "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 7", "InsuranceText": "sample string 8", "ReservationStatus": 0, "Remark": "sample string 9", "Renter": { "Identity": { "Id": "f4a76475-df44-42a3-8fa6-051d31ffead4", "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-08T20:37:54.8795579+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-08T20:37:54.8795579+04:00", "ExpiresOn": "2023-12-08T20:37:54.8795579+04:00" }, "Passport": { "PassportNo": "sample string 1", "IssuedOn": "2023-12-08T20:37:54.8795579+04:00", "ExpiresOn": "2023-12-08T20:37:54.8795579+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-08T20:37:54.8795579+04:00", "IssuedByBank": "sample string 7" }, { "CreditCardType": "sample string 3", "CreditCardNo": "sample string 4", "ExpiryOn": "2023-12-08T20:37:54.8795579+04:00", "IssuedByBank": "sample string 7" } ], "AdditionalDocument": { "DocumentNo": "sample string 1", "IssuedBy": "sample string 2", "IssuedOn": "2023-12-08T20:37:54.8795579+04:00", "ExpiresOn": "2023-12-08T20:37:54.8795579+04:00" } }, "TotalAmount": 12.1, "TotalTax": 13.1, "SubTotal": -1.0, "RentalType": 0, "CustomerFeedback": { "TransactionID": "794d226d-8925-4682-bf30-cb84f59c934e", "TransactionType": 0, "TransactionNo": "sample string 3", "Rating": 6, "Remark": "sample string 7", "FeatureType": [ 1, 2 ] }, "AirlinesName": "sample string 16", "PaynowDiscount": 18.1, "OnlinePaymentDetail": { "OrderRefNo": "sample string 3", "OnlinePayRefNo": "sample string 5", "OnlinePayStatus": 0, "PaymentMessage": "sample string 7" }, "BookingSource": 0, "BookingIncluded": [ { "BookingIncludedID": "465a3b83-208b-48af-a40e-e2dcfbab06cd", "BookingIncludedType": 0, "ShortText": "sample string 2", "LongText": "sample string 3", "TempCRUD": { "TempId": 1, "IsNew": true, "IsDeleted": true, "IsUpdated": true, "IsActive": true } }, { "BookingIncludedID": "465a3b83-208b-48af-a40e-e2dcfbab06cd", "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" } }