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

« Previous Version 3 Current »

Operation

Information of the operation

POST


Request

PropertyTypeRequiredDefault valueDescription
folioProductFolioProducttrue
An object of type FolioProduct

Example request

POST https://prod.ulysescloud.com/api/v1/chain/1/property/2/reservation/934/addFolioProduct


Response

PropertyTypeRequiredDescription
responseApiMessageResponseApiMessagetrueDescription of the response of the success operation

Entity


FieldTypeRequiredDescription
idIntegertrueUnique identifier for the FolioProduct.
folioFoliotrueFolio related to the FolioProduct.
productProducttrueProduct related to the FolioProduct.
productionDateLocalDatetrueDate when it enters in production
postingDateLocalDatetrueDate when is posted
quantityIntegertrueAmount
nameStringtrueName of the FolioProduct (usually name of the Product or ChainProduct)
priceBigDecimaltruePrice of the FolioProduct 
currencyCurrencytrueCurrency of the FolioProduct
foreignPriceBigDecimaltrueForeign price
foreignCurrencyCurrencytrueForeign Currency.
folioProductIdSourceIntegertrue
chainRebateReasonTypeChainRebateReasonTypetrue
folioProductTransactionTypeFolioProductTransactionTypetrue
folioProductTraceSetArray of FolioProductTracetrue
rebateReasonStringtrue
ticketTickettrue
paymentReceiptPaymentReceipttrue
depositDeposittrue
propertyChannelPropertyChanneltrue
propertySourcePropertySourcetrue
propertySegmentPropertySegmenttrue
folioProductTaxSetArray of FolioProductTaxtrue

Example response

{
	"httpStatus": "201",
	"userMessage": "Success",
	"technicalMessage": "Success folioProduct added to reservationRoomStay",
	"errorCode": "0",
	"moreInfo": null,
	"id": null,
	"entity": null
}
  • No labels