{"info":{"_postman_id":"457c2afb-7bf2-4596-8a0b-ca45b146ed03","name":"HelloCloud API","description":"Hello Cloud is an API for retrieve / check-in with tablet at Red Planet's properties","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"ping","item":[{"name":"/ping/tablet","event":[{"listen":"prerequest","script":{"id":"ee97c1ac-bf54-49bf-86d7-2b9c4384acec","exec":["pm.environment.set(\"device_type\", \"tablet\");","pm.environment.set(\"version\", \"v1.0\");","pm.environment.set(\"hotelCode\", \"ASO\");","pm.environment.set(\"deviceIdentity\", \"tablet-aso-01\");"],"type":"text/javascript"}}],"id":"81c9e604-4ef3-470e-a71d-c75f09e2914e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{url}}/ping/tablet?version={{version}}&hotel={{hotelCode}}&device={{deviceIdentity}}","host":["{{url}}"],"path":["ping","tablet"],"query":[{"key":"version","value":"{{version}}","description":"Version of the released application e.g. v1.0"},{"key":"hotel","value":"{{hotelCode}}","description":"3 letters hotel code e.g. ASO, SRW, etc."},{"key":"device","value":"{{deviceIdentity}}","description":"Identity of device e.g. tablet-aso-01"}]},"description":"Endpoint for reporting the availability of kiosk devices (tablet)"},"response":[{"id":"59432430-ffad-4fe8-8f5d-c44c466638fc","name":"Error case","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/ping/tablet","host":["{{url}}"],"path":["ping","tablet"],"query":[{"key":"version","value":"v1.0","description":"Version of the released application ie v1.0","disabled":true},{"key":"hotel","value":"ASO","description":"3 letters hotel code ie ASO, SRW, etc.","disabled":true},{"key":"device","value":"tablet-aso-01","description":"Identity of device ie tablet-aso-01","disabled":true}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Mar 2019 07:50:49 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"29"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        \"No version specified\",\n        \"No hotel specified\",\n        \"No device identity specified\"\n    ],\n    \"message\": \"Error\",\n    \"status\": 400\n}"},{"id":"f05d3a1b-d7c2-42b3-b534-7b9896be30bf","name":"Success case","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/ping/tablet?version=v1.0&hotel=ASO&device=tablet-aso-01","host":["{{url}}"],"path":["ping","tablet"],"query":[{"key":"version","value":"v1.0","description":"Version of the released application ie v1.0"},{"key":"hotel","value":"ASO","description":"3 letters hotel code ie ASO, SRW, etc."},{"key":"device","value":"tablet-aso-01","description":"Identity of device ie tablet-aso-01"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Mar 2019 07:50:49 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"29"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"OK\",\n    \"status\": 200\n}"}],"_postman_id":"81c9e604-4ef3-470e-a71d-c75f09e2914e"},{"name":"/ping/rpi","event":[{"listen":"prerequest","script":{"id":"ee97c1ac-bf54-49bf-86d7-2b9c4384acec","exec":["pm.environment.set(\"device_type\", \"tablet\");","pm.environment.set(\"version\", \"v1.0\");","pm.environment.set(\"hotelCode\", \"ASO\");","pm.environment.set(\"deviceIdentity\", \"rpi-aso-01\");"],"type":"text/javascript"}}],"id":"6d009d7a-702d-4abf-ba96-a8f6fd610016","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{url}}/ping/rpi?version={{version}}&hotel={{hotelCode}}&device={{deviceIdentity}}","host":["{{url}}"],"path":["ping","rpi"],"query":[{"key":"version","value":"{{version}}","description":"Version of the released application e.g. v1.0"},{"key":"hotel","value":"{{hotelCode}}","description":"3 letters hotel code e.g. ASO, SRW, etc."},{"key":"device","value":"{{deviceIdentity}}","description":"Identity of device e.g. rpi-aso-01"}]},"description":"Endpoint for reporting the availability of Rasberry Pie devices"},"response":[{"id":"b65a955e-6121-488d-b3e2-765e0007bdd1","name":"Error case","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/ping/rpi","host":["{{url}}"],"path":["ping","rpi"],"query":[{"key":"version","value":"v1.0","description":"Version of the released application ie v1.0","disabled":true},{"key":"hotel","value":"ASO","description":"3 letters hotel code ie ASO, SRW, etc.","disabled":true},{"key":"device","value":"rpi-aso-01","description":"Identity of device ie rpi-aso-01","disabled":true}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Mar 2019 07:50:49 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"29"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        \"No version specified\",\n        \"No hotel specified\",\n        \"No device identity specified\"\n    ],\n    \"message\": \"Error\",\n    \"status\": 400\n}"},{"id":"d6f6740f-59b4-4d51-88f0-fff21004ba28","name":"Success case","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/ping/rpi?version=v1.0&hotel=ASO&device=rpi-aso-01","host":["{{url}}"],"path":["ping","rpi"],"query":[{"key":"version","value":"v1.0","description":"Version of the released application ie v1.0"},{"key":"hotel","value":"ASO","description":"3 letters hotel code ie ASO, SRW, etc."},{"key":"device","value":"rpi-aso-01","description":"Identity of device ie rpi-aso-01"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Mar 2019 07:50:49 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"29"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"OK\",\n    \"status\": 200\n}"}],"_postman_id":"6d009d7a-702d-4abf-ba96-a8f6fd610016"}],"id":"170da134-b3ef-4909-8c0f-afe125da0926","description":"Retrieve ping from devices (Tablet / RasberryPie)","event":[{"listen":"prerequest","script":{"id":"0b7b0f3f-f50a-4ca3-b585-087e0fe47e57","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"cf989a5e-a762-4af0-9ec0-72607cee241c","type":"text/javascript","exec":[""]}}],"_postman_id":"170da134-b3ef-4909-8c0f-afe125da0926"},{"name":"webhook","item":[{"name":"/webhook/jumio/netverify","id":"61c8752c-bf2e-48cc-8199-be80dcdfcb5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"idExpiry","type":"text","value":"2030-07-27"},{"key":"idType","type":"text","value":"PASSPORT"},{"key":"idDob","type":"text","value":"1990-01-01"},{"key":"idCheckSignature","type":"text","value":"OK"},{"key":"idCheckDataPositions","type":"text","value":"OK"},{"key":"idCheckHologram","type":"text","value":"OK"},{"key":"idCheckMicroprint","type":"text","value":"OK"},{"key":"idCheckDocumentValidation","type":"text","value":"OK"},{"key":"idCountry","type":"text","value":"JP"},{"key":"idScanSource","type":"text","value":"SDK"},{"key":"idFirstName","type":"text","value":"TESTING-BOOKING"},{"key":"verificationStatus","type":"text","value":"APPROVED_VERIFIED"},{"key":"jumioIdScanReference","type":"text","value":"{{$guid}}"},{"key":"personalNumber","type":"text","value":"N%2FA"},{"key":"merchantIdScanReference","type":"text","value":"YOURIDSCANREFERENCE"},{"key":"idCheckSecurityFeatures","type":"text","value":"OK"},{"key":"idCheckMRZcode","type":"text","value":"OK"},{"key":"idScanImage","type":"text","value":"https://netverify.com/recognition/v1/idscan/3662e162-4db6-4aac-82ef-84b6ed716403/front"},{"key":"callBackType","type":"text","value":"NETVERIFYID"},{"key":"clientIp","type":"text","value":"xxx.xxx.xxx.xxx"},{"key":"idLastName","type":"text","value":"PLEASE-IGNORE"},{"key":"idAddress","type":"text","value":"%7B%22country%22%3A%22USA%22%2C%22stateCode%22%3A%22US%2DOH%22%7D"},{"key":"idScanStatus","type":"text","value":"SUCCESS"},{"key":"identityVerification","type":"text","value":"%7B%22similarity%22%3A%22MATCH%22%2C%22validity%22%3Atrue%7D"},{"key":"idNumber","type":"text","value":"P1234"},{"key":"idScanImageBackside","value":"https://netverify.com/recognition/v1/idscan/3662e162-4db6-4aac-82ef-84b6ed716403/back","type":"text"},{"key":"customerId","value":"840000001","type":"text"}]},"url":"{{url}}/webhook/jumio/netverify","description":"Callback from Jumio Netverify"},"response":[],"_postman_id":"61c8752c-bf2e-48cc-8199-be80dcdfcb5b"}],"id":"381eaf1e-3f41-4140-ad98-96fffcb30203","description":"Retrieve data from Jumio","event":[{"listen":"prerequest","script":{"id":"982677a2-8a93-47d6-a390-1cd2a7aa0ad3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"223b8918-c802-4e08-989f-a1cbe92d9628","type":"text/javascript","exec":[""]}}],"_postman_id":"381eaf1e-3f41-4140-ad98-96fffcb30203"},{"name":"/","id":"6ab51b31-b0e5-450f-be8f-73b9a48327fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/","description":"Ping endpoint"},"response":[{"id":"ba1c1cab-08f4-4984-b65c-4310335c5471","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{url}}/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 24 Apr 2019 08:48:51 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"22"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"hello-cloud\"\n}"}],"_postman_id":"6ab51b31-b0e5-450f-be8f-73b9a48327fd"},{"name":"/hotel/{hotelCode}","event":[{"listen":"prerequest","script":{"id":"226f147f-2c9f-4da7-850e-48018ff5e5f2","exec":["pm.environment.set(\"hotelCode\", \"ASO\");"],"type":"text/javascript"}}],"id":"36573fcf-148b-43e9-9cce-c4be4479f948","request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{url}}/hotel/{{hotelCode}}","description":"Retreive hotel info using hotel code\n* `hotelCode` : 3 letters hotel code ie ASO, SRW, etc."},"response":[{"id":"3f09e1b2-f106-4687-98ba-14d3f136dafb","name":"Hotel OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{url}}/hotel/ASO"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 03 Apr 2019 10:07:52 GMT"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"hotel\": {\n            \"hotel_id\": 1,\n            \"hotel_code\": \"ASO\",\n            \"hotel_name\": \"Bangkok Asoke\",\n            \"hotel_name_th\": \"กรุงเทพ อโศก\",\n            \"hotel_name_ja\": \"バンコク　アソーク\",\n            \"hotel_name_ko\": \"방콕 Asoke\",\n            \"hotel_name_id\": \"Bangkok Asoke\",\n            \"hotel_name_zh-hans\": \"曼谷阿索克\",\n            \"hotel_name_zh-hant\": \"曼谷阿索克\",\n            \"address\": \"7 Sukhumvit Soi 14\\r\\nKlongtoey, Bangkok 10110\\r\\nThailand\",\n            \"address_th\": \"7 สุขุมวิท ซอย 14\\nคลองเตย กรุงเทพมหานคร 10110\\nประเทศไทย\",\n            \"address_ja\": \"\",\n            \"address_ko\": \"태국 방콕 클롱토이 14, 수쿰빗 7번지  (100110)\",\n            \"address_id\": \"\",\n            \"address_zh-hans\": \"\",\n            \"address_zh-hant\": \"\",\n            \"phone\": \"+66 2653 2013\",\n            \"email\": \"frontdesk.asoke@redplanethotels.com\",\n            \"timezone\": \"Asia/Bangkok\",\n            \"currency_code\": \"THB\"\n        },\n        \"breakfast\": {\n            \"breakfast_name\": \"Filipino Breakfast\",\n            \"breakfast_name_th\": \"อาหารเช้าแบบฟิลิปปินส์\",\n            \"breakfast_name_ja\": \"フィリピンブレックファースト\",\n            \"breakfast_name_ko\": \"필리핀 조식\",\n            \"breakfast_name_id\": \"Sarapan Filipino\",\n            \"breakfast_name_zh-hans\": \"菲律宾早餐\",\n            \"breakfast_name_zh-hant\": \"菲律賓早餐\"\n        },\n        \"rooms\": [\n            {\n                \"room_id\": 1,\n                \"room_code\": \"STDD-Q\",\n                \"room_name\": \"Accessible Room\",\n                \"room_name_th\": \"ห้องพักสำหรับผู้ใช้วีลแชร์\",\n                \"room_name_ja\": \"バリアフリールーム\",\n                \"room_name_ko\": \"가능한 룸 \",\n                \"room_name_id\": \"Kamar Akses Khusus\",\n                \"room_name_zh-hans\": \"无障碍客房\",\n                \"room_name_zh-hant\": \"無障礙客房\",\n                \"room_images\": [\n                    \"https://cdn.redplanethotels.com/photos/room-type/aso-stdd-q-001.jpg\"\n                ]\n            },\n            {\n                \"room_id\": 3,\n                \"room_code\": \"DBL\",\n                \"room_name\": \"Double Room\",\n                \"room_name_th\": \"ห้องพักเตียงใหญ่\",\n                \"room_name_ja\": \"ダブルルーム\",\n                \"room_name_ko\": \"더블룸\",\n                \"room_name_id\": \"Kamar Double\",\n                \"room_name_zh-hans\": \"大床房\",\n                \"room_name_zh-hant\": \"一張雙人床的客房\",\n                \"room_images\": [\n                    \"https://cdn.redplanethotels.com/photos/room-type/aso-dbl-001.jpg\",\n                    \"https://cdn.redplanethotels.com/photos/room-type/aso-dbl-002.jpg\",\n                    \"https://cdn.redplanethotels.com/photos/room/20180913/dbbc1dd37dfd0367ce7653d0fb89f3cc.jpg\"\n                ]\n            },\n            {\n                \"room_id\": 4,\n                \"room_code\": \"TWN\",\n                \"room_name\": \"Twin Room\",\n                \"room_name_th\": \"ห้องพักเตียงแฝด\",\n                \"room_name_ja\": \"ツインルーム\",\n                \"room_name_ko\": \"트윈룸\",\n                \"room_name_id\": \"Kamar Twin\",\n                \"room_name_zh-hans\": \"双床房\",\n                \"room_name_zh-hant\": \"兩張單人床的雙人間\",\n                \"room_images\": [\n                    \"https://cdn.redplanethotels.com/photos/room-type/aso-twn-001.jpg\",\n                    \"https://cdn.redplanethotels.com/photos/room-type/aso-twn-002.jpg\"\n                ]\n            }\n        ]\n    },\n    \"message\": \"OK\",\n    \"status\": 200\n}"},{"id":"ced8a3b5-d5ce-4bac-8d2f-6ef772f74376","name":"Invalid Hotel","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{url}}/hotel/ABC"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 03 Apr 2019 10:11:12 GMT"},{"key":"Content-Length","value":"55"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": null,\n    \"message\": \"record not found\",\n    \"status\": 400\n}"}],"_postman_id":"36573fcf-148b-43e9-9cce-c4be4479f948"},{"name":"/pin/{hotelCode}/{checkInDate}/{pinCode4Digit}","event":[{"listen":"prerequest","script":{"id":"a5f9393e-461d-466d-ba87-fdd8cbc4f7b7","exec":["pm.environment.set(\"hotelCode\", \"ASA\");","pm.environment.set(\"checkInDate\", \"2018-09-01\");","pm.environment.set(\"pinCode4Digit\", \"7890\");",""],"type":"text/javascript"}}],"id":"2fc9c9db-a066-4735-ab59-75ff73b3bc79","request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"url":"{{url}}/pin/{{hotelCode}}/{{checkInDate}}/{{pinCode4Digit}}","description":"Hello Cloud is an API for retrieve / check-in with tablet at Red Planet's properties\n* `hotelCode`: 3 letters hotel code ie ASO, SRW, etc.\n* `checkInDate`: Date ISO-8601 (YYYY-MM-DD) Ex. 2018-09-21\n* `pinCode4Digit`: numberic 4-digit Ex. 1234"},"response":[{"id":"4794cb0f-65bf-4802-ad0e-a72b89c84146","name":"Invalid PIN","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"url":"{{url}}/pin/{{hotelCode}}/{{checkInDate}}/{{pinCode4Digit}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 03 Apr 2019 10:15:52 GMT"},{"key":"Content-Length","value":"66"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": null,\n    \"message\": \"Can't find your reservation\",\n    \"status\": 400\n}"},{"id":"5be73994-f20c-49e2-8e9f-1326704e60a3","name":"PIN OK with Breakfast","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"url":"{{url}}/pin/{{hotelCode}}/{{checkInDate}}/{{pinCode4Digit}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 04 Apr 2019 10:00:11 GMT"},{"key":"Content-Length","value":"1506"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"hotel_name\": \"Bangkok Surawong\",\n        \"hotel_name_th\": \"กรุงเทพ สุรวงศ์\",\n        \"hotel_name_ja\": \"バンコク　スラウォン\",\n        \"hotel_name_ko\": \"방콕 수라왕\",\n        \"hotel_name_id\": \"Bangkok Surawong\",\n        \"hotel_name_zh-hans\": \"曼谷素理翁\",\n        \"hotel_name_zh-hant\": \"曼谷素理翁\",\n        \"hotel_currency\": \"THB\",\n        \"smoking_policy\": 2000,\n        \"booking_id\": 115451,\n        \"booking_number\": \"T-SRW047668\",\n        \"first_name\": \"PHATHAISARN\",\n        \"last_name\": \"CHALERMCHUANG\",\n        \"adults\": 2,\n        \"children\": 0,\n        \"check_in\": \"2019-04-04\",\n        \"check_out\": \"2019-04-06\",\n        \"rooms\": [\n            {\n                \"room_id\": 3,\n                \"room_name\": \"Double Room\",\n                \"room_name_th\": \"ห้องพักเตียงใหญ่\",\n                \"room_name_ja\": \"ダブルルーム\",\n                \"room_name_ko\": \"더블룸\",\n                \"room_name_id\": \"Kamar Double\",\n                \"room_name_zh-hans\": \"大床房\",\n                \"room_name_zh-hant\": \"一張雙人床的客房\",\n                \"room_numbers\": [\n                    \"102\"\n                ],\n                \"room_images\": [\n                    \"https://cdn.redplanethotels.com/photos/room-type/srw-dbl-001.jpg\",\n                    \"https://cdn.redplanethotels.com/photos/room-type/srw-dbl-002.jpg\",\n                    \"https://cdn.redplanethotels.com/photos/room-type/srw-dbl-003.jpg\"\n                ]\n            }\n        ],\n        \"breakfast\": {\n            \"breakfast_name\": \"American Breakfast\",\n            \"breakfast_name_th\": \"อาหารเช้าแบบอเมริกัน\",\n            \"breakfast_name_ja\": \"アメリカンブレックファースト\",\n            \"breakfast_name_ko\": \"조식 - 아메리칸 스타일\",\n            \"breakfast_name_id\": \"Sarapan Menu Amerika \",\n            \"breakfast_name_zh-hans\": \"美式早餐\",\n            \"breakfast_name_zh-hant\": \"美式早餐\"\n        },\n        \"has_breakfast\": true,\n        \"additional_items\": false\n    },\n    \"message\": \"OK\",\n    \"status\": 200\n}"},{"id":"b2887882-71f7-45de-858d-77af4f288b8b","name":"PIN OK without Breakfast","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"url":"{{url}}/pin/{{hotelCode}}/{{checkInDate}}/{{pinCode4Digit}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 04 Apr 2019 10:00:11 GMT"},{"key":"Content-Length","value":"1506"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"hotel_name\": \"Bangkok Surawong\",\n        \"hotel_name_th\": \"กรุงเทพ สุรวงศ์\",\n        \"hotel_name_ja\": \"バンコク　スラウォン\",\n        \"hotel_name_ko\": \"방콕 수라왕\",\n        \"hotel_name_id\": \"Bangkok Surawong\",\n        \"hotel_name_zh-hans\": \"曼谷素理翁\",\n        \"hotel_name_zh-hant\": \"曼谷素理翁\",\n        \"hotel_currency\": \"THB\",\n        \"smoking_policy\": 2000,\n        \"booking_id\": 115451,\n        \"booking_number\": \"T-SRW047668\",\n        \"first_name\": \"PHATHAISARN\",\n        \"last_name\": \"CHALERMCHUANG\",\n        \"adults\": 2,\n        \"children\": 0,\n        \"check_in\": \"2019-04-04\",\n        \"check_out\": \"2019-04-06\",\n        \"rooms\": [\n            {\n                \"room_id\": 3,\n                \"room_name\": \"Double Room\",\n                \"room_name_th\": \"ห้องพักเตียงใหญ่\",\n                \"room_name_ja\": \"ダブルルーム\",\n                \"room_name_ko\": \"더블룸\",\n                \"room_name_id\": \"Kamar Double\",\n                \"room_name_zh-hans\": \"大床房\",\n                \"room_name_zh-hant\": \"一張雙人床的客房\",\n                \"room_numbers\": [\n                    \"102\"\n                ],\n                \"room_images\": [\n                    \"https://cdn.redplanethotels.com/photos/room-type/srw-dbl-001.jpg\",\n                    \"https://cdn.redplanethotels.com/photos/room-type/srw-dbl-002.jpg\",\n                    \"https://cdn.redplanethotels.com/photos/room-type/srw-dbl-003.jpg\"\n                ]\n            }\n        ],\n        \"breakfast\": {\n            \"breakfast_name\": \"American Breakfast\",\n            \"breakfast_name_th\": \"อาหารเช้าแบบอเมริกัน\",\n            \"breakfast_name_ja\": \"アメリカンブレックファースト\",\n            \"breakfast_name_ko\": \"조식 - 아메리칸 스타일\",\n            \"breakfast_name_id\": \"Sarapan Menu Amerika \",\n            \"breakfast_name_zh-hans\": \"美式早餐\",\n            \"breakfast_name_zh-hant\": \"美式早餐\"\n        },\n        \"has_breakfast\": false,\n        \"additional_items\": false\n    },\n    \"message\": \"OK\",\n    \"status\": 200\n}"},{"id":"fb02ec30-386d-4514-9c2f-e6299c8fd984","name":"PIN OK but Booking had multi-rooms","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"url":"{{url}}/pin/{{hotelCode}}/{{checkInDate}}/{{pinCode4Digit}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 03 Apr 2019 10:15:05 GMT"},{"key":"Content-Length","value":"83"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": null,\n    \"message\": \"Cannot use self check-in with Multiple Rooms\",\n    \"status\": 400\n}"}],"_postman_id":"2fc9c9db-a066-4735-ab59-75ff73b3bc79"},{"name":"/book/{bookingID}/completed","event":[{"listen":"prerequest","script":{"id":"d6fd8abe-ee6f-48bb-9f78-1c434be9585f","exec":["pm.environment.set(\"bookingID\", 115451);"],"type":"text/javascript"}}],"id":"9de102c5-1b24-4c1f-b493-268b6fcb3e87","request":{"method":"POST","header":[],"url":"{{url}}/book/{{bookingID}}/completed","description":"Update finished keycards distributed\n* `bookingID` : booking id"},"response":[{"id":"6225679b-afd6-47ae-86f2-527598c8628f","name":"Invalid Booking","originalRequest":{"method":"POST","header":[],"url":"{{url}}/book/{{bookingID}}/completed"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 03 Apr 2019 10:21:52 GMT"},{"key":"Content-Length","value":"70"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": 111121321321312300,\n    \"message\": \"Invalid BookingID\",\n    \"status\": 400\n}"},{"id":"b6f9d469-e35f-4ad6-ba7a-32dec6e0d762","name":"OK","originalRequest":{"method":"POST","header":[],"url":"{{url}}/book/{{bookingID}}/completed"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 03 Apr 2019 10:21:29 GMT"},{"key":"Content-Length","value":"43"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": 115451,\n    \"message\": \"OK\",\n    \"status\": 200\n}"}],"_postman_id":"9de102c5-1b24-4c1f-b493-268b6fcb3e87"},{"name":"/test/reservation-confirmation-email-notification","event":[{"listen":"prerequest","script":{"id":"d6fd8abe-ee6f-48bb-9f78-1c434be9585f","exec":["pm.environment.set(\"bookingNumber\", \"T-ASO016015\");","pm.environment.set(\"email\", \"kanaruj@redplanethotels.com\");",""],"type":"text/javascript"}}],"id":"38ba9e0b-ce04-4311-8848-03b43987c7d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{url}}/test/reservation-confirmation-email-notification?email={{$email}}&booking_number={{$bookingNumber}}","host":["{{url}}"],"path":["test","reservation-confirmation-email-notification"],"query":[{"key":"email","value":"{{$email}}"},{"key":"booking_number","value":"{{$bookingNumber}}"}]},"description":"Update finished keycards distributed\n* `bookingID` : booking id"},"response":[{"id":"2c95220d-bd9a-4176-be51-1f8e8d045f4e","name":"Invalid Booking","originalRequest":{"method":"POST","header":[],"url":"{{url}}/book/{{bookingID}}/completed"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 03 Apr 2019 10:21:52 GMT"},{"key":"Content-Length","value":"70"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": 111121321321312300,\n    \"message\": \"Invalid BookingID\",\n    \"status\": 400\n}"},{"id":"ccdd8eb6-bbfb-4643-b88c-dce873c5c247","name":"OK","originalRequest":{"method":"POST","header":[],"url":"{{url}}/book/{{bookingID}}/completed"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 03 Apr 2019 10:21:29 GMT"},{"key":"Content-Length","value":"43"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": 115451,\n    \"message\": \"OK\",\n    \"status\": 200\n}"}],"_postman_id":"38ba9e0b-ce04-4311-8848-03b43987c7d9"},{"name":"/confirm_face/{bookingID}","event":[{"listen":"prerequest","script":{"id":"d071cfe4-3dec-4c31-a4f8-682970d6bdd8","exec":["pm.environment.set(\"bookingID\", \"156981\");",""],"type":"text/javascript"}}],"id":"562465b1-2ea9-440a-9472-3048b6d0887a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","value":null}]},"url":"{{url}}/confirm_face/{{bookingID}}","description":"# Compare Face\n\nAPI for upload user's face image to compare with the saved id document image"},"response":[{"id":"1492e778-4a28-42f1-ad9c-1c21b0f3e6a8","name":"Face not match","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file"}]},"url":"{{url}}/confirm_face/{{bookingID}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 03 May 2019 10:17:40 GMT"},{"key":"Content-Length","value":"57"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"is_matched\": false\n    },\n    \"message\": \"OK\",\n    \"status\": 200\n}"},{"id":"2cb7a99b-00c6-4759-af42-b630e234f15f","name":"Face matched","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file"}]},"url":"{{url}}/confirm_face/{{bookingID}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 03 May 2019 10:19:06 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"is_matched\": true\n    },\n    \"message\": \"OK\",\n    \"status\": 200\n}"}],"_postman_id":"562465b1-2ea9-440a-9472-3048b6d0887a"}],"event":[{"listen":"prerequest","script":{"id":"a447cf4b-471c-4588-bdf4-4f0ce04b5eee","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7f310c8e-5dcc-4041-9498-25d68fb98f5b","type":"text/javascript","exec":[""]}}],"variable":[{"key":"hotelCode","value":"{hotelCode}"},{"key":"pinCode4Digit","value":"{pinCode4Digit}"},{"key":"checkInDate","value":"{checkInDate}"},{"key":"url","value":"http://localhost:8919"},{"key":"version","value":"{version}"},{"key":"deviceIdentity","value":"{deviceIdentity}"},{"key":"bookingID","value":"{bookingID}"}]}