hubermedia documentation 2015 html
Samples
Sample 1

Get hyperinformation from experience demo-dahoam to one object (hashlink 419FE08232977EA5429DA7D5E836E566) for 2 adults with 1 child (age 2) from 01.05.2015 to 08.05.2015 as JSON


http://meta.et4.de/rest.ashx/hypersearch/ET2014A.json/?experience=demo-dahoam&type=Hotel&q=hashlink:419FE08232977EA5429DA7D5E836E566&startDate=01.05.2015&endDate=08.05.2015&occupation=2:2

response
Copy Code
{
    "status": "OK",
    "count": 1,
    "overallcount": 1,
    "channels": [],
    "facetGroups": [],
    "items": [{
        [...]    
        "hyperObjects": [{
            "source": "ET4Freimeldung",
            "isBookable": false,
            "attributes": [{
                "key": "Currency",
                "value": "EUR"
            }],
            "numbers": [{
                "type": "Price",
                "value": 0.0
            },
            {
                "type": "PriceBase",
                "value": 12.0
            }],
            "hyperSubObjects": [{
                "title": "2 Doppelzimmer mit Dusche",
                "type": "Doppelzimmer",
                "changed": "2014-08-26T10:37:47.387+00:00",
                "texts": [{
                    "type": "CancelationBookingConditions"
                },
                {
                    "type": "Description",
                    "value": ""
                },
                {
                    "type": "ExtraBookingConditions"
                }],
                "attributes": [{
                    "key": "SourceId",
                    "value": "40"
                },
                {
                    "key": "BaseSourceId",
                    "value": "11421"
                },
                {
                    "key": "Currency",
                    "value": "EUR"
                }],
                "media_objects": [],
                "keywords": ["None"],
                "numbers": [{
                    "type": "OccupancyDefault",
                    "value": 0.0
                },
                {
                    "type": "OccupancyMaximum",
                    "value": 0.0
                },
                {
                    "type": "OccupancyMinimum",
                    "value": 0.0
                },
                {
                    "type": "Price",
                    "value": 0.0
                },
                {
                    "type": "PriceBase",
                    "value": 12.0
                }]
            }]
        },
       
    }]
}

You can find a full sample of json response here.

Sample 2

Get hyperinformation from experience demo-dahoam for 2 adults with 1 child (age 4) from 01.05.2015 to 08.05.2015 for page 2 with 10 items  


http://meta.et4.de/rest.ashx/hypersearch/ET2014A.xml/?experience=demo-dahoam&type=Hotel&startDate=01.05.2015&endDate=08.05.2015&Occupation=2:4&limit=10&offset=10

response
Copy Code
<result xmlns="http://meta.et4.de/ET2014A">
    <status>OK</status>
    <count>10</count>
    <overallcount>117</overallcount>
    <items>
        <item>
            [...]
            <hyperObjects>
                <hyperObject>
                    <source>Tomas</source>
                    <url>
                        http://booking.et4.de/de/demo_dahoam/01.05.2015-08.05.2015/2:4/GER00020060155975422/GER00020060155975545
                    </url>
                    <isBookable>true</isBookable>
                    <attributes>
                        <attribute key="Currency">EUR</attribute>
                    </attributes>
                    <numbers>
                        <number type="Price">514.5</number>
                        <number type="PriceBase">73.5</number>
                    </numbers>
                    <hyperSubObjects>
                        <hyperSubObject>
                            <title>Doppelbettzimmer mit Balkon mit Kinderzimmer</title>
                            <type/>
                            <changed>0001-01-01T00:00:00Z</changed>
                            <texts>
                                <text type="CancelationBookingConditions"/>
                                <text type="Description"/>
                                <text type="ExtraBookingConditions"/>
                            </texts>
                            <attributes>
                                <attribute key="SourceId">GER00020060155975545</attribute>
                                <attribute key="BaseSourceId">GER00020060155975422</attribute>
                                <attribute key="Currency">EUR</attribute>
                            </attributes>
                            <keywords>
                                <keyword>Breakfast</keyword>
                            </keywords>
                            <numbers>
                                <number type="OccupancyDefault">3</number>
                                <number type="OccupancyMaximum">0</number>
                                <number type="OccupancyMinimum">0</number>
                                <number type="Price">514.5</number>
                                <number type="PriceBase">73.5</number>
                            </numbers>
                        </hyperSubObject>
                    </hyperSubObjects>
                </hyperObject>
                [...]
            </hyperObjects>
        </item>
    </items>
</result>

Get full xml response sample here

Sample 3

Get hyperinformation from experience demo-dahoam for hotels only with 3+ stars for 2 adults with 1 child (age 1) from 01.05.2015 to 08.05.2015 for page 2 with 10 items  


http://meta.et4.de/rest.ashx/hypersearch/ET2014A.xml/?experience=demo-dahoam&type=Hotel&startDate=01.05.2015&endDate=08.05.2015&Occupation=2:1&q=rating_DEHOGA:[50 TO 100] AND category:Hotel&limit=5&offset=0

response
Copy Code

Sample 4

Get hyperinformation from experience demo-dahoam for objects in city lam with wlan for 2 adults with 1 child (age 5) from 01.05.2015 to 08.05.2015 for page 1 with 5 items  

http://meta.et4.de/rest.ashx/hypersearch/ET2014A.xml/?experience=demo-dahoam&type=Hotel&startDate=01.05.2015&endDate=08.05.2015&Occupation=2:2&q=city:lam AND tag:WLAN&limit=5&offset=0

response
Copy Code

Check out more samples at our API-Explorer: http://developer.et4.de/explorer/?samples=true

 

 


© hubermedia 2018 Privacy Statement Imprint