Posting [GET]
Operation
Endpoint to get posting information
GET
https://{environment}.ulysescloud.com/api/{version}/con/chain/{chainId}/property/{propertyId}/posting/posting
Request
Property | Type | Required | Type parameter | Default value | Description |
---|---|---|---|---|---|
chainId | Integer | true | path parameter | Unique id for chain | |
propertyId | Integer | true | path parameter | Unique id for property | |
startDate | LocalDate | true | request parameter | Initial date | |
endDate | LocalDate | true | request parameter | end date | |
productionDateFrom | LocalDate | false | request parameter | null | Initial production date |
productionDateTo | LocalDate | false | request parameter | null | End production date |
productIdList | List<Integer> | false | request parameter | null | |
productTypeIdList | List<Integer> | false | request parameter | null |
Example request
GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/2/posting/posting?startDate=2022-05-01&endDate=2023-05-01
Response
Property | Type | Required | Description |
---|---|---|---|
List<Posting> | Posting | true | Description of the posting operation |
Entity
Example response
[ { "sequenceHead": 5, "sequence": 4, "invoiceNumber": 2, "invoiceSerie": "IN", "invoiceDate": "2023-04-19", "productionDate": "2023-04-19", "roomCode": null, "name": "Mén Schmidt, Andrew", "taxDocumentNumber": "1234", "bookerName": null, "postingDate": "2023-04-19", "productCode": "CASH", "productName": "Cash", "productTypeName": "Payment", "quantity": 1, "pax": 0, "amountBeforeTax": 338.000000, "amountTax": 0.000000, "amountAfterTax": 338.000000, "amountCommission": 0.000000, "amountCommissionApplied": 0.000000, "totalPax": 0, "totalAmountBeforeTax": 338.000000, "totalAmountTax": 0.000000, "totalAmountAfterTax": 338.000000, "totalAmountCommission": 0.000000, "totalAmountCommissionApplied": 0.000000, "userName": "Jartal", "createdDate": "2023-05-19", "ticketNumber": null, "amountProductionBeforeTax": 338.000000, "amountFoodBreakdownBeforeTax": 0, "amountBeverageBreakdownBeforeTax": 0, "amountOtherBreakdownBeforeTax": 0, "amountFoodBreakdownBeforeTaxMix": 0, "amountBeverageBreakdownBeforeTaxMix": 0, "amountOtherBreakdownBeforeTaxMix": 0, "pmslocator": null }, ... ]