This endpoint is used to find the guests currently staying in the hotel with their room information.

Request

GET https://app.hotelrunner.com/api/v1/apps/line_items/in_house

Query Parameters

Key Description
TOKEN Token generated for this integration on integration setup page
HR ID Hotel ID provided on integration setup page

Example: GET https://app.hotelrunner.com/api/v1/apps/line_items/in_house?token=12345&hr_id=67890

The above request returns a JSON output like the following:

{
    "status": "success",
    "data": [
        {
            "room_id": 18347,
            "room_identifier": "101",
            "reservation_id_customer_id": "36129:55430289",
            "customer_name": "Eric Martin"
        },
        {
            "room_id": 18302,
            "room_identifier": "102",
            "reservation_id_customer_id": "41749:25238942",
            "customer_name": "John Doe"
        },
        {
            "room_id": 18302,
            "room_identifier": "102",
            "reservation_id_customer_id": "41749:25238948",
            "customer_name": "Jane Doe"
        }
    ]
}

Output

Name Description
room_id ID of the room in use
room_identifier Room number/name
reservation_id_customer_id Identifier of a guest in a room. This combined ID is used for posting
customer_name Name of the guest staying in the room