Hotel.getGuestReviewsSummary | Previo API

Hotel.getGuestReviewsSummary

Returns a summary of reviews - overall rating of each category + worst and best review 

Parameters

Name Description
login Username
password Password
hotId Hotel ID 
lanId Language ID - Language in which translations will be returned. Guest reviews will not be translated and always returned in the original language they were written in (optional)

Sample request

<request>
    <login>prihlasovaci_jmeno</login>
    <password>heslo</password>
    <hotId>4587</hotId>
    <lanId>2</lanId>
</request>

Output

<summary> [1]  
 
<total> [1]  
 
<count> [1]   Total number of reservations
<staff> [1]   Staff rating
<clean> [1]   Cleanliness rating
<comfort> [1]   Comfort rating
<services> [1]   Service rating
<ratio> [1]   Value for money rating
<sum> [1]   Overall rating
<best> [1] Best review - same structure as getGuestReviews
<worst> [1] Worst review - same structure as getGuestReviews

Sample output

<summary>
    <total>
        <count>52</count>
        <staff>88</staff>
        <clean>87</clean>
        <comfort>82</comfort>
        <services>83</services>
        <ratio>86</ratio>
        <sum>85</sum>
    </total>
    <best>
        <guestReview>
            <term>
                <from>2012-10-12 14:00:00</from>
                <to>2012-10-13 12:00:00</to>
            </term>
            <gurId>325135</gurId>
            <staff>10</staff>
            <voucher>406938</voucher>
            <clean>10</clean>
            <ratio>9</ratio>
            <service>10</service>
            <comfort>10</comfort>
            <textPlus>Tento hotel sem našel na internetu a vřele ho mužu káždému doporučit byl sem tam jen na jednu noc a mnělsem kolo  které my uschovaly. Ochotny personál.</textPlus>
            <textMinus>nemám.</textMinus>
            <guestName>Emil Volf</guestName>
            <guestViewName>Emil Volf</guestViewName>
            <guestCountry>Česká republika</guestCountry>
            <guestCountryISO>CZE</guestCountryISO>
            <guestTown/>
            <guestGroup>Jednotlivec</guestGroup>
            <guestStay>Soukromá cesta</guestStay>
            <approval>1</approval>
            <viewFormat>1</viewFormat>
        </guestReview>
    </best>
    <worst>
        <guestReview>
            <term>
                <from>2013-02-18 14:00:00</from>
                <to>2013-02-20 12:00:00</to>
            </term>
            <gurId>346447</gurId>
            <staff>9</staff>
            <voucher>443722</voucher>
            <clean>8</clean>
            <ratio>5</ratio>
            <service>7</service>
            <comfort>6</comfort>
            <textPlus>Krásně zařízené pokoje koupelny :)</textPlus>
            <textMinus>Vypadávání signálu televize a i bezdrátové připojeni pokulhavalo(2.patro)</textMinus>
            <guestName>Lukáš Boublík</guestName>
            <guestViewName>Anonym</guestViewName>
            <guestTown/>
            <guestGroup>Mladý pár</guestGroup>
            <guestStay>Soukromá cesta</guestStay>
            <approval>1</approval>
            <viewFormat>3</viewFormat>
        </guestReview>
    </worst>
</summary>