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 2 Next »

Operation

Allows to pay a reservationRoomStay.

PUT
https://{environment}.ulysescloud.com/api/{version}/chain/{chainId}/property/{propertyId}/reservationRoomStay/{reservationRoomStayId}/payment


Request

PropertyTypeRequiredDefault valueDescription

chainId

Integertrue

propertyIdInteger


reservationRoomStayIdInteger


Example request

PUT https://prod.ulysescloud.com/api/v1/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
}
  • No labels