This API provides in-house rooms/folios for your property 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
Parameter
Name | Data Type | Description | Example |
auth * | VARCHAR(300) | Unique Authentication code | XXXXXXXXXXXXXXXXX |
oprn * | VARCHAR(150) | Use Keyword “roomlist” |
Request
<?xml version="1.0" standalone="yes"?> <request> <auth>xxxxxxxxxxxxxxxxxxxxxxx</auth> <oprn>roomlist</oprn> </request>
Response
Name | Data Type | Description | Example |
status | String | Status value will be provided Values: ok, error | ok |
softwaredate | Date | Date will be provided | 2020-03-19 |
msg | String | Message result will be provided Values:inhouse | inhouse |
guestname | String | Guest Name will be provided | Mr. Joy |
arrival | Date | It is giving arrival date | 2020-03-17 |
departure | Date | It is giving departure date | 2020-03-20 |
masterfolio | Integer | Masterfolio no will be provided | 10 |
room | String | It is giving room name/number | 106 |
roomtype | String | It is giving room type | Studio |
ratetype | String | It is giving rate type | All Inclusive |
remarks | String | It is giving remarks | – |
resno | Integer | It is giving reservation no. | 11 |
Success
<?xml version='1.0' standalone='yes'?> <response> <status>ok</status> <msg>inhouse</msg> <softwaredate>2020-03-19</softwaredate> <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> <remarks></remarks> <resno>11</resno> </row> <row> <guestname>Mrs Sophia</guestname> <arrival>2020-03-18</arrival> <departure>2020-03-21</departure> <masterfolio>22</masterfolio> <room>109</room> <roomtype>Single Bedroom Suite</roomtype> <ratetype>Daily</ratetype> <remarks></remarks> <resno>21</resno> </row> <row> <guestname>Mr.Denial Mark</guestname> <arrival>2020-03-19</arrival> <departure>2020-03-21</departure> <masterfolio>8</masterfolio> <room>101</room> <roomtype>Delux</roomtype> <ratetype>Frequent Traveller</ratetype> <remarks></remarks> <resno>9</resno> </row> </roomrows> </response>
Error
<?xml version='1.0' standalone='yes'?> <response> <status>error</status> <msg>Invalid Authentication</msg> </response>
Error Codes
Errors | Description |
Hotel Code In-Active | The Property has been deactivated |
API Authkey is deactivated | The Authcode/Key has been deactivated |
Invalid Authentication | Invalid data |
Bad Request | Invalid Request Parameter |
Invalid API Request. Don’t have this API access | Invalid Request Method |
In-House guest room list is empty | – |