{"__v":0,"_id":"5845a4aa9f6fbb1b0043081d","category":{"version":"5845a4a89f6fbb1b004307b7","project":"54d3007669578e0d002730c9","_id":"5845a4a89f6fbb1b004307be","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-07-30T07:08:52.789Z","from_sync":false,"order":6,"slug":"domains","title":"Domains"},"parentDoc":null,"project":"54d3007669578e0d002730c9","user":"55bafe141b0d663700781682","version":{"__v":1,"_id":"5845a4a89f6fbb1b004307b7","project":"54d3007669578e0d002730c9","createdAt":"2016-12-05T17:32:24.708Z","releaseDate":"2016-12-05T17:32:24.708Z","categories":["5845a4a89f6fbb1b004307b8","5845a4a89f6fbb1b004307b9","5845a4a89f6fbb1b004307ba","5845a4a89f6fbb1b004307bb","5845a4a89f6fbb1b004307bc","5845a4a89f6fbb1b004307bd","5845a4a89f6fbb1b004307be","5845a4a89f6fbb1b004307bf","5845a4a89f6fbb1b004307c0"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"25.0.0","version":"25"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-08-03T12:50:10.209Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":3,"body":"[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Domains are being deprecated\",\n  \"body\": \"Domains are being deprecated. If you're currently using domains, please consider using our new [Prebuilt Agents](https://docs.api.ai/docs/prebuilt-agents).\"\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"This domain is supported in the following languages:\\n* English\"\n}\n[/block]\n* [Book: Hotel](#book-hotel)\n* [Book: Restaurant](#book-restaurant)\n* [Book: Unknown](#book-unknown)\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Book: Hotel\"\n}\n[/block]\n##Action \n[block:parameters]\n{\n  \"data\": {\n    \"0-0\": \"book.hotel\",\n    \"1-0\": \"auth.signout\",\n    \"h-0\": \"Name\",\n    \"h-1\": \"Description\",\n    \"0-1\": \"Requests to book hotels\",\n    \"1-1\": \"Requests to sign out\",\n    \"2-0\": \"auth.signup\",\n    \"2-1\": \"Requests to sign up\",\n    \"3-0\": \"apps.search\",\n    \"4-0\": \"apps.rate\",\n    \"5-0\": \"apps.remove\",\n    \"6-0\": \"apps.update\",\n    \"6-1\": \"Request to update apps\",\n    \"5-1\": \"Request to remove apps\",\n    \"4-1\": \"Requests to rate apps\",\n    \"3-1\": \"Requests to search for apps\"\n  },\n  \"cols\": 2,\n  \"rows\": 1\n}\n[/block]\n##Data\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Name\",\n    \"h-1\": \"Parent\",\n    \"h-2\": \"Data type\",\n    \"h-3\": \"Required/Optional\",\n    \"h-4\": \"Description\",\n    \"h-5\": \"Examples\",\n    \"0-0\": \"venue_title\",\n    \"0-1\": \"*data*\",\n    \"0-2\": \"string\",\n    \"0-3\": \"optional\",\n    \"0-4\": \"Defines the title of the hotel.\",\n    \"0-5\": \"Book Gloria Hotel. (venue_title=Gloria)\",\n    \"1-0\": \"venue_chain\",\n    \"1-1\": \"*data*\",\n    \"1-2\": \"string\",\n    \"1-3\": \"optional\",\n    \"1-4\": \"Defines the chain preference.\",\n    \"1-5\": \"Book Marriott hotel. (venue_chain=Marriott)\",\n    \"2-0\": \"location\",\n    \"3-0\": \"current_location\",\n    \"4-0\": \"date\",\n    \"5-0\": \"date_period\",\n    \"6-0\": \"adults\",\n    \"7-0\": \"nights\",\n    \"8-0\": \"stars\",\n    \"9-0\": \"venue_facility\",\n    \"10-0\": \"room_facility\",\n    \"11-0\": \"board_type\",\n    \"2-1\": \"*data*\",\n    \"3-1\": \"*data*\",\n    \"4-1\": \"*data*\",\n    \"5-1\": \"*data*\",\n    \"6-1\": \"*data*\",\n    \"7-1\": \"*data*\",\n    \"8-1\": \"*data*\",\n    \"9-1\": \"*data*\",\n    \"10-1\": \"*data*\",\n    \"11-1\": \"*data*\",\n    \"2-2\": \"string\",\n    \"3-2\": \"string\",\n    \"4-2\": \"string\",\n    \"5-2\": \"object\",\n    \"6-2\": \"integer\",\n    \"7-2\": \"integer\",\n    \"8-2\": \"integer\",\n    \"9-2\": \"list\",\n    \"10-2\": \"list\",\n    \"11-2\": \"string\",\n    \"2-3\": \"optional\",\n    \"3-3\": \"optional\",\n    \"4-3\": \"optional\",\n    \"5-3\": \"optional\",\n    \"6-3\": \"optional\",\n    \"7-3\": \"optional\",\n    \"8-3\": \"optional\",\n    \"9-3\": \"optional\",\n    \"10-3\": \"optional\",\n    \"11-3\": \"optional\",\n    \"2-4\": \"Defines the location name.\",\n    \"3-4\": \"Indicates that user requested nearest results.\\nAvailable values: *true*\",\n    \"4-4\": \"Defines the date of arrival.\",\n    \"5-4\": \"Defines the period of stay.\",\n    \"6-4\": \"Defines number of guests.\",\n    \"7-4\": \"Defines number of nights to stay.\",\n    \"8-4\": \"Defines the hotel class.\\nAvailable values: *1, 2, 3, 4, 5*\",\n    \"9-4\": \"Defines the venue facilities. See the list of available values: [Venue Facility List](#section-venue-facility-list)\",\n    \"10-4\": \"Defines the room facilities. See the list of available values: [Room Facility List](#section-room-facility-list)\",\n    \"11-4\": \"Defines the board type. See the list of available values: [Board Type List](#section-board-type-list)\",\n    \"11-5\": \"Book all inclusive resorts. (board_type=AI)\",\n    \"10-5\": \"Reserve a hotel room equipped with air conditioner. (room_facility=[air conditioning])\",\n    \"9-5\": \"Book hotel with free wi-fi. (venue_facility=[wifi])\",\n    \"8-5\": \"Book 5 star hotel. (stars=5)\",\n    \"7-5\": \"Book hotel for 3 nights. (nights=3)\",\n    \"6-5\": \"Book hotel for 2 persons. (adults=2)\",\n    \"5-5\": \"Book hotel in Berlin from 23 July till 25 July. (date_period={\\\"startDate\\\":\\\"\\\"startDate\\\":\\\"2016-07-23T12:00:00-03:00\\\",\\\"endDate\\\":\\\"2016-07-25T12:00:00-03:00\\\"})\",\n    \"4-5\": \"Book hotel in Berlin for July 23. (date=2016-07-23T12:00:00-03:00)\",\n    \"3-5\": \"Book hotel nearby. (current_location=true)\",\n    \"2-5\": \"Book hotel in Berlin. (location=Berlin)\"\n  },\n  \"cols\": 6,\n  \"rows\": 12\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Book: Restaurant\"\n}\n[/block]\n##Action\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Name\",\n    \"h-1\": \"Description\",\n    \"0-0\": \"book.restaurant\",\n    \"0-1\": \"Requests to book restaurant\"\n  },\n  \"cols\": 2,\n  \"rows\": 1\n}\n[/block]\n##Data\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Name\",\n    \"h-1\": \"Parent\",\n    \"h-2\": \"Data type\",\n    \"h-3\": \"Required/Optional\",\n    \"h-4\": \"Description\",\n    \"h-5\": \"Examples\",\n    \"0-0\": \"venue_title\",\n    \"1-0\": \"cuisine\",\n    \"2-0\": \"location\",\n    \"3-0\": \"date\",\n    \"4-0\": \"time\",\n    \"5-0\": \"people\",\n    \"0-1\": \"*data*\",\n    \"1-1\": \"*data*\",\n    \"2-1\": \"*data*\",\n    \"3-1\": \"*data*\",\n    \"4-1\": \"*data*\",\n    \"5-1\": \"*data*\",\n    \"0-2\": \"string\",\n    \"1-2\": \"string\",\n    \"2-2\": \"string\",\n    \"3-2\": \"string\",\n    \"4-2\": \"string\",\n    \"5-2\": \"integer\",\n    \"0-3\": \"optional\",\n    \"1-3\": \"optional\",\n    \"2-3\": \"optional\",\n    \"3-3\": \"optional\",\n    \"4-3\": \"optional\",\n    \"5-3\": \"optional\",\n    \"0-4\": \"Defines the name of the restaurant.\",\n    \"1-4\": \"Defines the cuisine.\",\n    \"2-4\": \"Defines the address of the restaurant.\",\n    \"3-4\": \"Defines the date.\",\n    \"4-4\": \"Defines the time.\",\n    \"5-4\": \"Defines the amount of people.\",\n    \"5-5\": \"Book Red Lobster for 3 persons. (people=3)\",\n    \"4-5\": \"Book Red Lobster for 7 pm. (time=2015-11-28T12:00:00-03:00)\",\n    \"3-5\": \"Book Red Lobster for Saturday. (date=2015.10.17 12:00:00)\",\n    \"2-5\": \"Book Red Lobster on Times Sq. (location=Times Sq)\",\n    \"1-5\": \"Book indian restaurant. (cuisine=indian)\",\n    \"0-5\": \"Book Red Lobster. (venue_title=Red Lobster)\"\n  },\n  \"cols\": 6,\n  \"rows\": 6\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Book: Unknown\"\n}\n[/block]\n##Action\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Name\",\n    \"h-1\": \"Description\",\n    \"0-0\": \"book.unknown\",\n    \"0-1\": \"Requests to book something we don’t known yet\"\n  },\n  \"cols\": 2,\n  \"rows\": 1\n}\n[/block]\n##Data\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Name\",\n    \"h-1\": \"Parent\",\n    \"h-2\": \"Data type\",\n    \"h-3\": \"Required/Optional\",\n    \"h-4\": \"Description\",\n    \"h-5\": \"Example\",\n    \"0-5\": \"Book Bonsai. (q=Bonsai)\",\n    \"1-5\": \"Book Zaitinya in Washington, DC. (location=Washington DC)\",\n    \"0-4\": \"Defines the query.\",\n    \"1-4\": \"Defines the location name.\",\n    \"0-2\": \"string\",\n    \"1-2\": \"string\",\n    \"0-3\": \"optional\",\n    \"1-3\": \"optional\",\n    \"0-1\": \"*data*\",\n    \"1-1\": \"*data*\",\n    \"0-0\": \"q\",\n    \"1-0\": \"location\"\n  },\n  \"cols\": 6,\n  \"rows\": 2\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Reference\"\n}\n[/block]\n## Venue Facility List\n\nbeauty salon  \ndisabled friendly  \nfitness center  \ninternet  \nkids friendly  \nkitchen  \nlaundry  \nnon-smoking  \nparking  \npet friendly  \npool  \nsmoking  \nspa  \ntransfer  \nwifi\n\n## Room Facility List\n\nair conditioning  \ngood view  \nhair dryer  \nspa tub  \nterrace  \nTV  \nwashing machine\n\n## Board Type List\n\nRO (_room only_)  \nSC (_self catering_)  \nBB (_bed and breakfast_)  \nHB (_half board_)  \nFB (_full board_)  \nAI (_all inclusive_)","excerpt":"","slug":"booking","type":"basic","title":"Booking"}
[block:callout] { "type": "warning", "title": "Domains are being deprecated", "body": "Domains are being deprecated. If you're currently using domains, please consider using our new [Prebuilt Agents](https://docs.api.ai/docs/prebuilt-agents)." } [/block] [block:callout] { "type": "info", "body": "This domain is supported in the following languages:\n* English" } [/block] * [Book: Hotel](#book-hotel) * [Book: Restaurant](#book-restaurant) * [Book: Unknown](#book-unknown) [block:api-header] { "type": "basic", "title": "Book: Hotel" } [/block] ##Action [block:parameters] { "data": { "0-0": "book.hotel", "1-0": "auth.signout", "h-0": "Name", "h-1": "Description", "0-1": "Requests to book hotels", "1-1": "Requests to sign out", "2-0": "auth.signup", "2-1": "Requests to sign up", "3-0": "apps.search", "4-0": "apps.rate", "5-0": "apps.remove", "6-0": "apps.update", "6-1": "Request to update apps", "5-1": "Request to remove apps", "4-1": "Requests to rate apps", "3-1": "Requests to search for apps" }, "cols": 2, "rows": 1 } [/block] ##Data [block:parameters] { "data": { "h-0": "Name", "h-1": "Parent", "h-2": "Data type", "h-3": "Required/Optional", "h-4": "Description", "h-5": "Examples", "0-0": "venue_title", "0-1": "*data*", "0-2": "string", "0-3": "optional", "0-4": "Defines the title of the hotel.", "0-5": "Book Gloria Hotel. (venue_title=Gloria)", "1-0": "venue_chain", "1-1": "*data*", "1-2": "string", "1-3": "optional", "1-4": "Defines the chain preference.", "1-5": "Book Marriott hotel. (venue_chain=Marriott)", "2-0": "location", "3-0": "current_location", "4-0": "date", "5-0": "date_period", "6-0": "adults", "7-0": "nights", "8-0": "stars", "9-0": "venue_facility", "10-0": "room_facility", "11-0": "board_type", "2-1": "*data*", "3-1": "*data*", "4-1": "*data*", "5-1": "*data*", "6-1": "*data*", "7-1": "*data*", "8-1": "*data*", "9-1": "*data*", "10-1": "*data*", "11-1": "*data*", "2-2": "string", "3-2": "string", "4-2": "string", "5-2": "object", "6-2": "integer", "7-2": "integer", "8-2": "integer", "9-2": "list", "10-2": "list", "11-2": "string", "2-3": "optional", "3-3": "optional", "4-3": "optional", "5-3": "optional", "6-3": "optional", "7-3": "optional", "8-3": "optional", "9-3": "optional", "10-3": "optional", "11-3": "optional", "2-4": "Defines the location name.", "3-4": "Indicates that user requested nearest results.\nAvailable values: *true*", "4-4": "Defines the date of arrival.", "5-4": "Defines the period of stay.", "6-4": "Defines number of guests.", "7-4": "Defines number of nights to stay.", "8-4": "Defines the hotel class.\nAvailable values: *1, 2, 3, 4, 5*", "9-4": "Defines the venue facilities. See the list of available values: [Venue Facility List](#section-venue-facility-list)", "10-4": "Defines the room facilities. See the list of available values: [Room Facility List](#section-room-facility-list)", "11-4": "Defines the board type. See the list of available values: [Board Type List](#section-board-type-list)", "11-5": "Book all inclusive resorts. (board_type=AI)", "10-5": "Reserve a hotel room equipped with air conditioner. (room_facility=[air conditioning])", "9-5": "Book hotel with free wi-fi. (venue_facility=[wifi])", "8-5": "Book 5 star hotel. (stars=5)", "7-5": "Book hotel for 3 nights. (nights=3)", "6-5": "Book hotel for 2 persons. (adults=2)", "5-5": "Book hotel in Berlin from 23 July till 25 July. (date_period={\"startDate\":\"\"startDate\":\"2016-07-23T12:00:00-03:00\",\"endDate\":\"2016-07-25T12:00:00-03:00\"})", "4-5": "Book hotel in Berlin for July 23. (date=2016-07-23T12:00:00-03:00)", "3-5": "Book hotel nearby. (current_location=true)", "2-5": "Book hotel in Berlin. (location=Berlin)" }, "cols": 6, "rows": 12 } [/block] [block:api-header] { "type": "basic", "title": "Book: Restaurant" } [/block] ##Action [block:parameters] { "data": { "h-0": "Name", "h-1": "Description", "0-0": "book.restaurant", "0-1": "Requests to book restaurant" }, "cols": 2, "rows": 1 } [/block] ##Data [block:parameters] { "data": { "h-0": "Name", "h-1": "Parent", "h-2": "Data type", "h-3": "Required/Optional", "h-4": "Description", "h-5": "Examples", "0-0": "venue_title", "1-0": "cuisine", "2-0": "location", "3-0": "date", "4-0": "time", "5-0": "people", "0-1": "*data*", "1-1": "*data*", "2-1": "*data*", "3-1": "*data*", "4-1": "*data*", "5-1": "*data*", "0-2": "string", "1-2": "string", "2-2": "string", "3-2": "string", "4-2": "string", "5-2": "integer", "0-3": "optional", "1-3": "optional", "2-3": "optional", "3-3": "optional", "4-3": "optional", "5-3": "optional", "0-4": "Defines the name of the restaurant.", "1-4": "Defines the cuisine.", "2-4": "Defines the address of the restaurant.", "3-4": "Defines the date.", "4-4": "Defines the time.", "5-4": "Defines the amount of people.", "5-5": "Book Red Lobster for 3 persons. (people=3)", "4-5": "Book Red Lobster for 7 pm. (time=2015-11-28T12:00:00-03:00)", "3-5": "Book Red Lobster for Saturday. (date=2015.10.17 12:00:00)", "2-5": "Book Red Lobster on Times Sq. (location=Times Sq)", "1-5": "Book indian restaurant. (cuisine=indian)", "0-5": "Book Red Lobster. (venue_title=Red Lobster)" }, "cols": 6, "rows": 6 } [/block] [block:api-header] { "type": "basic", "title": "Book: Unknown" } [/block] ##Action [block:parameters] { "data": { "h-0": "Name", "h-1": "Description", "0-0": "book.unknown", "0-1": "Requests to book something we don’t known yet" }, "cols": 2, "rows": 1 } [/block] ##Data [block:parameters] { "data": { "h-0": "Name", "h-1": "Parent", "h-2": "Data type", "h-3": "Required/Optional", "h-4": "Description", "h-5": "Example", "0-5": "Book Bonsai. (q=Bonsai)", "1-5": "Book Zaitinya in Washington, DC. (location=Washington DC)", "0-4": "Defines the query.", "1-4": "Defines the location name.", "0-2": "string", "1-2": "string", "0-3": "optional", "1-3": "optional", "0-1": "*data*", "1-1": "*data*", "0-0": "q", "1-0": "location" }, "cols": 6, "rows": 2 } [/block] [block:api-header] { "type": "basic", "title": "Reference" } [/block] ## Venue Facility List beauty salon disabled friendly fitness center internet kids friendly kitchen laundry non-smoking parking pet friendly pool smoking spa transfer wifi ## Room Facility List air conditioning good view hair dryer spa tub terrace TV washing machine ## Board Type List RO (_room only_) SC (_self catering_) BB (_bed and breakfast_) HB (_half board_) FB (_full board_) AI (_all inclusive_)