[POST] Add FolioProduct
Operation
Information of the operation
POST
Request
Property | Type | Required | Default value | Description |
---|---|---|---|---|
folioProduct | FolioProduct | true | An object of type FolioProduct |
Example request
POST https://prod.ulysescloud.com/api/v1/chain/1/property/2/reservationRoomStay/934/addFolioProduct
Response
Property | Type | Required | Description |
---|---|---|---|
responseApiMessage | ResponseApiMessage | true | Description of the response of the success operation |
Entity
Field | Type | Required | Description |
---|---|---|---|
id | Integer | true | Unique identifier for the FolioProduct. |
folio | Folio | true | Folio related to the FolioProduct. |
product | Product | true | Product related to the FolioProduct. |
productionDate | LocalDate | true | Date when it enters in production |
postingDate | LocalDate | true | Date when is posted |
quantity | Integer | true | Amount |
name | String | true | Name of the FolioProduct (usually name of the Product or ChainProduct) |
price | BigDecimal | true | Price of the FolioProduct |
currency | Currency | true | Currency of the FolioProduct |
foreignPrice | BigDecimal | true | Foreign price |
foreignCurrency | Currency | true | Foreign Currency. |
folioProductIdSource | Integer | true | |
chainRebateReasonType | ChainRebateReasonType | true | |
folioProductTransactionType | FolioProductTransactionType | true | |
folioProductTraceSet | Array of FolioProductTrace | true | |
rebateReason | String | true | |
ticket | Ticket | true | |
paymentReceipt | PaymentReceipt | true | |
deposit | Deposit | true | |
propertyChannel | PropertyChannel | true | |
propertySource | PropertySource | true | |
propertySegment | PropertySegment | true | |
folioProductTaxSet | Array of FolioProductTax | true |
Example response
{ "httpStatus": "201", "userMessage": "Success", "technicalMessage": "Success folioProduct added to reservationRoomStay", "errorCode": "0", "moreInfo": null, "id": null, "entity": null }