Posting [GET]

Operation

Endpoint to get posting information

GET
https://{environment}.ulysescloud.com/api/{version}/con/chain/{chainId}/property/{propertyId}/posting/posting


Request

PropertyTypeRequiredType parameterDefault valueDescription
chainIdIntegertruepath parameter
Unique id for chain

propertyId

Integertruepath parameter
Unique id for property
startDateLocalDatetruerequest parameter
Initial date
endDateLocalDatetruerequest parameter
end date
productionDateFromLocalDatefalserequest parameternullInitial production date 
productionDateToLocalDatefalserequest parameternullEnd production date 
productIdListList<Integer>falserequest parameternull
productTypeIdListList<Integer>falserequest parameternull

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

PropertyTypeRequiredDescription
List<Posting>
PostingtrueDescription of the posting operation

Entity 


FieldTypeRequiredDescription
productIdIntegerfalse
productCodeStringfalse
quantityIntegerfalse
amountAfterTaxStringfalse
foodAmountAfterTaxBigDecimalfalse
beverageAmountAfterTaxBigDecimalfalse
othersAmountAfterTaxBigDecimalfalse
ticketTicketfalse
currencycurrencyfalse
propertyCostCenterIdIntegerfalse



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
    },
	...
]