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
    }

}

Habitación

Muestra un listado de las habitaciones disponibles en un hotel.

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

Formato

jSON

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

XML

https://api.clerk.im/availability/room.xml
Parametros
api_key Necesario Su API Key en Clerk
room_id Necesario Su identificador de habitación
date_checkin Necesario Fecha Check-IN (YYYY-MM-DD)
date_checkout Necesario Fecha Check-OUT date (YYYY-MM-DD)

Ejemplo

URL

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

Respuesta

{

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

}

Tipo de habitación

Muestra un listado de las habitaciones por tipo disponibles en un hotel.

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

Formato

jSON

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

XML

https://api.clerk.im/availability/room_type.xml
Parametros
api_key Necesario Su API Key en Clerk
room_type Necesario Su identificador tipo de habitación
date_checkin Necesario Fecha Check-IN  (YYYY-MM-DD)
date_checkout Necesario Fecha Check-OUT (YYYY-MM-DD)

Ejemplo

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
    }

}