Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Operation

Information of the operation

Style
table {
width: 100%;
}
body.page-gadget {
padding-top: 20px;
}


.separator{
margin: 5px 0;
}



Div
style background-color: green; color: white; display: inline-block; padding: 5px; border-radius: 3px;

POST



Div
stylebackground-color: #0a2b1d; padding: 10px 1em; display: inline-block; color: white; border-radius: 3px;

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



Request

PropertyTypeRequiredDefault valueDescription
folioProductFolioProducttrue
An object of type FolioProduct


Example request

Code Block
languagepowershell
themeDJango
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

Insert excerpt
FolioProduct
FolioProduct


Example response

Code Block
themeDJango
{
  	"counthttpStatus": 10,
  "offset201": 0,
  	"limituserMessage": 10,
  "list": [
    {
      "id": 1,
      "createdDate": "2018-04-12T18:13:50.710Z",
      "code": "CCRT1",
      "name": "ChainCancellationReasonType 1"
    },
    {
      "id": 2,
      "createdDate": "2018-04-12T18:13:50.717Z",
      "code": "CCRT2",
      "name": "ChainCancellationReasonType 2"
    },
    {
      "id": 3,
      "createdDate": "2018-04-12T18:13:50.720Z",
      "code": "CCRT3",
      "name": "ChainCancellationReasonType 3"
    }
  ]"Success",
	"technicalMessage": "Success folioProduct added to reservationRoomStay",
	"errorCode": "0",
	"moreInfo": null,
	"id": null,
	"entity": null
}