Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Structure

FieldTypeRequiredDescription
idIntegerfalseId of the rateProductOccupancy.
rateIdIntegerfalseId of the rate.
productOccupancyIdIntegerfalseId of the productOccupancyId.
rateProductOccupancyAvailabilitySetList<RateProductOccupancyAvailability>falseList of entities RateProductOccupancyAvailability.

JSON representation

{
        "chainProductId": 47,
        "chainProductCode": "SGL",
        "productName": "Single",
        "productId": 692,
        "productOccupancySet": [
            {
                "id": 1,
                "product": {
                    "id": 692,
                    "chainProductId": 47,
                    "code": "SGL",
                    "name": "Single",
                    "nameI18n": "Single",
                    "productType": {
                        "id": 1,
                        "code": "ACC",
                        "name": "Accommodation",
                        "nameI18n": "Accommodation"
                    }
                },
                "adult": 1,
                "junior": 0,
                "child": 0,
                "infant": 0,
                "rateProductOccupancySet": [
                    {
                        "id": 1,
                        "rateId": 2,
                        "productOccupancyId": 1,
                        "rateProductOccupancyAvailabilitySet": [
                            {
                                "id": 50,
                                "rateProductOccupancyId": 1,
                                "date": "2023-08-19",
                                "amountAfterTax": 172.000000,
                                "closed": false,
                                "minStay": 0,
                                "maxStay": 0,
                                "closedToArrival": false,
                                "closedToDeparture": false,
                                "percentDiscount": null,
                                "amountDiscount": null
	                            }...
					}
				]
		}
}
  • No labels