v1

latestOpenAPI 3.0.02026-07-26866217.8 KB
Reviews

Create a review

Create review or reply for a reservation.

post/reviews/{reservation_code}

Path parameters

reservation_codestring required

The unique code identifying the reservation.

Request body

host_review_scorenumber

The rating score of the host review. The value is between 0 and 5.

host_review_contentstring

The comment of the host.

host_reply_contentstring

The reply of the host.

Response

The request has been successfully submitted.

request_idstring required

Unique identifier for the request.

error_codeinteger required

Numeric error code representing the status of the response. A value of 200 indicates success. <br> See the Error Codes section for more information.

error_msgstring required

Message detailing the status of the response.

Example response

{
  "error_msg": "Done."
}