Operation

Information of the operation

Only accessible with permission of pms.integration.reservation


table {
width: 100%;
}
body.page-gadget {
padding-top: 20px;
}
.separator{
margin: 5px 0;
}



POST



https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/reservation/{reservationId}/deposit



Request

PropertyTypeRequiredType parameterDefault valueDescription

chainId

Integertruepath parameter

propertyIdIntegertruepath parameter

reservationIdIntegertruepath parameter

reservationRoomStayIdIntegerfalserequest parameter


Example request

POST https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/1/reservation/1/deposit



Body

An array of elements of type ReservationDeposit.


Example body

{
        "productPayment" : { "code" : "VI" },
        "amount" : 10.50,
        "productDeposit" : { "code" : "DEPRE" },
        "chargeId":"ch_3MA9wDGjGBQ6ROtO0Rm9mtud"
}


Response

A success or error message.

Example response

{
    "httpStatus": "201",
    "userMessage": "Success",
    "technicalMessage": "Success deposit created ",
    "errorCode": "0",
    "moreInfo": "0",
    "id": 102,
    "entity": null
}