GET api/normalizer/hotels/batch?hotel_ids={hotel_ids}&inventory_date_from={inventory_date_from}&inventory_date_to={inventory_date_to}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
hotel_ids | string |
Required |
|
inventory_date_from | string |
Default value is |
|
inventory_date_to | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
NormalizerHotels_resName | Description | Type | Additional information |
---|---|---|---|
items | Collection of NormalizerHotel |
None. |
Response Formats
application/json, text/json
Sample:
{ "items": [ { "id": "sample string 1", "names": [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ], "features": [ { "feature_icon": "sample string 1", "names": [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ], "description": [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ] }, { "feature_icon": "sample string 1", "names": [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ], "description": [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ] } ], "is_instant_book": true, "description": [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ], "country": { "id": "sample string 1", "iso": "sample string 2", "names": [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ] }, "city": { "id": "sample string 1", "names": [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ] }, "google_place_id": "sample string 2", "gps": { "lat": "sample string 1", "lon": "sample string 2" }, "address": [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ], "star_rating": 1, "cleaning_policies": [ [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ], [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ] ], "policies": [ [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ], [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ] ], "images": [ { "url": "sample string 1", "description": [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ] }, { "url": "sample string 1", "description": [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ] } ], "check_in_start_time": "sample string 3", "check_in_end_time": "sample string 4", "check_out_time": "sample string 5", "metadata": "sample string 6", "net_price": { "currency": "sample string 1", "value": 2.0 }, "net_price_tax": { "currency": "sample string 1", "value": 2.0 }, "total_net_price": { "currency": "sample string 1", "value": 2.0 }, "selling_price": { "currency": "sample string 1", "value": 2.0 }, "selling_price_tax": { "currency": "sample string 1", "value": 2.0 }, "total_selling_price": { "currency": "sample string 1", "value": 2.0 }, "has_third_party_inventory": true, "first_party_inventory": 1, "type": "sample string 7", "code": "sample string 8", "info": {}, "Version": { "Major": 0, "Minor": 0, "Build": -1, "Revision": -1, "MajorRevision": -1, "MinorRevision": -1 }, "StatusCode": 100, "ReasonPhrase": "sample string 10", "Headers": [], "IsSuccessStatusCode": false }, { "id": "sample string 1", "names": [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ], "features": [ { "feature_icon": "sample string 1", "names": [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ], "description": [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ] }, { "feature_icon": "sample string 1", "names": [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ], "description": [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ] } ], "is_instant_book": true, "description": [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ], "country": { "id": "sample string 1", "iso": "sample string 2", "names": [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ] }, "city": { "id": "sample string 1", "names": [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ] }, "google_place_id": "sample string 2", "gps": { "lat": "sample string 1", "lon": "sample string 2" }, "address": [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ], "star_rating": 1, "cleaning_policies": [ [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ], [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ] ], "policies": [ [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ], [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ] ], "images": [ { "url": "sample string 1", "description": [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ] }, { "url": "sample string 1", "description": [ { "lang": "sample string 1", "text": "sample string 2" }, { "lang": "sample string 1", "text": "sample string 2" } ] } ], "check_in_start_time": "sample string 3", "check_in_end_time": "sample string 4", "check_out_time": "sample string 5", "metadata": "sample string 6", "net_price": { "currency": "sample string 1", "value": 2.0 }, "net_price_tax": { "currency": "sample string 1", "value": 2.0 }, "total_net_price": { "currency": "sample string 1", "value": 2.0 }, "selling_price": { "currency": "sample string 1", "value": 2.0 }, "selling_price_tax": { "currency": "sample string 1", "value": 2.0 }, "total_selling_price": { "currency": "sample string 1", "value": 2.0 }, "has_third_party_inventory": true, "first_party_inventory": 1, "type": "sample string 7", "code": "sample string 8", "info": {}, "Version": { "Major": 0, "Minor": 0, "Build": -1, "Revision": -1, "MajorRevision": -1, "MinorRevision": -1 }, "StatusCode": 100, "ReasonPhrase": "sample string 10", "Headers": [], "IsSuccessStatusCode": false } ] }
application/xml, text/xml
Sample:
<NormalizerHotels_res xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TEAPI.WebApi.Models.Normalizer"> <items> <NormalizerHotel> <Content i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/System.Net.Http" /> <ReasonPhrase xmlns="http://schemas.datacontract.org/2004/07/System.Net.Http">sample string 10</ReasonPhrase> <RequestMessage i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/System.Net.Http" /> <StatusCode xmlns="http://schemas.datacontract.org/2004/07/System.Net.Http">Continue</StatusCode> <Version xmlns:d4p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/System.Net.Http"> <d4p1:_Build>-1</d4p1:_Build> <d4p1:_Major>0</d4p1:_Major> <d4p1:_Minor>0</d4p1:_Minor> <d4p1:_Revision>-1</d4p1:_Revision> </Version> <address> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </address> <check_in_end_time>sample string 4</check_in_end_time> <check_in_start_time>sample string 3</check_in_start_time> <check_out_time>sample string 5</check_out_time> <city> <id>sample string 1</id> <names> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </names> </city> <cleaning_policies> <ArrayOfLocalised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </ArrayOfLocalised> <ArrayOfLocalised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </ArrayOfLocalised> </cleaning_policies> <code>sample string 8</code> <country> <id>sample string 1</id> <iso>sample string 2</iso> <names> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </names> </country> <description> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </description> <features> <Feature> <description> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </description> <feature_icon>sample string 1</feature_icon> <names> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </names> </Feature> <Feature> <description> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </description> <feature_icon>sample string 1</feature_icon> <names> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </names> </Feature> </features> <first_party_inventory>1</first_party_inventory> <google_place_id>sample string 2</google_place_id> <gps> <lat>sample string 1</lat> <lon>sample string 2</lon> </gps> <has_third_party_inventory>true</has_third_party_inventory> <id>sample string 1</id> <images> <Image> <description> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </description> <url>sample string 1</url> </Image> <Image> <description> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </description> <url>sample string 1</url> </Image> </images> <info /> <is_instant_book>true</is_instant_book> <metadata>sample string 6</metadata> <names> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </names> <net_price> <currency>sample string 1</currency> <value>2</value> </net_price> <net_price_tax> <currency>sample string 1</currency> <value>2</value> </net_price_tax> <policies> <ArrayOfLocalised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </ArrayOfLocalised> <ArrayOfLocalised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </ArrayOfLocalised> </policies> <selling_price> <currency>sample string 1</currency> <value>2</value> </selling_price> <selling_price_tax> <currency>sample string 1</currency> <value>2</value> </selling_price_tax> <star_rating>1</star_rating> <total_net_price> <currency>sample string 1</currency> <value>2</value> </total_net_price> <total_selling_price> <currency>sample string 1</currency> <value>2</value> </total_selling_price> <type>sample string 7</type> </NormalizerHotel> <NormalizerHotel> <Content i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/System.Net.Http" /> <ReasonPhrase xmlns="http://schemas.datacontract.org/2004/07/System.Net.Http">sample string 10</ReasonPhrase> <RequestMessage i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/System.Net.Http" /> <StatusCode xmlns="http://schemas.datacontract.org/2004/07/System.Net.Http">Continue</StatusCode> <Version xmlns:d4p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/System.Net.Http"> <d4p1:_Build>-1</d4p1:_Build> <d4p1:_Major>0</d4p1:_Major> <d4p1:_Minor>0</d4p1:_Minor> <d4p1:_Revision>-1</d4p1:_Revision> </Version> <address> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </address> <check_in_end_time>sample string 4</check_in_end_time> <check_in_start_time>sample string 3</check_in_start_time> <check_out_time>sample string 5</check_out_time> <city> <id>sample string 1</id> <names> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </names> </city> <cleaning_policies> <ArrayOfLocalised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </ArrayOfLocalised> <ArrayOfLocalised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </ArrayOfLocalised> </cleaning_policies> <code>sample string 8</code> <country> <id>sample string 1</id> <iso>sample string 2</iso> <names> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </names> </country> <description> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </description> <features> <Feature> <description> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </description> <feature_icon>sample string 1</feature_icon> <names> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </names> </Feature> <Feature> <description> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </description> <feature_icon>sample string 1</feature_icon> <names> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </names> </Feature> </features> <first_party_inventory>1</first_party_inventory> <google_place_id>sample string 2</google_place_id> <gps> <lat>sample string 1</lat> <lon>sample string 2</lon> </gps> <has_third_party_inventory>true</has_third_party_inventory> <id>sample string 1</id> <images> <Image> <description> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </description> <url>sample string 1</url> </Image> <Image> <description> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </description> <url>sample string 1</url> </Image> </images> <info /> <is_instant_book>true</is_instant_book> <metadata>sample string 6</metadata> <names> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </names> <net_price> <currency>sample string 1</currency> <value>2</value> </net_price> <net_price_tax> <currency>sample string 1</currency> <value>2</value> </net_price_tax> <policies> <ArrayOfLocalised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </ArrayOfLocalised> <ArrayOfLocalised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> <Localised> <lang>sample string 1</lang> <text>sample string 2</text> </Localised> </ArrayOfLocalised> </policies> <selling_price> <currency>sample string 1</currency> <value>2</value> </selling_price> <selling_price_tax> <currency>sample string 1</currency> <value>2</value> </selling_price_tax> <star_rating>1</star_rating> <total_net_price> <currency>sample string 1</currency> <value>2</value> </total_net_price> <total_selling_price> <currency>sample string 1</currency> <value>2</value> </total_selling_price> <type>sample string 7</type> </NormalizerHotel> </items> </NormalizerHotels_res>