Skip to content
Rulee Chen edited this page Sep 11, 2019 · 2 revisions

Request:

  • Url /apis/reviews/search?index=1&size=15&propertyid={propertyid}&propertyownerid={propertyOwnerId}

  • Query index optional integer type, start from 1.

  • Query size optional integer type, page size default to 15 if not specified.

  • Query propertyid optional integer type

  • Query propertyOwnerId optional integer type

  • Method GET

Response:

{
  "TotalCount": 2,
  "TotalPages": 1,
  "Items": [
    {
      "ReviewId": 8899,
      "RatingScore": "4.5/5",
      "ReviewTitle": "Superb property",
      "ReviewDetail": "A wonderful holiday in perfect surroundings",
      "ReviewDate": "2019-09-11T06:48:24",
      "GuestName": "Andrew Jones",
      "ManagementComments": "Excellent feeedback thank you",
      "Published": true
    },
    {
      "ReviewId": 8899,
      "RatingScore": "4.5/5",
      "ReviewTitle": "Superb property",
      "ReviewDetail": "A wonderful holiday in perfect surroundings",
      "ReviewDate": "2019-09-11T06:48:24",
      "GuestName": "Andrew Jones",
      "ManagementComments": "Excellent feeedback thank you",
      "Published": true
    }
  ]
}
Clone this wiki locally