Skip to content
Rulee Chen edited this page Sep 21, 2019 · 8 revisions

Request:

  • Url /apis/complaints/search?index=1&size=15&bookingid={bookingid}&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 bookingid optional integer type

  • Query propertyid optional integer type

  • Query propertyOwnerId optional integer type

  • Method GET

Response:

{
  "TotalCount": 2,
  "TotalPages": 1,
  "Items": [
    {
      "BookingId": 1234,
      "PropertyId": 8848,
      "PropertyName": "Casa Jade",
      "LeadGuestName": "Rulee Chen",
      "ComplaintCategory": "Cleanliness",
      "ComplaintNotes": "The property was filthy on arrival",
      "ComplaintConclusion": "Agreed a £200 refund",
      "CompensationAmount": 200,
      "CompensationOwnerAmount": 200,
      "CurrencySymbol": "£"
    },
    {
      "BookingId": 1234,
      "PropertyId": 8848,
      "PropertyName": "Casa Jade",
      "LeadGuestName": "Rulee Chen",
      "ComplaintCategory": "Cleanliness",
      "ComplaintNotes": "The property was filthy on arrival",
      "ComplaintConclusion": "Agreed a £200 refund",
      "CompensationAmount": 200,
      "CompensationOwnerAmount": 200,
      "CurrencySymbol": "£"
    }
  ]
}
  • BookingId Unique booking ID
  • PropertyId Unique iPro Property Reference
  • PropertyName Property Name from the Map Field
  • LeadGuestName Lead Guest name on the booking
  • ComplaintCategory Category of complaints set within the iPro system
  • ComplaintNotes Details of the complaint
  • ComplaintConclusion What has been agreed to satisfy the complaint
  • CompensationAmount How much if anything was refunded to the customer / guest
  • CompensationOwnerAmount How much was agreed with the owner of the property for them to pay to the agency
  • CurrencySymbol Currency symbol for the amounts
Clone this wiki locally