Note Save [POST]
Operation
Creates a new company in the system.
POST
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/note
Request
Property | Type | Required | Type parameter | Default value | Description |
---|---|---|---|---|---|
chainId | Integer | true | path parameter |
Example request
POST https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/note
Body
The body that will be sent in the operation
Field Type Required Description id Integer false Id of the Note chainId Integer true Id of the Chain propertyId Integer false Id of the Property reservationId Integer false Id of the Reservation reservationRoomStayId Integer false Id of the Stay note String true Content of the Note priorityType PriorityType true priority of the Note archiveDate LocalDateTime false date of the note archive
Example Body
The body that will be sent in the operation
{ "chainId": 1, "propertyId": 2, "reservationId": null, "reservationRoomStayId": 7, "note": "This is a note", "priorityType": { "id": 3 } }
Response
Property | Type | Required | Description |
---|---|---|---|
ResponseApiMessage | ResponseApiMessage | true | Description of the response of the success operation |
Example response
{ "httpStatus": "201", "userMessage": "Success", "technicalMessage": "Success note inserted", "errorCode": "0", "id": 1 }