Operation
Information of the operation
Request
Property | Type | Required | Default value | Description |
---|---|---|---|---|
name | String | true | Description of the field. |
Example request
GET https://prod.ulysescloud.com/api/v1/chain/1/property/1/revenue
Response
Property | Type | Required | Description |
---|---|---|---|
Page | Page | true | Description of the response of the success operation |
Entity
amountFoodBreakdownAfterTax amountFoodBreakdownBeforeTax amountBeverageBreakdownAfterTax amountBeverageBreakdownBeforeTax amountOtherBreakdownAfterTax BigDecimal amountOtherBreakdownBeforeTax BigDecimal segment source channel rate offer promotion booker billTo central company countryCode StringField Type Required Description date LocalDate true Date of the revenue calculus product Product true Product that groups the values quantity Integer true adults Integer true juniors Integer true children Integer true infants Integer true amountAfterTax BigDecimal true amountBeforeTax BigDecimal true amountDiscount BigDecimal true amountTax BigDecimal true amountCommission BigDecimal true amountCommissionApplied BigDecimal true BigDecimal BigDecimal BigDecimal BigDecimal amountNetAfterTax BigDecimal true amountNetBeforeTax BigDecimal true amountFoodBreakdownNetAfterTax BigDecimal amountFoodBreakdownNetBeforeTax BigDecimal amountBeverageBreakdownNetAfterTax BigDecimal amountBeverageBreakdownNetBeforeTax BigDecimal amountOtherBreakdownNetAfterTax BigDecimal amountOtherBreakdownNetBeforeTax BigDecimal amountInvoiceAfterTax BigDecimal amountInvoiceBeforeTax BigDecimal
Example response
{ "count": 3, "offset": 0, "limit": 10, "list": [{ "date": "2019-01-21", "productId": 79, "quantity": 1, "adults": 1, "juniors": 0, "children": 0, "infants": 0, "amountAfterTax": 380, "amountBeforeTax": 342, "amountDiscount": 0, "amountTax": 38, "amountCommission": 42 }, { "date": "2019-01-21", "productId": 288, "quantity": 1, "adults": 1, "juniors": 0, "children": 0, "infants": 0, "amountAfterTax": 10, "amountBeforeTax": 7.9, "amountDiscount": 0, "amountTax": 2.1, "amountCommission": 0 }, { "date": "2019-01-21", "productId": 365, "quantity": 1, "adults": 1, "juniors": 0, "children": 0, "infants": 0, "amountAfterTax": 10, "amountBeforeTax": 7.9, "amountDiscount": 0, "amountTax": 2.1, "amountCommission": 0 } ] }