Retrieve Post to Room Information for specific room

This API provides in-house room/folio for your property for a specific room on which you wish to post the charges in context to charge post API. The API can return data in XML formats. The web service responds to HTTP POST requests.

End Point URL

Header

Content-Type: application/xml

Parameter

NameData TypeDescription Example
auth *VARCHAR(300)Unique Authentication codeXXXXXXXXXXXXXXXXX
oprn *VARCHAR(150)Use Keyword “roomquery”
room *INT(11)Need to provide Room Id 106

Request 

<?xml version="1.0" standalone="yes"?>
<request>
<auth>xxxxxxxxxxxxxxxxxxxxxxx</auth>
<oprn>roomquery</oprn>
<room>106</room>
</request>

Response

NameData TypeDescription Example
statusStringStatus value will be provided Values: ok, errorok
softwaredateDateDate will be provided2020-03-19
msgStringMessage result will be provided Values:inhouseinhouse
guestnameStringGuest Name will be providedMr. Joy
arrivalDateIt is giving arrival date2020-03-17
departureDateIt is giving departure date2020-03-20
masterfolioIntegerMasterfolio no will be provided10
roomStringIt is giving room name/number106
roomtypeStringIt is giving room typeStudio
ratetypeStringIt is giving rate typeAll Inclusive
resnoIntegerIt is giving reservation no.11

Success

<?xml version='1.0' standalone='yes'?>
<response>
    <status>ok</status>
    <msg>inhouse</msg>
    <softwaredate>2020-03-19</softwaredate>
    <guestname>Mr.U K Shah</guestname>
    <arrival>2020-03-17</arrival>
    <departure>2020-03-20</departure>
    <room>106</room>
    <masterfolio>10</masterfolio>
    <roomrows>
        <row>
            <guestname>Mr. Joy</guestname>
            <arrival>2020-03-17</arrival>
            <departure>2020-03-20</departure>
            <masterfolio>10</masterfolio>
            <room>106</room>
            <roomtype>Studio</roomtype>
            <ratetype>All Inclusive</ratetype>
            <resno>11</resno>
        </row>
    </roomrows>
</response>

Error

<?xml version='1.0' standalone='yes'?>
<response>
    <status>error</status>
    <msg>Invalid Authentication</msg>
</response>

Error Codes

ErrorsDescription
Hotel Code In-ActiveThe Property has been deactivated
API Authkey is deactivatedThe Authcode/Key has been deactivated
Invalid AuthenticationInvalid data
Bad RequestInvalid Request Parameter
Invalid API Request. Don’t have this API accessInvalid Request Method
Room not found

Click here to Register