Warden API
  1. Booking Engine
Warden External API
  • Warden External API
  • Auth
    • Credential Refresh
      GET
  • Booking Engine
    • Get Property Listings
      GET
    • Get Bed Availability
      POST
    • Get Room Type Listings
      GET
    • Get Plan Options for Channel and Room Types
      POST
    • Generate Plan for Channel and Room Types
      POST
    • Create Booking
      PUT
  • API
    • Get Company Details
      GET
    • Get Channels
      GET
    • Get Bookings
      GET
    • Get Residents
      GET
    • Get Payments
      GET
    • Get Transactions
      GET
  1. Booking Engine

Generate Plan for Channel and Room Types

POST
/api/v1/external-app/generate-plan-for-channel-and-room-types
Last modified:2026-05-03 12:39:04
Generates a confirmed payment schedule for a specific plan with custom inputs. This is the step after Get Plan Options for Channel and Room Types — once the resident has selected a plan and configured their inputs (rent, deposit, reservation amount, etc.), call this endpoint to produce the final payment schedule before creating a booking.
Tip: The planMeta.generatorMethod object in the request body should be passed directly from the paymentPlans[].generated.planMeta.generatorMethod field returned by Get Plan Options. You do not need to construct it manually.

Request Body#

FieldTypeRequiredDescription
propertyIdnumberYesThe ID of the property. Obtain from Get Property Listings
channelIdnumberYesThe channel ID. Obtain from Get Channels
startDateTimedatetimeYesThe desired move-in date and time (ISO 8601 format with timezone, e.g. 2026-07-18T15:40:41+05:30)
endDateTimedatetimeYesThe desired move-out date and time (ISO 8601 format with timezone, e.g. 2026-09-18T15:40:41+05:30)
bedRequestsarrayYesList of bed requests — same structure as used in Get Plan Options
planMetaobjectYesThe plan configuration object — pass the generatorMethod from the selected plan (see below)

bedRequests Object#

FieldTypeRequiredDescription
roomTypeIdnumberYesThe ID of the room type
roomTypeRateIdnumberYesThe ID of the specific rate to apply
bedCountnumberYesNumber of beds being requested

planMeta Object#

FieldTypeRequiredDescription
generatorMethodobjectYesThe full generatorMethod object from the selected plan returned by Get Plan Options. This includes the plan id, form, constraints, and contracts
The plan will be generated using the default values defined in the form fields of the selected generatorMethod. Plan inputs cannot be customised at this stage.

What's Returned#

The response contains the finalised payment schedule with the same structure as the generated object in Get Plan Options, along with a planMeta summary:
FieldDescription
planArray of payment entries across the tenancy term, each with billingDate, dueDate, payableAmount, taxAmount, and a breakdown of paymentItems
planMetaSummary of plan inputs used, including planInputs, displayPlanInputs, and a human-readable planMessage with title, description, and priceString
startDateTime / endDateTimeThe term dates used for generation
termStartDate / termEndDateThe actual tenancy term dates
noticePeriodDaysNotice period applicable for this plan
Pass the full response from this endpoint into Create Booking to finalise the booking.

Authentication#

This endpoint requires a valid Bearer Token in the Authorization header. Obtain one via the Credential Refresh endpoint.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params

Body Params application/json

Examples

Responses

🟢200
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://server.wardenera.com/api/v1/external-app/generate-plan-for-channel-and-room-types' \
--header 'User-Agent: insomnia/11.4.0' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "propertyId": 412,
    "channelId": 32,
    "startDateTime": "2026-07-18T15:40:41+05:30",
    "endDateTime": "2026-09-18T15:40:41+05:30",
    "bedRequests": [
        {
            "roomTypeId": 1385,
            "roomTypeRateId": 1419,
            "bedCount": 1
        },
    ],
    "planMeta": {
        "generatorMethod": {
            "label": "Booking Monthly Plan",
            "form": [
                {
                    "name": "planInputs.reservationMode",
                    "label": "Reservation Mode",
                    "options": [
                        {
                            "label": "Reserve Now, Book Later",
                            "value": "Reserve Now, Book Later"
                        },
                        {
                            "label": "Full Booking",
                            "value": "Full Booking"
                        }
                    ],
                    "isHidden": false,
                    "fieldType": "SingleSelect",
                    "isProtected": false,
                    "defaultValue": "Full Booking",
                    "isDisplayValue": true,
                    "isBookingEngineField": true
                },
                {
                    "name": "planInputs.rent",
                    "label": "Monthly Rent",
                    "isHidden": false,
                    "fieldType": "AmountInput",
                    "isProtected": false,
                    "isDisplayValue": true,
                    "chartOfAccountId": 1378
                },
                {
                    "name": "planInputs.security",
                    "label": "Deposit Amount",
                    "options": [],
                    "isHidden": false,
                    "fieldType": "AmountInput",
                    "isProtected": false,
                    "isDisplayValue": true,
                    "chartOfAccountId": 1376
                },
                {
                    "name": "planInputs.reservation",
                    "label": "Reservation Amount",
                    "options": [],
                    "isHidden": false,
                    "fieldType": "AmountInput",
                    "isProtected": false,
                    "isDisplayValue": true,
                    "chartOfAccountId": 555
                },
                {
                    "name": "planInputs.discount",
                    "label": "Discount",
                    "options": [],
                    "isHidden": false,
                    "fieldType": "DiscountInput",
                    "isProtected": false,
                    "defaultValue": 0,
                    "isDisplayValue": true
                }
            ],
            "id": 12,
            "constraints": {
                "maxTermLengthDays": 199,
                "minTermLengthDays": 0
            },
            "contracts": {
                "Booking Folio": 85,
                "Rent Agreement": 48,
                "Resident Rent Agreement": 123
            },
            "name": "Booking Monthly Plan",
            "description": null,
            "status": "Active",
            "isDeleted": false,
            "companyId": 11,
            "customScriptConnections": [],
            "createdById": 8091,
            "updatedById": 8091,
            "createdAt": "2025-06-05T15:57:56+05:30",
            "updatedAt": "2026-02-18T18:51:02+05:30",
            "customScripts": [],
            "value": 12
        }
    },
}'
Response Response Example
{
    "plan": [
        {
            "taxableAmount": 55424.1,
            "deductedTaxAmount": 0,
            "payableAmount": 56075,
            "grossPayableAmount": 56075,
            "baseAmount": 55424.1,
            "taxAmount": 650.9,
            "discount": 0,
            "totalAmount": 56075,
            "entry": "Plan Generator",
            "type": "Rent Collection",
            "category": "Initial Payment",
            "billingDate": "2026-05-03T13:47:36+05:30",
            "dueDate": "2026-05-10T13:47:36+05:30",
            "paymentItems": [
                {
                    "id": 0,
                    "paymentId": 0,
                    "chartOfAccountId": 1376,
                    "companyId": 0,
                    "description": "Security deposit",
                    "inputAmount": 50000,
                    "discount": 0,
                    "isSettled": false,
                    "originalTimezone": "Asia/Kolkata",
                    "isDeleted": false,
                    "createdById": 0,
                    "updatedById": 0,
                    "createdAt": "2026-05-03T13:47:36+05:30",
                    "updatedAt": "2026-05-03T13:47:36+05:30",
                    "taxableAmount": 50000,
                    "baseAmount": 50000,
                    "taxAmount": 0,
                    "computedTaxAmount": 0,
                    "exemptedTaxAmount": 0,
                    "deductedTaxAmount": 0,
                    "payableAmount": 50000,
                    "grossPayableAmount": 50000,
                    "taxesUsed": [],
                    "label": "Security Deposit",
                    "SACCode": "",
                    "chartOfAccount": {
                        "id": 1376,
                        "name": "Security Deposit",
                        "type": "Security",
                        "description": "",
                        "SACCode": "",
                        "companyId": 11,
                        "taxId": null,
                        "beneficiaryId": null,
                        "advanceCOAId": null,
                        "provisionalCOAId": 1377,
                        "taxDeductionId": null,
                        "isDeleted": false,
                        "isArchived": false,
                        "createdById": 8091,
                        "updatedById": 8091,
                        "createdAt": "2025-06-09T18:11:52+05:30",
                        "updatedAt": "2025-06-09T18:11:52+05:30",
                        "taxConnections": [],
                        "taxExemptionConnections": [],
                        "taxDeductionConnections": [],
                        "taxIds": [],
                        "taxes": [],
                        "applicableTaxExemptionIds": [],
                        "applicableTaxExemptions": [],
                        "applicableTaxDeductionIds": [],
                        "applicableTaxDeductions": [],
                        "classType": "Liability"
                    }
                },
                {
                    "id": 0,
                    "paymentId": 0,
                    "chartOfAccountId": 1378,
                    "companyId": 0,
                    "description": "Rent for the month of Jul 2026",
                    "inputAmount": 6075,
                    "discount": 0,
                    "isSettled": false,
                    "originalTimezone": "Asia/Kolkata",
                    "isDeleted": false,
                    "createdById": 0,
                    "updatedById": 0,
                    "createdAt": "2026-05-03T13:47:36+05:30",
                    "updatedAt": "2026-05-03T13:47:36+05:30",
                    "taxableAmount": 5424.1,
                    "baseAmount": 5424.1,
                    "taxAmount": 650.9,
                    "computedTaxAmount": 650.9,
                    "exemptedTaxAmount": 0,
                    "deductedTaxAmount": 0,
                    "payableAmount": 6075,
                    "grossPayableAmount": 6075,
                    "taxesUsed": [
                        {
                            "taxId": 60,
                            "taxType": "Inclusive",
                            "paymentItemId": 0,
                            "computedAmount": 325.45,
                            "exemptedAmount": 0,
                            "amount": 325.45,
                            "tax": {
                                "id": 60,
                                "type": "Inclusive",
                                "name": "SGST",
                                "percentage": 6,
                                "validFrom": null,
                                "validTo": null,
                                "companyId": 11,
                                "isDeleted": false,
                                "createdById": 13581,
                                "updatedById": 13581,
                                "createdAt": "2024-05-20T03:06:41+05:30",
                                "updatedAt": "2024-05-20T03:06:41+05:30"
                            },
                            "createdAt": "2026-05-03T13:47:36+05:30",
                            "updatedAt": "2026-05-03T13:47:36+05:30"
                        },
                        {
                            "taxId": 61,
                            "taxType": "Inclusive",
                            "paymentItemId": 0,
                            "computedAmount": 325.45,
                            "exemptedAmount": 0,
                            "amount": 325.45,
                            "tax": {
                                "id": 61,
                                "type": "Inclusive",
                                "name": "CGST",
                                "percentage": 6,
                                "validFrom": null,
                                "validTo": null,
                                "companyId": 11,
                                "isDeleted": false,
                                "createdById": 13581,
                                "updatedById": 13581,
                                "createdAt": "2024-05-20T03:06:41+05:30",
                                "updatedAt": "2024-05-20T03:06:41+05:30"
                            },
                            "createdAt": "2026-05-03T13:47:36+05:30",
                            "updatedAt": "2026-05-03T13:47:36+05:30"
                        }
                    ],
                    "label": "Rent",
                    "SACCode": "",
                    "chartOfAccount": {
                        "id": 1378,
                        "name": "Rent",
                        "type": "Income",
                        "description": "",
                        "SACCode": "",
                        "companyId": 11,
                        "taxId": null,
                        "beneficiaryId": null,
                        "advanceCOAId": 1380,
                        "provisionalCOAId": 1379,
                        "taxDeductionId": null,
                        "isDeleted": false,
                        "isArchived": false,
                        "createdById": 8091,
                        "updatedById": 8091,
                        "createdAt": "2025-06-09T18:13:04+05:30",
                        "updatedAt": "2025-06-09T18:13:04+05:30",
                        "taxConnections": [
                            {
                                "taxId": 60,
                                "chartOfAccountId": 1378,
                                "tax": {
                                    "id": 60,
                                    "type": "Inclusive",
                                    "name": "SGST",
                                    "percentage": 6,
                                    "validFrom": null,
                                    "validTo": null,
                                    "companyId": 11,
                                    "createdById": 13581,
                                    "updatedById": 13581,
                                    "isDeleted": false,
                                    "createdAt": "2024-05-20T03:06:41+05:30",
                                    "updatedAt": "2024-05-20T03:06:41+05:30"
                                }
                            },
                            {
                                "taxId": 61,
                                "chartOfAccountId": 1378,
                                "tax": {
                                    "id": 61,
                                    "type": "Inclusive",
                                    "name": "CGST",
                                    "percentage": 6,
                                    "validFrom": null,
                                    "validTo": null,
                                    "companyId": 11,
                                    "createdById": 13581,
                                    "updatedById": 13581,
                                    "isDeleted": false,
                                    "createdAt": "2024-05-20T03:06:41+05:30",
                                    "updatedAt": "2024-05-20T03:06:41+05:30"
                                }
                            }
                        ],
                        "taxExemptionConnections": [],
                        "taxDeductionConnections": [],
                        "taxIds": [
                            60,
                            61
                        ],
                        "taxes": [
                            {
                                "id": 60,
                                "type": "Inclusive",
                                "name": "SGST",
                                "percentage": 6,
                                "validFrom": null,
                                "validTo": null,
                                "companyId": 11,
                                "isDeleted": false,
                                "createdById": 13581,
                                "updatedById": 13581,
                                "createdAt": "2024-05-20T03:06:41+05:30",
                                "updatedAt": "2024-05-20T03:06:41+05:30"
                            },
                            {
                                "id": 61,
                                "type": "Inclusive",
                                "name": "CGST",
                                "percentage": 6,
                                "validFrom": null,
                                "validTo": null,
                                "companyId": 11,
                                "isDeleted": false,
                                "createdById": 13581,
                                "updatedById": 13581,
                                "createdAt": "2024-05-20T03:06:41+05:30",
                                "updatedAt": "2024-05-20T03:06:41+05:30"
                            }
                        ],
                        "applicableTaxExemptionIds": [],
                        "applicableTaxExemptions": [],
                        "applicableTaxDeductionIds": [],
                        "applicableTaxDeductions": [],
                        "classType": "Revenue"
                    }
                }
            ]
        },
        {
            "taxableAmount": 12053.58,
            "deductedTaxAmount": 0,
            "payableAmount": 13500,
            "grossPayableAmount": 13500,
            "baseAmount": 12053.58,
            "taxAmount": 1446.42,
            "discount": 0,
            "totalAmount": 13500,
            "entry": "Plan Generator",
            "type": "Rent Collection",
            "category": "Rent",
            "billingDate": "2026-08-01T00:00:00+05:30",
            "dueDate": "2026-08-08T00:00:00+05:30",
            "paymentItems": [
                {
                    "id": 0,
                    "paymentId": 0,
                    "chartOfAccountId": 1378,
                    "companyId": 0,
                    "description": "Rent for the month of Aug 2026",
                    "inputAmount": 13500,
                    "discount": 0,
                    "isSettled": false,
                    "originalTimezone": "Asia/Kolkata",
                    "isDeleted": false,
                    "createdById": 0,
                    "updatedById": 0,
                    "createdAt": "2026-05-03T13:47:36+05:30",
                    "updatedAt": "2026-05-03T13:47:36+05:30",
                    "taxableAmount": 12053.58,
                    "baseAmount": 12053.58,
                    "taxAmount": 1446.42,
                    "computedTaxAmount": 1446.42,
                    "exemptedTaxAmount": 0,
                    "deductedTaxAmount": 0,
                    "payableAmount": 13500,
                    "grossPayableAmount": 13500,
                    "taxesUsed": [
                        {
                            "taxId": 60,
                            "taxType": "Inclusive",
                            "paymentItemId": 0,
                            "computedAmount": 723.21,
                            "exemptedAmount": 0,
                            "amount": 723.21,
                            "tax": {
                                "id": 60,
                                "type": "Inclusive",
                                "name": "SGST",
                                "percentage": 6,
                                "validFrom": null,
                                "validTo": null,
                                "companyId": 11,
                                "isDeleted": false,
                                "createdById": 13581,
                                "updatedById": 13581,
                                "createdAt": "2024-05-20T03:06:41+05:30",
                                "updatedAt": "2024-05-20T03:06:41+05:30"
                            },
                            "createdAt": "2026-05-03T13:47:36+05:30",
                            "updatedAt": "2026-05-03T13:47:36+05:30"
                        },
                        {
                            "taxId": 61,
                            "taxType": "Inclusive",
                            "paymentItemId": 0,
                            "computedAmount": 723.21,
                            "exemptedAmount": 0,
                            "amount": 723.21,
                            "tax": {
                                "id": 61,
                                "type": "Inclusive",
                                "name": "CGST",
                                "percentage": 6,
                                "validFrom": null,
                                "validTo": null,
                                "companyId": 11,
                                "isDeleted": false,
                                "createdById": 13581,
                                "updatedById": 13581,
                                "createdAt": "2024-05-20T03:06:41+05:30",
                                "updatedAt": "2024-05-20T03:06:41+05:30"
                            },
                            "createdAt": "2026-05-03T13:47:36+05:30",
                            "updatedAt": "2026-05-03T13:47:36+05:30"
                        }
                    ],
                    "label": "Rent",
                    "SACCode": "",
                    "chartOfAccount": {
                        "id": 1378,
                        "name": "Rent",
                        "type": "Income",
                        "description": "",
                        "SACCode": "",
                        "companyId": 11,
                        "taxId": null,
                        "beneficiaryId": null,
                        "advanceCOAId": 1380,
                        "provisionalCOAId": 1379,
                        "taxDeductionId": null,
                        "isDeleted": false,
                        "isArchived": false,
                        "createdById": 8091,
                        "updatedById": 8091,
                        "createdAt": "2025-06-09T18:13:04+05:30",
                        "updatedAt": "2025-06-09T18:13:04+05:30",
                        "taxConnections": [
                            {
                                "taxId": 60,
                                "chartOfAccountId": 1378,
                                "tax": {
                                    "id": 60,
                                    "type": "Inclusive",
                                    "name": "SGST",
                                    "percentage": 6,
                                    "validFrom": null,
                                    "validTo": null,
                                    "companyId": 11,
                                    "createdById": 13581,
                                    "updatedById": 13581,
                                    "isDeleted": false,
                                    "createdAt": "2024-05-20T03:06:41+05:30",
                                    "updatedAt": "2024-05-20T03:06:41+05:30"
                                }
                            },
                            {
                                "taxId": 61,
                                "chartOfAccountId": 1378,
                                "tax": {
                                    "id": 61,
                                    "type": "Inclusive",
                                    "name": "CGST",
                                    "percentage": 6,
                                    "validFrom": null,
                                    "validTo": null,
                                    "companyId": 11,
                                    "createdById": 13581,
                                    "updatedById": 13581,
                                    "isDeleted": false,
                                    "createdAt": "2024-05-20T03:06:41+05:30",
                                    "updatedAt": "2024-05-20T03:06:41+05:30"
                                }
                            }
                        ],
                        "taxExemptionConnections": [],
                        "taxDeductionConnections": [],
                        "taxIds": [
                            60,
                            61
                        ],
                        "taxes": [
                            {
                                "id": 60,
                                "type": "Inclusive",
                                "name": "SGST",
                                "percentage": 6,
                                "validFrom": null,
                                "validTo": null,
                                "companyId": 11,
                                "isDeleted": false,
                                "createdById": 13581,
                                "updatedById": 13581,
                                "createdAt": "2024-05-20T03:06:41+05:30",
                                "updatedAt": "2024-05-20T03:06:41+05:30"
                            },
                            {
                                "id": 61,
                                "type": "Inclusive",
                                "name": "CGST",
                                "percentage": 6,
                                "validFrom": null,
                                "validTo": null,
                                "companyId": 11,
                                "isDeleted": false,
                                "createdById": 13581,
                                "updatedById": 13581,
                                "createdAt": "2024-05-20T03:06:41+05:30",
                                "updatedAt": "2024-05-20T03:06:41+05:30"
                            }
                        ],
                        "applicableTaxExemptionIds": [],
                        "applicableTaxExemptions": [],
                        "applicableTaxDeductionIds": [],
                        "applicableTaxDeductions": [],
                        "classType": "Revenue"
                    }
                }
            ]
        },
        {
            "taxableAmount": 7232.14,
            "deductedTaxAmount": 0,
            "payableAmount": 8100,
            "grossPayableAmount": 8100,
            "baseAmount": 7232.14,
            "taxAmount": 867.86,
            "discount": 0,
            "totalAmount": 8100,
            "entry": "Plan Generator",
            "type": "Rent Collection",
            "category": "Rent",
            "billingDate": "2026-09-01T00:00:00+05:30",
            "dueDate": "2026-09-08T00:00:00+05:30",
            "paymentItems": [
                {
                    "id": 0,
                    "paymentId": 0,
                    "chartOfAccountId": 1378,
                    "companyId": 0,
                    "description": "Rent for the month of Sep 2026",
                    "inputAmount": 8100,
                    "discount": 0,
                    "isSettled": false,
                    "originalTimezone": "Asia/Kolkata",
                    "isDeleted": false,
                    "createdById": 0,
                    "updatedById": 0,
                    "createdAt": "2026-05-03T13:47:36+05:30",
                    "updatedAt": "2026-05-03T13:47:36+05:30",
                    "taxableAmount": 7232.14,
                    "baseAmount": 7232.14,
                    "taxAmount": 867.86,
                    "computedTaxAmount": 867.86,
                    "exemptedTaxAmount": 0,
                    "deductedTaxAmount": 0,
                    "payableAmount": 8100,
                    "grossPayableAmount": 8100,
                    "taxesUsed": [
                        {
                            "taxId": 60,
                            "taxType": "Inclusive",
                            "paymentItemId": 0,
                            "computedAmount": 433.93,
                            "exemptedAmount": 0,
                            "amount": 433.93,
                            "tax": {
                                "id": 60,
                                "type": "Inclusive",
                                "name": "SGST",
                                "percentage": 6,
                                "validFrom": null,
                                "validTo": null,
                                "companyId": 11,
                                "isDeleted": false,
                                "createdById": 13581,
                                "updatedById": 13581,
                                "createdAt": "2024-05-20T03:06:41+05:30",
                                "updatedAt": "2024-05-20T03:06:41+05:30"
                            },
                            "createdAt": "2026-05-03T13:47:36+05:30",
                            "updatedAt": "2026-05-03T13:47:36+05:30"
                        },
                        {
                            "taxId": 61,
                            "taxType": "Inclusive",
                            "paymentItemId": 0,
                            "computedAmount": 433.93,
                            "exemptedAmount": 0,
                            "amount": 433.93,
                            "tax": {
                                "id": 61,
                                "type": "Inclusive",
                                "name": "CGST",
                                "percentage": 6,
                                "validFrom": null,
                                "validTo": null,
                                "companyId": 11,
                                "isDeleted": false,
                                "createdById": 13581,
                                "updatedById": 13581,
                                "createdAt": "2024-05-20T03:06:41+05:30",
                                "updatedAt": "2024-05-20T03:06:41+05:30"
                            },
                            "createdAt": "2026-05-03T13:47:36+05:30",
                            "updatedAt": "2026-05-03T13:47:36+05:30"
                        }
                    ],
                    "label": "Rent",
                    "SACCode": "",
                    "chartOfAccount": {
                        "id": 1378,
                        "name": "Rent",
                        "type": "Income",
                        "description": "",
                        "SACCode": "",
                        "companyId": 11,
                        "taxId": null,
                        "beneficiaryId": null,
                        "advanceCOAId": 1380,
                        "provisionalCOAId": 1379,
                        "taxDeductionId": null,
                        "isDeleted": false,
                        "isArchived": false,
                        "createdById": 8091,
                        "updatedById": 8091,
                        "createdAt": "2025-06-09T18:13:04+05:30",
                        "updatedAt": "2025-06-09T18:13:04+05:30",
                        "taxConnections": [
                            {
                                "taxId": 60,
                                "chartOfAccountId": 1378,
                                "tax": {
                                    "id": 60,
                                    "type": "Inclusive",
                                    "name": "SGST",
                                    "percentage": 6,
                                    "validFrom": null,
                                    "validTo": null,
                                    "companyId": 11,
                                    "createdById": 13581,
                                    "updatedById": 13581,
                                    "isDeleted": false,
                                    "createdAt": "2024-05-20T03:06:41+05:30",
                                    "updatedAt": "2024-05-20T03:06:41+05:30"
                                }
                            },
                            {
                                "taxId": 61,
                                "chartOfAccountId": 1378,
                                "tax": {
                                    "id": 61,
                                    "type": "Inclusive",
                                    "name": "CGST",
                                    "percentage": 6,
                                    "validFrom": null,
                                    "validTo": null,
                                    "companyId": 11,
                                    "createdById": 13581,
                                    "updatedById": 13581,
                                    "isDeleted": false,
                                    "createdAt": "2024-05-20T03:06:41+05:30",
                                    "updatedAt": "2024-05-20T03:06:41+05:30"
                                }
                            }
                        ],
                        "taxExemptionConnections": [],
                        "taxDeductionConnections": [],
                        "taxIds": [
                            60,
                            61
                        ],
                        "taxes": [
                            {
                                "id": 60,
                                "type": "Inclusive",
                                "name": "SGST",
                                "percentage": 6,
                                "validFrom": null,
                                "validTo": null,
                                "companyId": 11,
                                "isDeleted": false,
                                "createdById": 13581,
                                "updatedById": 13581,
                                "createdAt": "2024-05-20T03:06:41+05:30",
                                "updatedAt": "2024-05-20T03:06:41+05:30"
                            },
                            {
                                "id": 61,
                                "type": "Inclusive",
                                "name": "CGST",
                                "percentage": 6,
                                "validFrom": null,
                                "validTo": null,
                                "companyId": 11,
                                "isDeleted": false,
                                "createdById": 13581,
                                "updatedById": 13581,
                                "createdAt": "2024-05-20T03:06:41+05:30",
                                "updatedAt": "2024-05-20T03:06:41+05:30"
                            }
                        ],
                        "applicableTaxExemptionIds": [],
                        "applicableTaxExemptions": [],
                        "applicableTaxDeductionIds": [],
                        "applicableTaxDeductions": [],
                        "classType": "Revenue"
                    }
                }
            ]
        }
    ],
    "planMeta": {
        "id": 0,
        "planType": "Fixed",
        "planInputs": {
            "reservationMode": "Full Booking",
            "reservation": 2500,
            "security": 50000,
            "rent": 13500
        },
        "displayPlanInputs": {
            "rent": 13500,
            "security": 50000,
            "reservation": 2500,
            "discount": 0,
            "bedCount": 1
        },
        "generatorMethod": {
            "label": "Booking Monthly Plan",
            "form": [
                {
                    "name": "planInputs.reservationMode",
                    "label": "Reservation Mode",
                    "options": [
                        {
                            "label": "Reserve Now, Book Later",
                            "value": "Reserve Now, Book Later"
                        },
                        {
                            "label": "Full Booking",
                            "value": "Full Booking"
                        }
                    ],
                    "isHidden": false,
                    "fieldType": "SingleSelect",
                    "isProtected": false,
                    "defaultValue": "Full Booking",
                    "isDisplayValue": true,
                    "isBookingEngineField": true
                },
                {
                    "name": "planInputs.rent",
                    "label": "Monthly Rent",
                    "isHidden": false,
                    "fieldType": "AmountInput",
                    "isProtected": false,
                    "isDisplayValue": true,
                    "chartOfAccountId": 1378
                },
                {
                    "name": "planInputs.security",
                    "label": "Deposit Amount",
                    "options": [],
                    "isHidden": false,
                    "fieldType": "AmountInput",
                    "isProtected": false,
                    "isDisplayValue": true,
                    "chartOfAccountId": 1376
                },
                {
                    "name": "planInputs.reservation",
                    "label": "Reservation Amount",
                    "options": [],
                    "isHidden": false,
                    "fieldType": "AmountInput",
                    "isProtected": false,
                    "isDisplayValue": true,
                    "chartOfAccountId": 555
                },
                {
                    "name": "planInputs.discount",
                    "label": "Discount",
                    "options": [],
                    "isHidden": false,
                    "fieldType": "DiscountInput",
                    "isProtected": false,
                    "defaultValue": 0,
                    "isDisplayValue": true
                }
            ],
            "id": 12,
            "constraints": {
                "maxTermLengthDays": 199,
                "minTermLengthDays": 0
            },
            "contracts": {
                "Booking Folio": 85,
                "Rent Agreement": 48,
                "Resident Rent Agreement": 123
            },
            "name": "Booking Monthly Plan",
            "description": null,
            "status": "Active",
            "isDeleted": false,
            "companyId": 11,
            "customScriptConnections": [],
            "createdById": 8091,
            "updatedById": 8091,
            "createdAt": "2025-06-05T15:57:56+05:30",
            "updatedAt": "2026-02-18T18:51:02+05:30",
            "customScripts": [],
            "value": 12
        },
        "planMessage": {
            "title": "Monthly Plan",
            "description": "Payments are generated upfront, with pro rata calculation in the first and last months.",
            "priceString": "13,500/month"
        },
        "bookingId": 0,
        "createdById": 0,
        "updatedById": 0,
        "createdAt": "2026-05-03T13:47:35+05:30",
        "updatedAt": "2026-05-03T13:47:35+05:30",
        "planEndDate": "2026-09-18T15:40:41+05:30",
        "noticePeriodDays": 30
    },
    "startDateTime": "2026-07-18T15:40:41+05:30",
    "endDateTime": "2026-09-18T15:40:41+05:30",
    "termStartDate": "2026-07-18T15:40:41+05:30",
    "termEndDate": "2026-09-18T15:40:41+05:30",
    "noticePeriodDays": 30,
    "message": "Generated plan for external booking"
}
Modified at 2026-05-03 12:39:04
Previous
Get Plan Options for Channel and Room Types
Next
Create Booking
Built with