{"id":165,"date":"2022-11-17T03:14:52","date_gmt":"2022-11-17T11:14:52","guid":{"rendered":"https:\/\/hostex.io\/help\/?p=165"},"modified":"2023-10-27T01:22:07","modified_gmt":"2023-10-27T08:22:07","slug":"room-allocation","status":"publish","type":"post","link":"https:\/\/hostex.io\/help\/room-allocation\/","title":{"rendered":"How Does Room Allocation Work For Reservations?"},"content":{"rendered":"\n<p>When there is a reservation for a multi-inventory listing, Hostex will automatically allocate a room for it in the room type according to optimal logic.<\/p>\n\n\n\n<p>Of course, you can also click on the reservation and then click the\u00a0<strong>Move<\/strong>\u00a0button to <a href=\"https:\/\/hostex.io\/help\/change-room\/\" target=\"_blank\" rel=\"noreferrer noopener\">change the room<\/a> for it.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>The logic of room allocation is very complicated, which simply means that we try to make sure that the number of available booking days for each room in the room type is the maximum after the allocation.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Note<\/strong>: The following instructions are difficult to understand and are for reference only, not recommended for everyone.<\/p><\/blockquote>\n\n\n\n<p><strong>If.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>RoomType has 4 rooms #1, #2, #3, #4;<\/li><li>RoomType has been linked to a listing in the channel with an inventory of 4.<\/li><li>The calendar in the following image shows the current availability of RoomType.<\/li><li>\u2460, \u2461, \u2462, \u2463 in the red box are newly received reservations for this multi-inventory room type.<\/li><\/ul>\n\n\n\n<p><strong>Then.<\/strong><\/p>\n\n\n\n<p>According to the optimal logic, Hostex will allocate rooms as in the following image.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/slabstatic.com\/prod\/uploads\/3x5jd7en\/posts\/images\/FUbwTVkLueWym2SAC9MwE7M2.png\" alt=\"\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>\u2460 will not be allocated in room #2 or #4, which would cut short the consecutive available days for those two rooms.<\/li><li>\u2461 will not be allocated in room #4, because room #3 is available on that date and the number of available consecutive days matches the order \u2461.<\/li><li>\u2462 will not be allocated in room #4, so the room type retains the possibility of taking consecutive reservations from 7-11 days.<\/li><li>\u2463 will not be allocated in room #4, so the room type can be allocated in slot of #4 when it receives a consecutive reservation for 14-15 days.<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>When there is a reservation for a multi-inventory listing, Hostex will automatically allocate a room for it in the room type according to optimal logic. Of course, you can also click on the reservation and then click the\u00a0Move\u00a0button to change the room for it. The logic of room allocation is very complicated, which simply means [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,28],"tags":[],"yst_prominent_words":[],"class_list":["post-165","post","type-post","status-publish","format-standard","hentry","category-reservations-sync","category-calendar-sync"],"_links":{"self":[{"href":"https:\/\/hostex.io\/help\/wp-json\/wp\/v2\/posts\/165","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostex.io\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostex.io\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostex.io\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hostex.io\/help\/wp-json\/wp\/v2\/comments?post=165"}],"version-history":[{"count":2,"href":"https:\/\/hostex.io\/help\/wp-json\/wp\/v2\/posts\/165\/revisions"}],"predecessor-version":[{"id":393,"href":"https:\/\/hostex.io\/help\/wp-json\/wp\/v2\/posts\/165\/revisions\/393"}],"wp:attachment":[{"href":"https:\/\/hostex.io\/help\/wp-json\/wp\/v2\/media?parent=165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostex.io\/help\/wp-json\/wp\/v2\/categories?post=165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostex.io\/help\/wp-json\/wp\/v2\/tags?post=165"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/hostex.io\/help\/wp-json\/wp\/v2\/yst_prominent_words?post=165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}