Rooms Types

Shows all the hotel rooms types.

https://api.clerk.im/rooms_types.{format}

Format

jSON

https://api.clerk.im/rooms_types.json

XML

https://api.clerk.im/rooms_types.xml
Parameters
api_key Required Your Clerk API Key

Example

URL

https://api.clerk.im/rooms_types.json?api_key=xxx

Response

{

    -
    rsp: {
        -
        status: {
            msg: "OK"
            code: 200
        }
        -
        rooms_types: [
            -
                {
                -
                rooms_type: {
                    name: "Example 1"
                    updated_at: "2010-01-01T00:00:00Z"
                    id: 1
                    created_at: "2010-01-01T00:00:00Z"
                }
            -
            {
                -
                rooms_type: {
                    name: "Example 2"
                    updated_at: "2010-01-01T00:00:00Z"
                    id: 2
                    created_at: "2010-01-01T00:00:00Z"
                }
            }           
        ]
    }

}

Tipos de habitación

Muestra todas las habitaciones por tipo de un hotel.

https://api.clerk.im/rooms_types.{formato}

Format

jSON

https://api.clerk.im/rooms_types.json

XML

https://api.clerk.im/rooms_types.xml
Parametros
api_key Necesario Su API Key en Clerk

Ejemplo

URL

https://api.clerk.im/rooms_types.json?api_key=xxx

Respuesta

{

    -
    rsp: {
        -
        status: {
            msg: "OK"
            code: 200
        }
        -
        rooms_types: [
            -
                {
                -
                rooms_type: {
                    name: "Example 1"
                    updated_at: "2010-01-01T00:00:00Z"
                    id: 1
                    created_at: "2010-01-01T00:00:00Z"
                }
            -
            {
                -
                rooms_type: {
                    name: "Example 2"
                    updated_at: "2010-01-01T00:00:00Z"
                    id: 2
                    created_at: "2010-01-01T00:00:00Z"
                }
            }           
        ]
    }

}