POST api/MonthlySubscription?apiKey={apiKey}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiKey | string |
Required |
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
{ "Identity": { "Id": "5e7e0925-0396-40b6-a108-8768d0273d47", "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": "983722d0-e0e1-458f-9c3a-77909a5ff1ad", "Code": "sample string 9" }, "RentalIn": { "RentalDays": 1, "RentalType": 0, "VehicleModelID": "53ea026a-1b38-4641-872d-0c561a60606d", "SubscriptionMonth": 3, "ModelYear": 4, "SubscriptionKm": 5, "RentalTariffID": "0c1e07bb-1968-46fb-9c53-075de5da6526", "RentalTariffName": "sample string 7", "CheckOutOn": "2023-12-08T20:33:29.4067929+04:00", "CheckInOn": "2023-12-08T20:33:29.4067929+04:00", "CheckOutBranchID": "394e726f-d338-4ab5-a385-eb11d6086de4", "CheckInBranchID": "7575788c-4a7d-49e8-83da-467bc92c8994", "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": "a76bf30b-31dc-4297-9f18-265ac2fa9977", "RentalDiscountOffered": 14.1, "AdditionalDrivers": 15, "IsPAISelected": true, "IsCDWSelected": true, "IsSCDWSelected": true, "AncillaryIn": [ { "AncillaryID": "3cfb36f3-94be-43fd-8aad-940cb86f9ce4", "Qty": 2, "AncillaryItemIDs": [ "6b6c9561-7139-4e18-a17c-586f7b2e71c4", "9376a61a-7b14-4ece-ae49-23eb58b48cdf" ] }, { "AncillaryID": "3cfb36f3-94be-43fd-8aad-940cb86f9ce4", "Qty": 2, "AncillaryItemIDs": [ "6b6c9561-7139-4e18-a17c-586f7b2e71c4", "9376a61a-7b14-4ece-ae49-23eb58b48cdf" ] } ], "RemovedLedgerID": "779d93cc-7f35-4157-a37a-57332374b839", "PromoCode": "sample string 20", "SpecialOfferID": "7c2c541b-8add-4e77-821e-5d6c91f6311c", "SpecialOfferName": "sample string 22", "CheckOutKm": 23, "CheckInKm": 24, "CheckInFuel": 25, "CheckOutFuel": 26, "VehicleID": "c985ef6e-1290-4652-aa16-b41f03de9f6c", "AllowedKm": 28, "AllowedKmPerRental": 29, "TransactionID": "eab9e600-dc95-4474-9bcb-b762a14b8fac", "TransactionType": 0, "RentalRate": 31.1, "ModelWiseChargeID": "05697d57-0ca8-47b0-b984-1a056fdc2f2d", "VehicleVariantID": "da161bac-fe2c-4e3b-91d6-af9413ae5ef5", "CancelledOn": "2023-12-08T20:33:29.4067929+04:00", "DayUnitID": 35, "PaymentStatus": 0, "UpgradeTariffGroupID": "13a57dd8-89aa-4e95-b90a-935684c3d7ee", "UpgradeModelID": "2e4db741-09a3-4446-8600-f91aee98b94f", "UpgradeType": 0, "ModifiedReservationID": "52f19d9e-2f77-4481-9cd1-bf3a5793799c", "ContactID": "1c9ff830-d540-4e61-a6f3-72ea76cfd0ec", "IsMonthlyBooking": true, "IPLocation": { "IPAddress": "sample string 2" } }, "RentalRateDetail": [ { "RentalRateDetailID": "f4ac0e6d-c832-4625-b5fd-240fd39d1cea", "ItemID": "6fc02458-2e68-4684-8ff7-f94c26ffbb79", "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": "f4ac0e6d-c832-4625-b5fd-240fd39d1cea", "ItemID": "6fc02458-2e68-4684-8ff7-f94c26ffbb79", "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": "f4ac0e6d-c832-4625-b5fd-240fd39d1cea", "ItemID": "6fc02458-2e68-4684-8ff7-f94c26ffbb79", "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": "f4ac0e6d-c832-4625-b5fd-240fd39d1cea", "ItemID": "6fc02458-2e68-4684-8ff7-f94c26ffbb79", "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": "5e7e0925-0396-40b6-a108-8768d0273d47", "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:33:29.4067929+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:33:29.4067929+04:00", "ExpiresOn": "2023-12-08T20:33:29.4067929+04:00" }, "Passport": { "PassportNo": "sample string 1", "IssuedOn": "2023-12-08T20:33:29.4067929+04:00", "ExpiresOn": "2023-12-08T20:33:29.4067929+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:33:29.4067929+04:00", "IssuedByBank": "sample string 7" }, { "CreditCardType": "sample string 3", "CreditCardNo": "sample string 4", "ExpiryOn": "2023-12-08T20:33:29.4067929+04:00", "IssuedByBank": "sample string 7" } ], "AdditionalDocument": { "DocumentNo": "sample string 1", "IssuedBy": "sample string 2", "IssuedOn": "2023-12-08T20:33:29.4067929+04:00", "ExpiresOn": "2023-12-08T20:33:29.4067929+04:00" } }, "TotalAmount": 9.1, "TotalTax": 10.1, "SubTotal": -1.0, "RentalType": 0, "CustomerFeedback": { "TransactionID": "844c2567-6f91-4e76-91ab-4c11314c38be", "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": "c5a25a48-53c4-4526-92e6-43523c868625", "BookingIncludedType": 0, "ShortText": "sample string 2", "LongText": "sample string 3", "TempCRUD": { "TempId": 1, "IsNew": true, "IsDeleted": true, "IsUpdated": true, "IsActive": true } }, { "BookingIncludedID": "c5a25a48-53c4-4526-92e6-43523c868625", "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/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultName | Description | Type | Additional information |
---|---|---|---|
IsValid | boolean |
None. |
|
Message | string |
None. |
|
Code | string |
None. |
|
ID | globally unique identifier |
None. |
|
Errors | Collection of string |
None. |
|
ErrorCodes | Collection of ErrorCode |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsValid": true, "Message": "sample string 2", "Code": "sample string 3", "ID": "6ad11622-70f3-42a5-8b48-6cf5d9fda730", "Errors": [ "sample string 1", "sample string 2" ], "ErrorCodes": [ 1, 1 ] }
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity"> <Code>sample string 3</Code> <ErrorCodes> <ErrorCode>Success</ErrorCode> <ErrorCode>Success</ErrorCode> </ErrorCodes> <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Errors> <ID>6ad11622-70f3-42a5-8b48-6cf5d9fda730</ID> <IsValid>true</IsValid> <Message>sample string 2</Message> </Result>