{"info":{"_postman_id":"5d87cd03-f50b-40e7-acf7-add5be2329f9","name":"Lamasoo API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"3697633","collectionId":"5d87cd03-f50b-40e7-acf7-add5be2329f9","publishedId":"2sAY4xAMZn","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-11-05T05:55:27.000Z"},"item":[{"name":"Hotel Inventory","item":[{"name":"Hotel Inventory","id":"fa0eb09b-3718-4e1c-8eb1-300353c49edd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{apiKey}}","description":"<p>Your API Key</p>\n"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.lamasoo.com/booking/hotel_inventory","description":"<p>This API returns all hotels listed in Lamasoo inventory. You might not be able to submit a booking on all of them. In order to connect with a hotel you have to either have direct contract or have master-contract.</p>\n<p>To stablish either of direct contract or master-contract you must contact Lamasoo support.</p>\n","urlObject":{"path":["booking","hotel_inventory"],"host":["https://api.lamasoo.com"],"query":[],"variable":[]}},"response":[{"id":"2e946567-2bc9-4297-9bd2-fb24b163e2bb","name":"Hotel Inventory","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{apiKey}}","description":"Your API Key"}],"url":"https://api.lamasoo.com/booking/hotel_inventory"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 02 Nov 2024 13:04:09 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=65"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, Content-Disposition, X-Requested-With, X-Auth-Username, X-Admin-Auth, sentry-trace, availability-history, availability-history-size, agency-id, x-include-agency-provider, baggage"},{"key":"ETag","value":"W/\"dc2f-uP6QnAUCdy0nOG6SMJY5zVJCDsw\""},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Server","value":"ArvanCloud"},{"key":"Server-Timing","value":"total;dur=140"},{"key":"X-Cache","value":"BYPASS"},{"key":"X-Request-ID","value":"69ab4756d164951e06c81d1fd26a49f6"},{"key":"X-SID","value":"2063"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"hotels\": [\n        {\n            \"id\": \"6716301fe3d72fb0b14780f6\",\n            \"name\": \"هتل تست ۱\",\n            \"english_name\": \"Test\",\n            \"bufferEnable\": true,\n            \"star\": 1,\n            \"city\": \"588ba78a582469c0c591eab1\",\n            \"province\": \"634589b302407b5c6d7b4fba\",\n            \"country\": \"6345899296299b65e13c7b95\",\n            \"address\": \"مشهد، خیابان پاسداران، بین پاسداران ۴ و ۴/۱\",\n            \"desc\": \"\",\n            \"amenities\": [],\n            \"phone\": \"09385360181\",\n            \"website\": null,\n            \"images\": [],\n            \"room_types\": [\n                {\n                    \"id\": \"67163071057edbfff2f1a68d\",\n                    \"title\": \"یک تخته\",\n                    \"english_title\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 1,\n                    \"extra_capacity\": 1,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": []\n                },\n                {\n                    \"id\": \"6716307de3d72fb0b1478102\",\n                    \"title\": \"دو تخته دبل\",\n                    \"english_title\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 1,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": []\n                }\n            ],\n            \"policies\": []\n        },\n        {\n            \"id\": \"61caf9d44c2feab14161e40b\",\n            \"name\": \"هتل تست ۲\",\n            \"english_name\": \"MIRAGE HOTEL\",\n            \"bufferEnable\": false,\n            \"star\": 1,\n            \"street\": \".\",\n            \"address\": \"تهران، امیرآباد ۲۱ ام شرقی\",\n            \"city\": \"588ba78a582469c0c591eab1\",\n            \"province\": \"\",\n            \"country\": \"ایران\",\n            \"latitude\": \"26.54863168270737\",\n            \"longitude\": \"54.01580408465475\",\n            \"desc\": \"کیش \",\n            \"amenities\": [],\n            \"phone\": \"07644422220\",\n            \"website\": null,\n            \"images\": [\n                {\n                    \"caption\": \"main\",\n                    \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-hotel-61dae9293e212f368be97e6a.jpg\"\n                }\n            ],\n            \"room_types\": [\n                {\n                    \"id\": \"61cb107927f2235d911d7abf\",\n                    \"title\": \"کابانا استاندارد دونفره(محوطه)\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 1,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-61dab8faef60bb60f9ff63db.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f22307141d7ac0\",\n                    \"title\": \"کابانا استاندارد سه نفره(محوطه)\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 3,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-61dab90511714d580d641268.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f223228b1d7ac1\",\n                    \"title\": \"کابانا دوبلکس دونفره(محوطه)\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 2,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62112febb7409947e35312e0.jpg\"\n                        },\n                        {\n                            \"caption\": \"کابانا دوبلکس دونفره(محوطه)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62112ff21bbd120955ce810b.jpg\"\n                        },\n                        {\n                            \"caption\": \"کابانا دوبلکس دونفره(محوطه)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62112ff71bbd121123ce8b38.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f22313511d7ac2\",\n                    \"title\": \"کابانا دوبلکس چهار نفره(محوطه)\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 4,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621130100a6d841deefd0106.jpg\"\n                        },\n                        {\n                            \"caption\": \"کابانا دوبلکس چهار نفره(محوطه)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62113018b74099a1f7536708.jpg\"\n                        },\n                        {\n                            \"caption\": \"کابانا دوبلکس چهار نفره(محوطه)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-6211301c0a6d845d02fd0ba1.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f22348d01d7ac3\",\n                    \"title\": \"اتاق دبل استاندارد دونفره (چشم انداز به جزیره)\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62112f4a0a6d84459bfbd22f.jpg\"\n                        },\n                        {\n                            \"caption\": \"اتاق دبل استاندارد دونفره (چشم انداز به جزیره)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62112f540a6d84c7a3fbdd63.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f22320881d7ac4\",\n                    \"title\": \"اتاق تریپل استاندارد (چشم انداز به جزیره)\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 3,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-61dae83b3e212f49bbe8aa59.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f22382971d7ac5\",\n                    \"title\": \"اتاق دبل استاندارد دونفره (چشم انداز به دریا)\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62112f8840a5cecc4cc3fb49.jpg\"\n                        },\n                        {\n                            \"caption\": \"اتاق دبل استاندارد دونفره (چشم انداز به دریا)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62112f8e0ea18b974e196e9e.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f22366d61d7ac6\",\n                    \"title\": \"اتاق تریپل استاندارد  (چشم انداز به دریا)\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 3,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-61dae85938afac701ff4ab3d.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f223355b1d7ac7\",\n                    \"title\": \"سوئیت جونیور بدون تراس سه نفره ( چشم انداز جزیره )\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 3,\n                    \"extra_capacity\": 1,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621130c540a5ce861cc5e7c7.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت جونیور بدون تراس سه نفره ( چشم انداز جزیره )\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621130e740a5cec8c4c638f6.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت جونیور بدون تراس سه نفره ( چشم انداز جزیره )\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621130f00a6d843dfffe44ec.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت جونیور بدون تراس سه نفره ( چشم انداز جزیره )\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621130f90a6d845af5fe5028.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f2237cdb1d7ac8\",\n                    \"title\": \"سوئیت جونیور بدون تراس چهار نفره ( چشم انداز جزیره )\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 4,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-61dae86738b5337f1c4fb53c.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f2233aa51d7ac9\",\n                    \"title\": \"سوئیت جونیور تراس دار دونفره (چشم انداز دریا)\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 2,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621131110ea18bd7451be2f4.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت جونیور تراس دار دونفره (چشم انداز دریا)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621131161bbd12b72fd05234.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت جونیور تراس دار دونفره (چشم انداز دریا)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-6211311d0a6d845b73fe6e23.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت جونیور تراس دار دونفره (چشم انداز دریا)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62113122b740992d01551c06.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f22370a01d7aca\",\n                    \"title\": \"سوئیت جونیور تراس دار سه نفره (چشم انداز دریا)\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 3,\n                    \"extra_capacity\": 1,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-61dae87f3e212f6f14e8ef46.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f223edee1d7acb\",\n                    \"title\": \"سوئیت جونیور تراس دار دونفره (چشم انداز جزیره)\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 2,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62113137b740991702554305.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت جونیور تراس دار دونفره (چشم انداز جزیره)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621131410a6d847c6cfe8a81.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت جونیور تراس دار دونفره (چشم انداز جزیره)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621131471bbd124816d0923b.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت جونیور تراس دار دونفره (چشم انداز جزیره)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-6211314b0a6d8462f5fea046.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f2236d281d7acc\",\n                    \"title\": \"سوئیت جونیور تراس دار سه نفره (چشم اندازجزیره)\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 3,\n                    \"extra_capacity\": 1,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-6211316d40a5ce6a20c6e680.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت جونیور تراس دار سه نفره (چشم اندازجزیره)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621131781bbd12fbaad0dafe.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت جونیور تراس دار سه نفره (چشم اندازجزیره)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-6211317d1bbd12da1cd0db01.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت جونیور تراس دار سه نفره (چشم اندازجزیره)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621131850ea18b2c061c946c.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f22315881d7acd\",\n                    \"title\": \"سوئیت لوکس دونفره\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 3,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621131e61bbd120e2bd19d45.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت لوکس دونفره\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621131ef0ea18b96c21d23bf.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت لوکس دونفره\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621131f40ea18b5f541d23c2.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت لوکس دونفره\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621131f90a6d84030cffd00a.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت لوکس دونفره\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621131fe0ea18b66e41d35cc.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f2235c4d1d7ace\",\n                    \"title\": \"سوئیت لوکس سه نفره\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 3,\n                    \"extra_capacity\": 2,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-61dab9b624c61b5fdaec9000.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f223ea671d7acf\",\n                    \"title\": \"سوئیت رویال چهارتخته\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 4,\n                    \"extra_capacity\": 2,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62113211b74099356c56806e.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت رویال چهارتخته\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-6211321d0a6d842dcf0013e3.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت رویال چهارتخته\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62113222b7409969f7568a67.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت رویال چهارتخته\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-6211322b1bbd127b24d20f00.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت رویال چهارتخته\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-6211323640a5ce32a2c7e49b.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f2231cbe1d7ad0\",\n                    \"title\": \"سوئیت پرزیدنتال دو نفره\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 3,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-61dab9fc8c236367af7d4efe.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cd74762bac942483f7e5f9\",\n                    \"title\": \"اتاق توئین استاندارد ( چشم انداز به جزیره )\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62112fa30ea18b1ee1199915.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cd74762bac94b3a2f7e5fa\",\n                    \"title\": \"اتاق توئین استاندارد ( چشم انداز به دریا )\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62112fb10a6d84cd2dfc6352.jpg\"\n                        }\n                    ]\n                }\n            ],\n            \"policies\": []\n        },\n        {\n            \"id\": \"669262dbb1ba209b6a02f72e\",\n            \"name\": \"دمو داخلی\",\n            \"english_name\": \"demoInternal\",\n            \"bufferEnable\": true,\n            \"star\": 2,\n            \"city\": \"588ba78a582469c0c591eab1\",\n            \"province\": \"634589b302407b5c6d7b4fba\",\n            \"country\": \"6345899296299b65e13c7b95\",\n            \"address\": \"تهران، امیرآباد ۲۱ ام شرقی\",\n            \"desc\": \"\",\n            \"amenities\": [],\n            \"phone\": \"09366419951\",\n            \"website\": null,\n            \"images\": [],\n            \"room_types\": [\n                {\n                    \"id\": \"669d1ac65889ed2b9026d19c\",\n                    \"title\": \"یک تخته\",\n                    \"english_title\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 1,\n                    \"extra_capacity\": 1,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": []\n                },\n                {\n                    \"id\": \"66a8c912a4eb4da8d4dbe04f\",\n                    \"title\": \"دوتخته کینگ‌سایز\",\n                    \"english_title\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 1,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": []\n                },\n                {\n                    \"id\": \"66a8c94aa4eb4da8d4dbe054\",\n                    \"title\": \"چهارتخته یک دبل، یک تویین\",\n                    \"english_title\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 4,\n                    \"extra_capacity\": 2,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": []\n                }\n            ],\n            \"policies\": []\n        },\n        {\n            \"id\": \"613336584c2feab1413e7153\",\n            \"name\": \"هتل دمو تهران\",\n            \"english_name\": \"dee\",\n            \"bufferEnable\": true,\n            \"star\": 5,\n            \"city\": \"588ba78a582469c0c591eab1\",\n            \"address\": \"تهران، امیرآباد ۲۱ ام شرقی\",\n            \"province\": \"\",\n            \"amenities\": [],\n            \"website\": null,\n            \"images\": [\n                {\n                    \"caption\": \"test\",\n                    \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/lmso-stg/htl/613336584c2feab1413e7153/img/lHl-1676821425.jpg\"\n                },\n                {\n                    \"caption\": \"test\",\n                    \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/lmso-stg/htl/613336584c2feab1413e7153/img/V9i-1676897036.jpg\"\n                },\n                {\n                    \"caption\": \"test\",\n                    \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/lmso-stg/htl/613336584c2feab1413e7153/img/nXE-1676897056.jpg\"\n                }\n            ],\n            \"room_types\": [\n                {\n                    \"id\": \"61348fb42689bbffa1e7cab0\",\n                    \"title\": \"اتاق یک تخته\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 1,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"تست\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/lmso-stg/htl/613336584c2feab1413e7153/rm/61348fb42689bbffa1e7cab0/img/Xh8-1676897842.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61348fb42689bb6be9e7cab1\",\n                    \"title\": \"اتاق دوتخته دابل\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": []\n                },\n                {\n                    \"id\": \"61348fb42689bb9f79e7cab2\",\n                    \"title\": \"اتاق دوتخته توئین\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": []\n                },\n                {\n                    \"id\": \"61348fb42689bb568ce7cab3\",\n                    \"title\": \"اتاق سه تخته\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 3,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": []\n                },\n                {\n                    \"id\": \"61348fb42689bb152be7cab4\",\n                    \"title\": \"سوئیت\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 4,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": []\n                },\n                {\n                    \"id\": \"6173fa4afb0f1e04efc4898a\",\n                    \"title\": \"اتاق چهار تخته\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 4,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": []\n                }\n            ],\n            \"policies\": []\n        }\n    ]\n}"}],"_postman_id":"fa0eb09b-3718-4e1c-8eb1-300353c49edd"},{"name":"Get Cities","id":"e79a3f13-bf40-4789-9b15-478398aa2aef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{apiKey}}","description":"<p>Your Api Key</p>\n"}],"url":"https://api.lamasoo.com/booking/cities","description":"<p>This API returns the list of cities with their id, use the id to query hotels and availability APIs.</p>\n","urlObject":{"path":["booking","cities"],"host":["https://api.lamasoo.com"],"query":[],"variable":[]}},"response":[{"id":"94d8000e-ed13-4dba-a595-caed78c2ef2a","name":"Get Cities","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{apiKey}}"}],"url":"https://api.lamasoo.com/booking/cities"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 02 Nov 2024 12:44:13 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=65"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, Content-Disposition, X-Requested-With, X-Auth-Username, X-Admin-Auth, sentry-trace, availability-history, availability-history-size, agency-id, x-include-agency-provider, baggage"},{"key":"ETag","value":"W/\"1d3-BP9c3fpTWfJx40YmEg/FMk6sO1A\""},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Server","value":"ArvanCloud"},{"key":"Server-Timing","value":"total;dur=50"},{"key":"X-Cache","value":"BYPASS"},{"key":"X-Request-ID","value":"80e28b08c35d3d25782bc214b1e266e6"},{"key":"X-SID","value":"2063"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"cities\": [\n        {\n            \"id\": \"588ba78a582469c0c591eab1\",\n            \"name\": \"تهران\",\n            \"code\": \"THR\"\n        },\n        {\n            \"id\": \"64e5ef12b2c9a10e7ac743fe\",\n            \"name\": \"اصفهان\",\n            \"code\": \"ESF\"\n        },\n        {\n            \"id\": \"64eb29ff20113b0c89ee4a1c\",\n            \"name\": \"مشهد\",\n            \"code\": \"MSH\"\n        },\n        {\n            \"id\": \"65e60a07b21d8099ede736c6\",\n            \"name\": \"کیش\",\n            \"code\": \"KSH\"\n        },\n        {\n            \"id\": \"672603e1618c021150c84d68\",\n            \"name\": \"Dubai\",\n            \"code\": \"DXB\"\n        }\n    ]\n}"}],"_postman_id":"e79a3f13-bf40-4789-9b15-478398aa2aef"},{"name":"Hotel Inventory by City","id":"5cab1843-a5c7-430a-aff7-21e5f302eb84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{apiKey}}","description":"<p>Your API Key</p>\n"}],"url":"https://api.lamasoo.com/booking/hotel_inventory?city_id=588ba76a582469c0c591eab0","description":"<p>This API allows to filter hotels based on city. Add <code>city_id</code> in query string to receive a filtered result.</p>\n","urlObject":{"path":["booking","hotel_inventory"],"host":["https://api.lamasoo.com"],"query":[{"key":"city_id","value":"588ba76a582469c0c591eab0"}],"variable":[]}},"response":[{"id":"19064247-cd13-4150-9c84-9367a2c8db27","name":"Hotel Inventory by City","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{apiKey}}","description":"Your API Key"}],"url":{"raw":"https://api.lamasoo.com/booking/hotel_inventory?city_id=588ba78a582469c0c591eab1","host":["https://api.lamasoo.com"],"path":["booking","hotel_inventory"],"query":[{"key":"city_id","value":"588ba78a582469c0c591eab1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 02 Nov 2024 12:44:21 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=65"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, Content-Disposition, X-Requested-With, X-Auth-Username, X-Admin-Auth, sentry-trace, availability-history, availability-history-size, agency-id, x-include-agency-provider, baggage"},{"key":"ETag","value":"W/\"bba4-CLrJM+b8sDvFaa0km4+xyle2mEs\""},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Server","value":"ArvanCloud"},{"key":"Server-Timing","value":"total;dur=156"},{"key":"X-Cache","value":"BYPASS"},{"key":"X-Request-ID","value":"acbfc6d81943faf922a508c7ce7b5205"},{"key":"X-SID","value":"2063"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"hotels\": [\n        {\n            \"id\": \"6716301fe3d72fb0b14780f6\",\n            \"name\": \"هتل تست ۱\",\n            \"english_name\": \"Test\",\n            \"bufferEnable\": true,\n            \"star\": 1,\n            \"city\": \"588ba78a582469c0c591eab1\",\n            \"province\": \"634589b302407b5c6d7b4fba\",\n            \"country\": \"6345899296299b65e13c7b95\",\n            \"desc\": \"\",\n            \"amenities\": [],\n            \"phone\": \"09385360181\",\n            \"website\": null,\n            \"images\": [],\n            \"room_types\": [\n                {\n                    \"id\": \"67163071057edbfff2f1a68d\",\n                    \"title\": \"یک تخته\",\n                    \"english_title\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 1,\n                    \"extra_capacity\": 1,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": []\n                },\n                {\n                    \"id\": \"6716307de3d72fb0b1478102\",\n                    \"title\": \"دو تخته دبل\",\n                    \"english_title\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 1,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": []\n                }\n            ],\n            \"policies\": []\n        },\n        \n        {\n            \"id\": \"61caf9d44c2feab14161e40b\",\n            \"name\": \"هتل میراژ\",\n            \"english_name\": \"MIRAGE HOTEL\",\n            \"bufferEnable\": false,\n            \"star\": 1,\n            \"street\": \".\",\n            \"city\": \"588ba78a582469c0c591eab1\",\n            \"province\": \"\",\n            \"country\": \"ایران\",\n            \"latitude\": \"26.54863168270737\",\n            \"longitude\": \"54.01580408465475\",\n            \"desc\": \"کیش \",\n            \"amenities\": [],\n            \"phone\": \"07644422220\",\n            \"website\": null,\n            \"images\": [\n                {\n                    \"caption\": \"main\",\n                    \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-hotel-61dae9293e212f368be97e6a.jpg\"\n                }\n            ],\n            \"room_types\": [\n                {\n                    \"id\": \"61cb107927f2235d911d7abf\",\n                    \"title\": \"کابانا استاندارد دونفره(محوطه)\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 1,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-61dab8faef60bb60f9ff63db.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f22307141d7ac0\",\n                    \"title\": \"کابانا استاندارد سه نفره(محوطه)\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 3,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-61dab90511714d580d641268.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f223228b1d7ac1\",\n                    \"title\": \"کابانا دوبلکس دونفره(محوطه)\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 2,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62112febb7409947e35312e0.jpg\"\n                        },\n                        {\n                            \"caption\": \"کابانا دوبلکس دونفره(محوطه)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62112ff21bbd120955ce810b.jpg\"\n                        },\n                        {\n                            \"caption\": \"کابانا دوبلکس دونفره(محوطه)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62112ff71bbd121123ce8b38.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f22313511d7ac2\",\n                    \"title\": \"کابانا دوبلکس چهار نفره(محوطه)\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 4,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621130100a6d841deefd0106.jpg\"\n                        },\n                        {\n                            \"caption\": \"کابانا دوبلکس چهار نفره(محوطه)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62113018b74099a1f7536708.jpg\"\n                        },\n                        {\n                            \"caption\": \"کابانا دوبلکس چهار نفره(محوطه)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-6211301c0a6d845d02fd0ba1.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f22348d01d7ac3\",\n                    \"title\": \"اتاق دبل استاندارد دونفره (چشم انداز به جزیره)\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62112f4a0a6d84459bfbd22f.jpg\"\n                        },\n                        {\n                            \"caption\": \"اتاق دبل استاندارد دونفره (چشم انداز به جزیره)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62112f540a6d84c7a3fbdd63.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f22320881d7ac4\",\n                    \"title\": \"اتاق تریپل استاندارد (چشم انداز به جزیره)\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 3,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-61dae83b3e212f49bbe8aa59.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f22382971d7ac5\",\n                    \"title\": \"اتاق دبل استاندارد دونفره (چشم انداز به دریا)\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62112f8840a5cecc4cc3fb49.jpg\"\n                        },\n                        {\n                            \"caption\": \"اتاق دبل استاندارد دونفره (چشم انداز به دریا)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62112f8e0ea18b974e196e9e.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f22366d61d7ac6\",\n                    \"title\": \"اتاق تریپل استاندارد  (چشم انداز به دریا)\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 3,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-61dae85938afac701ff4ab3d.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f223355b1d7ac7\",\n                    \"title\": \"سوئیت جونیور بدون تراس سه نفره ( چشم انداز جزیره )\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 3,\n                    \"extra_capacity\": 1,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621130c540a5ce861cc5e7c7.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت جونیور بدون تراس سه نفره ( چشم انداز جزیره )\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621130e740a5cec8c4c638f6.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت جونیور بدون تراس سه نفره ( چشم انداز جزیره )\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621130f00a6d843dfffe44ec.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت جونیور بدون تراس سه نفره ( چشم انداز جزیره )\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621130f90a6d845af5fe5028.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f2237cdb1d7ac8\",\n                    \"title\": \"سوئیت جونیور بدون تراس چهار نفره ( چشم انداز جزیره )\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 4,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-61dae86738b5337f1c4fb53c.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f2233aa51d7ac9\",\n                    \"title\": \"سوئیت جونیور تراس دار دونفره (چشم انداز دریا)\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 2,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621131110ea18bd7451be2f4.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت جونیور تراس دار دونفره (چشم انداز دریا)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621131161bbd12b72fd05234.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت جونیور تراس دار دونفره (چشم انداز دریا)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-6211311d0a6d845b73fe6e23.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت جونیور تراس دار دونفره (چشم انداز دریا)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62113122b740992d01551c06.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f22370a01d7aca\",\n                    \"title\": \"سوئیت جونیور تراس دار سه نفره (چشم انداز دریا)\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 3,\n                    \"extra_capacity\": 1,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-61dae87f3e212f6f14e8ef46.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f223edee1d7acb\",\n                    \"title\": \"سوئیت جونیور تراس دار دونفره (چشم انداز جزیره)\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 2,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62113137b740991702554305.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت جونیور تراس دار دونفره (چشم انداز جزیره)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621131410a6d847c6cfe8a81.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت جونیور تراس دار دونفره (چشم انداز جزیره)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621131471bbd124816d0923b.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت جونیور تراس دار دونفره (چشم انداز جزیره)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-6211314b0a6d8462f5fea046.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f2236d281d7acc\",\n                    \"title\": \"سوئیت جونیور تراس دار سه نفره (چشم اندازجزیره)\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 3,\n                    \"extra_capacity\": 1,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-6211316d40a5ce6a20c6e680.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت جونیور تراس دار سه نفره (چشم اندازجزیره)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621131781bbd12fbaad0dafe.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت جونیور تراس دار سه نفره (چشم اندازجزیره)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-6211317d1bbd12da1cd0db01.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت جونیور تراس دار سه نفره (چشم اندازجزیره)\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621131850ea18b2c061c946c.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f22315881d7acd\",\n                    \"title\": \"سوئیت لوکس دونفره\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 3,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621131e61bbd120e2bd19d45.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت لوکس دونفره\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621131ef0ea18b96c21d23bf.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت لوکس دونفره\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621131f40ea18b5f541d23c2.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت لوکس دونفره\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621131f90a6d84030cffd00a.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت لوکس دونفره\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-621131fe0ea18b66e41d35cc.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f2235c4d1d7ace\",\n                    \"title\": \"سوئیت لوکس سه نفره\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 3,\n                    \"extra_capacity\": 2,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-61dab9b624c61b5fdaec9000.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f223ea671d7acf\",\n                    \"title\": \"سوئیت رویال چهارتخته\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 4,\n                    \"extra_capacity\": 2,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62113211b74099356c56806e.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت رویال چهارتخته\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-6211321d0a6d842dcf0013e3.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت رویال چهارتخته\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62113222b7409969f7568a67.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت رویال چهارتخته\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-6211322b1bbd127b24d20f00.jpg\"\n                        },\n                        {\n                            \"caption\": \"سوئیت رویال چهارتخته\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-6211323640a5ce32a2c7e49b.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cb107927f2231cbe1d7ad0\",\n                    \"title\": \"سوئیت پرزیدنتال دو نفره\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 3,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-61dab9fc8c236367af7d4efe.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cd74762bac942483f7e5f9\",\n                    \"title\": \"اتاق توئین استاندارد ( چشم انداز به جزیره )\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62112fa30ea18b1ee1199915.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61cd74762bac94b3a2f7e5fa\",\n                    \"title\": \"اتاق توئین استاندارد ( چشم انداز به دریا )\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"main\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/engine/Mirage%20Hotel-hotel-roomType-62112fb10a6d84cd2dfc6352.jpg\"\n                        }\n                    ]\n                }\n            ],\n            \"policies\": []\n        },\n        {\n            \"id\": \"669262dbb1ba209b6a02f72e\",\n            \"name\": \"دمو داخلی\",\n            \"english_name\": \"demoInternal\",\n            \"bufferEnable\": true,\n            \"star\": 2,\n            \"city\": \"588ba78a582469c0c591eab1\",\n            \"province\": \"634589b302407b5c6d7b4fba\",\n            \"country\": \"6345899296299b65e13c7b95\",\n            \"desc\": \"\",\n            \"amenities\": [],\n            \"phone\": \"09366419951\",\n            \"website\": null,\n            \"images\": [],\n            \"room_types\": [\n                {\n                    \"id\": \"669d1ac65889ed2b9026d19c\",\n                    \"title\": \"یک تخته\",\n                    \"english_title\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 1,\n                    \"extra_capacity\": 1,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": []\n                },\n                {\n                    \"id\": \"66a8c912a4eb4da8d4dbe04f\",\n                    \"title\": \"دوتخته کینگ\\u200cسایز\",\n                    \"english_title\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 1,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": []\n                },\n                {\n                    \"id\": \"66a8c94aa4eb4da8d4dbe054\",\n                    \"title\": \"چهارتخته یک دبل، یک تویین\",\n                    \"english_title\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 4,\n                    \"extra_capacity\": 2,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": []\n                }\n            ],\n            \"policies\": []\n        },\n        {\n            \"id\": \"613336584c2feab1413e7153\",\n            \"name\": \"هتل دمو تهران\",\n            \"english_name\": \"dee\",\n            \"bufferEnable\": true,\n            \"star\": 5,\n            \"city\": \"588ba78a582469c0c591eab1\",\n            \"province\": \"\",\n            \"amenities\": [],\n            \"website\": null,\n            \"images\": [\n                {\n                    \"caption\": \"test\",\n                    \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/lmso-stg/htl/613336584c2feab1413e7153/img/lHl-1676821425.jpg\"\n                },\n                {\n                    \"caption\": \"test\",\n                    \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/lmso-stg/htl/613336584c2feab1413e7153/img/V9i-1676897036.jpg\"\n                },\n                {\n                    \"caption\": \"test\",\n                    \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/lmso-stg/htl/613336584c2feab1413e7153/img/nXE-1676897056.jpg\"\n                }\n            ],\n            \"room_types\": [\n                {\n                    \"id\": \"61348fb42689bbffa1e7cab0\",\n                    \"title\": \"اتاق یک تخته\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 1,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": [\n                        {\n                            \"caption\": \"تست\",\n                            \"url\": \"https://s3.ir-thr-at1.arvanstorage.com/lmso-stg/htl/613336584c2feab1413e7153/rm/61348fb42689bbffa1e7cab0/img/Xh8-1676897842.jpg\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"61348fb42689bb6be9e7cab1\",\n                    \"title\": \"اتاق دوتخته دابل\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": []\n                },\n                {\n                    \"id\": \"61348fb42689bb9f79e7cab2\",\n                    \"title\": \"اتاق دوتخته توئین\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 2,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": []\n                },\n                {\n                    \"id\": \"61348fb42689bb568ce7cab3\",\n                    \"title\": \"اتاق سه تخته\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 3,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": []\n                },\n                {\n                    \"id\": \"61348fb42689bb152be7cab4\",\n                    \"title\": \"سوئیت\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 4,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": []\n                },\n                {\n                    \"id\": \"6173fa4afb0f1e04efc4898a\",\n                    \"title\": \"اتاق چهار تخته\",\n                    \"english_title\": \"\",\n                    \"desc\": \"\",\n                    \"amenities\": [],\n                    \"capacity\": 4,\n                    \"extra_capacity\": 0,\n                    \"bed_configurations\": [],\n                    \"extra_bed_configurations\": [],\n                    \"images\": []\n                }\n            ],\n            \"policies\": []\n        }\n    ]\n}"}],"_postman_id":"5cab1843-a5c7-430a-aff7-21e5f302eb84"}],"id":"95b32deb-c622-4552-b69b-c230d1b9bb14","_postman_id":"95b32deb-c622-4552-b69b-c230d1b9bb14","description":""},{"name":"Booking Availability","item":[{"name":"Availability By City","id":"555177b1-fe5d-4192-9998-11ebda4bd83c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"","description":"<p>Your API Key</p>\n","type":"text"},{"key":"x-include-agency-provider","value":"true","description":"<p>For Master Contract (Optional)</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"lang\": \"fa_IR\",\n    \"start_date\": \"2024-11-02\",\n    \"end_date\": \"2024-11-03\",\n    \"currency\": \"IRR\",\n    \"user_country\": \"IR\",\n    \"city_id\": \"588ba78a582469c0c591eab1\",\n    \"hotel_ids\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://api.lamasoo.com/booking/booking_availability_v2","description":"<p>This API returns all hotels in the specified city, with the rooms available for the requested date range.</p>\n","urlObject":{"path":["booking","booking_availability_v2"],"host":["https://api.lamasoo.com"],"query":[],"variable":[]}},"response":[{"id":"950ff22a-d8b8-4509-b48b-99a3b91cf956","name":"Availability By City","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","description":"Your Access Token","type":"text"},{"key":"Content-Type","value":"application/json","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"lang\": \"fa_IR\",\n    \"start_date\": \"2024-11-02\",\n    \"end_date\": \"2024-11-03\",\n    \"currency\": \"IRR\",\n    \"user_country\": \"IR\",\n    \"city_id\": \"588ba78a582469c0c591eab1\",\n    \"hotel_ids\": [],\n    \"show_constraints\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.lamasoo.com/booking/booking_availability_v2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, Content-Disposition, X-Requested-With, X-Auth-Username, X-Admin-Auth, sentry-trace, availability-history, availability-history-size, agency-id, x-include-agency-provider, baggage"},{"key":"x-request-transaction-id","value":"N/A"},{"key":"lamasoo-transaction-id","value":"2e7eacae31820470"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"6212"},{"key":"ETag","value":"W/\"1844-SAXW0WRNrt4kQsfs/SNNgkYtSn0\""},{"key":"Date","value":"Sat, 02 Nov 2024 12:24:50 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n  \"lang\": \"fa_IR\",\n  \"currency\": \"IRR\",\n  \"hotels\": [\n    {\n      \"id\": \"6716301fe3d72fb0b14780f6\",\n      \"name\": \"هتل تست ۱\",\n      \"room_types\": [\n        {\n          \"id\": \"67163071057edbfff2f1a68d\",\n          \"title\": \"یک تخته\",\n          \"capacity\": 1,\n          \"extra_capacity\": 1,\n          \"max_children_without_bed\": 1,\n          \"rooms_remaining_per_day\": [\n            {\n              \"date\": \"2024-11-02\",\n              \"count\": 9,\n              \"dedicated\": 0\n            }\n          ],\n          \"rooms_remaining\": 9\n        },\n        {\n          \"id\": \"6716307de3d72fb0b1478102\",\n          \"title\": \"دو تخته دبل\",\n          \"capacity\": 2,\n          \"extra_capacity\": 1,\n          \"max_children_without_bed\": 1,\n          \"rooms_remaining_per_day\": [\n            {\n              \"date\": \"2024-11-02\",\n              \"count\": 10,\n              \"dedicated\": 0\n            }\n          ],\n          \"rooms_remaining\": 10\n        }\n      ],\n      \"room_rates\": [\n        {\n          \"room_type_id\": \"67163071057edbfff2f1a68d\",\n          \"rate_plan_id\": \"42_57\",\n          \"currency\": \"IRR\",\n          \"prices\": [\n            {\n              \"date\": \"2024-11-02\",\n              \"price\": 11000000,\n              \"display_price\": 10500000,\n              \"price_to_pay\": 9900000,\n              \"extra_guest_price\": 5000000,\n              \"extra_guest_price_to_pay\": 5000000,\n              \"child_pricing\": [\n                    {\n                        \"type\": \"INFANT\",\n                        \"price_to_pay\": 0\n                    },\n                    {\n                        \"type\": \"TODDLER\",\n                        \"price_to_pay\": 6000000\n                    },\n                    {\n                        \"type\": \"CHILD\",\n                        \"price_to_pay\": 12000000\n                    }\n                ]\n            }\n          ],\n          \"price\": {\n            \"price\": 11000000,\n            \"display_price\": 10500000,\n            \"price_to_pay\": 9900000,\n            \"taxes\": 0,\n            \"final_price\": 9900000,\n            \"extra_guest_price\": 5000000,\n            \"extra_guest_final_price\": 5000000,\n            \"extra_guest_price_to_pay\": 5000000,\n            \"child_pricing\": [\n                {\n                    \"type\": \"INFANT\",\n                    \"price_to_pay\": 0\n                },\n                {\n                    \"type\": \"TODDLER\",\n                    \"price_to_pay\": 6000000\n                },\n                {\n                    \"type\": \"CHILD\",\n                    \"price_to_pay\": 12000000\n                }\n            ]\n          }\n        },\n        {\n          \"room_type_id\": \"6716307de3d72fb0b1478102\",\n          \"rate_plan_id\": \"42_57\",\n          \"currency\": \"IRR\",\n          \"prices\": [\n            {\n              \"date\": \"2024-11-02\",\n              \"price\": 12500000,\n              \"display_price\": 11500000,\n              \"price_to_pay\": 11250000,\n              \"extra_guest_price\": 5000000,\n              \"extra_guest_price_to_pay\": 5000000,\n              \"child_pricing\": [\n                    {\n                        \"type\": \"INFANT\",\n                        \"price_to_pay\": 0\n                    },\n                    {\n                        \"type\": \"TODDLER\",\n                        \"price_to_pay\": 6000000\n                    },\n                    {\n                        \"type\": \"CHILD\",\n                        \"price_to_pay\": 12000000\n                    }\n                ]\n            }\n          ],\n          \"price\": {\n            \"price\": 12500000,\n            \"display_price\": 11500000,\n            \"price_to_pay\": 11250000,\n            \"taxes\": 0,\n            \"final_price\": 11250000,\n            \"extra_guest_price\": 5000000,\n            \"extra_guest_final_price\": 5000000,\n            \"extra_guest_price_to_pay\": 5000000,\n            \"child_pricing\": [\n                {\n                    \"type\": \"INFANT\",\n                    \"price_to_pay\": 0\n                },\n                {\n                    \"type\": \"TODDLER\",\n                    \"price_to_pay\": 6000000\n                },\n                {\n                    \"type\": \"CHILD\",\n                    \"price_to_pay\": 12000000\n                }\n            ]\n          }\n        },\n        {\n          \"room_type_id\": \"67163071057edbfff2f1a68d\",\n          \"rate_plan_id\": \"42_58\",\n          \"currency\": \"IRR\",\n          \"prices\": [\n            {\n              \"date\": \"2024-11-02\",\n              \"price\": 11000000,\n              \"display_price\": 10500000,\n              \"price_to_pay\": 10500000,\n              \"extra_guest_price\": 5000000,\n              \"extra_guest_price_to_pay\": 5000000,\n              \"child_pricing\": [\n                    {\n                        \"type\": \"INFANT\",\n                        \"price_to_pay\": 0\n                    },\n                    {\n                        \"type\": \"TODDLER\",\n                        \"price_to_pay\": 6000000\n                    },\n                    {\n                        \"type\": \"CHILD\",\n                        \"price_to_pay\": 12000000\n                    }\n                ]\n            }\n          ],\n          \"price\": {\n            \"price\": 11000000,\n            \"display_price\": 10500000,\n            \"price_to_pay\": 10500000,\n            \"taxes\": 0,\n            \"final_price\": 10500000,\n            \"extra_guest_price\": 5000000,\n            \"extra_guest_final_price\": 5000000,\n            \"extra_guest_price_to_pay\": 5000000,\n            \"child_pricing\": [\n                {\n                    \"type\": \"INFANT\",\n                    \"price_to_pay\": 0\n                },\n                {\n                    \"type\": \"TODDLER\",\n                    \"price_to_pay\": 6000000\n                },\n                {\n                    \"type\": \"CHILD\",\n                    \"price_to_pay\": 12000000\n                }\n            ]\n          }\n        }\n      ],\n      \"rate_plans\": [\n        {\n          \"id\": \"42_57\",\n          \"title\": \"صبحانه,۱۰ درصدی\",\n          \"meal_type\": \"BB\",\n          \"transfer\": \"\",\n          \"currency\": \"IRR\",\n          \"extra_guest_cost_per_day\": [\n            {\n              \"date\": \"2024-11-02\",\n              \"price\": 5000000,\n              \"price_to_pay\": 5000000\n            }\n          ],\n          \"extra_guest_cost\": {\n            \"price\": 5000000,\n            \"price_to_pay\": 5000000,\n            \"taxes\": 0,\n            \"final_price\": 5000000\n          },\n          \"children_policies\": [],\n          \"baseCurrency\": \"USD\",\n          \"exchangeRate\": 1,\n          \"exchangeRateToIRR\": 500000\n        },\n        {\n          \"id\": \"42_58\",\n          \"title\": \"صبحانه,قیمت نهایی ۱\",\n          \"meal_type\": \"BB\",\n          \"transfer\": \"\",\n          \"currency\": \"IRR\",\n          \"extra_guest_cost_per_day\": [\n            {\n              \"date\": \"2024-11-02\",\n              \"price\": 5000000,\n              \"price_to_pay\": 5000000\n            }\n          ],\n          \"extra_guest_cost\": {\n            \"price\": 5000000,\n            \"price_to_pay\": 5000000,\n            \"taxes\": 0,\n            \"final_price\": 5000000\n          },\n          \"children_policies\": [],\n          \"baseCurrency\": \"USD\",\n          \"exchangeRate\": 1,\n          \"exchangeRateToIRR\": 500000\n        }\n      ],\n      \"child_policies\": [\n        {\n            \"from\": 4,\n            \"to\": 5.99,\n            \"type\": \"CHILD\",\n            \"requires_bed\": true\n        },\n        {\n            \"from\": 0,\n            \"to\": 1.99,\n            \"type\": \"INFANT\",\n            \"requires_bed\": false\n        },\n        {\n            \"from\": 2,\n            \"to\": 3.99,\n            \"type\": \"TODDLER\",\n            \"requires_bed\": false\n        }\n      ],\n      \"chain_id\": \"\",\n      \"chain_title\": \"\"\n    },\n    {\n      \"id\": \"65bf6f8190bbe63e6ad41b72\",\n      \"name\": \"هتل تست ۲\",\n      \"room_types\": [\n        {\n          \"id\": \"65bf6fc16c70ee3b887cd820\",\n          \"title\": \"یک تخته\",\n          \"capacity\": 1,\n          \"extra_capacity\": 1,\n          \"max_children_without_bed\": 1,\n          \"rooms_remaining_per_day\": [\n            {\n              \"date\": \"2024-11-02\",\n              \"count\": 0,\n              \"dedicated\": 0\n            }\n          ],\n          \"rooms_remaining\": 0\n        },\n        {\n          \"id\": \"65bf6fdc8037a75697dd18c7\",\n          \"title\": \"دو تخته توئین\",\n          \"capacity\": 2,\n          \"extra_capacity\": 1,\n          \"max_children_without_bed\": 1,\n          \"rooms_remaining_per_day\": [\n            {\n              \"date\": \"2024-11-02\",\n              \"count\": 0,\n              \"dedicated\": 0\n            }\n          ],\n          \"rooms_remaining\": 0\n        },\n        {\n          \"id\": \"65bf6ff190bbe63e6ad41b7c\",\n          \"title\": \"دو تخته دبل\",\n          \"capacity\": 2,\n          \"extra_capacity\": 1,\n          \"max_children_without_bed\": 1,\n          \"rooms_remaining_per_day\": [\n            {\n              \"date\": \"2024-11-02\",\n              \"count\": 0,\n              \"dedicated\": 0\n            }\n          ],\n          \"rooms_remaining\": 0\n        },\n        {\n          \"id\": \"6638a54c7b394b85b0bd2205\",\n          \"title\": \"سوئیت مجلل روزانه\",\n          \"capacity\": 2,\n          \"extra_capacity\": 2,\n          \"max_children_without_bed\": 1,\n          \"rooms_remaining_per_day\": [\n            {\n              \"date\": \"2024-11-02\",\n              \"count\": 0,\n              \"dedicated\": 0\n            }\n          ],\n          \"rooms_remaining\": 0\n        }\n      ],\n      \"room_rates\": [],\n      \"rate_plans\": [],\n      \"chain_id\": \"\",\n      \"chain_title\": \"\"\n    }\n  ],\n  \"child_policies\": [\n    {\n        \"from\": 4,\n        \"to\": 5.99,\n        \"type\": \"CHILD\",\n        \"requires_bed\": true\n    },\n    {\n        \"from\": 0,\n        \"to\": 1.99,\n        \"type\": \"INFANT\",\n        \"requires_bed\": false\n    },\n    {\n        \"from\": 2,\n        \"to\": 3.99,\n        \"type\": \"TODDLER\",\n        \"requires_bed\": false\n    }\n   ],\n  \"wage\": {\n    \"type\": \"percent\",\n    \"amount\": 1,\n    \"max\": 1500000\n  },\n  \"errors\": []\n}"},{"id":"c6ba2133-2397-4de3-b8bd-0a1419b3099b","name":"Availability By City (Master Contract)","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","description":"Your Access Token","type":"text"},{"key":"Content-Type","value":"application/json","type":"text","disabled":true},{"key":"x-include-agency-provider","value":"true","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"lang\": \"fa_IR\",\n    \"start_date\": \"2024-11-02\",\n    \"end_date\": \"2024-11-03\",\n    \"currency\": \"IRR\",\n    \"user_country\": \"IR\",\n    \"city_id\": \"588ba78a582469c0c591eab1\",\n    \"hotel_ids\": [],\n    \"show_constraints\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.lamasoo.com/booking/booking_availability_v2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, Content-Disposition, X-Requested-With, X-Auth-Username, X-Admin-Auth, sentry-trace, availability-history, availability-history-size, agency-id, x-include-agency-provider, baggage"},{"key":"x-request-transaction-id","value":"N/A"},{"key":"lamasoo-transaction-id","value":"2e7eacae31820470"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"6212"},{"key":"ETag","value":"W/\"1844-SAXW0WRNrt4kQsfs/SNNgkYtSn0\""},{"key":"Date","value":"Sat, 02 Nov 2024 12:24:50 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n  \"lang\": \"fa_IR\",\n  \"currency\": \"IRR\",\n  \"hotels\": [\n    {\n      \"id\": \"6716301fe3d72fb0b14780f6\",\n      \"name\": \"هتل تست ۱\",\n      \"room_types\": [\n        {\n          \"id\": \"67163071057edbfff2f1a68d\",\n          \"title\": \"یک تخته\",\n          \"capacity\": 1,\n          \"extra_capacity\": 1,\n          \"max_children_without_bed\": 1,\n          \"rooms_remaining_per_day\": [\n            {\n              \"date\": \"2024-11-02\",\n              \"count\": 9,\n              \"dedicated\": 0\n            }\n          ],\n          \"rooms_remaining\": 9\n        },\n        {\n          \"id\": \"6716307de3d72fb0b1478102\",\n          \"title\": \"دو تخته دبل\",\n          \"capacity\": 2,\n          \"extra_capacity\": 1,\n          \"max_children_without_bed\": 1,\n          \"rooms_remaining_per_day\": [\n            {\n              \"date\": \"2024-11-02\",\n              \"count\": 10,\n              \"dedicated\": 0\n            }\n          ],\n          \"rooms_remaining\": 10\n        }\n      ],\n      \"room_rates\": [\n        {\n          \"room_type_id\": \"67163071057edbfff2f1a68d\",\n          \"rate_plan_id\": \"42_57\",\n          \"currency\": \"IRR\",\n          \"prices\": [\n            {\n              \"date\": \"2024-11-02\",\n              \"price\": 11000000,\n              \"display_price\": 10500000,\n              \"price_to_pay\": 9900000,\n              \"extra_guest_price\": 5000000,\n              \"extra_guest_price_to_pay\": 5000000,\n              \"child_pricing\": [\n                    {\n                        \"type\": \"INFANT\",\n                        \"price_to_pay\": 0\n                    },\n                    {\n                        \"type\": \"TODDLER\",\n                        \"price_to_pay\": 6000000\n                    },\n                    {\n                        \"type\": \"CHILD\",\n                        \"price_to_pay\": 12000000\n                    }\n                ]\n            }\n          ],\n          \"price\": {\n            \"price\": 11000000,\n            \"display_price\": 10500000,\n            \"price_to_pay\": 9900000,\n            \"taxes\": 0,\n            \"final_price\": 9900000,\n            \"extra_guest_price\": 5000000,\n            \"extra_guest_final_price\": 5000000,\n            \"extra_guest_price_to_pay\": 5000000,\n            \"child_pricing\": [\n                {\n                    \"type\": \"INFANT\",\n                    \"price_to_pay\": 0\n                },\n                {\n                    \"type\": \"TODDLER\",\n                    \"price_to_pay\": 6000000\n                },\n                {\n                    \"type\": \"CHILD\",\n                    \"price_to_pay\": 12000000\n                }\n            ]\n          }\n        },\n        {\n          \"room_type_id\": \"6716307de3d72fb0b1478102\",\n          \"rate_plan_id\": \"42_57\",\n          \"currency\": \"IRR\",\n          \"prices\": [\n            {\n              \"date\": \"2024-11-02\",\n              \"price\": 12500000,\n              \"display_price\": 11500000,\n              \"price_to_pay\": 11250000,\n              \"extra_guest_price\": 5000000,\n              \"extra_guest_price_to_pay\": 5000000,\n              \"child_pricing\": [\n                    {\n                        \"type\": \"INFANT\",\n                        \"price_to_pay\": 0\n                    },\n                    {\n                        \"type\": \"TODDLER\",\n                        \"price_to_pay\": 6000000\n                    },\n                    {\n                        \"type\": \"CHILD\",\n                        \"price_to_pay\": 12000000\n                    }\n                ]\n            }\n          ],\n          \"price\": {\n            \"price\": 12500000,\n            \"display_price\": 11500000,\n            \"price_to_pay\": 11250000,\n            \"taxes\": 0,\n            \"final_price\": 11250000,\n            \"extra_guest_price\": 5000000,\n            \"extra_guest_final_price\": 5000000,\n            \"extra_guest_price_to_pay\": 5000000,\n            \"child_pricing\": [\n                {\n                    \"type\": \"INFANT\",\n                    \"price_to_pay\": 0\n                },\n                {\n                    \"type\": \"TODDLER\",\n                    \"price_to_pay\": 6000000\n                },\n                {\n                    \"type\": \"CHILD\",\n                    \"price_to_pay\": 12000000\n                }\n            ]\n          }\n        },\n        {\n          \"room_type_id\": \"67163071057edbfff2f1a68d\",\n          \"rate_plan_id\": \"42_58\",\n          \"currency\": \"IRR\",\n          \"prices\": [\n            {\n              \"date\": \"2024-11-02\",\n              \"price\": 11000000,\n              \"display_price\": 10500000,\n              \"price_to_pay\": 10500000,\n              \"extra_guest_price\": 5000000,\n              \"extra_guest_price_to_pay\": 5000000,\n              \"child_pricing\": [\n                    {\n                        \"type\": \"INFANT\",\n                        \"price_to_pay\": 0\n                    },\n                    {\n                        \"type\": \"TODDLER\",\n                        \"price_to_pay\": 6000000\n                    },\n                    {\n                        \"type\": \"CHILD\",\n                        \"price_to_pay\": 12000000\n                    }\n                ]\n            }\n          ],\n          \"price\": {\n            \"price\": 11000000,\n            \"display_price\": 10500000,\n            \"price_to_pay\": 10500000,\n            \"taxes\": 0,\n            \"final_price\": 10500000,\n            \"extra_guest_price\": 5000000,\n            \"extra_guest_final_price\": 5000000,\n            \"extra_guest_price_to_pay\": 5000000,\n            \"child_pricing\": [\n                {\n                    \"type\": \"INFANT\",\n                    \"price_to_pay\": 0\n                },\n                {\n                    \"type\": \"TODDLER\",\n                    \"price_to_pay\": 6000000\n                },\n                {\n                    \"type\": \"CHILD\",\n                    \"price_to_pay\": 12000000\n                }\n            ]\n          }\n        }\n      ],\n      \"rate_plans\": [\n        {\n          \"id\": \"42_57\",\n          \"title\": \"صبحانه,۱۰ درصدی\",\n          \"meal_type\": \"BB\",\n          \"transfer\": \"\",\n          \"currency\": \"IRR\",\n          \"extra_guest_cost_per_day\": [\n            {\n              \"date\": \"2024-11-02\",\n              \"price\": 5000000,\n              \"price_to_pay\": 5000000\n            }\n          ],\n          \"extra_guest_cost\": {\n            \"price\": 5000000,\n            \"price_to_pay\": 5000000,\n            \"taxes\": 0,\n            \"final_price\": 5000000\n          },\n          \"children_policies\": [],\n          \"baseCurrency\": \"USD\",\n          \"exchangeRate\": 1,\n          \"exchangeRateToIRR\": 500000\n        },\n        {\n          \"id\": \"42_58\",\n          \"title\": \"صبحانه,قیمت نهایی ۱\",\n          \"meal_type\": \"BB\",\n          \"transfer\": \"\",\n          \"currency\": \"IRR\",\n          \"extra_guest_cost_per_day\": [\n            {\n              \"date\": \"2024-11-02\",\n              \"price\": 5000000,\n              \"price_to_pay\": 5000000\n            }\n          ],\n          \"extra_guest_cost\": {\n            \"price\": 5000000,\n            \"price_to_pay\": 5000000,\n            \"taxes\": 0,\n            \"final_price\": 5000000\n          },\n          \"children_policies\": [],\n          \"agency_provider_id\": \"643cf1af25fdc645253a3d90\",\n          \"baseCurrency\": \"USD\",\n          \"exchangeRate\": 1,\n          \"exchangeRateToIRR\": 500000\n        }\n      ],\n      \"child_policies\": [\n        {\n            \"from\": 4,\n            \"to\": 5.99,\n            \"type\": \"CHILD\",\n            \"requires_bed\": true\n        },\n        {\n            \"from\": 0,\n            \"to\": 1.99,\n            \"type\": \"INFANT\",\n            \"requires_bed\": false\n        },\n        {\n            \"from\": 2,\n            \"to\": 3.99,\n            \"type\": \"TODDLER\",\n            \"requires_bed\": false\n        }\n      ],\n      \"chain_id\": \"\",\n      \"chain_title\": \"\"\n    },\n    {\n      \"id\": \"65bf6f8190bbe63e6ad41b72\",\n      \"name\": \"هتل تست ۲\",\n      \"room_types\": [\n        {\n          \"id\": \"65bf6fc16c70ee3b887cd820\",\n          \"title\": \"یک تخته\",\n          \"capacity\": 1,\n          \"extra_capacity\": 1,\n          \"max_children_without_bed\": 1,\n          \"rooms_remaining_per_day\": [\n            {\n              \"date\": \"2024-11-02\",\n              \"count\": 0,\n              \"dedicated\": 0\n            }\n          ],\n          \"rooms_remaining\": 0\n        },\n        {\n          \"id\": \"65bf6fdc8037a75697dd18c7\",\n          \"title\": \"دو تخته توئین\",\n          \"capacity\": 2,\n          \"extra_capacity\": 1,\n          \"max_children_without_bed\": 1,\n          \"rooms_remaining_per_day\": [\n            {\n              \"date\": \"2024-11-02\",\n              \"count\": 0,\n              \"dedicated\": 0\n            }\n          ],\n          \"rooms_remaining\": 0\n        },\n        {\n          \"id\": \"65bf6ff190bbe63e6ad41b7c\",\n          \"title\": \"دو تخته دبل\",\n          \"capacity\": 2,\n          \"extra_capacity\": 1,\n          \"max_children_without_bed\": 1,\n          \"rooms_remaining_per_day\": [\n            {\n              \"date\": \"2024-11-02\",\n              \"count\": 0,\n              \"dedicated\": 0\n            }\n          ],\n          \"rooms_remaining\": 0\n        },\n        {\n          \"id\": \"6638a54c7b394b85b0bd2205\",\n          \"title\": \"سوئیت مجلل روزانه\",\n          \"capacity\": 2,\n          \"extra_capacity\": 2,\n          \"max_children_without_bed\": 1,\n          \"rooms_remaining_per_day\": [\n            {\n              \"date\": \"2024-11-02\",\n              \"count\": 0,\n              \"dedicated\": 0\n            }\n          ],\n          \"rooms_remaining\": 0\n        }\n      ],\n      \"room_rates\": [],\n      \"rate_plans\": [],\n      \"child_policies\": [\n        {\n            \"from\": 4,\n            \"to\": 5.99,\n            \"type\": \"CHILD\",\n            \"requires_bed\": true\n        },\n        {\n            \"from\": 0,\n            \"to\": 1.99,\n            \"type\": \"INFANT\",\n            \"requires_bed\": false\n        },\n        {\n            \"from\": 2,\n            \"to\": 3.99,\n            \"type\": \"TODDLER\",\n            \"requires_bed\": false\n        }\n      ],\n      \"chain_id\": \"\",\n      \"chain_title\": \"\"\n    }\n  ],\n  \"wage\": {\n    \"type\": \"percent\",\n    \"amount\": 1,\n    \"max\": 1500000\n  },\n  \"errors\": []\n}"}],"_postman_id":"555177b1-fe5d-4192-9998-11ebda4bd83c"},{"name":"Availability By Hotel List","id":"e83300ff-9c67-4872-8e63-d487fa7ce3bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"","description":"<p>Your API Key</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"lang\": \"fa_IR\",\n    \"start_date\": \"2025-02-12\",\n    \"end_date\": \"2025-02-15\",\n    \"currency\": \"IRR\",\n    \"user_country\": \"IR\",\n    \"city_id\": \"\",\n    \"hotel_ids\": [\n        \"664072da5adbe9bf70a25365\",\n        \"66410417288d7b111c3b1162\"\n    ],\n    \"show_constraints\": true,\n    \"skip_price_validation\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.lamasoo.com/booking/booking_availability_v2","description":"<p>This API returns all hotels in the specified city, with the rooms available for the requested date range.</p>\n","urlObject":{"path":["booking","booking_availability_v2"],"host":["https://api.lamasoo.com"],"query":[],"variable":[]}},"response":[{"id":"98251a6e-5483-4735-9876-78d5e464beba","name":"Availability By Hotel List","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","description":"Your Access Token","type":"text"},{"key":"Content-Type","value":"application/json","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"lang\": \"fa_IR\",\n    \"start_date\": \"2024-11-02\",\n    \"end_date\": \"2024-11-03\",\n    \"currency\": \"IRR\",\n    \"user_country\": \"IR\",\n    \"city_id\": \"\",\n    \"hotel_ids\": [\"664072da5adbe9bf70a25365\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.lamasoo.com/booking/booking_availability_v2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, Content-Disposition, X-Requested-With, X-Auth-Username, X-Admin-Auth, sentry-trace, availability-history, availability-history-size, agency-id, x-include-agency-provider, baggage"},{"key":"x-request-transaction-id","value":"N/A"},{"key":"lamasoo-transaction-id","value":"dc37d7e669b9b5da"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"610"},{"key":"ETag","value":"W/\"262-7pUzSjdcSC8F9DxI17MPpkQfF34\""},{"key":"Date","value":"Sat, 02 Nov 2024 12:24:09 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"lang\": \"fa_IR\",\n    \"currency\": \"IRR\",\n    \"hotels\": [\n        {\n            \"id\": \"664072da5adbe9bf70a25365\",\n            \"name\": \"هتل تست\",\n            \"room_types\": [\n                {\n                    \"id\": \"61cb107927f2235d911d7abf\",\n                    \"title\": \"کابانا استاندارد دونفره(محوطه)\",\n                    \"capacity\": 2,\n                    \"extra_capacity\": 1,\n                    \"rooms_remaining_per_day\": [\n                        {\n                            \"date\": \"2025-03-20\",\n                            \"count\": 3,\n                            \"dedicated\": 0\n                        },\n                        {\n                            \"date\": \"2025-03-21\",\n                            \"count\": 0,\n                            \"dedicated\": 0\n                        }\n                    ],\n                    \"rooms_remaining\": 0\n                },\n                {\n                    \"id\": \"61cb107927f22307141d7ac0\",\n                    \"title\": \"کابانا استاندارد سه نفره(محوطه)\",\n                    \"capacity\": 3,\n                    \"extra_capacity\": 0,\n                    \"rooms_remaining_per_day\": [\n                        {\n                            \"date\": \"2025-03-20\",\n                            \"count\": 8,\n                            \"dedicated\": 0\n                        },\n                        {\n                            \"date\": \"2025-03-21\",\n                            \"count\": 2,\n                            \"dedicated\": 0\n                        }\n                    ],\n                    \"rooms_remaining\": 2\n                }\n            ],\n            \"room_rates\": [\n                {\n                    \"room_type_id\": \"61cb107927f2235d911d7abf\",\n                    \"rate_plan_id\": \"1598_3817\",\n                    \"currency\": \"IRR\",\n                    \"prices\": [\n                        {\n                            \"date\": \"2025-03-20\",\n                            \"price\": 110000000,\n                            \"display_price\": 65000000,\n                            \"price_to_pay\": 59800000,\n                            \"extra_guest_price\": 10000000,\n                            \"extra_guest_price_to_pay\": 10000000,\n                            \"child_pricing\": [\n                                {\n                                    \"type\": \"INFANT\",\n                                    \"price_to_pay\": 0\n                                },\n                                {\n                                    \"type\": \"TODDLER\",\n                                    \"price_to_pay\": 6000000\n                                },\n                                {\n                                    \"type\": \"CHILD\",\n                                    \"price_to_pay\": 12000000\n                                }\n                            ]\n                        },\n                        {\n                            \"date\": \"2025-03-21\",\n                            \"price\": 110000000,\n                            \"display_price\": 65000000,\n                            \"price_to_pay\": 59800000,\n                            \"extra_guest_price\": 10000000,\n                            \"extra_guest_price_to_pay\": 10000000,\n                            \"child_pricing\": [\n                                {\n                                    \"type\": \"INFANT\",\n                                    \"price_to_pay\": 0\n                                },\n                                {\n                                    \"type\": \"TODDLER\",\n                                    \"price_to_pay\": 6000000\n                                },\n                                {\n                                    \"type\": \"CHILD\",\n                                    \"price_to_pay\": 12000000\n                                }\n                            ]\n                        }\n                    ],\n                    \"price\": {\n                        \"price\": 220000000,\n                        \"display_price\": 130000000,\n                        \"price_to_pay\": 119600000,\n                        \"taxes\": null,\n                        \"final_price\": 119600000,\n                        \"extra_guest_price\": 20000000,\n                        \"extra_guest_final_price\": 20000000,\n                        \"extra_guest_price_to_pay\": 20000000,\n                        \"child_pricing\": [\n                            {\n                                \"type\": \"INFANT\",\n                                \"price_to_pay\": 0\n                            },\n                            {\n                                \"type\": \"TODDLER\",\n                                \"price_to_pay\": 12000000\n                            },\n                            {\n                                \"type\": \"CHILD\",\n                                \"price_to_pay\": 24000000\n                            }\n                        ]\n                    }\n                },\n                {\n                    \"room_type_id\": \"61cb107927f22307141d7ac0\",\n                    \"rate_plan_id\": \"1598_3817\",\n                    \"currency\": \"IRR\",\n                    \"prices\": [\n                        {\n                            \"date\": \"2025-03-20\",\n                            \"price\": 120000000,\n                            \"display_price\": 70000000,\n                            \"price_to_pay\": 64400000,\n                            \"extra_guest_price\": 10000000,\n                            \"extra_guest_price_to_pay\": 10000000,\n                            \"child_pricing\": [\n                                {\n                                    \"type\": \"INFANT\",\n                                    \"price_to_pay\": 0\n                                },\n                                {\n                                    \"type\": \"TODDLER\",\n                                    \"price_to_pay\": 6000000\n                                },\n                                {\n                                    \"type\": \"CHILD\",\n                                    \"price_to_pay\": 12000000\n                                }\n                            ]\n                        },\n                        {\n                            \"date\": \"2025-03-21\",\n                            \"price\": 120000000,\n                            \"display_price\": 70000000,\n                            \"price_to_pay\": 64400000,\n                            \"extra_guest_price\": 10000000,\n                            \"extra_guest_price_to_pay\": 10000000,\n                            \"child_pricing\": [\n                                {\n                                    \"type\": \"INFANT\",\n                                    \"price_to_pay\": 0\n                                },\n                                {\n                                    \"type\": \"TODDLER\",\n                                    \"price_to_pay\": 6000000\n                                },\n                                {\n                                    \"type\": \"CHILD\",\n                                    \"price_to_pay\": 12000000\n                                }\n                            ]\n                        }\n                    ],\n                    \"price\": {\n                        \"price\": 240000000,\n                        \"display_price\": 140000000,\n                        \"price_to_pay\": 128800000,\n                        \"taxes\": null,\n                        \"final_price\": 128800000,\n                        \"extra_guest_price\": 20000000,\n                        \"extra_guest_final_price\": 20000000,\n                        \"extra_guest_price_to_pay\": 20000000,\n                        \"child_pricing\": [\n                            {\n                                \"type\": \"INFANT\",\n                                \"price_to_pay\": 0\n                            },\n                            {\n                                \"type\": \"TODDLER\",\n                                \"price_to_pay\": 12000000\n                            },\n                            {\n                                \"type\": \"CHILD\",\n                                \"price_to_pay\": 24000000\n                            }\n                        ]\n                    }\n                },\n                {\n                    \"room_type_id\": \"659271ac88830327dd6c8c6f\",\n                    \"rate_plan_id\": \"1598_3817\",\n                    \"currency\": \"IRR\",\n                    \"prices\": [\n                        {\n                            \"date\": \"2025-03-20\",\n                            \"price\": 130000000,\n                            \"display_price\": 80000000,\n                            \"price_to_pay\": 73600000,\n                            \"extra_guest_price\": 10000000,\n                            \"extra_guest_price_to_pay\": 10000000,\n                            \"child_pricing\": [\n                                {\n                                    \"type\": \"INFANT\",\n                                    \"price_to_pay\": 0\n                                },\n                                {\n                                    \"type\": \"TODDLER\",\n                                    \"price_to_pay\": 6000000\n                                },\n                                {\n                                    \"type\": \"CHILD\",\n                                    \"price_to_pay\": 12000000\n                                }\n                            ]\n                        },\n                        {\n                            \"date\": \"2025-03-21\",\n                            \"price\": 130000000,\n                            \"display_price\": 80000000,\n                            \"price_to_pay\": 73600000,\n                            \"extra_guest_price\": 10000000,\n                            \"extra_guest_price_to_pay\": 10000000,\n                            \"child_pricing\": [\n                                {\n                                    \"type\": \"INFANT\",\n                                    \"price_to_pay\": 0\n                                },\n                                {\n                                    \"type\": \"TODDLER\",\n                                    \"price_to_pay\": 6000000\n                                },\n                                {\n                                    \"type\": \"CHILD\",\n                                    \"price_to_pay\": 12000000\n                                }\n                            ]\n                        }\n                    ],\n                    \"price\": {\n                        \"price\": 260000000,\n                        \"display_price\": 160000000,\n                        \"price_to_pay\": 147200000,\n                        \"taxes\": null,\n                        \"final_price\": 147200000,\n                        \"extra_guest_price\": 20000000,\n                        \"extra_guest_final_price\": 20000000,\n                        \"extra_guest_price_to_pay\": 20000000,\n                        \"child_pricing\": [\n                            {\n                                \"type\": \"INFANT\",\n                                \"price_to_pay\": 0\n                            },\n                            {\n                                \"type\": \"TODDLER\",\n                                \"price_to_pay\": 12000000\n                            },\n                            {\n                                \"type\": \"CHILD\",\n                                \"price_to_pay\": 24000000\n                            }\n                        ]\n                    }\n                },\n                {\n                    \"room_type_id\": \"61cd74762bac942483f7e5f9\",\n                    \"rate_plan_id\": \"1598_3817\",\n                    \"currency\": \"IRR\",\n                    \"prices\": [\n                        {\n                            \"date\": \"2025-03-20\",\n                            \"price\": 120000000,\n                            \"display_price\": 70000000,\n                            \"price_to_pay\": 64400000,\n                            \"extra_guest_price\": 10000000,\n                            \"extra_guest_price_to_pay\": 10000000,\n                            \"child_pricing\": [\n                                {\n                                    \"type\": \"INFANT\",\n                                    \"price_to_pay\": 0\n                                },\n                                {\n                                    \"type\": \"TODDLER\",\n                                    \"price_to_pay\": 6000000\n                                },\n                                {\n                                    \"type\": \"CHILD\",\n                                    \"price_to_pay\": 12000000\n                                }\n                            ]\n                        },\n                        {\n                            \"date\": \"2025-03-21\",\n                            \"price\": 120000000,\n                            \"display_price\": 70000000,\n                            \"price_to_pay\": 64400000,\n                            \"extra_guest_price\": 10000000,\n                            \"extra_guest_price_to_pay\": 10000000,\n                            \"child_pricing\": [\n                                {\n                                    \"type\": \"INFANT\",\n                                    \"price_to_pay\": 0\n                                },\n                                {\n                                    \"type\": \"TODDLER\",\n                                    \"price_to_pay\": 6000000\n                                },\n                                {\n                                    \"type\": \"CHILD\",\n                                    \"price_to_pay\": 12000000\n                                }\n                            ]\n                        }\n                    ],\n                    \"price\": {\n                        \"price\": 240000000,\n                        \"display_price\": 140000000,\n                        \"price_to_pay\": 128800000,\n                        \"taxes\": null,\n                        \"final_price\": 128800000,\n                        \"extra_guest_price\": 20000000,\n                        \"extra_guest_final_price\": 20000000,\n                        \"extra_guest_price_to_pay\": 20000000,\n                        \"child_pricing\": [\n                            {\n                                \"type\": \"INFANT\",\n                                \"price_to_pay\": 0\n                            },\n                            {\n                                \"type\": \"TODDLER\",\n                                \"price_to_pay\": 12000000\n                            },\n                            {\n                                \"type\": \"CHILD\",\n                                \"price_to_pay\": 24000000\n                            }\n                        ]\n                    }\n                },\n                {\n                    \"room_type_id\": \"61cb107927f2237cdb1d7ac8\",\n                    \"rate_plan_id\": \"1598_3817\",\n                    \"currency\": \"IRR\",\n                    \"prices\": [\n                        {\n                            \"date\": \"2025-03-20\",\n                            \"price\": 170000000,\n                            \"display_price\": 140000000,\n                            \"price_to_pay\": 128800000,\n                            \"extra_guest_price\": 10000000,\n                            \"extra_guest_price_to_pay\": 10000000,\n                            \"child_pricing\": [\n                                {\n                                    \"type\": \"INFANT\",\n                                    \"price_to_pay\": 0\n                                },\n                                {\n                                    \"type\": \"TODDLER\",\n                                    \"price_to_pay\": 6000000\n                                },\n                                {\n                                    \"type\": \"CHILD\",\n                                    \"price_to_pay\": 12000000\n                                }\n                            ]\n                        },\n                        {\n                            \"date\": \"2025-03-21\",\n                            \"price\": 170000000,\n                            \"display_price\": 140000000,\n                            \"price_to_pay\": 128800000,\n                            \"extra_guest_price\": 10000000,\n                            \"extra_guest_price_to_pay\": 10000000,\n                            \"child_pricing\": [\n                                {\n                                    \"type\": \"INFANT\",\n                                    \"price_to_pay\": 0\n                                },\n                                {\n                                    \"type\": \"TODDLER\",\n                                    \"price_to_pay\": 6000000\n                                },\n                                {\n                                    \"type\": \"CHILD\",\n                                    \"price_to_pay\": 12000000\n                                }\n                            ]\n                        }\n                    ],\n                    \"price\": {\n                        \"price\": 340000000,\n                        \"display_price\": 280000000,\n                        \"price_to_pay\": 257600000,\n                        \"taxes\": null,\n                        \"final_price\": 257600000,\n                        \"extra_guest_price\": 20000000,\n                        \"extra_guest_final_price\": 20000000,\n                        \"extra_guest_price_to_pay\": 20000000,\n                        \"child_pricing\": [\n                            {\n                                \"type\": \"INFANT\",\n                                \"price_to_pay\": 0\n                            },\n                            {\n                                \"type\": \"TODDLER\",\n                                \"price_to_pay\": 12000000\n                            },\n                            {\n                                \"type\": \"CHILD\",\n                                \"price_to_pay\": 24000000\n                            }\n                        ]\n                    }\n                }\n            ],\n            \"rate_plans\": [\n                {\n                    \"id\": \"1598_3817\",\n                    \"title\": \"صبحانه,8 درصدی آژانس ها\",\n                    \"meal_type\": \"BB\",\n                    \"transfer\": \"\",\n                    \"currency\": \"IRR\",\n                    \"extra_guest_cost_per_day\": [\n                        {\n                            \"date\": \"2025-03-20\",\n                            \"price\": 10000000,\n                            \"price_to_pay\": 10000000\n                        },\n                        {\n                            \"date\": \"2025-03-21\",\n                            \"price\": 10000000,\n                            \"price_to_pay\": 10000000\n                        }\n                    ],\n                    \"extra_guest_cost\": {\n                        \"price\": 20000000,\n                        \"price_to_pay\": 20000000,\n                        \"taxes\": 0,\n                        \"final_price\": 20000000\n                    },\n                    \"children_policies\": [],\n                    \"baseCurrency\": \"IRR\",\n                    \"exchangeRate\": 1,\n                    \"exchangeRateToIRR\": 1\n                }\n            ],\n            \"child_policies\": [\n                {\n                    \"from\": 4,\n                    \"to\": 5.99,\n                    \"type\": \"CHILD\",\n                    \"requires_bed\": true\n                },\n                {\n                    \"from\": 0,\n                    \"to\": 1.99,\n                    \"type\": \"INFANT\",\n                    \"requires_bed\": false\n                },\n                {\n                    \"from\": 2,\n                    \"to\": 3.99,\n                    \"type\": \"TODDLER\",\n                    \"requires_bed\": false\n                }\n            ],\n            \"chain_id\": \"6283b2c28b432b067138ec82\",\n            \"chain_title\": \"زنجیره هتل های همکاران لاماسو\"\n        }\n    ],\n    \"wage\": {\n        \"type\": \"percent\",\n        \"amount\": 0,\n        \"max\": 150000\n    },\n    \"errors\": []\n}"}],"_postman_id":"e83300ff-9c67-4872-8e63-d487fa7ce3bc"},{"name":"Availability Currency Conversion","id":"2438d1e6-d519-4119-a4b6-5a7601bea237","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"","description":"<p>Your API Key</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"lang\": \"fa_IR\",\n    \"start_date\": \"2024-11-02\",\n    \"end_date\": \"2024-11-03\",\n    \"currency\": \"USD\",\n    \"user_country\": \"IR\",\n    \"city_id\": \"\",\n    \"hotel_ids\": [\"6716301fe3d72fb0b14780f6\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.lamasoo.com/booking/booking_availability_v2","description":"<p>It's possible to specify the currency you wish to receive your rates in.</p>\n","urlObject":{"path":["booking","booking_availability_v2"],"host":["https://api.lamasoo.com"],"query":[],"variable":[]}},"response":[{"id":"ce46ec14-ba71-4c32-99d8-f6dba29b6445","name":"Availability Currency Conversion","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","description":"Your Access Token","type":"text"},{"key":"Content-Type","value":"application/json","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"lang\": \"fa_IR\",\n    \"start_date\": \"2024-11-02\",\n    \"end_date\": \"2024-11-03\",\n    \"currency\": \"USD\",\n    \"user_country\": \"IR\",\n    \"city_id\": \"\",\n    \"hotel_ids\": [\"6716301fe3d72fb0b14780f6\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.lamasoo.com/booking/booking_availability_v2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, Content-Disposition, X-Requested-With, X-Auth-Username, X-Admin-Auth, sentry-trace, availability-history, availability-history-size, agency-id, x-include-agency-provider, baggage"},{"key":"x-request-transaction-id","value":"N/A"},{"key":"lamasoo-transaction-id","value":"618e18db60034e04"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2491"},{"key":"ETag","value":"W/\"9bb-CUJXuRPMflCvcPMTGySB4xUH1Ew\""},{"key":"Date","value":"Sat, 02 Nov 2024 12:10:18 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"lang\": \"fa_IR\",\n    \"currency\": \"USD\",\n    \"hotels\": [\n        {\n            \"id\": \"6716301fe3d72fb0b14780f6\",\n            \"name\": \"هتل تست\",\n            \"room_types\": [\n                {\n                    \"id\": \"67163071057edbfff2f1a68d\",\n                    \"title\": \"یک تخته\",\n                    \"capacity\": 1,\n                    \"extra_capacity\": 1,\n                    \"max_children_without_bed\": 1,\n                    \"rooms_remaining_per_day\": [\n                        {\n                            \"date\": \"2024-11-02\",\n                            \"count\": 9,\n                            \"dedicated\": 0\n                        }\n                    ],\n                    \"rooms_remaining\": 9\n                },\n                {\n                    \"id\": \"6716307de3d72fb0b1478102\",\n                    \"title\": \"دو تخته دبل\",\n                    \"capacity\": 2,\n                    \"extra_capacity\": 1,\n                    \"max_children_without_bed\": 1,\n                    \"rooms_remaining_per_day\": [\n                        {\n                            \"date\": \"2024-11-02\",\n                            \"count\": 10,\n                            \"dedicated\": 0\n                        }\n                    ],\n                    \"rooms_remaining\": 10\n                }\n            ],\n            \"room_rates\": [\n                {\n                    \"room_type_id\": \"67163071057edbfff2f1a68d\",\n                    \"rate_plan_id\": \"42_57\",\n                    \"currency\": \"USD\",\n                    \"prices\": [\n                        {\n                            \"date\": \"2024-11-02\",\n                            \"price\": 22,\n                            \"display_price\": 21,\n                            \"price_to_pay\": 20,\n                            \"extra_guest_price\": 10,\n                            \"extra_guest_price_to_pay\": 10,\n                            \"child_pricing\": [\n                                {\n                                    \"type\": \"INFANT\",\n                                    \"price_to_pay\": 0\n                                },\n                                {\n                                    \"type\": \"TODDLER\",\n                                    \"price_to_pay\": 6\n                                },\n                                {\n                                    \"type\": \"CHILD\",\n                                    \"price_to_pay\": 12\n                                }\n                            ]\n                        }\n                    ],\n                    \"price\": {\n                        \"price\": 22,\n                        \"display_price\": 21,\n                        \"price_to_pay\": 20,\n                        \"taxes\": null,\n                        \"final_price\": 20,\n                        \"extra_guest_price\": 10,\n                        \"extra_guest_final_price\": 10,\n                        \"extra_guest_price_to_pay\": 10,\n                        \"child_pricing\": [\n                            {\n                                \"type\": \"INFANT\",\n                                \"price_to_pay\": 0\n                            },\n                            {\n                                \"type\": \"TODDLER\",\n                                \"price_to_pay\": 6\n                            },\n                            {\n                                \"type\": \"CHILD\",\n                                \"price_to_pay\": 12\n                            }\n                        ]\n                    }\n                },\n                {\n                    \"room_type_id\": \"6716307de3d72fb0b1478102\",\n                    \"rate_plan_id\": \"42_57\",\n                    \"currency\": \"USD\",\n                    \"prices\": [\n                        {\n                            \"date\": \"2024-11-02\",\n                            \"price\": 25,\n                            \"display_price\": 23,\n                            \"price_to_pay\": 23,\n                            \"extra_guest_price\": 10,\n                            \"extra_guest_price_to_pay\": 10,\n                            \"child_pricing\": [\n                                {\n                                    \"type\": \"INFANT\",\n                                    \"price_to_pay\": 0\n                                },\n                                {\n                                    \"type\": \"TODDLER\",\n                                    \"price_to_pay\": 6\n                                },\n                                {\n                                    \"type\": \"CHILD\",\n                                    \"price_to_pay\": 12\n                                }\n                            ]\n                        }\n                    ],\n                    \"price\": {\n                        \"price\": 25,\n                        \"display_price\": 23,\n                        \"price_to_pay\": 23,\n                        \"taxes\": null,\n                        \"final_price\": 23,\n                        \"extra_guest_price\": 10,\n                        \"extra_guest_final_price\": 10,\n                        \"extra_guest_price_to_pay\": 10,\n                        \"child_pricing\": [\n                            {\n                                \"type\": \"INFANT\",\n                                \"price_to_pay\": 0\n                            },\n                            {\n                                \"type\": \"TODDLER\",\n                                \"price_to_pay\": 6\n                            },\n                            {\n                                \"type\": \"CHILD\",\n                                \"price_to_pay\": 12\n                            }\n                        ]\n                    }\n                },\n                {\n                    \"room_type_id\": \"67163071057edbfff2f1a68d\",\n                    \"rate_plan_id\": \"42_58\",\n                    \"currency\": \"USD\",\n                    \"prices\": [\n                        {\n                            \"date\": \"2024-11-02\",\n                            \"price\": 22,\n                            \"display_price\": 21,\n                            \"price_to_pay\": 21,\n                            \"extra_guest_price\": 10,\n                            \"extra_guest_price_to_pay\": 10,\n                            \"child_pricing\": [\n                                {\n                                    \"type\": \"INFANT\",\n                                    \"price_to_pay\": 0\n                                },\n                                {\n                                    \"type\": \"TODDLER\",\n                                    \"price_to_pay\": 6\n                                },\n                                {\n                                    \"type\": \"CHILD\",\n                                    \"price_to_pay\": 12\n                                }\n                            ]\n                        }\n                    ],\n                    \"price\": {\n                        \"price\": 22,\n                        \"display_price\": 21,\n                        \"price_to_pay\": 21,\n                        \"taxes\": null,\n                        \"final_price\": 21,\n                        \"extra_guest_price\": 10,\n                        \"extra_guest_final_price\": 10,\n                        \"extra_guest_price_to_pay\": 10,\n                        \"child_pricing\": [\n                            {\n                                \"type\": \"INFANT\",\n                                \"price_to_pay\": 0\n                            },\n                            {\n                                \"type\": \"TODDLER\",\n                                \"price_to_pay\": 6\n                            },\n                            {\n                                \"type\": \"CHILD\",\n                                \"price_to_pay\": 12\n                            }\n                        ]\n                    }\n                }\n            ],\n            \"rate_plans\": [\n                {\n                    \"id\": \"42_57\",\n                    \"title\": \"صبحانه,۱۰ درصدی\",\n                    \"meal_type\": \"BB\",\n                    \"transfer\": \"\",\n                    \"currency\": \"USD\",\n                    \"extra_guest_cost_per_day\": [\n                        {\n                            \"date\": \"2024-11-02\",\n                            \"price\": 10,\n                            \"price_to_pay\": 10\n                        }\n                    ],\n                    \"extra_guest_cost\": {\n                        \"price\": 10,\n                        \"price_to_pay\": 10,\n                        \"taxes\": 0,\n                        \"final_price\": 10\n                    },\n                    \"children_policies\": [],\n                    \"baseCurrency\": \"USD\",\n                    \"exchangeRate\": 1,\n                    \"exchangeRateToIRR\": 500000\n                },\n                {\n                    \"id\": \"42_58\",\n                    \"title\": \"صبحانه,قیمت نهایی ۱\",\n                    \"meal_type\": \"BB\",\n                    \"transfer\": \"\",\n                    \"currency\": \"USD\",\n                    \"extra_guest_cost_per_day\": [\n                        {\n                            \"date\": \"2024-11-02\",\n                            \"price\": 10,\n                            \"price_to_pay\": 10\n                        }\n                    ],\n                    \"extra_guest_cost\": {\n                        \"price\": 10,\n                        \"price_to_pay\": 10,\n                        \"taxes\": 0,\n                        \"final_price\": 10\n                    },\n                    \"children_policies\": [],\n                    \"baseCurrency\": \"USD\",\n                    \"exchangeRate\": 1,\n                    \"exchangeRateToIRR\": 500000\n                }\n            ],\n            \"child_policies\": [\n                {\n                    \"from\": 4,\n                    \"to\": 5.99,\n                    \"type\": \"CHILD\",\n                    \"requires_bed\": true\n                },\n                {\n                    \"from\": 0,\n                    \"to\": 1.99,\n                    \"type\": \"INFANT\",\n                    \"requires_bed\": false\n                },\n                {\n                    \"from\": 2,\n                    \"to\": 3.99,\n                    \"type\": \"TODDLER\",\n                    \"requires_bed\": false\n                }\n            ],\n            \"chain_id\": \"\",\n            \"chain_title\": \"\"\n        }\n    ],\n    \"wage\": {\n        \"type\": \"percent\",\n        \"amount\": 1,\n        \"max\": 1500000\n    },\n    \"errors\": []\n}"}],"_postman_id":"2438d1e6-d519-4119-a4b6-5a7601bea237"}],"id":"8f213ccf-4f03-40f9-a763-a55f425aed0d","description":"<p>This API allows querying hotels and receiving rates based on a specific date range. There are two methods of availability:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method</strong></th>\n<th><strong>URL</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Availability By City</td>\n<td><a href=\"https://api.lamasoo.com/booking/booking_availability_v2\">https://api.lamasoo.com/booking/booking_availability_v2</a></td>\n</tr>\n<tr>\n<td>Availability By Hotel List</td>\n<td><a href=\"https://api.lamasoo.com/booking/booking_availability_v2\">https://api.lamasoo.com/booking/booking_availability_v2</a></td>\n</tr>\n</tbody>\n</table>\n</div><p>Both methods requires you to first establish a <strong>contract</strong> with the hotels you're interested to work with. You can establish a contract with hotel by communicating with our support team.</p>\n<h2 id=\"request-parameters\">Request Parameters:</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"lang\": \"fa_IR\",\n    \"start_date\": \"2024-11-02\",\n    \"end_date\": \"2024-11-03\",\n    \"currency\": \"IRR\",\n    \"user_country\": \"IR\",\n    \"city_id\": \"588ba78a582469c0c591eab1\",\n    \"hotel_ids\": [],\n    \"show_constraints\": true,\n    \"skip_price_validation\": true\n}\n\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Valid Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>lang</td>\n<td>language to recieve logs/errors</td>\n<td>fa_IR, en_US</td>\n</tr>\n<tr>\n<td>start_date</td>\n<td>The begining of search date range</td>\n<td>any date after today</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>The end of the search date range</td>\n<td>any date after today</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>Specifeis the currency you want the prices convert to</td>\n<td>IRR,AED,USD</td>\n</tr>\n<tr>\n<td>city_id</td>\n<td>Calls availability by city method</td>\n<td>city id retrived from GET Cities</td>\n</tr>\n<tr>\n<td>hotel_ids</td>\n<td>Calls availability by hotel ids method</td>\n<td>list of hotel ids retrived from GET hotel inventory</td>\n</tr>\n<tr>\n<td>show_constraints</td>\n<td>You'll constraints set on hotel daily availability, it's recommened to set true</td>\n<td>true/false</td>\n</tr>\n<tr>\n<td>skip_price_validation</td>\n<td>Include/Exclude rooms that prices are not set</td>\n<td>true/false</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"error-4xx-5xx\">Error 4xx, 5xx</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>code</td>\n<td>1: Unknown Error.  <br />2: Cannot Parse Request.  <br />4: Timeout requested. Ask to requests for the specified time.  <br />5: Recoverable Error. Equivalent to http 503.</td>\n</tr>\n<tr>\n<td>message</td>\n<td>String describing the error. Used for debugging. Maximum length is 1000 characters.</td>\n</tr>\n<tr>\n<td>timeout</td>\n<td>Number of seconds you should stop sending requests for use with Error Code 4.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>lang</td>\n<td>language which logs/errors are returned with</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>The currency the prices are converted to</td>\n</tr>\n<tr>\n<td>hotels</td>\n<td>list of hotels with availability and rates details</td>\n</tr>\n<tr>\n<td>hotels.id</td>\n<td>id of hotel</td>\n</tr>\n<tr>\n<td>hotels.name</td>\n<td>name of the hotel</td>\n</tr>\n<tr>\n<td>hotel.room_types</td>\n<td>details of room types and availability of them</td>\n</tr>\n<tr>\n<td>hotels.room_types.id</td>\n<td>id of the rooms type</td>\n</tr>\n<tr>\n<td>hotels.room_types.title</td>\n<td>name or title of the room type</td>\n</tr>\n<tr>\n<td>hotels.room_types.capacity</td>\n<td>number of beds in the room by default</td>\n</tr>\n<tr>\n<td>hotels.room_types.extra_capacity</td>\n<td>number of extra beds that can be added to the room with extra cost</td>\n</tr>\n<tr>\n<td>hotels.room_types.max_children_without_bed</td>\n<td>number of children who can enter the room without needing a bed. The age of the children who don't need bed is mentioned in hotels.child_policies</td>\n</tr>\n<tr>\n<td>hotels.room_types.rooms_remaining_per_day</td>\n<td>details of availability of the room per day of the requested date</td>\n</tr>\n<tr>\n<td>hotels.room_types.rooms_remaining_per_day.date</td>\n<td>date of the availability</td>\n</tr>\n<tr>\n<td>hotels.room_types.rooms_remaining_per_day.count</td>\n<td>total count of the rooms available on this date</td>\n</tr>\n<tr>\n<td>hotels.room_types.rooms_remaining_per_day.dedicated</td>\n<td>total count of the rooms available dedicated for your agency on this date</td>\n</tr>\n<tr>\n<td>hotels.room_types.rooms_remaining</td>\n<td>total rooms available to book in this date range</td>\n</tr>\n<tr>\n<td>hotels.room_rates</td>\n<td>details of room type rates based on different rate plans</td>\n</tr>\n<tr>\n<td>hotels.room_rates.room_type_id</td>\n<td>the id of the room type, it should match to one of the hotels.room_types.id</td>\n</tr>\n<tr>\n<td>hotels.room_rates.rate_plan_id</td>\n<td>the id of the rate paln, it should match to one of the hotels.rate_plans.id</td>\n</tr>\n<tr>\n<td>hotels.room_rates.currency</td>\n<td>the currency of this room rate</td>\n</tr>\n<tr>\n<td>hotels.room_rates.prices</td>\n<td>list of room prices per day of the requested date</td>\n</tr>\n<tr>\n<td>hotels.room_rates.prices.date</td>\n<td>the date of the price</td>\n</tr>\n<tr>\n<td>hotels.room_rates.prices.price</td>\n<td>the board price of the room type</td>\n</tr>\n<tr>\n<td>hotels.room_rates.prices.display_price</td>\n<td>the price you should display on your website. This is usually recomended, it already markedup the price compared to price_to_pay.</td>\n</tr>\n<tr>\n<td>hotels.room_rates.prices.price_to_pay</td>\n<td>the price you pay the hotel (Lamasoo wage also will be included)</td>\n</tr>\n<tr>\n<td>hotels.room_rates.prices.extra_guest_price</td>\n<td>the price of a extra adult guest in the room</td>\n</tr>\n<tr>\n<td>hotels.room_rates.prices.extra_guest_price_to_pay</td>\n<td>the price the extra adult guest after your contract discount</td>\n</tr>\n<tr>\n<td>hotels.room_rates.prices.child_pricing</td>\n<td>the list of prices per child policy</td>\n</tr>\n<tr>\n<td>hotels.room_rates.prices.child_pricing.type</td>\n<td>the type of child policy. It's either INFANT, TODDLER, CHILD. but the ages might vary based on the hotels.child_policies</td>\n</tr>\n<tr>\n<td>hotels.room_rates.prices.child_pricing.price_to_pay</td>\n<td>the price for that child type</td>\n</tr>\n<tr>\n<td>hotels.room_rates.price</td>\n<td>the sum of price for all days</td>\n</tr>\n<tr>\n<td>hotels.room_rates.price.price</td>\n<td>total board price of the room type</td>\n</tr>\n<tr>\n<td>hotels.room_rates.price.display_price</td>\n<td>total display price of the room type, the price you should display on your website. This is usually recomended, it already markedup the price compared to price_to_pay.</td>\n</tr>\n<tr>\n<td>hotels.room_rates.price.price_to_pay</td>\n<td>The price after your contract discount. This is what you pay hotel (Lamasoo wage also will be included)</td>\n</tr>\n<tr>\n<td>hotels.room_rates.price.taxes</td>\n<td>The tax on your payment. (usually zero and soon will be deprecated)</td>\n</tr>\n<tr>\n<td>hotels.room_rates.price.final_price</td>\n<td>price_to_pay + tax</td>\n</tr>\n<tr>\n<td>hotels.room_rates.price.exrta_guest_price</td>\n<td>the board price of the extra adult guest in the room</td>\n</tr>\n<tr>\n<td>hotels.room_rates.price.extra_guest_final_price</td>\n<td>price_to_pay of extra adult guest + tax</td>\n</tr>\n<tr>\n<td>hotels.room_rates.price.extra_guest_price_to_pay</td>\n<td>the price of the extra adult guest after your contract discount</td>\n</tr>\n<tr>\n<td>hotels.room_rates.price.price.child_pricing</td>\n<td>total prices for each child type</td>\n</tr>\n<tr>\n<td>hotels.room_rates.price.price.child_pricing.type</td>\n<td>the type of the child, it should match to one of the items of hotels.child_policies</td>\n</tr>\n<tr>\n<td>hotels.room_rates.price.pricechild_pricing.price_to_pay</td>\n<td>the price you pay hotel for extra child of this type for all days of the requested date range</td>\n</tr>\n<tr>\n<td>hotels.rate_plans</td>\n<td>list of rate plans for this hotel, rate plan is different than meal type it might be created for a certain type of nationality or might have special offers on them.</td>\n</tr>\n<tr>\n<td>hotels.rate_plans.id</td>\n<td>id of the rate plan</td>\n</tr>\n<tr>\n<td>hotels.rate_plans.title</td>\n<td>name or title of the rate plan</td>\n</tr>\n<tr>\n<td>hotels.rate_plans.meal_type</td>\n<td>meal type of this rate plan it's either of BB, FB, UAI, RO, HB</td>\n</tr>\n<tr>\n<td>hotels.rate_plans.transfer</td>\n<td>any details of transfer service on this rate plan in form of string</td>\n</tr>\n<tr>\n<td>hotels.rate_plans.currency</td>\n<td>the currency this rate_plan prices have</td>\n</tr>\n<tr>\n<td>hotels.rate_plans.extra_guest_const_per_day</td>\n<td>price of a adult extra guest in this rate plan</td>\n</tr>\n<tr>\n<td>hotels.rate_plans.extra_guest_const_per_day.date</td>\n<td>the date of this extra guest price</td>\n</tr>\n<tr>\n<td>hotels.rate_plans.extra_guest_const_per_day.price</td>\n<td>the price of a adult extra guest in this date</td>\n</tr>\n<tr>\n<td>hotels.rate_plans.extra_guest_const_per_day.price_to_pay</td>\n<td>the price to pay hotel after your contract discount for an adult extra guest for this rate plan on this date</td>\n</tr>\n<tr>\n<td>hotels.rate_plans.extra_guest_cost</td>\n<td>the total for an adult extra guest for this rate plan</td>\n</tr>\n<tr>\n<td>hotels.rate_plans.extra_guest_cost.price</td>\n<td>the total board price for and adult extra gues for this rate plan</td>\n</tr>\n<tr>\n<td>hotels.rate_plans.extra_guest_cost.price_to_pay</td>\n<td>the total price you pay hotel after your contract discount for an adult extra guest for this rate plan</td>\n</tr>\n<tr>\n<td>hotels.rate_plans.extra_guest_cost.taxes</td>\n<td>the tax for an extra guest (usually zero and soon will be depricated)</td>\n</tr>\n<tr>\n<td>hotels.rate_plans.extra_guest_cost.final_price</td>\n<td>price_to_pay + tax for an adult exta gues</td>\n</tr>\n<tr>\n<td>hotels.rate_plans.children_policies</td>\n<td>[DEPRECATED] the list of child policies for this rate plan</td>\n</tr>\n<tr>\n<td>hotels.rate_plans.baseCurrency</td>\n<td>the currency this hotel is priced with</td>\n</tr>\n<tr>\n<td>hotels.rate_plans.exchangeRate</td>\n<td>the rate of the currency market to swap the base currency to the currency you've requested</td>\n</tr>\n<tr>\n<td>hotels.rate_plans.exchangeRateToIRR</td>\n<td>the rate of exchange rate for the base currency to be swapped to IR Rials.</td>\n</tr>\n<tr>\n<td>hotels.child_policies</td>\n<td>list of the children types with age ranges and wether they must have a bed or not</td>\n</tr>\n<tr>\n<td>hotels.child_policies.from</td>\n<td>start of the age range</td>\n</tr>\n<tr>\n<td>hotels.child_policies.to</td>\n<td>end of the age range</td>\n</tr>\n<tr>\n<td>hotels.child_policies.type</td>\n<td>the type of the child. it's either INFANT, TODDLER, CHILD</td>\n</tr>\n<tr>\n<td>hotels.child_policies.requires_bed</td>\n<td>whether the child requires a bed or not</td>\n</tr>\n<tr>\n<td>wage</td>\n<td>details of you agency wage config</td>\n</tr>\n<tr>\n<td>wage.type</td>\n<td>the type of the wage it can be percent or fixed</td>\n</tr>\n<tr>\n<td>wage.amount</td>\n<td>the amount for the wage type for example amount=1 for a type=percent will be considered as one percent</td>\n</tr>\n<tr>\n<td>wage.max</td>\n<td>maximum of wage you pay on every booking</td>\n</tr>\n<tr>\n<td>errors</td>\n<td>list of errors happened withing this availability</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"bypass-price-validation\">Bypass Price Validation</h3>\n<p><strong><code>skip_price_validation</code></strong> argument in request body, allows you to retrieve ARI (Availability, Rates, and Inventory) data even when some prices are not specified.</p>\n<p>For example, if you request ARI data for dates 1 to 10, but prices are missing for dates 3 to 6, enabling this attribute will bypass price validation and still return the available ARI data.</p>\n<h3 id=\"master-contract-feature\">Master Contract Feature</h3>\n<p>To utilize the Master Contract feature, please refer to the Availability By City (Master Contract) example:</p>\n<ul>\n<li><p><strong>Header:</strong><br />  Add the header <code>x-include-agency-provider</code> with the value <code>true</code>.</p>\n</li>\n<li><p><strong>Rate Plan Selection:</strong><br />  In the <strong>rate_plans</strong> response, locate the<code>agency_provider_id</code> and use it as required in your request.</p>\n</li>\n</ul>\n<h3 id=\"availability-constraints-explanation\">Availability Constraints Explanation:</h3>\n<p>In availability response, if <code>show_constraints</code> is set <code>true</code> in your request, under the <strong>hotels[].room_types[].rooms_remaining_per_day[]</strong> you'll find a list objects similar to:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">\"rooms_remaining_per_day\": [\n        {\n            \"date\": \"2025-01-25\",\n            \"count\": 11,\n            \"dedicated\": 0,\n            \"CTA\": true,\n            \"CTD\": true,\n            \"minLOS\": 2,\n            \"maxLOS\": 3,\n            \"stopSell\": false\n        }\n],\n\n</code></pre>\n<p>Here is an explanation of each field and the expected behavior of the \"Booking Submit\" API with these conditions. Examples of each constraint can be found in the <a href=\"#d14a9ddd-6cc3-4c24-8f0b-80fe63c18529\">Booking Submit Fail Scenarios</a>.</p>\n<p><strong>date:</strong><br />Specifies the date this object describes. For each day in your request, there should be one object in <code>rooms_remaining_per_day</code>.</p>\n<p><strong>count:</strong><br />Indicates the number of available rooms for this date and the corresponding room type.</p>\n<p><strong>dedicated:</strong><br />Similar to \"count,\" but the \"dedicated\" count refers to the number of rooms available exclusively for your organization. Unlike \"count,\" the number of dedicated rooms is unique to your API token, meaning other agencies cannot view or reserve these rooms. To acquire dedicated hotel room capacity, contact support to establish an agreement between your organization and the hotel.</p>\n<p><strong>CTA (Closed To Arrival):</strong><br />When CTA is set to true, this date is \"Closed To Arrival,\" meaning you cannot book a reservation that starts on this date.</p>\n<p><strong>CTD (Closed To Departure):</strong><br />When CTD is set to true, this date is \"Closed To Departure,\" meaning you cannot book a reservation that ends on this date.</p>\n<p><strong>minLOS (Minimum Length of Stay):</strong><br />Short for \"Minimum Length of Stay,\" this indicates that your reservation must be equal to or greater than the <code>minLOS</code> value in order to be booked.</p>\n<p><strong>maxLOS (Maximum Length of Stay):</strong><br />Short for \"Maximum Length of Stay,\" this indicates that your reservation must not exceed the <code>maxLOS</code> value in order to be booked.</p>\n<p><strong>stopSell:</strong><br />If you encounter one or more <code>stopSell=true</code> values in the availability response (<code>rooms_remaining_per_day</code>), the reservation will fail. This indicates that under no circumstances can the room be booked on that date.</p>\n","_postman_id":"8f213ccf-4f03-40f9-a763-a55f425aed0d"},{"name":"Reservation APIs","item":[{"name":"Booking Submit","event":[{"listen":"prerequest","script":{"id":"835533c5-1b31-48fc-b906-52fe6f0e3ca8","exec":["function makeid(length) {","    let result = '';","    const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';","    const charactersLength = characters.length;","    let counter = 0;","    while (counter < length) {","      result += characters.charAt(Math.floor(Math.random() * charactersLength));","      counter += 1;","    }","    return result;","}","","pm.environment.set('YOUR_CUSTOM_REFERENCE_ID', makeid(10));"],"type":"text/javascript","packages":{}}}],"id":"d70ea772-1400-460d-ab17-73f865a7d903","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{apiKey}}","description":"<p>Your API Key</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"checkin_date\": \"2024-11-03\",\n    \"checkout_date\": \"2024-11-04\",\n    \"hotel_id\": \"6716301fe3d72fb0b14780f6\",\n    \"reference_id\": \"{{YOUR_CUSTOM_REFERENCE_ID}}\",\n    \"customer\": {\n        \"first_name\": \"تست\",\n        \"last_name\": \"لاماسو\",\n        \"national_code\": \"0690673604\",\n        \"phone_number\": \"09123456789\",\n        \"country\": \"IR\"\n    },\n    \"rooms\": [\n        {\n            \"type_id\": \"67163071057edbfff2f1a68d\",\n            \"count\": 1,\n            \"party\": {\n                \"adults\": 1,\n                \"children\": []\n            },\n            \"guests\": [\n            ]\n        }\n    ],\n    \"rate_plan_id\": \"42_57\"\n}"},"url":"https://api.lamasoo.com/booking/async/booking_submit","description":"<p>This API is the first step to submitting a reservation. It will lock the rooms requested for 15 minutes until you proceed with your payment process. To finalize the reservation you should call <strong>booking confirm</strong>.</p>\n<p>To utilize the Master Contract feature, please refer to the <strong>Booking Submit (Master Contract)</strong> example:</p>\n<ul>\n<li><p><strong>Request Body:</strong><br />  Ensure that the <code>agency_provider_id</code> value is included in the request body.</p>\n</li>\n<li><p><strong>Rate Plan Selection:</strong><br />  Use a <code>rate_plan</code> that corresponds to the <code>agency_provider_id</code> found in the Booking Availability response.</p>\n</li>\n</ul>\n<h3 id=\"error-4xx-5xx\">Error 4xx, 5xx</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>code</td>\n<td>1: Unknown Error.  <br />2: Cannot Parse Request.  <br />3: Invalid Hotel ID.  <br />4: Timeout requested. Ask to requests for the specified time.  <br />5: Recoverable Error. Equivalent to http 503.  <br />6: You haven't defined any contracts with the given hotel.  <br />7: Unable to retrieve hotel's data.  <br />8: Invalid RoomType ID.  <br />9: Over capacity.  <br />10: Duplicate reference ID.  <br />11: No available room is remaining.  <br />12: No reservation found.  <br />13: Credit is not enough for reservation.  <br />21: Maximum number of children without bed exceeded.  <br />22.number of children who need bed exceeded the number of beds available</td>\n</tr>\n<tr>\n<td>message</td>\n<td>String describing the error. Used for debugging. Maximum length is 1000 characters.</td>\n</tr>\n<tr>\n<td>timeout</td>\n<td>Number of seconds you should stop sending requests for use with Error Code 4.</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"lamasoo-fee\">Lamasoo Fee</h1>\n<p>At the end of availability response you can find <code>wage</code> field with this format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"wage\": {\n    \"type\": \"percent\",\n    \"amount\": 1,\n    \"max\": 1500000\n  },\n\n</code></pre><p>This field defines how Lamasoo fee is calculated, for instance consider the values above, it's indicating the wage is 1 percent of the reservation amount with maximum of 15k Rials.</p>\n<p>For example if the a room price is 1000 Rials, the Lamasoo fee will be 10 Rials and the final payment should be 1010 Rials.</p>\n<p>When Booking-Submit API is called, the <code>price_to_pay</code> field will be total reservation amount + Lamasoo field, it also breaks it down to the <strong>hotel share</strong> and <strong>Lamasoo share</strong> along with the <code>price_to_pay</code> field.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">payment_details\": {\n    \"price_to_pay\": 9999000,\n    \"hotel_share\": 9900000,\n    \"lamasoo_share\": 99000,\n    \"invoice\": 2384771780,\n    \"URL\": \"\"\n  },\n\n</code></pre>\n","urlObject":{"path":["booking","async","booking_submit"],"host":["https://api.lamasoo.com"],"query":[],"variable":[]}},"response":[{"id":"63f029f3-11cd-41ac-bb44-f22010926e8b","name":"Booking Submit","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{apiKey}}"}],"body":{"mode":"raw","raw":"{\n    \"checkin_date\": \"2024-11-03\",\n    \"checkout_date\": \"2024-11-04\",\n    \"hotel_id\": \"6716301fe3d72fb0b14780f6\",\n    \"reference_id\": \"n6JTMacbST\",\n    \"customer\": {\n        \"first_name\": \"تست\",\n        \"last_name\": \"لاماسو\",\n        \"national_code\": \"0690673604\",\n        \"phone_number\": \"09123456789\",\n        \"country\": \"IR\"\n    },\n    \"rooms\": [\n        {\n            \"type_id\": \"67163071057edbfff2f1a68d\",\n            \"count\": 1,\n            \"party\": {\n                \"adults\": 1,\n                \"children\": []\n            },\n            \"guests\": [\n            ]\n        }\n    ],\n    \"rate_plan_id\": \"42_57\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.lamasoo.com/booking/async/booking_submit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 02 Nov 2024 12:32:41 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=65"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, Content-Disposition, X-Requested-With, X-Auth-Username, X-Admin-Auth, sentry-trace, availability-history, availability-history-size, agency-id, x-include-agency-provider, baggage"},{"key":"ETag","value":"W/\"1b9-3ntMlrAtxKvXdZel6EDppDlKOaE\""},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Server","value":"ArvanCloud"},{"key":"Server-Timing","value":"total;dur=4023"},{"key":"X-Request-ID","value":"dbb5c64b4c4feff8033c2d8e92159d09"},{"key":"X-SID","value":"2063"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"problems\": [],\n    \"status\": \"Success\",\n    \"reference_id\": \"n6JTMacbST\",\n    \"payment_details\": {\n        \"price_to_pay\": 9999000,\n        \"hotel_share\": 9900000,\n        \"lamasoo_share\": 99000,\n        \"invoice\": 2384771780,\n        \"URL\": \"\"\n    },\n    \"price_details\": {\n        \"rooms\": [\n            {\n                \"id\": \"67163071057edbfff2f1a68d\",\n                \"price\": 9900000,\n                \"prices\": [\n                    {\n                        \"date\": \"2024-11-03\",\n                        \"price\": 9900000\n                    }\n                ],\n                \"extra_price\": 0\n            }\n        ],\n        \"wage\": 99000\n    },\n    \"customer_support\": {\n        \"phone_number\": \"09385360181\"\n    }\n}"},{"id":"51c0c016-6e69-4520-9259-be7b5e912f5e","name":"Booking Submit (Master Contract))","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{apiKey}}"}],"body":{"mode":"raw","raw":"{\n    \"agency_provider_id\": \"643cf1af25fdc645253a3d90\",\n    \"checkin_date\": \"2024-11-03\",\n    \"checkout_date\": \"2024-11-04\",\n    \"hotel_id\": \"6716301fe3d72fb0b14780f6\",\n    \"reference_id\": \"n6JTMacbST\",\n    \"customer\": {\n        \"first_name\": \"تست\",\n        \"last_name\": \"لاماسو\",\n        \"national_code\": \"0690673604\",\n        \"phone_number\": \"09123456789\",\n        \"country\": \"IR\"\n    },\n    \"rooms\": [\n        {\n            \"type_id\": \"67163071057edbfff2f1a68d\",\n            \"count\": 1,\n            \"party\": {\n                \"adults\": 1,\n                \"children\": []\n            },\n            \"guests\": [\n            ]\n        }\n    ],\n    \"rate_plan_id\": \"42_57\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.lamasoo.com/booking/async/booking_submit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 02 Nov 2024 12:32:41 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=65"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, Content-Disposition, X-Requested-With, X-Auth-Username, X-Admin-Auth, sentry-trace, availability-history, availability-history-size, agency-id, x-include-agency-provider, baggage"},{"key":"ETag","value":"W/\"1b9-3ntMlrAtxKvXdZel6EDppDlKOaE\""},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Server","value":"ArvanCloud"},{"key":"Server-Timing","value":"total;dur=4023"},{"key":"X-Request-ID","value":"dbb5c64b4c4feff8033c2d8e92159d09"},{"key":"X-SID","value":"2063"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"problems\": [],\n    \"status\": \"Success\",\n    \"reference_id\": \"n6JTMacbST\",\n    \"payment_details\": {\n        \"price_to_pay\": 9999000,\n        \"hotel_share\": 9900000,\n        \"lamasoo_share\": 99000,\n        \"invoice\": 2384771780,\n        \"URL\": \"\"\n    },\n    \"price_details\": {\n        \"rooms\": [\n            {\n                \"id\": \"67163071057edbfff2f1a68d\",\n                \"price\": 9900000,\n                \"prices\": [\n                    {\n                        \"date\": \"2024-11-03\",\n                        \"price\": 9900000\n                    }\n                ],\n                \"extra_price\": 0\n            }\n        ],\n        \"wage\": 99000\n    },\n    \"customer_support\": {\n        \"phone_number\": \"09385360181\"\n    }\n}"}],"_postman_id":"d70ea772-1400-460d-ab17-73f865a7d903"},{"name":"Booking Submit with children","event":[{"listen":"prerequest","script":{"id":"835533c5-1b31-48fc-b906-52fe6f0e3ca8","exec":["function makeid(length) {","    let result = '';","    const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';","    const charactersLength = characters.length;","    let counter = 0;","    while (counter < length) {","      result += characters.charAt(Math.floor(Math.random() * charactersLength));","      counter += 1;","    }","    return result;","}","","pm.environment.set('YOUR_CUSTOM_REFERENCE_ID', makeid(10));"],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"test","script":{"id":"64a8648f-b0fd-4357-a66d-44f033d7f7a9","exec":[],"type":"text/javascript"}}],"id":"e6f0c092-1c6d-4d1a-b27f-98d6421993ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{apiKey}}","description":"<p>Your API Key</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"checkin_date\": \"2024-11-03\",\n    \"checkout_date\": \"2024-11-04\",\n    \"hotel_id\": \"6716301fe3d72fb0b14780f6\",\n    \"reference_id\": \"{{YOUR_CUSTOM_REFERENCE_ID}}\",\n    \"customer\": {\n        \"first_name\": \"تست\",\n        \"last_name\": \"لاماسو\",\n        \"national_code\": \"0690673604\",\n        \"phone_number\": \"09123456789\",\n        \"country\": \"IR\"\n    },\n    \"rooms\": [\n        {\n            \"type_id\": \"67163071057edbfff2f1a68d\",\n            \"count\": 1,\n            \"party\": {\n                \"adults\": 1,\n                \"children\": [1]\n            },\n            \"guests\": [\n            ]\n        }\n    ],\n    \"rate_plan_id\": \"42_57\"\n}"},"url":"https://api.lamasoo.com/booking/async/booking_submit","description":"<p>In order to have children in your submit simply set the age of the child in rooms.party.children. but in order to have an accurate estimation of whether your request will be process or you'll get an error, read the following details of child policies.</p>\n<h1 id=\"child-policies\">Child Policies</h1>\n<p>When there's child in a booking, two main variable should be considered. First check whether the room have anough capacity for that child depending on the child need a bed or not. Second calculate how much does this modification adds to the total price of the booking.</p>\n<h3 id=\"child-capacity\"><strong>Child Capacity</strong></h3>\n<p>In the <strong>Availability</strong> response, a new field called <code>child_policies</code> is included.  </p>\n<p>The structure of each object in this field is as follows:</p>\n<p>Each hotel has a <strong>fixed list of child categories</strong>.  </p>\n<p>A “category” defines an <strong>age range</strong> (<code>min_age</code> &amp; <code>max_age</code>) and the <strong>name</strong> of that range (for example, <code>INFANT</code>).</p>\n<p>The <code>child_policies</code> field is listed alongside <code>room_types</code>, <code>room_rates</code>, and <code>rate_plans</code>.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": \"669262dbb1ba209b6a02f72e\",\n  \"name\": \"Hotel Name\",\n  \"room_types\": [{}, {}],\n  \"room_rates\": [{}, {}],\n  \"rate_plans\": [{}],\n  \"child_policies\": [\n    {\n      \"from\": 4,\n      \"to\": 5.99,\n      \"type\": \"CHILD\",\n      \"requires_bed\": true\n    },\n    {\n      \"from\": 0,\n      \"to\": 1.99,\n      \"type\": \"INFANT\",\n      \"requires_bed\": false\n    },\n    {\n      \"from\": 2,\n      \"to\": 3.99,\n      \"type\": \"TODDLER\",\n      \"requires_bed\": false\n    }\n  ]\n}\n\n</code></pre>\n<hr />\n<h3 id=\"field-description-child_policies\"><strong>Field Description:</strong> <strong><code>child_policies</code></strong></h3>\n<p>Defines <strong>child age groups</strong> and whether a bed is required for each group.</p>\n<p>Each item includes:</p>\n<ul>\n<li><p><code>min_age</code>: Minimum age (in years)</p>\n</li>\n<li><p><code>max_age</code>: Maximum age (in years)</p>\n</li>\n<li><p><code>type</code>: Child category (used to classify age ranges)  </p>\n<p>  Examples:</p>\n<ul>\n<li><p><code>\"CHILD\"</code> → ages 4–5.99</p>\n</li>\n<li><p><code>\"INFANT\"</code> → ages 0–1.99</p>\n</li>\n<li><p><code>\"TODDLER\"</code> → ages 2–3.99</p>\n</li>\n</ul>\n</li>\n<li><p><code>requires_bed</code>: Indicates whether a child in this group requires a bed (<code>true</code> / <code>false</code>)</p>\n</li>\n</ul>\n<h3 id=\"example\"><strong>Example</strong></h3>\n<p>For a specific hotel, the <code>child_policies</code> parameter might look like this:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">\"child_policies\": [\n  { \"from\": 4, \"to\": 5.99, \"type\": \"CHILD\", \"requires_bed\": true },\n  { \"from\": 0, \"to\": 1.99, \"type\": \"INFANT\", \"requires_bed\": false },\n  { \"from\": 2, \"to\": 3.99, \"type\": \"TODDLER\", \"requires_bed\": false }\n]\n\n</code></pre>\n<hr />\n<h3 id=\"example-of-a-room-type-object\"><strong>Example of a Room Type Object</strong></h3>\n<p>This shows room capacity details:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": \"61cb107927f2235d911d7abf\",\n  \"title\": \"Standard Double Cabana (Garden Area)\",\n  \"capacity\": 2,\n  \"extra_capacity\": 1,\n  \"max_children_without_bed\": 3,\n  \"rooms_remaining_per_day\": [\n    { \"date\": \"2025-03-20\", \"count\": 3, \"dedicated\": 0 },\n    { \"date\": \"2025-03-21\", \"count\": 0, \"dedicated\": 0 }\n  ],\n  \"rooms_remaining\": 0\n}\n\n</code></pre>\n<hr />\n<h3 id=\"sample-validation-for-booking-requests\"><strong>Sample Validation for Booking Requests</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Room Capacity Data</th>\n<th>Booking Details</th>\n<th>Booking Possible</th>\n<th>Explanation</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>capacity</code>: 2  <br /><code>extra_capacity</code>: 1  <br /><code>max_children_without_bed</code>: 1</td>\n<td>2 adults  <br />1 child (6–12 years)</td>\n<td>✅ Yes</td>\n<td>The child uses the extra bed capacity</td>\n</tr>\n<tr>\n<td><code>capacity</code>: 2  <br /><code>extra_capacity</code>: 1  <br /><code>max_children_without_bed</code>: 1</td>\n<td>3 adults  <br />1 child (6–12 years, needs bed)</td>\n<td>❌ No</td>\n<td>No extra bed available for the child</td>\n</tr>\n<tr>\n<td><code>capacity</code>: 2  <br /><code>extra_capacity</code>: 1  <br /><code>max_children_without_bed</code>: 1</td>\n<td>3 adults  <br />1 child (2–6 years)</td>\n<td>✅ Yes</td>\n<td>Extra bed full, but child doesn’t need a bed</td>\n</tr>\n<tr>\n<td><code>capacity</code>: 2  <br /><code>extra_capacity</code>: 1  <br /><code>max_children_without_bed</code>: 1</td>\n<td>2 adults  <br />1 child (6–12 years, needs bed)  <br />2 children (2–6 years)</td>\n<td>✅ Yes</td>\n<td>Fits within bed and no-bed capacity</td>\n</tr>\n<tr>\n<td><code>capacity</code>: 2  <br /><code>extra_capacity</code>: 1  <br /><code>max_children_without_bed</code>: 3</td>\n<td>2 adults  <br />4 children (2–6 years)</td>\n<td>✅ Yes</td>\n<td>4th child uses extra bed capacity</td>\n</tr>\n<tr>\n<td><code>capacity</code>: 2  <br /><code>extra_capacity</code>: 1  <br /><code>max_children_without_bed</code>: 3</td>\n<td>3 adults  <br />2 children (2–6 years)  <br />2 infants (0–2 years)</td>\n<td>❌ No</td>\n<td>Extra bed used by adults; not enough no-bed capacity for 4 children</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"child-pricing\"><strong>Child Pricing</strong></h3>\n<p>In the <strong>Availability</strong> response, the <code>RoomRates</code> object includes child pricing as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"room_type_id\": \"61cb107927f22307141d7ac0\",\n  \"rate_plan_id\": \"1598_3817\",\n  \"currency\": \"IRR\",\n  \"prices\": [\n    {\n      \"date\": \"2025-03-20\",\n      \"price\": 120000000,\n      \"display_price\": 70000000,\n      \"price_to_pay\": 64400000,\n      \"extra_guest_price\": 10000000,\n      \"extra_guest_price_to_pay\": 10000000,\n      \"child_pricing\": [\n        { \"type\": \"INFANT\", \"price_to_pay\": 0 },\n        { \"type\": \"TODDLER\", \"price_to_pay\": 6000000 },\n        { \"type\": \"CHILD\", \"price_to_pay\": 12000000 }\n      ]\n    }\n  ],\n  \"price\": {\n    \"price\": 120000000,\n    \"display_price\": 70000000,\n    \"price_to_pay\": 64400000,\n    \"taxes\": null,\n    \"final_price\": 128800000,\n    \"extra_guest_price\": 10000000,\n    \"extra_guest_price_to_pay\": 10000000,\n    \"child_pricing\": [\n      { \"name\": \"INFANT\", \"price_to_pay\": 0 },\n      { \"name\": \"TODDLER\", \"price_to_pay\": 6000000 },\n      { \"name\": \"CHILD\", \"price_to_pay\": 12000000 }\n    ]\n  }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"main-fields-related-to-child-pricing\"><strong>Main Fields Related to Child Pricing</strong></h3>\n<p><strong><code>extra_guest_price_to_pay</code></strong>  </p>\n<p>Final payable amount per extra adult.  </p>\n<p>⚠️ This price applies <strong>only to adults</strong>, not to children.</p>\n<p><strong><code>child_pricing</code></strong>  </p>\n<p>An array specifying the <strong>extra cost for each child age group</strong>.  </p>\n<p>Each item defines:</p>\n<ul>\n<li><p><code>type</code>: Child category (<code>CHILD</code>, <code>TODDLER</code>, <code>INFANT</code>)</p>\n</li>\n<li><p><code>price_to_pay</code>: Cost for each child in that group</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"example-calculation\"><strong>Example Calculation</strong></h3>\n<p>Based on the pricing data above:</p>\n<p>Family composition:</p>\n<ul>\n<li><p>2 adults</p>\n</li>\n<li><p>1 child aged 4</p>\n</li>\n<li><p>1 child aged 8</p>\n</li>\n</ul>\n<p><strong>Price Calculation:</strong></p>\n<ul>\n<li><p>2 adults → base capacity → <code>price_to_pay = 64,400,000 IRR</code></p>\n</li>\n<li><p>4-year-old child (TODDLER) → <code>6,000,000 IRR</code></p>\n</li>\n<li><p>8-year-old child (CHILD) → <code>12,000,000 IRR</code></p>\n</li>\n</ul>\n<p><strong>Total = 82,400,000 IRR</strong></p>\n","urlObject":{"path":["booking","async","booking_submit"],"host":["https://api.lamasoo.com"],"query":[],"variable":[]}},"response":[{"id":"144f8b78-bfcf-450d-b02b-16cdc3b9db52","name":"Booking Submit","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{apiKey}}"}],"body":{"mode":"raw","raw":"{\n    \"checkin_date\": \"2024-11-03\",\n    \"checkout_date\": \"2024-11-04\",\n    \"hotel_id\": \"6716301fe3d72fb0b14780f6\",\n    \"reference_id\": \"n6JTMacbST\",\n    \"customer\": {\n        \"first_name\": \"تست\",\n        \"last_name\": \"لاماسو\",\n        \"national_code\": \"0690673604\",\n        \"phone_number\": \"09123456789\",\n        \"country\": \"IR\"\n    },\n    \"rooms\": [\n        {\n            \"type_id\": \"67163071057edbfff2f1a68d\",\n            \"count\": 1,\n            \"party\": {\n                \"adults\": 1,\n                \"children\": [3]\n            },\n            \"guests\": [\n            ]\n        }\n    ],\n    \"rate_plan_id\": \"42_57\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.lamasoo.com/booking/async/booking_submit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 02 Nov 2024 12:32:41 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=65"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, Content-Disposition, X-Requested-With, X-Auth-Username, X-Admin-Auth, sentry-trace, availability-history, availability-history-size, agency-id, x-include-agency-provider, baggage"},{"key":"ETag","value":"W/\"1b9-3ntMlrAtxKvXdZel6EDppDlKOaE\""},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Server","value":"ArvanCloud"},{"key":"Server-Timing","value":"total;dur=4023"},{"key":"X-Request-ID","value":"dbb5c64b4c4feff8033c2d8e92159d09"},{"key":"X-SID","value":"2063"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"problems\": [],\n    \"status\": \"Success\",\n    \"reference_id\": \"n6JTMacbST\",\n    \"payment_details\": {\n        \"price_to_pay\": 9999000,\n        \"hotel_share\": 9900000,\n        \"lamasoo_share\": 99000,\n        \"invoice\": 2384771780,\n        \"URL\": \"\"\n    },\n    \"price_details\": {\n        \"rooms\": [\n            {\n                \"id\": \"67163071057edbfff2f1a68d\",\n                \"price\": 9900000,\n                \"prices\": [\n                    {\n                        \"date\": \"2024-11-03\",\n                        \"price\": 9900000\n                    }\n                ],\n                \"extra_price\": 0\n            }\n        ],\n        \"wage\": 99000\n    },\n    \"customer_support\": {\n        \"phone_number\": \"09385360181\"\n    }\n}"},{"id":"245c47b7-87ab-49d3-87bb-c181a2d09f22","name":"Booking Submit (Master Contract))","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{apiKey}}"}],"body":{"mode":"raw","raw":"{\n    \"agency_provider_id\": \"643cf1af25fdc645253a3d90\",\n    \"checkin_date\": \"2024-11-03\",\n    \"checkout_date\": \"2024-11-04\",\n    \"hotel_id\": \"6716301fe3d72fb0b14780f6\",\n    \"reference_id\": \"n6JTMacbST\",\n    \"customer\": {\n        \"first_name\": \"تست\",\n        \"last_name\": \"لاماسو\",\n        \"national_code\": \"0690673604\",\n        \"phone_number\": \"09123456789\",\n        \"country\": \"IR\"\n    },\n    \"rooms\": [\n        {\n            \"type_id\": \"67163071057edbfff2f1a68d\",\n            \"count\": 1,\n            \"party\": {\n                \"adults\": 1,\n                \"children\": [3]\n            },\n            \"guests\": [\n            ]\n        }\n    ],\n    \"rate_plan_id\": \"42_57\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.lamasoo.com/booking/async/booking_submit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 02 Nov 2024 12:32:41 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=65"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, Content-Disposition, X-Requested-With, X-Auth-Username, X-Admin-Auth, sentry-trace, availability-history, availability-history-size, agency-id, x-include-agency-provider, baggage"},{"key":"ETag","value":"W/\"1b9-3ntMlrAtxKvXdZel6EDppDlKOaE\""},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Server","value":"ArvanCloud"},{"key":"Server-Timing","value":"total;dur=4023"},{"key":"X-Request-ID","value":"dbb5c64b4c4feff8033c2d8e92159d09"},{"key":"X-SID","value":"2063"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"problems\": [],\n    \"status\": \"Success\",\n    \"reference_id\": \"n6JTMacbST\",\n    \"payment_details\": {\n        \"price_to_pay\": 9999000,\n        \"hotel_share\": 9900000,\n        \"lamasoo_share\": 99000,\n        \"invoice\": 2384771780,\n        \"URL\": \"\"\n    },\n    \"price_details\": {\n        \"rooms\": [\n            {\n                \"id\": \"67163071057edbfff2f1a68d\",\n                \"price\": 9900000,\n                \"prices\": [\n                    {\n                        \"date\": \"2024-11-03\",\n                        \"price\": 9900000\n                    }\n                ],\n                \"extra_price\": 0\n            }\n        ],\n        \"wage\": 99000\n    },\n    \"customer_support\": {\n        \"phone_number\": \"09385360181\"\n    }\n}"}],"_postman_id":"e6f0c092-1c6d-4d1a-b27f-98d6421993ed"},{"name":"Booking Submit with transfer","event":[{"listen":"prerequest","script":{"id":"835533c5-1b31-48fc-b906-52fe6f0e3ca8","exec":["function makeid(length) {","    let result = '';","    const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';","    const charactersLength = characters.length;","    let counter = 0;","    while (counter < length) {","      result += characters.charAt(Math.floor(Math.random() * charactersLength));","      counter += 1;","    }","    return result;","}","","pm.environment.set('YOUR_CUSTOM_REFERENCE_ID', makeid(10));"],"type":"text/javascript","packages":{}}}],"id":"18e9a7ae-dffe-4c24-9578-5c4a78960817","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{apiKey}}","description":"<p>Your API Key</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"checkin_date\": \"2024-11-03\",\n    \"checkout_date\": \"2024-11-04\",\n    \"hotel_id\": \"6716301fe3d72fb0b14780f6\",\n    \"reference_id\": \"{{YOUR_CUSTOM_REFERENCE_ID}}\",\n    \"customer\": {\n        \"first_name\": \"تست\",\n        \"last_name\": \"لاماسو\",\n        \"national_code\": \"0690673604\",\n        \"phone_number\": \"09123456789\",\n        \"country\": \"IR\"\n    },\n    \"rooms\": [\n        {\n            \"type_id\": \"67163071057edbfff2f1a68d\",\n            \"count\": 1,\n            \"party\": {\n                \"adults\": 1,\n                \"children\": []\n            },\n            \"guests\": []\n        }\n    ],\n    \"transfer\": {\n        \"date\": \"2022-01-28\",\n        \"time\": \"07:45\",\n        \"travel_type\": \"airplane\",\n        \"travel_number\": \"996\",\n        \"travel_company\": \"ایران ایرتور\",\n        \"description\": \"\"\n    },\n    \"rate_plan_id\": \"42_57\"\n}"},"url":"https://api.lamasoo.com/booking/async/booking_submit","description":"<p>Also in submit reservation API, Transfer information would be considered</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>date</td>\n<td>yes</td>\n<td>string</td>\n<td>2022-01-28</td>\n</tr>\n<tr>\n<td>time</td>\n<td>yes</td>\n<td>string</td>\n<td>07:45</td>\n</tr>\n<tr>\n<td>travel_type</td>\n<td>yes</td>\n<td>string enum ('airplane', 'train', 'other')</td>\n<td>train</td>\n</tr>\n<tr>\n<td>travel_number</td>\n<td>yes</td>\n<td>string</td>\n<td>9898</td>\n</tr>\n<tr>\n<td>travel_company</td>\n<td>yes</td>\n<td>string</td>\n<td>ایران ایرتور</td>\n</tr>\n<tr>\n<td>description</td>\n<td>no</td>\n<td>string</td>\n<td>توضیحات</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["booking","async","booking_submit"],"host":["https://api.lamasoo.com"],"query":[],"variable":[]}},"response":[{"id":"ec04568c-d296-4ffc-a538-d6ce53b3c2b2","name":"Booking Submit","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{apiKey}}"}],"body":{"mode":"raw","raw":"{\n    \"checkin_date\": \"2024-11-03\",\n    \"checkout_date\": \"2024-11-04\",\n    \"hotel_id\": \"6716301fe3d72fb0b14780f6\",\n    \"reference_id\": \"n6JTMacbST\",\n    \"customer\": {\n        \"first_name\": \"تست\",\n        \"last_name\": \"لاماسو\",\n        \"national_code\": \"0690673604\",\n        \"phone_number\": \"09123456789\",\n        \"country\": \"IR\"\n    },\n    \"rooms\": [\n        {\n            \"type_id\": \"67163071057edbfff2f1a68d\",\n            \"count\": 1,\n            \"party\": {\n                \"adults\": 1,\n                \"children\": []\n            },\n            \"guests\": [\n            ]\n        }\n    ],\n    \"transfer\": {\n        \"date\": \"2024-11-03\",\n        \"time\": \"18:32\",\n        \"travel_company\": \"company_name\",\n        \"travel_number\": \"123456\",\n        \"travel_type\": \"other\"\n    },\n    \"rate_plan_id\": \"42_57\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.lamasoo.com/booking/async/booking_submit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 02 Nov 2024 12:32:41 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=65"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, Content-Disposition, X-Requested-With, X-Auth-Username, X-Admin-Auth, sentry-trace, availability-history, availability-history-size, agency-id, x-include-agency-provider, baggage"},{"key":"ETag","value":"W/\"1b9-3ntMlrAtxKvXdZel6EDppDlKOaE\""},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Server","value":"ArvanCloud"},{"key":"Server-Timing","value":"total;dur=4023"},{"key":"X-Request-ID","value":"dbb5c64b4c4feff8033c2d8e92159d09"},{"key":"X-SID","value":"2063"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"problems\": [],\n    \"status\": \"Success\",\n    \"reference_id\": \"n6JTMacbST\",\n    \"payment_details\": {\n        \"price_to_pay\": 9999000,\n        \"hotel_share\": 9900000,\n        \"lamasoo_share\": 99000,\n        \"invoice\": 2384771780,\n        \"URL\": \"\"\n    },\n    \"price_details\": {\n        \"rooms\": [\n            {\n                \"id\": \"67163071057edbfff2f1a68d\",\n                \"price\": 9900000,\n                \"prices\": [\n                    {\n                        \"date\": \"2024-11-03\",\n                        \"price\": 9900000\n                    }\n                ],\n                \"extra_price\": 0\n            }\n        ],\n        \"wage\": 99000\n    },\n    \"customer_support\": {\n        \"phone_number\": \"09385360181\"\n    }\n}"}],"_postman_id":"18e9a7ae-dffe-4c24-9578-5c4a78960817"},{"name":"Booking Submit Fail Scenarios","event":[{"listen":"prerequest","script":{"id":"835533c5-1b31-48fc-b906-52fe6f0e3ca8","exec":["function makeid(length) {","    let result = '';","    const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';","    const charactersLength = characters.length;","    let counter = 0;","    while (counter < length) {","      result += characters.charAt(Math.floor(Math.random() * charactersLength));","      counter += 1;","    }","    return result;","}","","pm.environment.set('YOUR_CUSTOM_REFERENCE_ID', makeid(10));"],"type":"text/javascript","packages":{}}}],"id":"d14a9ddd-6cc3-4c24-8f0b-80fe63c18529","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{apiKey}}","description":"<p>Your API Key</p>\n"}],"url":"https://api.lamasoo.com/booking/async/booking_submit","description":"<p>This section outlines examples of submit failure based on availabality constraints. All the examples of this section corresponds to availability response below (in <code>hotels[].room_types[]</code>):</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"id\": \"669d1ac65889ed2b9026d19c\",\n    \"title\": \"یک تخته\",\n    \"capacity\": 1,\n    \"extra_capacity\": 1,\n    \"rooms_remaining_per_day\": [\n        {\n            \"date\": \"2025-02-06\",\n            \"count\": 14,\n            \"dedicated\": 0,\n            \"CTA\": false,\n            \"CTD\": false,\n            \"minLOS\": 1,\n            \"maxLOS\": 2,\n            \"stopSell\": false\n        },\n        {\n            \"date\": \"2025-02-07\",\n            \"count\": 14,\n            \"dedicated\": 0,\n            \"CTA\": true,\n            \"CTD\": false,\n            \"minLOS\": 1,\n            \"maxLOS\": 10,\n            \"stopSell\": false\n        },\n        {\n            \"date\": \"2025-02-08\",\n            \"count\": 20,\n            \"dedicated\": 0,\n            \"CTA\": false,\n            \"CTD\": true,\n            \"minLOS\": 1,\n            \"maxLOS\": 10,\n            \"stopSell\": false\n        },\n        {\n            \"date\": \"2025-02-09\",\n            \"count\": 20,\n            \"dedicated\": 0,\n            \"CTA\": false,\n            \"CTD\": false,\n            \"minLOS\": 1,\n            \"maxLOS\": 10,\n            \"stopSell\": true\n        },\n        {\n            \"date\": \"2025-02-10\",\n            \"count\": 20,\n            \"dedicated\": 0,\n            \"CTA\": false,\n            \"CTD\": false,\n            \"minLOS\": 3,\n            \"maxLOS\": 10,\n            \"stopSell\": false\n        }\n    ],\n    \"rooms_remaining\": 14\n},\n\n</code></pre>\n","urlObject":{"path":["booking","async","booking_submit"],"host":["https://api.lamasoo.com"],"query":[],"variable":[]}},"response":[{"id":"e26c41eb-55f2-462f-bf14-fa7f6bda2c5d","name":"CTD True","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{apiKey}}","description":"Your API Key"}],"body":{"mode":"raw","raw":"{\n    \"checkin_date\": \"2025-02-06\",\n    \"checkout_date\": \"2025-02-08\",\n    \"hotel_id\": \"669262dbb1ba209b6a02f72e\",\n    \"reference_id\": \"api-doc-002\",\n    \"customer\": {\n        \"first_name\": \"نام‌ مسافر\",\n        \"last_name\": \"نام‌ خانوادگی‌‌ مسافر\",\n        \"national_code\": \"0690673604\",\n        \"phone_number\": \"09123456789\",\n        \"country\": \"IR\"\n    },\n    \"rooms\": [\n        {\n            \"type_id\": \"669d1ac65889ed2b9026d19c\",\n            \"count\": 1,\n            \"party\": {\n                \"adults\": 1,\n                \"children\": []\n            },\n            \"guests\": [\n            ]\n        }\n    ],\n    \"rate_plan_id\": \"34_51\"\n}"},"url":"{{CBS_SERVER_URL}}/booking/async/booking_submit"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Feb 2025 08:04:17 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=65"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, Content-Disposition, X-Requested-With, X-Auth-Username, X-Admin-Auth, sentry-trace, availability-history, availability-history-size, agency-id, x-include-agency-provider, baggage"},{"key":"x-request-transaction-id","value":"N/A"},{"key":"lamasoo-transaction-id","value":"719c2d1fb2b3354c"},{"key":"ETag","value":"W/\"ac-3q/KaQhohMG32VnL7I1OVNCuglM\""},{"key":"Server","value":"ArvanCloud"},{"key":"Server-Timing","value":"total;dur=489"},{"key":"X-Request-ID","value":"1a5c8193874d2f7e74d6c901d59bd0c9"},{"key":"X-SID","value":"2063"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Selected room is blocked for end_date.\",\n    \"code\": 22,\n    \"details\": {\n        \"date\": \"2025-02-08\",\n        \"constraints\": {\n            \"CTA\": false,\n            \"CTD\": true,\n            \"minLOS\": 1,\n            \"maxLOS\": 2,\n            \"stopSell\": false\n        }\n    }\n}"},{"id":"96b62bc5-504d-47eb-86f9-4c4a418598f8","name":"CTA True","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{apiKey}}","description":"Your API Key"}],"body":{"mode":"raw","raw":"{\n    \"checkin_date\": \"2025-02-07\",\n    \"checkout_date\": \"2025-02-09\",\n    \"hotel_id\": \"669262dbb1ba209b6a02f72e\",\n    \"reference_id\": \"api-doc-002\",\n    \"customer\": {\n        \"first_name\": \"نام‌ مسافر\",\n        \"last_name\": \"نام‌ خانوادگی‌‌ مسافر\",\n        \"national_code\": \"0690673604\",\n        \"phone_number\": \"09123456789\",\n        \"country\": \"IR\"\n    },\n    \"rooms\": [\n        {\n            \"type_id\": \"669d1ac65889ed2b9026d19c\",\n            \"count\": 1,\n            \"party\": {\n                \"adults\": 1,\n                \"children\": []\n            },\n            \"guests\": []\n        }\n    ],\n    \"rate_plan_id\": \"34_51\"\n}","options":{"raw":{"language":"json"}}},"url":"{{CBS_SERVER_URL}}/booking/async/booking_submit"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Feb 2025 08:10:38 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=65"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, Content-Disposition, X-Requested-With, X-Auth-Username, X-Admin-Auth, sentry-trace, availability-history, availability-history-size, agency-id, x-include-agency-provider, baggage"},{"key":"x-request-transaction-id","value":"N/A"},{"key":"lamasoo-transaction-id","value":"b332a52e2e66c7dd"},{"key":"ETag","value":"W/\"af-tQ7KzYTlm57s92WmqjIgutyyk2Q\""},{"key":"Server","value":"ArvanCloud"},{"key":"Server-Timing","value":"total;dur=554"},{"key":"X-Request-ID","value":"b74b7044fa07de63d319ff6e7d5a7b22"},{"key":"X-SID","value":"2063"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Selected room is blocked for start_date.\",\n    \"code\": 22,\n    \"details\": {\n        \"date\": \"2025-02-07\",\n        \"constraints\": {\n            \"CTA\": true,\n            \"CTD\": false,\n            \"minLOS\": 1,\n            \"maxLOS\": 10,\n            \"stopSell\": false\n        }\n    }\n}"},{"id":"0e4a1ef9-0c08-4d65-80d2-7c9726565ddf","name":"StopSell True","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{apiKey}}","description":"Your API Key"}],"body":{"mode":"raw","raw":"{\n    \"checkin_date\": \"2025-02-09\",\n    \"checkout_date\": \"2025-02-10\",\n    \"hotel_id\": \"669262dbb1ba209b6a02f72e\",\n    \"reference_id\": \"api-doc-002\",\n    \"customer\": {\n        \"first_name\": \"نام‌ مسافر\",\n        \"last_name\": \"نام‌ خانوادگی‌‌ مسافر\",\n        \"national_code\": \"0690673604\",\n        \"phone_number\": \"09123456789\",\n        \"country\": \"IR\"\n    },\n    \"rooms\": [\n        {\n            \"type_id\": \"669d1ac65889ed2b9026d19c\",\n            \"count\": 1,\n            \"party\": {\n                \"adults\": 1,\n                \"children\": []\n            },\n            \"guests\": []\n        }\n    ],\n    \"rate_plan_id\": \"34_51\"\n}","options":{"raw":{"language":"json"}}},"url":"{{CBS_SERVER_URL}}/booking/async/booking_submit"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Feb 2025 08:11:11 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=65"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, Content-Disposition, X-Requested-With, X-Auth-Username, X-Admin-Auth, sentry-trace, availability-history, availability-history-size, agency-id, x-include-agency-provider, baggage"},{"key":"x-request-transaction-id","value":"N/A"},{"key":"lamasoo-transaction-id","value":"25e4a6a53efef042"},{"key":"ETag","value":"W/\"c4-5C7dMMGp32KpH8x6/rMa6vduyzw\""},{"key":"Server","value":"ArvanCloud"},{"key":"Server-Timing","value":"total;dur=559"},{"key":"X-Request-ID","value":"a4eb9f4fb16af074f0c2f3ebf306c229"},{"key":"X-SID","value":"2063"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The sale of selected room is stopped for at least one day in the selected period.\",\n    \"code\": 22,\n    \"details\": {\n        \"constraints\": {\n            \"CTA\": false,\n            \"CTD\": false,\n            \"minLOS\": 0,\n            \"maxLOS\": 30,\n            \"stopSell\": true\n        }\n    }\n}"},{"id":"96bdae97-f576-4812-b287-cdc395ab309f","name":"MaxLoss","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{apiKey}}","description":"Your API Key"}],"body":{"mode":"raw","raw":"{\n    \"checkin_date\": \"2025-02-06\",\n    \"checkout_date\": \"2025-02-09\",\n    \"hotel_id\": \"669262dbb1ba209b6a02f72e\",\n    \"reference_id\": \"api-doc-002\",\n    \"customer\": {\n        \"first_name\": \"نام‌ مسافر\",\n        \"last_name\": \"نام‌ خانوادگی‌‌ مسافر\",\n        \"national_code\": \"0690673604\",\n        \"phone_number\": \"09123456789\",\n        \"country\": \"IR\"\n    },\n    \"rooms\": [\n        {\n            \"type_id\": \"669d1ac65889ed2b9026d19c\",\n            \"count\": 1,\n            \"party\": {\n                \"adults\": 1,\n                \"children\": []\n            },\n            \"guests\": []\n        }\n    ],\n    \"rate_plan_id\": \"34_51\"\n}","options":{"raw":{"language":"json"}}},"url":"{{CBS_SERVER_URL}}/booking/async/booking_submit"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Feb 2025 08:12:30 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=65"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, Content-Disposition, X-Requested-With, X-Auth-Username, X-Admin-Auth, sentry-trace, availability-history, availability-history-size, agency-id, x-include-agency-provider, baggage"},{"key":"x-request-transaction-id","value":"N/A"},{"key":"lamasoo-transaction-id","value":"c1d1a4a517d1066b"},{"key":"ETag","value":"W/\"c4-1D7ohYy5b3cz2L/Nftkhs1Ybxg4\""},{"key":"Server","value":"ArvanCloud"},{"key":"Server-Timing","value":"total;dur=296"},{"key":"X-Request-ID","value":"e0c08638c33bab0680f0ad026e6336f5"},{"key":"X-SID","value":"2063"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Maximum length of stay is not satisfied for given start_date.\",\n    \"code\": 21,\n    \"details\": {\n        \"date\": \"2025-02-06\",\n        \"constraints\": {\n            \"CTA\": false,\n            \"CTD\": false,\n            \"minLOS\": 1,\n            \"maxLOS\": 2,\n            \"stopSell\": false\n        }\n    }\n}"},{"id":"54bc6d52-f634-4852-9976-9c00aab81ca6","name":"MinLoss","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{apiKey}}","description":"Your API Key"}],"body":{"mode":"raw","raw":"{\n    \"checkin_date\": \"2025-02-10\",\n    \"checkout_date\": \"2025-02-11\",\n    \"hotel_id\": \"669262dbb1ba209b6a02f72e\",\n    \"reference_id\": \"api-doc-002\",\n    \"customer\": {\n        \"first_name\": \"نام‌ مسافر\",\n        \"last_name\": \"نام‌ خانوادگی‌‌ مسافر\",\n        \"national_code\": \"0690673604\",\n        \"phone_number\": \"09123456789\",\n        \"country\": \"IR\"\n    },\n    \"rooms\": [\n        {\n            \"type_id\": \"669d1ac65889ed2b9026d19c\",\n            \"count\": 1,\n            \"party\": {\n                \"adults\": 1,\n                \"children\": []\n            },\n            \"guests\": []\n        }\n    ],\n    \"rate_plan_id\": \"34_51\"\n}","options":{"raw":{"language":"json"}}},"url":"{{CBS_SERVER_URL}}/booking/async/booking_submit"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Feb 2025 08:13:08 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=65"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, Content-Disposition, X-Requested-With, X-Auth-Username, X-Admin-Auth, sentry-trace, availability-history, availability-history-size, agency-id, x-include-agency-provider, baggage"},{"key":"x-request-transaction-id","value":"N/A"},{"key":"lamasoo-transaction-id","value":"7bfdcf111e1c29a0"},{"key":"ETag","value":"W/\"c5-9haOhl01E7Qv0MgON7S+Bt3Z4HY\""},{"key":"Server","value":"ArvanCloud"},{"key":"Server-Timing","value":"total;dur=528"},{"key":"X-Request-ID","value":"ecb43fafa91749da421e310de9ad5047"},{"key":"X-SID","value":"2063"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Minimum length of stay is not satisfied for given start_date.\",\n    \"code\": 21,\n    \"details\": {\n        \"date\": \"2025-02-10\",\n        \"constraints\": {\n            \"CTA\": false,\n            \"CTD\": false,\n            \"minLOS\": 3,\n            \"maxLOS\": 10,\n            \"stopSell\": false\n        }\n    }\n}"}],"_postman_id":"d14a9ddd-6cc3-4c24-8f0b-80fe63c18529"},{"name":"Booking Confirm","id":"f6dfab30-473a-40cf-9f0e-6805c73bba28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{apiKey}}","description":"<p>Your API Key</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"reference_id\": \"{{YOUR_CUSTOM_REFERENCE_ID}}\"\n}"},"url":"https://api.lamasoo.com/booking/async/booking_confirm","description":"<p>After successful payment call this APIs to confirm (finalize) your reservation.</p>\n<h3 id=\"error-4xx-5xx\">Error 4xx, 5xx</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>code</td>\n<td>1: Unknown Error.  <br />2: Cannot Parse Request.  <br />3: Invalid Hotel ID.  <br />4: Timeout requested. Ask to requests for the specified time.  <br />5: Recoverable Error. Equivalent to http 503.  <br />6: You haven't defined any contracts with the given hotel.  <br />7: Unable to retrieve hotel's data.  <br />8: Invalid RoomType ID.  <br />9: Over capacity.  <br />10: Duplicate reference ID.  <br />11: No available room is remaining.  <br />12: No reservation found.  <br />13: Credit is not enough for reservation.  <br />14: No response from hotel.  <br />15: The invoice is not paid.  <br />21: Submit expired. (you have 15min between submit and confirm)</td>\n</tr>\n<tr>\n<td>message</td>\n<td>String describing the error. Used for debugging. Maximum length is 1000 characters.</td>\n</tr>\n<tr>\n<td>timeout</td>\n<td>Number of seconds you should stop sending requests for use with Error Code 4.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["booking","async","booking_confirm"],"host":["https://api.lamasoo.com"],"query":[],"variable":[]}},"response":[{"id":"55eaf735-51c3-457c-8378-aa9327f4633c","name":"Booking Confirm","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"agency-id","value":"5916f9756bf5f39db746e747","disabled":true},{"key":"agency-id","value":"59819fb794f0ed24afde2aa2","type":"text","disabled":true},{"key":"agency-id","value":"5dfa16927792a45fb1ac24d9","type":"text","disabled":true},{"key":"Authorization","value":"{{apiKey}}","description":"Your API Key","type":"text"},{"key":"agency-id","value":"60d30d2a868b13f3e2f57228","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"reference_id\": \"{{YOUR_CUSTOM_REFERENCE_ID}}\"\n}"},"url":"https://api.lamasoo.com/booking/async/booking_confirm"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 03 Nov 2024 08:51:11 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=65"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, Content-Disposition, X-Requested-With, X-Auth-Username, X-Admin-Auth, sentry-trace, availability-history, availability-history-size, agency-id, x-include-agency-provider, baggage"},{"key":"ETag","value":"W/\"45-xZEiZf1pextT8MBnKG9W1LPJWfo\""},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Server","value":"ArvanCloud"},{"key":"Server-Timing","value":"total;dur=2902"},{"key":"X-Request-ID","value":"30e77cf89f0ec98361184a8441f2da1b"},{"key":"X-SID","value":"6230"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"hotel-confirmed\",\n    \"reservation_id\": \"2024-11-03-1730623871\"\n}"}],"_postman_id":"f6dfab30-473a-40cf-9f0e-6805c73bba28"},{"name":"Booking Resubmit","id":"d8f8be12-bce2-4e26-9fea-25c4e451b69b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorization","value":"{{apiKey}}","description":"<p>Your API Key</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"reference_id\": \"{{YOUR_CUSTOM_REFERENCE_ID}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.lamasoo.com/booking/async/booking_resubmit","description":"<p>If you wish to extend the lock period call this API. If successful your locking will be extended for another 15 minutes.</p>\n<h3 id=\"error-4xx-5xx\">Error 4xx, 5xx</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>code</td>\n<td>1: Unknown Error.  <br />2: Cannot Parse Request.  <br />3: Invalid Hotel ID.  <br />5: Recoverable Error. Equivalent to http 503.  <br />6: You haven't defined any contracts with the given hotel.  <br />9: Over capacity.  <br />11: No available room is remaining.  <br />12: No reservation found.  <br />13: Credit is not enough for reservation.</td>\n</tr>\n<tr>\n<td>message</td>\n<td>String describing the error. Used for debugging. Maximum length is 1000 characters.</td>\n</tr>\n<tr>\n<td>timeout</td>\n<td>Number of seconds you should stop sending requests for use with Error Code 4.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["booking","async","booking_resubmit"],"host":["https://api.lamasoo.com"],"query":[],"variable":[]}},"response":[{"id":"d5695074-38b8-4350-91f8-8021a072bdc2","name":"Booking Resubmit","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"{{apiKey}}","description":"Your API Key","type":"text"},{"key":"agency-id","value":"5dfa16927792a45fb1ac24d9","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"reference_id\": \"n6JTMacbST\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.lamasoo.com/booking/async/booking_resubmit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 03 Nov 2024 08:50:27 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=65"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, Content-Disposition, X-Requested-With, X-Auth-Username, X-Admin-Auth, sentry-trace, availability-history, availability-history-size, agency-id, x-include-agency-provider, baggage"},{"key":"ETag","value":"W/\"1ac-OF0Znd/cJ3soxZCUNLw6AmtS5HI\""},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Server","value":"ArvanCloud"},{"key":"Server-Timing","value":"total;dur=458"},{"key":"X-Request-ID","value":"2bce4d1a5076561a9f3295966aa64d46"},{"key":"X-SID","value":"4103"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"problems\": [],\n    \"status\": \"Success\",\n    \"reference_id\": \"n6JTMacbST\",\n    \"payment_details\": {\n        \"price_to_pay\": 9999000,\n        \"hotel_share\": 9900000,\n        \"lamasoo_share\": 99000,\n        \"invoice\": 2384771780,\n        \"URL\": \"\"\n    },\n    \"price_details\": {\n        \"rooms\": [\n            {\n                \"id\": \"67163071057edbfff2f1a68d\",\n                \"price\": 9900000,\n                \"prices\": [\n                    {\n                        \"date\": \"2024-11-03\",\n                        \"price\": 9900000\n                    }\n                ],\n                \"extra_price\": 0\n            }\n        ],\n        \"wage\": 99000\n    },\n    \"customer_support\": {\n        \"phone_number\": \"09385360181\"\n    }\n}"}],"_postman_id":"d8f8be12-bce2-4e26-9fea-25c4e451b69b"}],"id":"da7c0696-f6b5-4cd3-b273-52e42456c0c4","description":"<p>The following APIs are steps to submit and finalize a reservation.</p>\n","_postman_id":"da7c0696-f6b5-4cd3-b273-52e42456c0c4"}],"event":[{"listen":"prerequest","script":{"id":"f890fcd0-fa51-4591-a5c4-34a7f3df83f1","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"0e2ba370-486d-42f9-bc41-38174f14a37b","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"YOUR_API_TOKEN","value":"","type":"string"},{"key":"BASE_URL","value":"https://api.lamasoo.com","type":"string"}]}