Operation
Information of the operation
GET
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/budget/segment
Request
Property | Type | Required | Type parameter | Default value | Description |
---|---|---|---|---|---|
chainId | Integer | true | path parameter | 0 | Unique identificator of the chain. |
propertyId | Integer | true | path parameter | Unique identificator of the property. | |
year | Integer | true | request parameter | Year to perform operation. |
Example request
GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/2/budget/segment?year=2022
Response
Entity
Field Type Required Description date date true date. price bigDecimal true price roomNights integer true roomNights adult integer true number of adults junior integer true number of junior child integer true number of child infant integer true number of infant
[{ "segment": { "id": 17, "code": "TAGE", "name": "Travel Agent" }, "budgetMonthlyList": [{ "month": 1, "pax": 267, "roomNights": 56, "revenue": 3039.000000 }, { "month": 2, "pax": 47, "roomNights": 265, "revenue": 18909.000000 }, { "month": 3, "pax": 216, "roomNights": 230, "revenue": 22542.000000 }, { "month": 4, "pax": 119, "roomNights": 206, "revenue": 29836.000000 }, { "month": 5, "pax": 213, "roomNights": 15, "revenue": 8812.000000 }, { "month": 6, "pax": 147, "roomNights": 256, "revenue": 11386.000000 }, { "month": 7, "pax": 241, "roomNights": 240, "revenue": 18705.000000 }, { "month": 8, "pax": 205, "roomNights": 133, "revenue": 8039.000000 }, { "month": 9, "pax": 142, "roomNights": 235, "revenue": 18574.000000 }, { "month": 10, "pax": 225, "roomNights": 191, "revenue": 7191.000000 }, { "month": 11, "pax": 271, "roomNights": 111, "revenue": 19195.000000 }, { "month": 12, "pax": 84, "roomNights": 210, "revenue": 15119.000000 } ] }, { "segment": { "id": 18, "code": "WEDD", "name": "Wedding" }, "budgetMonthlyList": [{ "month": 1, "pax": 74, "roomNights": 131, "revenue": 25543.000000 }, { "month": 2, "pax": 121, "roomNights": 23, "revenue": 11807.000000 }, { "month": 3, "pax": 101, "roomNights": 69, "revenue": 2236.000000 }, { "month": 4, "pax": 253, "roomNights": 254, "revenue": 21904.000000 }, { "month": 5, "pax": 103, "roomNights": 34, "revenue": 17671.000000 }, { "month": 6, "pax": 162, "roomNights": 216, "revenue": 22757.000000 }, { "month": 7, "pax": 247, "roomNights": 30, "revenue": 7115.000000 }, { "month": 8, "pax": 103, "roomNights": 259, "revenue": 27162.000000 }, { "month": 9, "pax": 93, "roomNights": 133, "revenue": 14619.000000 }, { "month": 10, "pax": 172, "roomNights": 34, "revenue": 23144.000000 }, { "month": 11, "pax": 256, "roomNights": 103, "revenue": 25098.000000 }, { "month": 12, "pax": 130, "roomNights": 183, "revenue": 26224.000000 } ] } ]