Payment of ReservationRoomStay [PUT]
Operation
Allows to pay a reservationRoomStay.
PUT
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/reservationRoomStay/{reservationRoomStayId}/payment
Request
Property | Type | Required | Type parameter | Default value | Description |
---|---|---|---|---|---|
chainId | Integer | true | path parameter | ||
propertyId | Integer | path parameter | |||
reservationRoomStayId | Integer | path parameter |
Example request
PUT https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/1/reservationRoomStay/1/payment
Body
An array of elements of type BillingPayment.
Example body
[{ "amount": 168, "postingDate": "2019-07-23", "productionDate": "2019-07-23", "currency": { "id": 1, "code": "EUR", "name": "Euro" }, "payment": { "id": 632, "name": "Diners" } }]
Response
A success or error message.
Example response
{ "httpStatus": "201", "userMessage": "Success", "technicalMessage": "Success ReservationRoomStay paid", "errorCode": "0", "id": 1 }