Room

Shows a list of the available rooms

https://api.clerk.im/availability/room.{format}

Format

jSON

https://api.clerk.im/availability/room.json

XML

https://api.clerk.im/availability/room.xml
Parameters
api_key Required Your Clerk API Key
room_id Required Your Clerk Room ID
date_checkin Required Check-IN date (YYYY-MM-DD)
date_checkout Required Check-OUT date (YYYY-MM-DD)

Example

URL

https://api.clerk.im/availability/room.json?api_key=xxx&room_id=1&date_checkin=2011-01-01&date_checkout=2011-01-01

Response

{

    -
    rsp: {
        -
        status: {
            msg: "OK"
            code: 200
        }
        availability: true
    }

}

Room Type

Shows a list of the available rooms by type.

Shows a list of the available rooms

https://api.clerk.im/availability/room_type.{format}

Format

jSON

https://api.clerk.im/availability/room_type.json

XML

https://api.clerk.im/availability/room_type.xml
Parameters
api_key Required Your Clerk API Key
room_type Required Your Clerk Room Type ID
date_checkin Required Check-IN date (YYYY-MM-DD)
date_checkout Required Check-OUT date (YYYY-MM-DD)

Example

URL

https://api.clerk.im/availability/room_type.json?api_key=xxx&room_id=1&date_checkin=2011-01-01&date_checkout=2011-01-01

Response

{

    -
    rsp: {
        -
        status: {
            msg: "OK"
            code: 200
        }
        availability: true
    }

}

Comments are closed.