Note Update [PUT]
Operation
Updates a company.
PUT
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/note/{noteId}
Request
Property | Type | Required | Type parameter | Default value | Description |
---|---|---|---|---|---|
chainId | Integer | true | path parameter | ||
noteId | Integer | true | path parameter | The note to be updated |
Example request
PUT https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/note/2
Entity
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 update", "priorityType": { "id": 1 } }
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 updated", "errorCode": "0", "id": 1 }