{"info":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","description":"<html><head></head><body><h1 id=\"overview\">Overview</h1>\n<p>Things that the developers should know about</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>What is the preferred way of using the API?</p>\n<h1 id=\"error-codes\">Error Codes</h1>\n<p>What errors and status codes can a user expect?</p>\n<h1 id=\"rate-limit\">Rate limit</h1>\n<p>Is there a limit to the number of requests an user can send?<br>N/A</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Overview","slug":"overview"},{"content":"Authentication","slug":"authentication"},{"content":"Error Codes","slug":"error-codes"},{"content":"Rate limit","slug":"rate-limit"}],"owner":"5195946","collectionId":"14c3c4f2-7c6f-4166-8567-effce069e1e8","publishedId":"RztfwXJv","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-03-19T10:10:07.000Z"},"item":[{"name":"User","item":[{"name":"Login User","event":[{"listen":"test","script":{"id":"1fa7d964-76e0-45a6-a482-a50445f753b0","exec":["var jsonData = pm.response.json();","pm.environment.set(\"access_token\", jsonData.data.access_token);"],"type":"text/javascript"}}],"id":"9d86aecf-547e-43e0-bb25-c21e73e40a4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"X-CSRF-Token","value":"{{csrf-token}}","description":"<p>CSRF token</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"username\": \"henry.ngo@groups360.com\",\n\t\"password\": \"Password1\"\n}"},"url":"{{base_url}}/users/login","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["users","login"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"06623b6a-f690-4538-8d16-95ae5bebbed3","name":"Login User","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"X-CSRF-Token","value":"{{csrf-token}}","description":"CSRF token","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"email\": \"daniel@idemlabs.com\",\n\t\"passwd\": \"password\",\n\t\"type\": 1\n}"},"url":"{{endpoint}}/api/v1/users/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"179"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9kMFuozAQhl9l5XO0wgR200g9pAJKInlQXBt3fEEJkBJj0ighSnDVdy_dlaqeehqNRvPN988bKXan-tyQeX-61BNS7CsyfyO_tmROMpUYdOsrPMoA3MKDqKTYLV0WrX10ugW3vGEnHYqlBwZaFA8N-Eh1h4MWsaeVDNDJMFMro8XIMEuH3ZpCFw_McQtG3sbdAFTegWt96DDUQjfjLaoj9EExDxW3KPDKInlFFd-YW_jgXm5Z1F5RNA1z5cgo78n7hJTn067oX9v68BWBuZUFhR5z8RSM3TPDPB0tfDSJ-azwGE-ZWwdsDApq1YLPAr24_4fbV_Wh3_fD782lb4p-ONZkfrhY-23y-SwSln51R7dB-Kec1sGMzv7OynJbbcmEvPbHoq2HLx1Okw1PAEaJNBfw_JQfJfcoQMITYY-KU_2Ux32mbJNKwVMhQ8ZbylVepcJbSSFzzWPIpE1SSOzY38X85b_u5Vyfip-F3j8Aw8OfBg.XS2sUg.5lBOg_yqd_bDtmaw-na1gg6YXAc; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Tue, 16 Jul 2019 10:52:02 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"csrf\": \"IjMyZTVmNDMxNzY5YjIzNGQwNmIxY2QwNjRhNzM0ODI2MzViZDdjOGQi.XS2sUg.XffDkIID48EEhlfaf45hI5p2ohU\"\n    },\n    \"status\": \"success\"\n}"},{"id":"ba6f895e-25af-4217-89dd-42201c0f199e","name":"Token","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"X-CSRF-Token","value":"{{csrf-token}}","description":"CSRF token","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"username\": \"henry@idemlabs.com\",\n\t\"password\": \"Password1\"\n}"},"url":"{{base_url}}/users/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"662"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImJjZDRlZGE3YmYxYzBjZGI5M2M2NmNjOGFjZDAzMTJkZWRlNGM1ZTYi.X0jkHw.WI57hpsw7h0NFCkChc7T3La878I"},{"key":"Set-Cookie","value":"session=8bc77176-4e07-4d51-8fa7-d8d545748996.A5J6j2l-mmJtbnGxI8qeib7pZ98; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 28 Aug 2020 11:01:51 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"access_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI1YzEwNzJkMTUwNDVhZDNkYzYyODIxNjkiLCJpc3MiOiJpZGVtIiwianRpIjoiNWY0OGU0MWY1NzkyZjkyZjVkODc1NTg2IiwidXNlciI6eyJ1c2VybmFtZSI6IiIsInR5cGUiOjEsImlkIjoiNWMxMDcyZDE1MDQ1YWQzZGM2MjgyMTY5IiwiZW1haWwiOiJoZW5yeUBpZGVtbGFicy5jb20ifSwiZXhwIjoxNTk5OTA4NTExLCJpYXQiOjE1OTg2MTI1MTF9.nN8Ogh_aeLFm8JCZJyT41is0apkgrJoEBHzhjO5ydrE\",\n        \"created_at\": \"2020-08-28T11:01:51.911650\",\n        \"expires_in\": 1296000,\n        \"next\": \"http://localhost:5001/\",\n        \"token_type\": \"Bearer\",\n        \"user_id\": \"5c1072d15045ad3dc6282169\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"9d86aecf-547e-43e0-bb25-c21e73e40a4e"},{"name":"Logout user","id":"9088584e-bb45-4bf7-86d2-11d5d5c99dde","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"X-CSRF-Token","value":"{{csrf-token}}","description":"<p>CSRF token</p>\n","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{endpoint}}/api/v1/users/logout","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","users","logout"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"1da46084-323f-42b1-929a-6c0fca0895c3","name":"Logout user","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"X-CSRF-Token","value":"{{csrf-token}}","description":"CSRF token","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{endpoint}}/api/v1/users/logout"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJxNkEFvgkAQhf9Kw7lpAPFQEw80gECyQ1x32c5eiEUqLIuaFoOs8b8X28T0NJmZzPvem6tVNDtrcbWePqyFlYlIoVkPsOIeGN-GoHSwS0wWrF00sgWTXLDjBllig4IW2VsNLjqyw1Gy0JaCe2j4PBOpkmzSUInBbu1AF47EUA2KX6ZbD0TegWld6HAumawnliMDdEEQGwXVyHAgAR9QhBdifBfM_pIF7YCsrokpJ41yad2erfL767Poj211eEQgJtUg0CYmnIHSDVHEloHvoorUvcIqnBGz9sgUFETagks86S9_5ZpddeibfnzZnvu66MdTZS0OZ63_be7P-hsd-1PRVuMDTJ1oSyOACRfnDN43-YlT2wGIaMT0SVBHbvKwz4SuY85ozPic0NahIt_FzE4547mkIWRcRzFEeupfQ7q_G7v9AIlAijc.XS2vAw.2bMvzIjk_tEca4czjSKHvtJ0pxg; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Tue, 16 Jul 2019 11:03:31 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5c2d91b456c3e481878ccbdb\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"9088584e-bb45-4bf7-86d2-11d5d5c99dde"},{"name":"Forgot Password","id":"d19778bc-6683-4e75-bf37-44319dee9e9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"X-CSRF-Token","value":"{{csrf-token}}","description":"<p>CSRF token</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"email\": \"user@idemlabs.com\",\n\t\"type\": 1\n}"},"url":"{{endpoint}}/api/v1/users/forgot-password","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","users","forgot-password"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"1dd272ab-7021-4526-a6e4-81878a1cf56f","name":"Forgot Password","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"X-CSRF-Token","value":"{{csrf-token}}","description":"CSRF token","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"email\": \"user@idemlabs.com\",\n\t\"type\": 1\n}"},"url":"{{endpoint}}/api/v1/users/forgot-password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"151"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9kMFuozAQhl9l5XO0wgR200g9pAJKInlQXBt3fEEJkBJj0ighSnDVdy_dlaqeehqNRvPN988bKXan-tyQeX-61BNS7CsyfyO_tmROMpUYdOsrPMoA3MKDqKTYLV0WrX10ugW3vGEnHYqlBwZaFA8N-Eh1h4MWsaeVDNDJMFMro8XIMEuH3ZpCFw_McQtG3sbdAFTegWt96DDUQjfjLaoj9EExDxW3KPDKInlFFd-YW_jgXm5Z1F5RNA1z5cgo78n7hJTn067oX9v68BWBuZUFhR5z8RSM3TPDPB0tfDSJ-azwGE-ZWwdsDApq1YLPAr24_4fbV_Wh3_fD782lb4p-ONZkfrhY-23y-SwSln51R7dB-Kec1sGMzv7OynJbbcmEvPbHoq2HLx1Okw1PAEaJNBfw_JQfJfcoQMITYY-KU_2Ux32mbJNKwVMhQ8ZbylVepcJbSSFzzWPIpE1SSOzY38X85b_u5Vyfip-F3j8Aw8OfBg.XS2cOg.kRAzjxFg9vpINGQQq0G3dTKjYdI; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Tue, 16 Jul 2019 09:43:22 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {},\n    \"message\": \"An email has been sent to the registered account to reset password.\",\n    \"status\": \"success\"\n}"}],"_postman_id":"d19778bc-6683-4e75-bf37-44319dee9e9d"},{"name":"Set Password","id":"8f15b234-934d-4d39-a24a-a653fcdc46da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"description":"<p>CSRF token</p>\n","key":"X-CSRF-Token","type":"text","value":"{{csrf-token}}"}],"body":{"mode":"raw","raw":""},"url":"{{endpoint}}/api/v1/users/set-password/:user_id/:token","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","users","set-password",":user_id",":token"],"host":["{{endpoint}}"],"query":[],"variable":[{"description":{"content":"<p>The id of the user</p>\n","type":"text/plain"},"type":"string","value":"{{userid}}","key":"user_id"},{"type":"string","value":"{{token}}","key":"token"}]}},"response":[{"id":"9fc99370-3a51-42c5-81f1-60d3b9f5ebe0","name":"Reset Password","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"X-CSRF-Token","value":"{{csrf-token}}","description":"CSRF token","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{endpoint}}/api/v1/users/set-password/:user_id/:reset_token","host":["{{endpoint}}"],"path":["api","v1","users","set-password",":user_id",":reset_token"],"variable":[{"key":"user_id","value":"{{userid}}","description":"The id of the user"},{"key":"reset_token","value":"{{reset-token}}","description":"Reset token"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"64"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9kMFuozAQhl9l5XO0wgR200g9pAJKInlQXBt3fEEJkBJj0ighSnDVdy_dlaqeehqNRvPN988bKXan-tyQeX-61BNS7CsyfyO_tmROMpUYdOsrPMoA3MKDqKTYLV0WrX10ugW3vGEnHYqlBwZaFA8N-Eh1h4MWsaeVDNDJMFMro8XIMEuH3ZpCFw_McQtG3sbdAFTegWt96DDUQjfjLaoj9EExDxW3KPDKInlFFd-YW_jgXm5Z1F5RNA1z5cgo78n7hJTn067oX9v68BWBuZUFhR5z8RSM3TPDPB0tfDSJ-azwGE-ZWwdsDApq1YLPAr24_4fbV_Wh3_fD782lb4p-ONZkfrhY-23y-SwSln51R7dB-Kec1sGMzv7OynJbbcmEvPbHoq2HLx1Okw1PAEaJNBfw_JQfJfcoQMITYY-KU_2Ux32mbJNKwVMhQ8ZbylVepcJbSSFzzWPIpE1SSOzY38X85b_u5Vyfip-F3j8Aw8OfBg.XS2hfA.4iABHTOkQOeoiWNfYbd2VuozbaI; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Tue, 16 Jul 2019 10:05:48 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {},\n    \"status\": \"success\"\n}"}],"_postman_id":"8f15b234-934d-4d39-a24a-a653fcdc46da"},{"name":"Set Password","id":"da7ae967-d31a-4204-a093-e656dba7b9f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{endpoint}}/api/v1/users/set-password/:user_id/:token","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","users","set-password",":user_id",":token"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"user_id"},{"type":"string","value":"","key":"token"}]}},"response":[],"_postman_id":"da7ae967-d31a-4204-a093-e656dba7b9f6"},{"name":"Register Planner","id":"496d3be6-9038-424c-a30e-9e65ca709176","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\n}"},"url":"{{endpoint}}/api/v1/users/register/:token","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","users","register",":token"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{token}}","key":"token"}]}},"response":[],"_postman_id":"496d3be6-9038-424c-a30e-9e65ca709176"},{"name":"Reset Password","id":"9b2923bd-b46c-401e-b3b4-ae1bb7f4e742","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"X-CSRF-Token","value":"{{csrf-token}}","description":"<p>CSRF token</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"passwd\": \"password\"\n}"},"url":"{{endpoint}}/api/v1/users/reset-password/:user_id/:reset_token","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","users","reset-password",":user_id",":reset_token"],"host":["{{endpoint}}"],"query":[],"variable":[{"id":"bdafc4c0-0b29-49a2-84de-7ccd329d3303","description":{"content":"<p>The id of the user</p>\n","type":"text/plain"},"type":"string","value":"{{userid}}","key":"user_id"},{"id":"a8f52eda-9e3c-4d20-8b4e-2f5a44f9719f","description":{"content":"<p>Reset token</p>\n","type":"text/plain"},"type":"string","value":"{{reset-token}}","key":"reset_token"}]}},"response":[{"id":"62946de9-b5df-494d-916a-4571edb146cd","name":"Reset Password","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"X-CSRF-Token","value":"{{csrf-token}}","description":"CSRF token","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"passwd\": \"password\"\n}"},"url":{"raw":"{{endpoint}}/api/v1/users/reset-password/:user_id/:reset_token","host":["{{endpoint}}"],"path":["api","v1","users","reset-password",":user_id",":reset_token"],"variable":[{"key":"user_id","value":"{{userid}}","description":"The id of the user"},{"key":"reset_token","value":"{{reset-token}}","description":"Reset token"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"115"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9kMFuozAQhl9l5XO0wgR200g9pAJKInlQXBt3fEEJkBJj0ighSnDVdy_dlaqeehqNRvPN988bKXan-tyQeX-61BNS7CsyfyO_tmROMpUYdOsrPMoA3MKDqKTYLV0WrX10ugW3vGEnHYqlBwZaFA8N-Eh1h4MWsaeVDNDJMFMro8XIMEuH3ZpCFw_McQtG3sbdAFTegWt96DDUQjfjLaoj9EExDxW3KPDKInlFFd-YW_jgXm5Z1F5RNA1z5cgo78n7hJTn067oX9v68BWBuZUFhR5z8RSM3TPDPB0tfDSJ-azwGE-ZWwdsDApq1YLPAr24_4fbV_Wh3_fD782lb4p-ONZkfrhY-23y-SwSln51R7dB-Kec1sGMzv7OynJbbcmEvPbHoq2HLx1Okw1PAEaJNBfw_JQfJfcoQMITYY-KU_2Ux32mbJNKwVMhQ8ZbylVepcJbSSFzzWPIpE1SSOzY38X85b_u5Vyfip-F3j8Aw8OfBg.XS2gew._jEWB8BRxZZJzzuX9Wa7eHc6ONg; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Tue, 16 Jul 2019 10:01:31 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {},\n    \"message\": \"User password reset successful.\",\n    \"status\": \"success\"\n}"}],"_postman_id":"9b2923bd-b46c-401e-b3b4-ae1bb7f4e742"},{"name":"Get User","id":"efa3cf0e-9a6f-42ce-b46b-6423083aa6a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/users/:user_id","description":"<p>Get a specific user information.</p>\n","urlObject":{"path":["users",":user_id"],"host":["{{base_url}}"],"query":[],"variable":[{"description":{"content":"<p>(Required) Enter user_id as \"me\" to access current user</p>\n","type":"text/plain"},"type":"string","value":"me","key":"user_id"}]}},"response":[{"id":"b71c68ed-e312-4ebf-a64c-9de0e921f37a","name":"Get User","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/users/:user_id","host":["{{endpoint}}"],"path":["api","v1","users",":user_id"],"variable":[{"key":"user_id","value":"{{userid}}","description":"The id of the user"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Content-Length","value":"1638","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 27 Aug 2018 08:33:36 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"session=.eJyVj0GLwjAQhf9KyVlkW-ul4GGXWlGY7AqpZbKIVI1N0lTFVKoR__tGdw9e9zTzeLxv5t3IamdKK4UlyfeNBO3vWJOElMWwWXejEbn3yJcRpRWBOVSB2gftISg3G2Ft0Eplg2NZiT5Z3pc9DzsJK0myK40VXqotSf5wVBtDJ9BRTRVNpUSdR5DCBQqIqYOIp9CBqxxlld-nETYYgpaGp2OHbB6jM8r7oc8bZDhA9-F1fvHMmEbjAUbowM1qSDMJxXQAk6zxWnG2aLCgNbKFAcdrXkwvwNBhk4eoNzHV4w70_O2RpZNMfTJ4VlZbsW9Ve-2X51au2utRkGR_NubFeW3nL_I0M5zVjqd5SF09pGymMZr5L9_dg3i24rT6V-b-Az4PiWQ.DmVI4A.DinQnnJTZ--25Z5Ad2iO--X0xPY; HttpOnly; Path=/","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Vary","value":"Cookie","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"hotel.localhost","path":"/","secure":false,"value":".eJyVj0GLwjAQhf9KyVlkW-ul4GGXWlGY7AqpZbKIVI1N0lTFVKoR__tGdw9e9zTzeLxv5t3IamdKK4UlyfeNBO3vWJOElMWwWXejEbn3yJcRpRWBOVSB2gftISg3G2Ft0Eplg2NZiT5Z3pc9DzsJK0myK40VXqotSf5wVBtDJ9BRTRVNpUSdR5DCBQqIqYOIp9CBqxxlld-nETYYgpaGp2OHbB6jM8r7oc8bZDhA9-F1fvHMmEbjAUbowM1qSDMJxXQAk6zxWnG2aLCgNbKFAcdrXkwvwNBhk4eoNzHV4w70_O2RpZNMfTJ4VlZbsW9Ve-2X51au2utRkGR_NubFeW3nL_I0M5zVjqd5SF09pGymMZr5L9_dg3i24rT6V-b-Az4PiWQ.DmVI4A.DinQnnJTZ--25Z5Ad2iO--X0xPY","key":"session"}],"responseTime":null,"body":"{\n    \"code\": \"OK\", \n    \"data\": {\n        \"email\": \"demo_hotel@unifide.sg\", \n        \"first_name\": \"Kyle\", \n        \"hotel_id\": \"5b54998a1c9157bb20a70652\", \n        \"hotels\": [\n            {\n                \"id\": \"5b54998a1c9157bb20a70652\", \n                \"logo_url\": \"https://s3-ap-southeast-1.amazonaws.com/files.idemlabs.com/hotels/5b54998a1c9157bb20a70652/3D2J898S-maxresdefault_1.jpg\", \n                \"name\": \"Lorem Ipsum 2\", \n                \"role\": \"admin\"\n            }\n        ], \n        \"id\": \"5b7d1ee93d5579952ccbb303\", \n        \"last_name\": \"Rodriguez\", \n        \"name\": \"Kyle Rodriguez\", \n        \"permissions\": [\n            \"block.view\", \n            \"block.add\", \n            \"block.cancel\", \n            \"reservation.view\", \n            \"reservation.add\", \n            \"reservation.cancel\", \n            \"event.view\", \n            \"event.add\", \n            \"event.cancel\", \n            \"ep.view\", \n            \"hotel.view\", \n            \"hotel.edit\", \n            \"facility.view\", \n            \"facility.edit\", \n            \"accommodation.view\", \n            \"accommodation.edit\", \n            \"reservation_setup.view\", \n            \"reservation_setup.edit\", \n            \"report.view\", \n            \"manage_user.view\", \n            \"user.view\", \n            \"user.add\", \n            \"user.delete\", \n            \"user_block.transfer\", \n            \"manager.view\", \n            \"manager.add\", \n            \"manager.delete\", \n            \"manager_block.transfer\", \n            \"admin.view\", \n            \"admin_block.transfer\"\n        ], \n        \"role\": \"admin\", \n        \"type\": 1\n    }, \n    \"status\": \"success\"\n}\n"}],"_postman_id":"efa3cf0e-9a6f-42ce-b46b-6423083aa6a1"},{"name":"Get Current User","id":"1447bbcb-8d83-48f0-aaa3-73a9f76c4a0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/users/me","description":"<p>Get current authenticated user.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","users","me"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"54c3a8d0-9794-46dd-a63a-ad547da5c8ec","name":"Get Current User","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/users/me"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Content-Length","value":"1638","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 27 Aug 2018 08:31:23 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"session=.eJyVj0GLwjAQhf9KyVlkW-ul4GGXWlGY7AqpZbKIVI1N0lTFVKoR__tGdw9e9zTzeLxv5t3IamdKK4UlyfeNBO3vWJOElMWwWXejEbn3yJcRpRWBOVSB2gftISg3G2Ft0Eplg2NZiT5Z3pc9DzsJK0myK40VXqotSf5wVBtDJ9BRTRVNpUSdR5DCBQqIqYOIp9CBqxxlld-nETYYgpaGp2OHbB6jM8r7oc8bZDhA9-F1fvHMmEbjAUbowM1qSDMJxXQAk6zxWnG2aLCgNbKFAcdrXkwvwNBhk4eoNzHV4w70_O2RpZNMfTJ4VlZbsW9Ve-2X51au2utRkGR_NubFeW3nL_I0M5zVjqd5SF09pGymMZr5L9_dg3i24rT6V-b-Az4PiWQ.DmVIWw.VOFlK_DnwBym8qfLyAQIK689EXs; HttpOnly; Path=/","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Vary","value":"Cookie","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"hotel.localhost","path":"/","secure":false,"value":".eJyVj0GLwjAQhf9KyVlkW-ul4GGXWlGY7AqpZbKIVI1N0lTFVKoR__tGdw9e9zTzeLxv5t3IamdKK4UlyfeNBO3vWJOElMWwWXejEbn3yJcRpRWBOVSB2gftISg3G2Ft0Eplg2NZiT5Z3pc9DzsJK0myK40VXqotSf5wVBtDJ9BRTRVNpUSdR5DCBQqIqYOIp9CBqxxlld-nETYYgpaGp2OHbB6jM8r7oc8bZDhA9-F1fvHMmEbjAUbowM1qSDMJxXQAk6zxWnG2aLCgNbKFAcdrXkwvwNBhk4eoNzHV4w70_O2RpZNMfTJ4VlZbsW9Ve-2X51au2utRkGR_NubFeW3nL_I0M5zVjqd5SF09pGymMZr5L9_dg3i24rT6V-b-Az4PiWQ.DmVIWw.VOFlK_DnwBym8qfLyAQIK689EXs","key":"session"}],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"block_count\": 3,\n        \"created_at\": \"2018-08-31T06:39:53.583000\",\n        \"email\": \"demo_hotel@unifide.sg\",\n        \"first_name\": \"Singapore\",\n        \"hotel_id\": \"5b88e2b99e96e68efa2f8b43\",\n        \"hotels\": [\n            {\n                \"id\": \"5b88e2b99e96e68efa2f8b43\",\n                \"logo_url\": \"http://static.localhost:5001/static/media/7ACMEBM3-sofitel-logo.png\",\n                \"name\": \"Sofitel Singapore Sentosa Resorts & Spa\",\n                \"role\": \"admin\"\n            }\n        ],\n        \"id\": \"5b88e2b99e96e68efa2f8b44\",\n        \"last_name\": \"Hotel\",\n        \"name\": \"Singapore Hotel\",\n        \"permissions\": [\n            \"block.view\",\n            \"block.add\",\n            \"block.cancel\",\n            \"reservation.view\",\n            \"reservation.add\",\n            \"reservation.cancel\",\n            \"event.view\",\n            \"event.add\",\n            \"event.cancel\",\n            \"ep.view\",\n            \"hotel.view\",\n            \"hotel.edit\",\n            \"facility.view\",\n            \"facility.edit\",\n            \"accommodation.view\",\n            \"accommodation.edit\",\n            \"reservation_setup.view\",\n            \"reservation_setup.edit\",\n            \"report.view\",\n            \"manage_user.view\",\n            \"user.view\",\n            \"user.add\",\n            \"user.delete\",\n            \"user_block.transfer\",\n            \"manager.view\",\n            \"manager.add\",\n            \"manager.delete\",\n            \"manager_block.transfer\",\n            \"admin.view\",\n            \"admin_block.transfer\"\n        ],\n        \"role\": \"admin\",\n        \"type\": 1\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"1447bbcb-8d83-48f0-aaa3-73a9f76c4a0f"},{"name":"OTP Request","id":"40785138-9150-4c0e-a7f9-4dcc5644b2a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-CSRF-Token","value":"{{csrf-token}}","description":"<p>CSRF token</p>\n","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{endpoint}}/api/v1/otp-request/:token","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","otp-request",":token"],"host":["{{endpoint}}"],"query":[],"variable":[{"description":{"content":"<p>CSRF token</p>\n","type":"text/plain"},"type":"any","value":"{{csrf-token}}","key":"token"}]}},"response":[{"id":"468124d7-8b64-4fbf-8c1a-82a4734c756a","name":"OTP Request","originalRequest":{"method":"POST","header":[{"key":"X-CSRF-Token","value":"{{csrf-token}}","type":"text","description":"CSRF token"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{endpoint}}/api/v1/otp-request/:token","host":["{{endpoint}}"],"path":["api","v1","otp-request",":token"],"variable":[{"key":"token","value":"{{csrf-token}}","description":"CSRF token"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"141"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkEGLwjAUhP_KkrMsNLaXgoddUkuFJERawsulqK0maesutmIT8b9v3Mt63esb3nwzc0f18dKOGqXHXT-2C1SbBqV39LZHKWIeYlZ2M9gTVhJmKBvLcOVoLpasFDMjcKOlMjyHCPDaUiIiGGBWQxVRKWJlw11mkSppzEnmmM0inq812K1V5OMGvohBrjvqO0cxYIqzG8uLRA2FY2XlONl0zIuIk97yJ9sXCVjVhwyRIqfgqQ0nzUDzaoUeC3QYL8d6-ura81-F8uCohGWIZ6ivcIiWMPJpKMlCtSKhg4iZ1RrwRlMv3BMFYvVrZ5r2PJnJve-uk64n992i9Hzt-xfldSy5MWGQJZeQsGEbRskC6eCUFC7Q_NPxOraX-l8_jx_KBIeC.Dq4SPA.Mir5wGpN5XYxK67IwN1Wt8X6EH4; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Sun, 21 Oct 2018 13:35:56 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"message\": \"Generated OTP code was already sent to your email.\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"40785138-9150-4c0e-a7f9-4dcc5644b2a6"},{"name":"OTP Verify","id":"0ee4595a-c116-44aa-abd9-13fbae567c31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"X-CSRF-Token","value":"{{csrf-token}}","description":"<p>CSRF token</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"otp_code\": 706100\n}"},"url":"{{endpoint}}/api/v1/otp-verify/:token","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","otp-verify",":token"],"host":["{{endpoint}}"],"query":[],"variable":[{"description":{"content":"<p>CSRF token</p>\n","type":"text/plain"},"type":"any","value":"{{csrf-token}}","key":"token"}]}},"response":[{"id":"3b02643d-eec7-4bca-8802-ff4c1fd12cab","name":"OTP Verify","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"X-CSRF-Token","value":"{{csrf-token}}","description":"CSRF token","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"otp_code\": 706100\n}"},"url":"{{endpoint}}/api/v1/otp-verify/IjViYzM1OTAzOTZkYjhhMWI1MTM0ZjFmNCI.Dq4ItA.XogoYrNYCG3qsPH25w1mfRlZgCc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"116"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJxVkE9rg0AQxb9K2XMouokXIYeUNRJhRgwbZPYirTHV1U2LUeIa8t27KRTS2zD_3vu9GytOfXWpWTj0Y7VgRXNk4Y29fLCQoQQ_FcdW5dmEcVITjzwQ7VVJpUliq8TBIs-uYMiqGDzkiUG5NzAfZpi3NcmSk8wmkDsvjaMZc9WCSDolW-t2OHHyMd8aEBuOGnzksExzVwnwlSwtSrcrPn3SmX3okt5dUURLMJGfxrAivZlSqTrXW7P7gpWX_lQMX211fkIoLeS0JL5tHpLKHAIUbw2IaIVyF4DJVqhrh5bUMGc2FZ2mbP37rjlW56EZ7Ov7ONTFYL8rFp7HrnuaPIeVJw0KcgAUoNk3DtgpldaF58xH8-PjeKn64v-Ndq4CB_x3M5E-TDC7EHPy2P3-AwREh0I.Dq4Skw.nS_vom2KBQIPVygdAO7GP5DaeOE; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Sun, 21 Oct 2018 13:37:23 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"next\": \"http://hotel.localhost:5001/\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"0ee4595a-c116-44aa-abd9-13fbae567c31"},{"name":"(Deprecated) Switch Hotel","id":"3e314907-4b6f-42a2-b583-033d6a692149","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>CSRF token</p>\n","key":"X-CSRF-Token","type":"text","value":"{{csrf-token}}"}],"body":{"mode":"raw","raw":""},"url":"{{endpoint}}/api/v1/hotels/:hotel_id/switch","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":hotel_id","switch"],"host":["{{endpoint}}"],"query":[],"variable":[{"description":{"content":"<p>The id of the hotel</p>\n","type":"text/plain"},"type":"string","value":"{{hotel_id}}","key":"hotel_id"}]}},"response":[{"id":"041e20da-190d-4568-b41f-092285716322","name":"Switch Hotel Failure","originalRequest":{"method":"POST","header":[{"key":"X-CSRF-Token","value":"{{csrf-token}}","description":"CSRF token","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{endpoint}}/api/v1/hotels/:hotel_id/switch","host":["{{endpoint}}"],"path":["api","v1","hotels",":hotel_id","switch"],"variable":[{"key":"hotel_id","value":"{{hotel_id}}","description":"The id of the hotel"}]}},"status":"NOT FOUND","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"293"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVUU2P2yAU_CsV51Xlj_qwkfawFSRNKnBNsFm4WK4hsTGOrdhRY1b735dU1TZSTz0xzOjNm_feKygPZz01YHWo7KQfQNkqsHoFn36CFRCssMJtI9GvG8FUT5g02NBeONumUPq36ASzPTG2xX0eetxItu4kPAYYZjGG2xgzvGAnFo9dulnf_K4pa1rCdo3k2SKcSFJOrODUpHBt5AZ9SeFzhBkKU2Y7aYoew2MsGLGeS3wWQ9hzRDhymNWRNLYh7vgE3h5APZ0P5Tx0-vR3hCiLidt1IsIBdnUi-K5LIelJJK7SKCsNSjyOsflqZb_9hQ0KZfb0264ZZm1LPZZWn46zX1EY3JHDWelzWQ_W8__Qqj375kpPNbjTprmaL9NHtluPVunT3M7L5-oyN-W8jBqsThdr75S7gxC-M9jlCYY4IT1t0w26CpNfsaM95iK4OQ7zWHZ6-aih4bgvguIHQ3RLGUEsf_zOO8XzgEJejJKGcl-gR8JQQfz_JQuSKu8U5YXyOt1QlwXU3yKzxbe9JS_7PKz4nw1dJj_rf-V7ewcyuM6i.Dr2DAg.NGAsgSx2hHBDoaAfIEr5ihOdGiw; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Fri, 02 Nov 2018 06:41:06 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"ResourceDoesNotExist\",\n    \"http_status\": 404,\n    \"message\": \"Sorry, something went wrong! Please try again. You have requested this URI [/api/v1/hotels/5bc3590396db8a1b5134f1f31/switch] but did you mean /api/v1/hotels/<string:hotel_id>/switch ?\",\n    \"status\": \"failure\"\n}"},{"id":"577d98df-73d5-4ac9-9b28-a9924ee10d64","name":"Switch Hotel Success","originalRequest":{"method":"POST","header":[{"key":"X-CSRF-Token","value":"{{csrf-token}}","description":"CSRF token","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{endpoint}}/api/v1/hotels/:hotel_id/switch","host":["{{endpoint}}"],"path":["api","v1","hotels",":hotel_id","switch"],"variable":[{"key":"hotel_id","value":"{{hotel_id}}","description":"The id of the hotel"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"377"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVUU2P2yAU_CsV51Xlj_qwkfawFSRNKnBNsFm4WK4hsTGOrdhRY1b735dU1TZSTz0xzOjNm_feKygPZz01YHWo7KQfQNkqsHoFn36CFRCssMJtI9GvG8FUT5g02NBeONumUPq36ASzPTG2xX0eetxItu4kPAYYZjGG2xgzvGAnFo9dulnf_K4pa1rCdo3k2SKcSFJOrODUpHBt5AZ9SeFzhBkKU2Y7aYoew2MsGLGeS3wWQ9hzRDhymNWRNLYh7vgE3h5APZ0P5Tx0-vR3hCiLidt1IsIBdnUi-K5LIelJJK7SKCsNSjyOsflqZb_9hQ0KZfb0264ZZm1LPZZWn46zX1EY3JHDWelzWQ_W8__Qqj375kpPNbjTprmaL9NHtluPVunT3M7L5-oyN-W8jBqsThdr75S7gxC-M9jlCYY4IT1t0w26CpNfsaM95iK4OQ7zWHZ6-aih4bgvguIHQ3RLGUEsf_zOO8XzgEJejJKGcl-gR8JQQfz_JQuSKu8U5YXyOt1QlwXU3yKzxbe9JS_7PKz4nw1dJj_rf-V7ewcyuM6i.Dr2C2w.aTyJMuzcIs5cqfR2BIGyjnNr0XQ; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Fri, 02 Nov 2018 06:40:27 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\", \n    \"data\": {\n        \"hotel\": {\n            \"id\": \"5bc3590396db8a1b5134f1f3\", \n            \"logo_url\": \"http://static.localhost:5001/static/media/WN5WER9J-sofitel-logo.png\", \n            \"name\": \"Sofitel Singapore Sentosa Resorts &amp; Spa\", \n            \"role\": \"admin\"\n        }, \n        \"next\": \"http://hotel.localhost:5001/\"\n    }, \n    \"message\": \"You switched to Sofitel Singapore Sentosa Resorts &amp; Spa hotel\", \n    \"status\": \"success\"\n}\n"}],"_postman_id":"3e314907-4b6f-42a2-b583-033d6a692149"},{"name":"Get Hotel List","id":"428e2c69-4faa-4f0a-90fe-e3f5ca27623c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/users/me/hotels","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","users","me","hotels"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"4302ed37-dcaf-4b0b-8189-359e76e0d3e8","name":"Get Hotel List Success","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/users/current/hotels"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"383"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVUU2P2yAU_CsV51Xlj_qwkfawFSRNKnBNsFm4WK4hsTGOrdhRY1b735dU1TZSTz0xzOjNm_feKygPZz01YHWo7KQfQNkqsHoFn36CFRCssMJtI9GvG8FUT5g02NBeONumUPq36ASzPTG2xX0eetxItu4kPAYYZjGG2xgzvGAnFo9dulnf_K4pa1rCdo3k2SKcSFJOrODUpHBt5AZ9SeFzhBkKU2Y7aYoew2MsGLGeS3wWQ9hzRDhymNWRNLYh7vgE3h5APZ0P5Tx0-vR3hCiLidt1IsIBdnUi-K5LIelJJK7SKCsNSjyOsflqZb_9hQ0KZfb0264ZZm1LPZZWn46zX1EY3JHDWelzWQ_W8__Qqj375kpPNbjTprmaL9NHtluPVunT3M7L5-oyN-W8jBqsThdr75S7gxC-M9jlCYY4IT1t0w26CpNfsaM95iK4OQ7zWHZ6-aih4bgvguIHQ3RLGUEsf_zOO8XzgEJejJKGcl-gR8JQQfz_JQuSKu8U5YXyOt1QlwXU3yKzxbe9JS_7PKz4nw1dJj_rf-V7ewcyuM6i.Dr2IqQ.sUSEg2KBp_LWvDvrQeoVx4QvRV4; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Fri, 02 Nov 2018 07:05:13 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"results\": [\n            {\n                \"id\": \"5bc3590396db8a1b5134f1f3\",\n                \"logo_url\": \"http://static.localhost:5001/static/media/WN5WER9J-sofitel-logo.png\",\n                \"name\": \"Sofitel Singapore Sentosa Resorts &amp; Spa\",\n                \"role\": \"admin\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"428e2c69-4faa-4f0a-90fe-e3f5ca27623c"},{"name":"Save User","id":"d4bdb7bc-301b-42cf-8fee-2cf14a73f10e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"required:string\",\n\t\"last_name\": \"string\",\n\t\"phone\": {\n\t\t\"cc\": \"string(number)\",\n\t\t\"contact\": \"string(number)\"\n\t}\n}"},"url":"{{endpoint}}/api/v1/users/:user_id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","users",":user_id"],"host":["{{endpoint}}"],"query":[],"variable":[{"description":{"content":"<p>(Required) Enter user_id as \"me\" to access current user</p>\n","type":"text/plain"},"type":"string","value":"{{user_id}}","key":"user_id"}]}},"response":[{"id":"db37d9c3-1c9b-44bb-94fa-cdad6738f5d6","name":"Save User","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"Hotel\",\n\t\"last_name\": \"Demo\",\n\t\"phone\": {\n\t\t\"cc\": \"65\",\n\t\t\"contact\": \"987654321\"\n\t}\n}"},"url":{"raw":"{{endpoint}}/api/v1/users/:user_id","host":["{{endpoint}}"],"path":["api","v1","users",":user_id"],"variable":[{"key":"user_id","value":"me","description":"(Required) Enter user_id as \"me\" to access current user"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UMtugzAQ_JXK56gKD6ctUg6NwIjDOkpkipYLSoHUGJNWgQhwlH-vm0PVU48zuzM7s1dSHM91L0lwPOi-XpCiqUhwJQ_vJCC5YHor3lquUgdCLSF8HXOBzjasFHaJhwJH3jGdh5s2j1mDIrIYPYgjB8zOQdH6FvtcsRZVOWOX-mjaiauqwyydIEtn7iZ-Hu88y1Mu0hEymLjZNzwELw_3GkxkQHxM0IEP2c7YO9LmoZBxhQqXVj9hh2tyW5CyPx-L4bOtT78VeJeaXDFrs5E8ZhoNk5AlExgcrXwEsZHbLKE2MgXFGlDRCOP6btdU9WlohvnxcBlkMcxfNQlOF63_TH6eRWjpLJ_cyqFLnx4qrypX7rPrrF7Iglz6-lz8v3T7Bk6RfXI.XOO0qg.MpKMNGt5-38MqIXJ3Ju2YHPjowY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Tue, 21 May 2019 08:19:54 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5c1072d15045ad3dc6282169\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"d4bdb7bc-301b-42cf-8fee-2cf14a73f10e"},{"name":"Change Password","id":"be166e4f-d9d2-4e7e-b42d-d515c3950950","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"old_password\": \"required:string\",\n\t\"password\": \"required:string\"\n}"},"url":"{{endpoint}}/api/v1/users/:user_id/change-password","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","users",":user_id","change-password"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{user_id}}","key":"user_id"}]}},"response":[{"id":"8bef79a6-81e3-4f03-99bc-44097ec86c3f","name":"Change Password","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"old_password\": \"Password1\",\n\t\"password\": \"Password1\"\n}"},"url":{"raw":"{{endpoint}}/api/v1/users/:user_id/change-password","host":["{{endpoint}}"],"path":["api","v1","users",":user_id","change-password"],"variable":[{"key":"user_id","value":"me"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"174"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UMtugzAQ_JXK56gKD6ctUg6NwIjDOkpkipYLSoHUGJNWgQhwlH-vm0PVU48zuzM7s1dSHM91L0lwPOi-XpCiqUhwJQ_vJCC5YHor3lquUgdCLSF8HXOBzjasFHaJhwJH3jGdh5s2j1mDIrIYPYgjB8zOQdH6FvtcsRZVOWOX-mjaiauqwyydIEtn7iZ-Hu88y1Mu0hEymLjZNzwELw_3GkxkQHxM0IEP2c7YO9LmoZBxhQqXVj9hh2tyW5CyPx-L4bOtT78VeJeaXDFrs5E8ZhoNk5AlExgcrXwEsZHbLKE2MgXFGlDRCOP6btdU9WlohvnxcBlkMcxfNQlOF63_TH6eRWjpLJ_cyqFLnx4qrypX7rPrrF7Iglz6-lz8v3T7Bk6RfXI.XOO5_g.xmj7S8fH4j2cUxL5F74yIzQL--A; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Tue, 21 May 2019 08:42:38 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5c1072d15045ad3dc6282169\"\n    },\n    \"message\": \"Your password has been changed successfully!\",\n    \"status\": \"success\"\n}"}],"_postman_id":"be166e4f-d9d2-4e7e-b42d-d515c3950950"},{"name":"Save Planner Company","id":"927fe66a-b511-477d-ad9f-7f336be75f79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"string\",\n    \"email\": \"string\",\n    \"phone_cc\": \"string\",\n    \"phone_contact\": \"string\",\n    \"website\": \"string\",\n    \"facebook\": \"string\",\n    \"twitter\": \"string\",\n    \"linkedin\": \"string\",\n    \"instagram\": \"string\",\n    \"logo_image\": \"string\"\n}"},"url":"{{endpoint}}/api/v1/organization","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","organization"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"927fe66a-b511-477d-ad9f-7f336be75f79"},{"name":"Get Planner Company","id":"d35ba316-bb13-4705-a4a4-ed06caf334ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/organization","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","organization"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d35ba316-bb13-4705-a4a4-ed06caf334ab"},{"name":"Retrieve the intercom contact","id":"982f922b-b5eb-4f15-9352-47eda6965554","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/users/:id/intercom-contact","urlObject":{"path":["users",":id","intercom-contact"],"host":["{{base_url}}"],"query":[],"variable":[{"description":{"content":"<p>(Required) Enter user_id as \"me\" to access current user</p>\n","type":"text/plain"},"type":"any","value":"me","key":"id"}]}},"response":[{"id":"675596de-e053-4074-9688-5f707ded61e3","name":"OK - Successful retrieved the intercom contact","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/users/:id/intercom-contact","host":["{{base_url}}"],"path":["users",":id","intercom-contact"],"variable":[{"key":"id","value":"me","description":"(Required) Enter user_id as \"me\" to access current user"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2373"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjRhZDZlMzMyOTE2Yjk5MjJmNzAyYmZmODA2MThjNjk2OGM4MDkzZjQi.YJ3oVg.6tfljb4Usqvzl3dNPuLlehvg2R8"},{"key":"Set-Cookie","value":"session=1d08b843-f2b4-46f4-a829-bdc7495b3339.X71OnWDZARaUNCCynIdzZgno2Lk; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 14 May 2021 03:02:46 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"android_app_name\": null,\n        \"android_app_version\": null,\n        \"android_device\": null,\n        \"android_last_seen_at\": null,\n        \"android_os_version\": null,\n        \"android_sdk_version\": null,\n        \"avatar\": null,\n        \"browser\": \"safari\",\n        \"browser_language\": \"en\",\n        \"browser_version\": \"14.1\",\n        \"companies\": {\n            \"data\": [],\n            \"has_more\": false,\n            \"total_count\": 0,\n            \"type\": \"list\",\n            \"url\": \"/contacts/5ed5da3e412f8edf3642a982/companies\"\n        },\n        \"created_at\": 1591073342,\n        \"custom_attributes\": {\n            \"dashboard\": \"hotel\"\n        },\n        \"email\": \"henry@idemlabs.com\",\n        \"external_id\": \"henry@idemlabs.com\",\n        \"has_hard_bounced\": false,\n        \"id\": \"5ed5da3e412f8edf3642a982\",\n        \"ios_app_name\": null,\n        \"ios_app_version\": null,\n        \"ios_device\": null,\n        \"ios_last_seen_at\": null,\n        \"ios_os_version\": null,\n        \"ios_sdk_version\": null,\n        \"language_override\": null,\n        \"last_contacted_at\": null,\n        \"last_email_clicked_at\": null,\n        \"last_email_opened_at\": null,\n        \"last_replied_at\": null,\n        \"last_seen_at\": 1620896862,\n        \"location\": {\n            \"city\": \"Ho Chi Minh City\",\n            \"country\": \"Vietnam\",\n            \"region\": \"Ho Chi Minh\",\n            \"type\": \"location\"\n        },\n        \"marked_email_as_spam\": false,\n        \"name\": \"Henry Ngo\",\n        \"notes\": {\n            \"data\": [],\n            \"has_more\": false,\n            \"total_count\": 0,\n            \"type\": \"list\",\n            \"url\": \"/contacts/5ed5da3e412f8edf3642a982/notes\"\n        },\n        \"os\": \"OS X 10.15.7\",\n        \"owner_id\": null,\n        \"phone\": null,\n        \"role\": \"user\",\n        \"signed_up_at\": 1591073342,\n        \"social_profiles\": {\n            \"data\": [],\n            \"type\": \"list\"\n        },\n        \"tags\": {\n            \"data\": [],\n            \"has_more\": false,\n            \"total_count\": 0,\n            \"type\": \"list\",\n            \"url\": \"/contacts/5ed5da3e412f8edf3642a982/tags\"\n        },\n        \"type\": \"contact\",\n        \"unsubscribed_from_emails\": false,\n        \"updated_at\": 1620896862,\n        \"workspace_id\": \"cgplpqhy\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"982f922b-b5eb-4f15-9352-47eda6965554"}],"id":"bb659c89-5b7c-4d54-89db-a3f64ef5abb6","_postman_id":"bb659c89-5b7c-4d54-89db-a3f64ef5abb6","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Hotel","item":[{"name":"Get Hotel User List","id":"c0b88787-de77-4e80-b510-80c7aca83cf4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/:id/users?deleted=true","description":"<p>Get list of users from current hotel.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","users"],"host":["{{endpoint}}"],"query":[{"description":{"content":"<p>True to include all deleted users.<br />Default: <code>False</code></p>\n","type":"text/plain"},"key":"deleted","value":"true"}],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"13c3e369-40fa-4864-9905-4c8254b6548e","name":"Get Hotel User List","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/current/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Content-Length","value":"415","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sat, 25 Aug 2018 03:22:23 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"session=.eJyVj0GLwjAQhf9KyVlkW-ul4GGXWlGY7AqpZbKIVI1N0lTFVKoR__tGdw9e9zTzeLxv5t3IamdKK4UlyfeNBO3vWJOElMWwWXejEbn3yJcRpRWBOVSB2gftISg3G2Ft0Eplg2NZiT5Z3pc9DzsJK0myK40VXqotSf5wVBtDJ9BRTRVNpUSdR5DCBQqIqYOIp9CBqxxlld-nETYYgpaGp2OHbB6jM8r7oc8bZDhA9-F1fvHMmEbjAUbowM1qSDMJxXQAk6zxWnG2aLCgNbKFAcdrXkwvwNBhk4eoNzHV4w70_O2RpZNMfTJ4VlZbsW9Ve-2X51au2utRkGR_NubFeW3nL_I0M5zVjqd5SF09pGymMZr5L9_dg3i24rT6V-b-Az4PiWQ.DmJc7w.gZpg4RccSyCCyhYqpIzmzWY1WwU; HttpOnly; Path=/","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Vary","value":"Cookie","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"hotel.localhost","path":"/","secure":false,"value":".eJyVj0GLwjAQhf9KyVlkW-ul4GGXWlGY7AqpZbKIVI1N0lTFVKoR__tGdw9e9zTzeLxv5t3IamdKK4UlyfeNBO3vWJOElMWwWXejEbn3yJcRpRWBOVSB2gftISg3G2Ft0Eplg2NZiT5Z3pc9DzsJK0myK40VXqotSf5wVBtDJ9BRTRVNpUSdR5DCBQqIqYOIp9CBqxxlld-nETYYgpaGp2OHbB6jM8r7oc8bZDhA9-F1fvHMmEbjAUbowM1qSDMJxXQAk6zxWnG2aLCgNbKFAcdrXkwvwNBhk4eoNzHV4w70_O2RpZNMfTJ4VlZbsW9Ve-2X51au2utRkGR_NubFeW3nL_I0M5zVjqd5SF09pGymMZr5L9_dg3i24rT6V-b-Az4PiWQ.DmJc7w.gZpg4RccSyCCyhYqpIzmzWY1WwU","key":"session"}],"responseTime":null,"body":"{\n    \"code\": \"OK\", \n    \"data\": {\n        \"results\": [\n            {\n                \"email\": \"demo_hotel@unifide.sg\", \n                \"first_name\": \"Kyle\", \n                \"id\": \"5b7d1ee93d5579952ccbb303\", \n                \"last_name\": \"Rodriguez\", \n                \"name\": \"Kyle Rodriguez\", \n                \"role\": \"admin\", \n                \"type\": 1\n            }\n        ]\n    }, \n    \"status\": \"success\"\n}\n"}],"_postman_id":"c0b88787-de77-4e80-b510-80c7aca83cf4"},{"name":"Get Hotel Inventory List","id":"aa309280-1d8c-48ff-ad95-f088ed06d433","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/:id/users?deleted=true","description":"<p>Get list of users from current hotel.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","users"],"host":["{{endpoint}}"],"query":[{"description":{"content":"<p>True to include all deleted users.<br />Default: <code>False</code></p>\n","type":"text/plain"},"key":"deleted","value":"true"}],"variable":[{"id":"0a2ef248-d84d-4594-899d-167e94add171","type":"string","value":"","key":"id"}]}},"response":[{"id":"06b95130-4add-4a1b-8222-e4593a9e42f1","name":"Get Hotel User List","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/current/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Content-Length","value":"415","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sat, 25 Aug 2018 03:22:23 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"session=.eJyVj0GLwjAQhf9KyVlkW-ul4GGXWlGY7AqpZbKIVI1N0lTFVKoR__tGdw9e9zTzeLxv5t3IamdKK4UlyfeNBO3vWJOElMWwWXejEbn3yJcRpRWBOVSB2gftISg3G2Ft0Eplg2NZiT5Z3pc9DzsJK0myK40VXqotSf5wVBtDJ9BRTRVNpUSdR5DCBQqIqYOIp9CBqxxlld-nETYYgpaGp2OHbB6jM8r7oc8bZDhA9-F1fvHMmEbjAUbowM1qSDMJxXQAk6zxWnG2aLCgNbKFAcdrXkwvwNBhk4eoNzHV4w70_O2RpZNMfTJ4VlZbsW9Ve-2X51au2utRkGR_NubFeW3nL_I0M5zVjqd5SF09pGymMZr5L9_dg3i24rT6V-b-Az4PiWQ.DmJc7w.gZpg4RccSyCCyhYqpIzmzWY1WwU; HttpOnly; Path=/","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Vary","value":"Cookie","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"hotel.localhost","path":"/","secure":false,"value":".eJyVj0GLwjAQhf9KyVlkW-ul4GGXWlGY7AqpZbKIVI1N0lTFVKoR__tGdw9e9zTzeLxv5t3IamdKK4UlyfeNBO3vWJOElMWwWXejEbn3yJcRpRWBOVSB2gftISg3G2Ft0Eplg2NZiT5Z3pc9DzsJK0myK40VXqotSf5wVBtDJ9BRTRVNpUSdR5DCBQqIqYOIp9CBqxxlld-nETYYgpaGp2OHbB6jM8r7oc8bZDhA9-F1fvHMmEbjAUbowM1qSDMJxXQAk6zxWnG2aLCgNbKFAcdrXkwvwNBhk4eoNzHV4w70_O2RpZNMfTJ4VlZbsW9Ve-2X51au2utRkGR_NubFeW3nL_I0M5zVjqd5SF09pGymMZr5L9_dg3i24rT6V-b-Az4PiWQ.DmJc7w.gZpg4RccSyCCyhYqpIzmzWY1WwU","key":"session"}],"responseTime":null,"body":"{\n    \"code\": \"OK\", \n    \"data\": {\n        \"results\": [\n            {\n                \"email\": \"demo_hotel@unifide.sg\", \n                \"first_name\": \"Kyle\", \n                \"id\": \"5b7d1ee93d5579952ccbb303\", \n                \"last_name\": \"Rodriguez\", \n                \"name\": \"Kyle Rodriguez\", \n                \"role\": \"admin\", \n                \"type\": 1\n            }\n        ]\n    }, \n    \"status\": \"success\"\n}\n"}],"_postman_id":"aa309280-1d8c-48ff-ad95-f088ed06d433"},{"name":"Get Block List","id":"7535942c-98df-472d-9946-e24705e7aab2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"{{endpoint}}/api/v1/hotels/:id/users/:user_id/blocks","description":"<p>Get list of blocks the specified user has access to.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","users",":user_id","blocks"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"},{"description":{"content":"<p>The id of the user</p>\n","type":"text/plain"},"type":"string","value":"{{userid}}","key":"user_id"}]}},"response":[{"id":"ff6f8068-5742-460c-a831-c0ff05b593b9","name":"Get Block List","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/hotels/current/users/:user_id/blocks","host":["{{endpoint}}"],"path":["api","v1","hotels","current","users",":user_id","blocks"],"variable":[{"key":"user_id","value":"{{userid}}","description":"The id of the user"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Content-Length","value":"1543","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 06 Sep 2018 06:56:41 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"session=.eJyVj8tqwzAURH-laB1KLasbQzfFD1y4CgE54mpj0kaJJMuhxDa2FfLvVXbZdjfDcA7MjbSnqx4MyU4HP-gNae2RZDfy8k0ywp33vIKZO255bgy6hkIOC0hgPABVOcwQzoGLc8w1xR4TcMarvAgodgyDt3FPIu9RYIrhM_ZmiU7GaZEixQDhq4O8NCDrFKqyj90qse9R8g7F3kNQnZL1AgID9k2C7odxV8zgdm8Pllel3Qr4IPcNsUd9Ge24vh6m0bTj-qtJdpm8f1qe38mabatmRde9K9FRJZApqQz0yDDaH8Zp0Nf2X8z9D7LecCU.DnJhKQ.C4xyrC0un6VtxatcbV7z_xVaDs4; HttpOnly; Path=/","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Vary","value":"Cookie","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"hotel.localhost","path":"/","secure":false,"value":".eJyVj8tqwzAURH-laB1KLasbQzfFD1y4CgE54mpj0kaJJMuhxDa2FfLvVXbZdjfDcA7MjbSnqx4MyU4HP-gNae2RZDfy8k0ywp33vIKZO255bgy6hkIOC0hgPABVOcwQzoGLc8w1xR4TcMarvAgodgyDt3FPIu9RYIrhM_ZmiU7GaZEixQDhq4O8NCDrFKqyj90qse9R8g7F3kNQnZL1AgID9k2C7odxV8zgdm8Pllel3Qr4IPcNsUd9Ge24vh6m0bTj-qtJdpm8f1qe38mabatmRde9K9FRJZApqQz0yDDaH8Zp0Nf2X8z9D7LecCU.DnJhKQ.C4xyrC0un6VtxatcbV7z_xVaDs4","key":"session"}],"responseTime":null,"body":"{\n    \"code\": \"OK\", \n    \"data\": {\n        \"results\": [\n            {\n                \"account_holder\": \"Singapore Hotel\", \n                \"code\": \"S27NVH07\", \n                \"company_name\": \"Anderson, Henderson and Perez\", \n                \"contracted_from_date\": \"2018-09-08T00:00:00\", \n                \"created_at\": \"2018-08-31T06:40:22.736000\", \n                \"ep_email\": \"demo_ep@unifide.sg\", \n                \"ep_name\": \"Singapore Event Planner\", \n                \"id\": \"5b88e2d69e96e68f6b9243de\", \n                \"status\": \"open\"\n            }, \n            {\n                \"account_holder\": \"Singapore Hotel\", \n                \"code\": \"HH0ZRS33\", \n                \"company_name\": \"Ingram-Reed\", \n                \"contracted_from_date\": \"2018-09-14T00:00:00\", \n                \"created_at\": \"2018-08-31T07:57:11.617000\", \n                \"ep_email\": \"demo_ep@unifide.sg\", \n                \"ep_name\": \"Singapore Event Planner\", \n                \"id\": \"5b88f4d79e96e6d9a972c913\", \n                \"status\": \"open\"\n            }, \n            {\n                \"account_holder\": \"Singapore Hotel\", \n                \"code\": \"ITAF\", \n                \"company_name\": \"IDEM\", \n                \"contracted_from_date\": \"2018-09-05T00:00:00\", \n                \"created_at\": \"2018-09-05T09:29:17.006000\", \n                \"ep_email\": \"fuongit@gmail.com\", \n                \"ep_name\": \"Phuong Ngo\", \n                \"id\": \"5b8fa1ed9e96e64525048417\", \n                \"status\": \"open\"\n            }\n        ]\n    }, \n    \"status\": \"success\"\n}\n"}],"_postman_id":"7535942c-98df-472d-9946-e24705e7aab2"},{"name":"Add Hotel User","id":"b56baa42-6021-4241-bc57-c18332fe78f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"X-CSRF-Token","value":"{{csrf-token}}","description":"<p>CSRF token</p>\n"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"John\",\n\t\"last_name\": \"Smith\",\n\t\"email\": \"john.idemlabs@mailinator.com\",\n\t\"role\": \"admin\"\n}"},"url":"{{endpoint}}/api/v1/hotels/:id/users","description":"<p>Add new user to current hotel.</p>\n<p><strong>Parameters</strong></p>\n<ul>\n<li>string:<strong>first_name</strong> - The first name of user</li>\n<li>string:<strong>last_name</strong> - The last name of user</li>\n<li>string:<strong>email</strong> - The email of user</li>\n<li>string:<strong>role</strong> - The role of user and including roles as <code>user</code>, <code>manager</code>, <code>admin</code></li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","users"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"e1a17234-fd24-4fd1-be95-2e7c17d122e4","name":"Add Hotel User","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json"},{"key":"X-CSRF-Token","value":"{{csrf-token}}","description":"CSRF token","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"John\",\n\t\"last_name\": \"Smith\",\n\t\"email\": \"john.idemlabs@mailinator.com\",\n\t\"role\": \"user\"\n}"},"url":"{{endpoint}}/api/v1/hotels/current/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Content-Length","value":"298","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sat, 25 Aug 2018 09:06:04 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"session=.eJyVj0GLwjAQhf9KyVlkW-ul4GGXWlGY7AqpZbKIVI1N0lTFVKoR__tGdw9e9zTzeLxv5t3IamdKK4UlyfeNBO3vWJOElMWwWXejEbn3yJcRpRWBOVSB2gftISg3G2Ft0Eplg2NZiT5Z3pc9DzsJK0myK40VXqotSf5wVBtDJ9BRTRVNpUSdR5DCBQqIqYOIp9CBqxxlld-nETYYgpaGp2OHbB6jM8r7oc8bZDhA9-F1fvHMmEbjAUbowM1qSDMJxXQAk6zxWnG2aLCgNbKFAcdrXkwvwNBhk4eoNzHV4w70_O2RpZNMfTJ4VlZbsW9Ve-2X51au2utRkGR_NubFeW3nL_I0M5zVjqd5SF09pGymMZr5L9_dg3i24rT6V-b-Az4PiWQ.DmKtfA.q_own1Yf_r9HYi1v1HVidT98Vi4; HttpOnly; Path=/","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Vary","value":"Cookie","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"hotel.localhost","path":"/","secure":false,"value":".eJyVj0GLwjAQhf9KyVlkW-ul4GGXWlGY7AqpZbKIVI1N0lTFVKoR__tGdw9e9zTzeLxv5t3IamdKK4UlyfeNBO3vWJOElMWwWXejEbn3yJcRpRWBOVSB2gftISg3G2Ft0Eplg2NZiT5Z3pc9DzsJK0myK40VXqotSf5wVBtDJ9BRTRVNpUSdR5DCBQqIqYOIp9CBqxxlld-nETYYgpaGp2OHbB6jM8r7oc8bZDhA9-F1fvHMmEbjAUbowM1qSDMJxXQAk6zxWnG2aLCgNbKFAcdrXkwvwNBhk4eoNzHV4w70_O2RpZNMfTJ4VlZbsW9Ve-2X51au2utRkGR_NubFeW3nL_I0M5zVjqd5SF09pGymMZr5L9_dg3i24rT6V-b-Az4PiWQ.DmKtfA.q_own1Yf_r9HYi1v1HVidT98Vi4","key":"session"}],"responseTime":null,"body":"{\n    \"code\": \"OK\", \n    \"data\": {\n        \"email\": \"john.idemlabs@mailinator.com\", \n        \"first_name\": \"John\", \n        \"id\": \"5b811bfc96db8a9abcdc096d\", \n        \"last_name\": \"Smith\", \n        \"name\": \"John Smith\", \n        \"role\": \"user\", \n        \"type\": 1\n    }, \n    \"status\": \"success\"\n}\n"}],"_postman_id":"b56baa42-6021-4241-bc57-c18332fe78f6"},{"name":"Restore Hotel User","id":"eb810fc1-6b5d-46fb-8b25-b7cbe6f0381e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-CSRF-Token","value":"{{csrf-token}}","description":"<p>CSRF token</p>\n"}],"url":"{{endpoint}}/api/v1/hotels/:id/users/:user_id/restore","description":"<p>Restore the specified hotel user</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","users",":user_id","restore"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"},{"description":{"content":"<p>The id of the user</p>\n","type":"text/plain"},"type":"string","value":"{{userid}}","key":"user_id"}]}},"response":[{"id":"726bd5d7-573b-4bc5-af5f-648060db5228","name":"Restore Hotel User","originalRequest":{"method":"PUT","header":[{"key":"X-CSRF-Token","value":"{{csrf-token}}","description":"CSRF token"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{endpoint}}/api/v1/hotels/current/users/:user_id/restore","host":["{{endpoint}}"],"path":["api","v1","hotels","current","users",":user_id","restore"],"variable":[{"key":"user_id","value":"{{userid}}","description":"The id of the user"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"102"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVVGtv6jgQ_SvIX_YLQkkgbUG60rYKly2SjeCmy01Wq8hJDHHixMhxoOSq_33HgQLd7b4Qr5w5Mz6e4_EPFG0UqzM02VBRsz6KeIomP1AvRhMU5oWz8OYl8ZNh6G_bcP3skPZrtvALC_vzDK-f7aANs9DbuqG3PBA_LIi_gs-jjdvAJt6TAI6F2-0Bt9ha-F9L4swFaQs7XC9fF17ShnmakXxV4BwfsB-MMOBBvjwE7dQhOazlpcViTTjkctwuHVJCZf9JLLwVYNMDngVWsMZf0FsfJbXaRFoWrLpsIXCmh4X3lJN8XoZlYGHv8UjypbuYgfD1yxDKi9BftkG7KkkZgCw8ItsvXTmeskpzfRzQRmeRPu4YmlSNEDeRm2aR9TzH7YuLPeySEsTNprCRl1cMlfE6sEzFpmZq4MbJ0B1bw_FdGj9QO3bt4Whjb0aDWMikgDCj93E6PoctK3HGzHHdAdjE1J5qLisgbe7jJHVPpDQZOZBh3Y-NGpo2QtdoYvdRzIXg1dagO3osQXSk2IYpViXMgLGiFewA_cpriqB_VKVRyuudoEdAX-HVu36NnJEDJF5HG6aTjEGiVg0cmZLpTKY3LT-5cYKv9c7h5XAuwpmwnqckS8plR90puYeeqgspGa6O9PuTMMGzoeY3sj2avuj5cLkf01aRkpcZnovvd-jN2J-xpIj4yXyzrW9N1e_Zdo_Ifc-x7IeeZU26d2-GfXTJkI2-pGBpUpx_SuEiVUaQ1Ues1hFViu-pgNznXiqrn3SvqOShd2QanQgp21GlG8U-oQwMZ298MScJ_Y33I2BtOBOGQoWAp20DlcHj34zdIKeuT853fyP70sdOMRzUj4BsKq2Mw49VKpUy1u9kralIZMo-UAHUtwhA5_1GaRc5zcM7thF8m-k_o5qXF2bMlc5ScxxOz59puTTswxpX9OMqV_x2HVZSbjy5HZquaT-bAK-olmqQyLLrrAKXKmqS0S-sAjXnBr-b8umsPZhZ-Je4oNfKZCsBqTopVHSenKTuaF3vpNIRe91x9Ve4asrYjMYZzmTVOZIkUHQ8NGMrK00TbR4f7u_c0dCxu6EyzOhKOz9_QgafqWh0J83MgBqgt9_7KJOaiaiEE0W3ZgfIzLTRUmd8d-qN2ZExI-p87O4cJWUZdVdZ9PF2FIGf8tArLrcjhnsZ50Lg_KUT3GX-9xznPafuZlFLOMBR5xvoOF-20f-6oN_-APxeSxY.Dt6-9w.3JfkRJ4D2dNgO4FWrJn2m4jnCgc; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Tue, 27 Nov 2018 11:41:43 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"message\": \"The user was restored successfully.\",\n    \"status\": \"success\",\n    \"data\": {\n    \t\"id\": \"5bfcc78796db8a6faa1f436c\"\n    }\n}"}],"_postman_id":"eb810fc1-6b5d-46fb-8b25-b7cbe6f0381e"},{"name":"Get Hotel User","id":"56132f6c-575b-4408-aa2f-0c248191cab6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/hotels/:id/users/:user_id","description":"<p>Get a specific user from current hotel.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":id","users",":user_id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"},{"description":{"content":"<p>The id of the user</p>\n","type":"text/plain"},"type":"string","value":"{{userid}}","key":"user_id"}]}},"response":[{"id":"e075585d-899d-47bd-b358-f67fdf5c38d2","name":"Get Hotel User","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/hotels/current/users/:user_id","host":["{{endpoint}}"],"path":["api","v1","hotels","current","users",":user_id"],"variable":[{"key":"user_id","value":"{{userid}}","description":"The id of the user"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Content-Length","value":"300","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sat, 25 Aug 2018 03:22:38 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"session=.eJyVj0GLwjAQhf9KyVlkW-ul4GGXWlGY7AqpZbKIVI1N0lTFVKoR__tGdw9e9zTzeLxv5t3IamdKK4UlyfeNBO3vWJOElMWwWXejEbn3yJcRpRWBOVSB2gftISg3G2Ft0Eplg2NZiT5Z3pc9DzsJK0myK40VXqotSf5wVBtDJ9BRTRVNpUSdR5DCBQqIqYOIp9CBqxxlld-nETYYgpaGp2OHbB6jM8r7oc8bZDhA9-F1fvHMmEbjAUbowM1qSDMJxXQAk6zxWnG2aLCgNbKFAcdrXkwvwNBhk4eoNzHV4w70_O2RpZNMfTJ4VlZbsW9Ve-2X51au2utRkGR_NubFeW3nL_I0M5zVjqd5SF09pGymMZr5L9_dg3i24rT6V-b-Az4PiWQ.DmJc_g.OnggufS4AFly8HKqxsq0G665ms4; HttpOnly; Path=/","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Vary","value":"Cookie","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"hotel.localhost","path":"/","secure":false,"value":".eJyVj0GLwjAQhf9KyVlkW-ul4GGXWlGY7AqpZbKIVI1N0lTFVKoR__tGdw9e9zTzeLxv5t3IamdKK4UlyfeNBO3vWJOElMWwWXejEbn3yJcRpRWBOVSB2gftISg3G2Ft0Eplg2NZiT5Z3pc9DzsJK0myK40VXqotSf5wVBtDJ9BRTRVNpUSdR5DCBQqIqYOIp9CBqxxlld-nETYYgpaGp2OHbB6jM8r7oc8bZDhA9-F1fvHMmEbjAUbowM1qSDMJxXQAk6zxWnG2aLCgNbKFAcdrXkwvwNBhk4eoNzHV4w70_O2RpZNMfTJ4VlZbsW9Ve-2X51au2utRkGR_NubFeW3nL_I0M5zVjqd5SF09pGymMZr5L9_dg3i24rT6V-b-Az4PiWQ.DmJc_g.OnggufS4AFly8HKqxsq0G665ms4","key":"session"}],"responseTime":null,"body":"{\n    \"code\": \"OK\", \n    \"data\": {\n        \"email\": \"demo_hotel@unifide.sg\", \n        \"first_name\": \"Kyle\", \n        \"id\": \"5b7d1ee93d5579952ccbb303\", \n        \"last_name\": \"Rodriguez\", \n        \"name\": \"Kyle Rodriguez\", \n        \"role\": \"admin\", \n        \"type\": 1\n    }, \n    \"status\": \"success\"\n}\n"}],"_postman_id":"56132f6c-575b-4408-aa2f-0c248191cab6"},{"name":"Delete Hotel User","id":"1fb77623-e0bb-4dae-b808-1298f88be584","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"X-CSRF-Token","value":"{{csrf-token}}","type":"text","description":"<p>CSRF token</p>\n"},{"key":"Referer","value":"{{endpoint}}/hotel-settings/users","type":"text"}],"url":"{{endpoint}}/api/v1/hotels/:id/users/:user_id","description":"<p>Delete user in current hotel.</p>\n<p><strong>Parameters</strong></p>\n<ul>\n<li>string:<strong>user_id</strong> - The ID of a user</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","users",":user_id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"},{"description":{"content":"<p>The id of the user</p>\n","type":"text/plain"},"type":"string","value":"{{userid}}","key":"user_id"}]}},"response":[{"id":"201d2fa9-7765-4846-abbf-3653336eed35","name":"Delete Failure","originalRequest":{"method":"DELETE","header":[],"url":"{{endpoint}}/api/v1/hotels/current/users/5b8123bf96db8ab47746945e"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Content-Length","value":"99","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sat, 25 Aug 2018 09:39:20 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"session=.eJyVj0GLwjAQhf9KyVlkW-ul4GGXWlGY7AqpZbKIVI1N0lTFVKoR__tGdw9e9zTzeLxv5t3IamdKK4UlyfeNBO3vWJOElMWwWXejEbn3yJcRpRWBOVSB2gftISg3G2Ft0Eplg2NZiT5Z3pc9DzsJK0myK40VXqotSf5wVBtDJ9BRTRVNpUSdR5DCBQqIqYOIp9CBqxxlld-nETYYgpaGp2OHbB6jM8r7oc8bZDhA9-F1fvHMmEbjAUbowM1qSDMJxXQAk6zxWnG2aLCgNbKFAcdrXkwvwNBhk4eoNzHV4w70_O2RpZNMfTJ4VlZbsW9Ve-2X51au2utRkGR_NubFeW3nL_I0M5zVjqd5SF09pGymMZr5L9_dg3i24rT6V-b-Az4PiWQ.DmK1SA.uRjSxQ--NYm6ncGqVfy0EvRGn0s; HttpOnly; Path=/","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Vary","value":"Cookie","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"hotel.localhost","path":"/","secure":false,"value":".eJyVj0GLwjAQhf9KyVlkW-ul4GGXWlGY7AqpZbKIVI1N0lTFVKoR__tGdw9e9zTzeLxv5t3IamdKK4UlyfeNBO3vWJOElMWwWXejEbn3yJcRpRWBOVSB2gftISg3G2Ft0Eplg2NZiT5Z3pc9DzsJK0myK40VXqotSf5wVBtDJ9BRTRVNpUSdR5DCBQqIqYOIp9CBqxxlld-nETYYgpaGp2OHbB6jM8r7oc8bZDhA9-F1fvHMmEbjAUbowM1qSDMJxXQAk6zxWnG2aLCgNbKFAcdrXkwvwNBhk4eoNzHV4w70_O2RpZNMfTJ4VlZbsW9Ve-2X51au2utRkGR_NubFeW3nL_I0M5zVjqd5SF09pGymMZr5L9_dg3i24rT6V-b-Az4PiWQ.DmK1SA.uRjSxQ--NYm6ncGqVfy0EvRGn0s","key":"session"}],"responseTime":null,"body":"{\n    \"code\": \"UserBlockExistsError\",\n    \"message\": \"A server error occurred.\",\n    \"status\": \"failure\",\n    \"http_status\": 403\n}"},{"id":"bc268c15-2c34-40fb-acf0-f0267a161b28","name":"Successful","originalRequest":{"method":"DELETE","header":[],"url":"{{endpoint}}/api/v1/hotels/current/users/5b8123bf96db8ab47746945e"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Content-Length","value":"99","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sat, 25 Aug 2018 09:39:20 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"session=.eJyVj0GLwjAQhf9KyVlkW-ul4GGXWlGY7AqpZbKIVI1N0lTFVKoR__tGdw9e9zTzeLxv5t3IamdKK4UlyfeNBO3vWJOElMWwWXejEbn3yJcRpRWBOVSB2gftISg3G2Ft0Eplg2NZiT5Z3pc9DzsJK0myK40VXqotSf5wVBtDJ9BRTRVNpUSdR5DCBQqIqYOIp9CBqxxlld-nETYYgpaGp2OHbB6jM8r7oc8bZDhA9-F1fvHMmEbjAUbowM1qSDMJxXQAk6zxWnG2aLCgNbKFAcdrXkwvwNBhk4eoNzHV4w70_O2RpZNMfTJ4VlZbsW9Ve-2X51au2utRkGR_NubFeW3nL_I0M5zVjqd5SF09pGymMZr5L9_dg3i24rT6V-b-Az4PiWQ.DmK1SA.uRjSxQ--NYm6ncGqVfy0EvRGn0s; HttpOnly; Path=/","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Vary","value":"Cookie","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"hotel.localhost","path":"/","secure":false,"value":".eJyVj0GLwjAQhf9KyVlkW-ul4GGXWlGY7AqpZbKIVI1N0lTFVKoR__tGdw9e9zTzeLxv5t3IamdKK4UlyfeNBO3vWJOElMWwWXejEbn3yJcRpRWBOVSB2gftISg3G2Ft0Eplg2NZiT5Z3pc9DzsJK0myK40VXqotSf5wVBtDJ9BRTRVNpUSdR5DCBQqIqYOIp9CBqxxlld-nETYYgpaGp2OHbB6jM8r7oc8bZDhA9-F1fvHMmEbjAUbowM1qSDMJxXQAk6zxWnG2aLCgNbKFAcdrXkwvwNBhk4eoNzHV4w70_O2RpZNMfTJ4VlZbsW9Ve-2X51au2utRkGR_NubFeW3nL_I0M5zVjqd5SF09pGymMZr5L9_dg3i24rT6V-b-Az4PiWQ.DmK1SA.uRjSxQ--NYm6ncGqVfy0EvRGn0s","key":"session"}],"responseTime":null,"body":"{\n    \"code\": \"OK\", \n    \"message\": \"This user was deleted successful\",\n    \"status\": \"success\",\n    \"data\": {\n    \t\"id\": \"5b8123bf96db8ab47746945e\",\n    \t\"deleted_at\": \"2018-10-14T14:56:03.353000\"\n    }\n}\n"}],"_postman_id":"1fb77623-e0bb-4dae-b808-1298f88be584"},{"name":"Get Hotel Roles (User Matrix)","id":"a6d2ff81-36a1-4f0d-a254-c23ca2af941c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/:id/roles","description":"<p>Get role list included permissions from current hotel.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","roles"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"e06fdb22-e65d-4dcb-8ed9-62c550e666e4","name":"Get Hotel Roles (User Matrix)","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/current/roles"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Content-Length","value":"12763","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sat, 25 Aug 2018 03:16:01 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"session=.eJyVj0GLwjAQhf9KyVlkW-ul4GGXWlGY7AqpZbKIVI1N0lTFVKoR__tGdw9e9zTzeLxv5t3IamdKK4UlyfeNBO3vWJOElMWwWXejEbn3yJcRpRWBOVSB2gftISg3G2Ft0Eplg2NZiT5Z3pc9DzsJK0myK40VXqotSf5wVBtDJ9BRTRVNpUSdR5DCBQqIqYOIp9CBqxxlld-nETYYgpaGp2OHbB6jM8r7oc8bZDhA9-F1fvHMmEbjAUbowM1qSDMJxXQAk6zxWnG2aLCgNbKFAcdrXkwvwNBhk4eoNzHV4w70_O2RpZNMfTJ4VlZbsW9Ve-2X51au2utRkGR_NubFeW3nL_I0M5zVjqd5SF09pGymMZr5L9_dg3i24rT6V-b-Az4PiWQ.DmJbcQ.yntTnY2uWKQbTudbmi9wR-sJnbA; HttpOnly; Path=/","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Vary","value":"Cookie","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"hotel.localhost","path":"/","secure":false,"value":".eJyVj0GLwjAQhf9KyVlkW-ul4GGXWlGY7AqpZbKIVI1N0lTFVKoR__tGdw9e9zTzeLxv5t3IamdKK4UlyfeNBO3vWJOElMWwWXejEbn3yJcRpRWBOVSB2gftISg3G2Ft0Eplg2NZiT5Z3pc9DzsJK0myK40VXqotSf5wVBtDJ9BRTRVNpUSdR5DCBQqIqYOIp9CBqxxlld-nETYYgpaGp2OHbB6jM8r7oc8bZDhA9-F1fvHMmEbjAUbowM1qSDMJxXQAk6zxWnG2aLCgNbKFAcdrXkwvwNBhk4eoNzHV4w70_O2RpZNMfTJ4VlZbsW9Ve-2X51au2utRkGR_NubFeW3nL_I0M5zVjqd5SF09pGymMZr5L9_dg3i24rT6V-b-Az4PiWQ.DmJbcQ.yntTnY2uWKQbTudbmi9wR-sJnbA","key":"session"}],"responseTime":null,"body":"{\n    \"code\": \"OK\", \n    \"data\": [\n        {\n            \"description\": \"Admin\", \n            \"name\": \"admin\", \n            \"permissions\": [\n                {\n                    \"group\": \"Blocks\", \n                    \"items\": [\n                        {\n                            \"description\": \"View Blocks\", \n                            \"name\": \"block.view\"\n                        }, \n                        {\n                            \"description\": \"Add Block\", \n                            \"name\": \"block.add\"\n                        }, \n                        {\n                            \"description\": \"Cancel Block\", \n                            \"name\": \"block.cancel\"\n                        }\n                    ]\n                }, \n                {\n                    \"group\": \"User Access Interface\", \n                    \"items\": [\n                        {\n                            \"description\": \"View Users\", \n                            \"name\": \"user.view\"\n                        }, \n                        {\n                            \"description\": \"Add User\", \n                            \"name\": \"user.add\"\n                        }, \n                        {\n                            \"description\": \"Delete User\", \n                            \"name\": \"user.delete\"\n                        }, \n                        {\n                            \"description\": \"Transfer User Blocks\", \n                            \"name\": \"user_block.transfer\"\n                        }, \n                        {\n                            \"description\": \"View Managers\", \n                            \"name\": \"manager.view\"\n                        }, \n                        {\n                            \"description\": \"Add Manager\", \n                            \"name\": \"manager.add\"\n                        }, \n                        {\n                            \"description\": \"Delete Manager\", \n                            \"name\": \"manager.delete\"\n                        }, \n                        {\n                            \"description\": \"Transfer Manager Blocks\", \n                            \"name\": \"manager_block.transfer\"\n                        }, \n                        {\n                            \"description\": \"View Admins\", \n                            \"name\": \"admin.view\"\n                        }, \n                        {\n                            \"description\": \"Transfer Admin Blocks\", \n                            \"name\": \"admin_block.transfer\"\n                        }\n                    ]\n                }, \n                {\n                    \"group\": \"Reservations\", \n                    \"items\": [\n                        {\n                            \"description\": \"View Reservations\", \n                            \"name\": \"reservation.view\"\n                        }, \n                        {\n                            \"description\": \"Add Reservation\", \n                            \"name\": \"reservation.add\"\n                        }, \n                        {\n                            \"description\": \"Cancel Reservation\", \n                            \"name\": \"reservation.cancel\"\n                        }\n                    ]\n                }, \n                {\n                    \"group\": \"Hotel Settings\", \n                    \"items\": [\n                        {\n                            \"description\": \"View Hotel Information\", \n                            \"name\": \"hotel.view\"\n                        }, \n                        {\n                            \"description\": \"Edit Hotel Information\", \n                            \"name\": \"hotel.edit\"\n                        }, \n                        {\n                            \"description\": \"View Facilities\", \n                            \"name\": \"facility.view\"\n                        }, \n                        {\n                            \"description\": \"Edit Facilities\", \n                            \"name\": \"facility.edit\"\n                        }, \n                        {\n                            \"description\": \"View Accommodation\", \n                            \"name\": \"accommodation.view\"\n                        }, \n                        {\n                            \"description\": \"Edit Accommodation\", \n                            \"name\": \"accommodation.edit\"\n                        }, \n                        {\n                            \"description\": \"View Reservation Setup\", \n                            \"name\": \"reservation_setup.view\"\n                        }, \n                        {\n                            \"description\": \"Edit Reservation Setup\", \n                            \"name\": \"reservation_setup.edit\"\n                        }\n                    ]\n                }, \n                {\n                    \"group\": \"Administrative\", \n                    \"items\": [\n                        {\n                            \"description\": \"View Reports\", \n                            \"name\": \"report.view\"\n                        }, \n                        {\n                            \"description\": \"View Manage Users\", \n                            \"name\": \"manage_user.view\"\n                        }\n                    ]\n                }, \n                {\n                    \"group\": \"Events\", \n                    \"items\": [\n                        {\n                            \"description\": \"View Events\", \n                            \"name\": \"event.view\"\n                        }, \n                        {\n                            \"description\": \"Add Event\", \n                            \"name\": \"event.add\"\n                        }, \n                        {\n                            \"description\": \"Cancel Event\", \n                            \"name\": \"event.cancel\"\n                        }, \n                        {\n                            \"description\": \"View Event Planners\", \n                            \"name\": \"ep.view\"\n                        }\n                    ]\n                }\n            ]\n        }, \n        {\n            \"description\": \"Manager\", \n            \"name\": \"manager\", \n            \"permissions\": [\n                {\n                    \"group\": \"Blocks\", \n                    \"items\": [\n                        {\n                            \"description\": \"Add Block\", \n                            \"name\": \"block.add\"\n                        }, \n                        {\n                            \"description\": \"Cancel Block\", \n                            \"name\": \"block.cancel\"\n                        }, \n                        {\n                            \"description\": \"View Blocks\", \n                            \"name\": \"block.view\"\n                        }\n                    ]\n                }, \n                {\n                    \"group\": \"User Access Interface\", \n                    \"items\": [\n                        {\n                            \"description\": \"Add User\", \n                            \"name\": \"user.add\"\n                        }, \n                        {\n                            \"description\": \"Delete User\", \n                            \"name\": \"user.delete\"\n                        }, \n                        {\n                            \"description\": \"View Users\", \n                            \"name\": \"user.view\"\n                        }, \n                        {\n                            \"description\": \"Transfer User Blocks\", \n                            \"name\": \"user_block.transfer\"\n                        }\n                    ]\n                }, \n                {\n                    \"group\": \"Reservations\", \n                    \"items\": [\n                        {\n                            \"description\": \"Add Reservation\", \n                            \"name\": \"reservation.add\"\n                        }, \n                        {\n                            \"description\": \"Cancel Reservation\", \n                            \"name\": \"reservation.cancel\"\n                        }, \n                        {\n                            \"description\": \"View Reservations\", \n                            \"name\": \"reservation.view\"\n                        }\n                    ]\n                }, \n                {\n                    \"group\": \"Hotel Settings\", \n                    \"items\": [\n                        {\n                            \"description\": \"View Accommodation\", \n                            \"name\": \"accommodation.view\"\n                        }, \n                        {\n                            \"description\": \"View Facilities\", \n                            \"name\": \"facility.view\"\n                        }, \n                        {\n                            \"description\": \"View Hotel Information\", \n                            \"name\": \"hotel.view\"\n                        }, \n                        {\n                            \"description\": \"View Reservation Setup\", \n                            \"name\": \"reservation_setup.view\"\n                        }\n                    ]\n                }, \n                {\n                    \"group\": \"Administrative\", \n                    \"items\": [\n                        {\n                            \"description\": \"View Manage Users\", \n                            \"name\": \"manage_user.view\"\n                        }\n                    ]\n                }, \n                {\n                    \"group\": \"Events\", \n                    \"items\": [\n                        {\n                            \"description\": \"View Event Planners\", \n                            \"name\": \"ep.view\"\n                        }, \n                        {\n                            \"description\": \"Add Event\", \n                            \"name\": \"event.add\"\n                        }, \n                        {\n                            \"description\": \"Cancel Event\", \n                            \"name\": \"event.cancel\"\n                        }, \n                        {\n                            \"description\": \"View Events\", \n                            \"name\": \"event.view\"\n                        }\n                    ]\n                }\n            ]\n        }, \n        {\n            \"description\": \"User\", \n            \"name\": \"user\", \n            \"permissions\": [\n                {\n                    \"group\": \"Reservations\", \n                    \"items\": [\n                        {\n                            \"description\": \"Add Reservation\", \n                            \"name\": \"reservation.add\"\n                        }, \n                        {\n                            \"description\": \"View Reservations\", \n                            \"name\": \"reservation.view\"\n                        }\n                    ]\n                }, \n                {\n                    \"group\": \"Blocks\", \n                    \"items\": [\n                        {\n                            \"description\": \"Add Block\", \n                            \"name\": \"block.add\"\n                        }, \n                        {\n                            \"description\": \"View Blocks\", \n                            \"name\": \"block.view\"\n                        }\n                    ]\n                }, \n                {\n                    \"group\": \"Events\", \n                    \"items\": [\n                        {\n                            \"description\": \"View Event Planners\", \n                            \"name\": \"ep.view\"\n                        }, \n                        {\n                            \"description\": \"Add Event\", \n                            \"name\": \"event.add\"\n                        }, \n                        {\n                            \"description\": \"View Events\", \n                            \"name\": \"event.view\"\n                        }\n                    ]\n                }, \n                {\n                    \"group\": \"Hotel Settings\", \n                    \"items\": [\n                        {\n                            \"description\": \"View Accommodation\", \n                            \"name\": \"accommodation.view\"\n                        }, \n                        {\n                            \"description\": \"View Facilities\", \n                            \"name\": \"facility.view\"\n                        }, \n                        {\n                            \"description\": \"View Hotel Information\", \n                            \"name\": \"hotel.view\"\n                        }, \n                        {\n                            \"description\": \"View Reservation Setup\", \n                            \"name\": \"reservation_setup.view\"\n                        }\n                    ]\n                }\n            ]\n        }\n    ], \n    \"status\": \"success\"\n}\n"}],"_postman_id":"a6d2ff81-36a1-4f0d-a254-c23ca2af941c"},{"name":"Transfer Hotel Blocks","id":"055961bb-e027-4b18-a25b-bf84a99ad079","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"from_id\": \"5b7d1ee93d5579952ccbb301\",\n\t\"to_id\": \"5b7d1ee93d5579952ccbb303\"\n}"},"url":"{{endpoint}}/api/v1/hotels/:id/blocks/transfer","description":"<p>Transfer blocks between 2 difference users.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","blocks","transfer"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"1af43cc1-47d3-499c-8957-a59b93145c52","name":"Successful","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"from_id\": \"5b7d1ee93d5579952ccbb301\",\n\t\"to_id\": \"5b7d1ee93d5579952ccbb303\"\n}"},"url":"{{endpoint}}/api/v1/hotels/current/blocks/transfer"},"status":"FORBIDDEN","code":403,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Content-Length","value":"134","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 26 Aug 2018 16:08:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"session=.eJyVj0GLwjAQhf9KyVlkW-ul4GGXWlGY7AqpZbKIVI1N0lTFVKoR__tGdw9e9zTzeLxv5t3IamdKK4UlyfeNBO3vWJOElMWwWXejEbn3yJcRpRWBOVSB2gftISg3G2Ft0Eplg2NZiT5Z3pc9DzsJK0myK40VXqotSf5wVBtDJ9BRTRVNpUSdR5DCBQqIqYOIp9CBqxxlld-nETYYgpaGp2OHbB6jM8r7oc8bZDhA9-F1fvHMmEbjAUbowM1qSDMJxXQAk6zxWnG2aLCgNbKFAcdrXkwvwNBhk4eoNzHV4w70_O2RpZNMfTJ4VlZbsW9Ve-2X51au2utRkGR_NubFeW3nL_I0M5zVjqd5SF09pGymMZr5L9_dg3i24rT6V-b-Az4PiWQ.DmRh8g.swwV-TLQxhHBkvfCi4hXGhE6_ao; HttpOnly; Path=/","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Vary","value":"Cookie","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Sentry-ID","value":"e9b8e2fefcc44037af7afdc9d6e4b3e7","name":"X-Sentry-ID","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"hotel.localhost","path":"/","secure":false,"value":".eJyVj0GLwjAQhf9KyVlkW-ul4GGXWlGY7AqpZbKIVI1N0lTFVKoR__tGdw9e9zTzeLxv5t3IamdKK4UlyfeNBO3vWJOElMWwWXejEbn3yJcRpRWBOVSB2gftISg3G2Ft0Eplg2NZiT5Z3pc9DzsJK0myK40VXqotSf5wVBtDJ9BRTRVNpUSdR5DCBQqIqYOIp9CBqxxlld-nETYYgpaGp2OHbB6jM8r7oc8bZDhA9-F1fvHMmEbjAUbowM1qSDMJxXQAk6zxWnG2aLCgNbKFAcdrXkwvwNBhk4eoNzHV4w70_O2RpZNMfTJ4VlZbsW9Ve-2X51au2utRkGR_NubFeW3nL_I0M5zVjqd5SF09pGymMZr5L9_dg3i24rT6V-b-Az4PiWQ.DmRh8g.swwV-TLQxhHBkvfCi4hXGhE6_ao","key":"session"}],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"message\": \"The blocks are transferred successful\",\n    \"status\": \"success\",\n    \"data\": {\n    \t\"block_count\": 10\n    }\n}"}],"_postman_id":"055961bb-e027-4b18-a25b-bf84a99ad079"},{"name":"Apaleo Rate Plans","id":"c0cff553-8b89-4131-877f-e41b6e620646","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/:id/rate-plans?from=2018-11-30&to=2018-12-5","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","rate-plans"],"host":["{{endpoint}}"],"query":[{"key":"from","value":"2018-11-30"},{"key":"to","value":"2018-12-5"}],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"8b3eec9a-6933-4b88-9d22-03e8a7d89f4a","name":"Apaleo Rate Plans","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/hotels/current/rate-plans?from=2018-11-30&to=2018-12-5","host":["{{endpoint}}"],"path":["api","v1","hotels","current","rate-plans"],"query":[{"key":"from","value":"2018-11-30"},{"key":"to","value":"2018-12-5"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"10132"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkMtugzAQRX-l8rqqAkk2SFlEglpE8lggE8veoJSQ-kVaBSLAUf69ThdVtl3PvWfmzA3Vp0vbK5ScDq5vX1Gtjyi5oZcPlCBpqojy0kpTGvA7LTsxA2tGiksNZhuLruwEL5Xg2ZLgYilxNUsGluB9R1OxAG_XwLYRZfvAeNeCKS1T6yXeOcnzmOLKE7OdpHGK8sITDx2wPCa-GonJV48O-GIp4iKimCzCLkOMcg8O8c1MmbSCiTX4aoPur6jpL6d6-LLt-U8hRDR0eSRZExGcrSAlIS4VYDEBD6fGWQRsZwirIuFlF7QmMW5-cfrYngc9zG-H66DqYf5uUXK-Ovc0eXoW8CDF7CjibBLeTsCOjqZBgJcO_Of4IF779lL_q3P_AbEjjCo.DtZhkA.Ri_ioYjD1IQIKeKRjl59mwnfgxg; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Wed, 21 Nov 2018 03:25:04 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"results\": [\n            {\n                \"billing\": [],\n                \"capacity\": 4,\n                \"display_name\": \"Family room\",\n                \"id\": null,\n                \"inclusion\": null,\n                \"mind_night\": 1,\n                \"occupancy_rates\": [],\n                \"rate_plans\": [\n                    {\n                        \"description\": \"Stay fully flexible with free cancellation until midnight one day prior to arrival. Just put your CC on file to guarantee the booking.\",\n                        \"name\": \"Flexible Family\",\n                        \"pms_code\": \"FLEX_FAMILY\",\n                        \"pms_id\": \"MUC-FLEX_FAMILY\",\n                        \"room_dates\": [\n                            {\n                                \"date\": \"2018-12-04T09:00:00+01:00\",\n                                \"quantity\": 2,\n                                \"rate\": 157\n                            },\n                            {\n                                \"date\": \"2018-12-02T09:00:00+01:00\",\n                                \"quantity\": 2,\n                                \"rate\": 150\n                            },\n                            {\n                                \"date\": \"2018-12-03T09:00:00+01:00\",\n                                \"quantity\": 2,\n                                \"rate\": 164\n                            },\n                            {\n                                \"date\": \"2018-11-30T00:00:11+01:00\",\n                                \"quantity\": 2,\n                                \"rate\": 164\n                            },\n                            {\n                                \"date\": \"2018-12-01T09:00:00+01:00\",\n                                \"quantity\": 2,\n                                \"rate\": 146\n                            }\n                        ]\n                    },\n                    {\n                        \"description\": \"Pay in advance and safe. If you cancel we well keep the amount of the full stay.\",\n                        \"name\": \"Non Refundable Family\",\n                        \"pms_code\": \"NONREF_FAMILY\",\n                        \"pms_id\": \"MUC-NONREF_FAMILY\",\n                        \"room_dates\": [\n                            {\n                                \"date\": \"2018-12-04T09:00:00+01:00\",\n                                \"quantity\": 2,\n                                \"rate\": 142\n                            },\n                            {\n                                \"date\": \"2018-12-02T09:00:00+01:00\",\n                                \"quantity\": 2,\n                                \"rate\": 135\n                            },\n                            {\n                                \"date\": \"2018-12-03T09:00:00+01:00\",\n                                \"quantity\": 2,\n                                \"rate\": 149\n                            },\n                            {\n                                \"date\": \"2018-11-30T00:00:11+01:00\",\n                                \"quantity\": 2,\n                                \"rate\": 149\n                            },\n                            {\n                                \"date\": \"2018-12-01T09:00:00+01:00\",\n                                \"quantity\": 2,\n                                \"rate\": 131\n                            }\n                        ]\n                    }\n                ],\n                \"room_dates\": [],\n                \"type\": \"5bee90cb1c9157e81b5de784\"\n            },\n            {\n                \"billing\": [],\n                \"capacity\": 2,\n                \"display_name\": \"Double\",\n                \"id\": null,\n                \"inclusion\": null,\n                \"mind_night\": 1,\n                \"occupancy_rates\": [],\n                \"rate_plans\": [\n                    {\n                        \"description\": \"Stay fully flexible with free cancellation until midnight one day prior to arrival. Just put your CC on file to guarantee the booking.\",\n                        \"name\": \"Flexible\",\n                        \"pms_code\": \"FLEX_DBL\",\n                        \"pms_id\": \"MUC-FLEX_DBL\",\n                        \"room_dates\": [\n                            {\n                                \"date\": \"2018-12-04T09:00:00+01:00\",\n                                \"quantity\": 27,\n                                \"rate\": 157\n                            },\n                            {\n                                \"date\": \"2018-12-02T09:00:00+01:00\",\n                                \"quantity\": 27,\n                                \"rate\": 150\n                            },\n                            {\n                                \"date\": \"2018-12-03T09:00:00+01:00\",\n                                \"quantity\": 27,\n                                \"rate\": 164\n                            },\n                            {\n                                \"date\": \"2018-11-30T00:00:11+01:00\",\n                                \"quantity\": 26,\n                                \"rate\": 164\n                            },\n                            {\n                                \"date\": \"2018-12-01T09:00:00+01:00\",\n                                \"quantity\": 26,\n                                \"rate\": 146\n                            }\n                        ]\n                    },\n                    {\n                        \"description\": \"A rate for double rooms with breakfast included.\",\n                        \"name\": \"Include breakfast\",\n                        \"pms_code\": \"IBRKF_DBL\",\n                        \"pms_id\": \"MUC-IBRKF_DBL\",\n                        \"room_dates\": [\n                            {\n                                \"date\": \"2018-12-04T09:00:00+01:00\",\n                                \"quantity\": 27,\n                                \"rate\": 167\n                            },\n                            {\n                                \"date\": \"2018-12-02T09:00:00+01:00\",\n                                \"quantity\": 27,\n                                \"rate\": 160\n                            },\n                            {\n                                \"date\": \"2018-12-03T09:00:00+01:00\",\n                                \"quantity\": 27,\n                                \"rate\": 174\n                            },\n                            {\n                                \"date\": \"2018-11-30T00:00:11+01:00\",\n                                \"quantity\": 26,\n                                \"rate\": 174\n                            },\n                            {\n                                \"date\": \"2018-12-01T09:00:00+01:00\",\n                                \"quantity\": 26,\n                                \"rate\": 156\n                            }\n                        ]\n                    },\n                    {\n                        \"description\": \"Pay in advance and safe. If you cancel we well keep the amount of the full stay.\",\n                        \"name\": \"Non Refundable\",\n                        \"pms_code\": \"NONREF_DBL\",\n                        \"pms_id\": \"MUC-NONREF_DBL\",\n                        \"room_dates\": [\n                            {\n                                \"date\": \"2018-12-04T09:00:00+01:00\",\n                                \"quantity\": 27,\n                                \"rate\": 137\n                            },\n                            {\n                                \"date\": \"2018-12-02T09:00:00+01:00\",\n                                \"quantity\": 27,\n                                \"rate\": 130\n                            },\n                            {\n                                \"date\": \"2018-12-03T09:00:00+01:00\",\n                                \"quantity\": 27,\n                                \"rate\": 144\n                            },\n                            {\n                                \"date\": \"2018-11-30T00:00:11+01:00\",\n                                \"quantity\": 26,\n                                \"rate\": 144\n                            },\n                            {\n                                \"date\": \"2018-12-01T09:00:00+01:00\",\n                                \"quantity\": 26,\n                                \"rate\": 126\n                            }\n                        ]\n                    },\n                    {\n                        \"description\": \"Super special rate for single rooms only available in the promotion period.\",\n                        \"name\": \"Promotion\",\n                        \"pms_code\": \"PROMO_DBL\",\n                        \"pms_id\": \"MUC-PROMO_DBL\",\n                        \"room_dates\": [\n                            {\n                                \"date\": \"2018-12-04T09:00:00+01:00\",\n                                \"quantity\": 27,\n                                \"rate\": 114\n                            },\n                            {\n                                \"date\": \"2018-12-02T09:00:00+01:00\",\n                                \"quantity\": 27,\n                                \"rate\": 108\n                            },\n                            {\n                                \"date\": \"2018-12-03T09:00:00+01:00\",\n                                \"quantity\": 27,\n                                \"rate\": 120\n                            },\n                            {\n                                \"date\": \"2018-11-30T00:00:11+01:00\",\n                                \"quantity\": 26,\n                                \"rate\": 120\n                            },\n                            {\n                                \"date\": \"2018-12-01T09:00:00+01:00\",\n                                \"quantity\": 26,\n                                \"rate\": 105\n                            }\n                        ]\n                    }\n                ],\n                \"room_dates\": [],\n                \"type\": \"5bee90cb1c9157e81b5de783\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"c0cff553-8b89-4131-877f-e41b6e620646"},{"name":"Apaleo Unit Groups","id":"22168485-c716-45a4-9665-06358d4f34a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/:id/property/accommodations","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","property","accommodations"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"9018e716-0b12-4895-bb38-9230971d92d6","name":"Apaleo Unit Groups","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/current/property/accommodations"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"890"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkMtugzAQRX-l8rqqAkk2SFlEglpE8lggE8veoJSQ-kVaBSLAUf69ThdVtl3PvWfmzA3Vp0vbK5ScDq5vX1Gtjyi5oZcPlCBpqojy0kpTGvA7LTsxA2tGiksNZhuLruwEL5Xg2ZLgYilxNUsGluB9R1OxAG_XwLYRZfvAeNeCKS1T6yXeOcnzmOLKE7OdpHGK8sITDx2wPCa-GonJV48O-GIp4iKimCzCLkOMcg8O8c1MmbSCiTX4aoPur6jpL6d6-LLt-U8hRDR0eSRZExGcrSAlIS4VYDEBD6fGWQRsZwirIuFlF7QmMW5-cfrYngc9zG-H66DqYf5uUXK-Ovc0eXoW8CDF7CjibBLeTsCOjqZBgJcO_Of4IF779lL_q3P_AbEjjCo.DtgS-Q.HItya0m6UMGJgH0VYPeNHEArbEo; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Thu, 22 Nov 2018 10:14:17 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"results\": [\n            {\n                \"description\": \"Big room with balcony, whirlpool and a kingsize bed.\",\n                \"max_guests\": 2,\n                \"name\": \"Double\",\n                \"pms_code\": \"DBL\",\n                \"pms_id\": \"MUC-DBL\"\n            },\n            {\n                \"description\": \"Big room with balcony, whirlpool and two kingsize beds.\",\n                \"max_guests\": 4,\n                \"name\": \"Family room\",\n                \"pms_code\": \"FAMILY\",\n                \"pms_id\": \"MUC-FAMILY\"\n            },\n            {\n                \"description\": \"Nice and comfortable room with shower and single bed.\",\n                \"max_guests\": 1,\n                \"name\": \"Single\",\n                \"pms_code\": \"SGL\",\n                \"pms_id\": \"MUC-SGL\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"22168485-c716-45a4-9665-06358d4f34a8"},{"name":"Get Account Manager List","id":"06eb732d-32ee-4df0-8d8a-19b045d3cbf0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/:id/account-managers","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","account-managers"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"a53ecc75-0ad7-4be7-a11c-9b32dbd0a7dc","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/current/account-managers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1310"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkE9rg0AQxb9K2XMoautFyMGyKgZmJbJGdi-SRhP3X1qiQd2Q795NDyXXHoeZ95v33g01x0s39Cg67vXQrVAjWhTd0MsnihCxsBSYqwKrCcxOFjVMUFcBz_KJ1bkHtlo4hYBjLcGwGeSHALMNubshOJkYTRZiTwsJYC6yUjGaamJ7zWi8gEk1x63TbSRQNhNZSpKBD5T3jG59nm16ZuOQP2YbzyzYCLCt4vQUgik1oalwuqnAVUhwtUb3FToMl2Mzfqnu_BeBUfXmUIqZxAO5c6_zGTLwgJ4mkId3Xue-s-tz6WzL0gCOJ4jXvzjRdudRjMvr_jr2zbh8dyg6X7V-2jyXVbsgtgoBQ0hMKYosmZmsZrCOWjPvQbwO3aX5l-b-A9r3iqo.XBhvxA.NPqPyZuiPN7Q2bArhHSdR8OqzNw; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Tue, 18 Dec 2018 03:55:48 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": [\n        {\n            \"first_name\": \"Singapore\",\n            \"id\": \"5bc3590396db8a1b5134f1f4\",\n            \"last_name\": \"Hotel\",\n            \"name\": \"Singapore Hotel\",\n            \"role\": \"admin\"\n        },\n        {\n            \"first_name\": \"Manager1\",\n            \"id\": \"5bfe1ab596db8a39b7372ce0\",\n            \"last_name\": \"User\",\n            \"name\": \"Manager1 User\",\n            \"role\": \"manager\"\n        },\n        {\n            \"first_name\": \"John\",\n            \"id\": \"5c06090796db8a22139999c2\",\n            \"last_name\": \"Smith\",\n            \"name\": \"John Smith\",\n            \"role\": \"user\"\n        },\n        {\n            \"first_name\": \"John\",\n            \"id\": \"5c06091b96db8a22139999c4\",\n            \"last_name\": \"Smith\",\n            \"name\": \"John Smith\",\n            \"role\": \"manager\"\n        },\n        {\n            \"first_name\": \"manager2\",\n            \"id\": \"5c0fe3821c915706fec91a72\",\n            \"last_name\": \"idem\",\n            \"name\": \"manager2 idem\",\n            \"role\": \"manager\"\n        },\n        {\n            \"first_name\": \"Second\",\n            \"id\": \"5c17331796db8a519cd48159\",\n            \"last_name\": \"Admin\",\n            \"name\": \"Second Admin\",\n            \"role\": \"admin\"\n        }\n    ],\n    \"status\": \"success\"\n}"}],"_postman_id":"06eb732d-32ee-4df0-8d8a-19b045d3cbf0"},{"name":"Resend Invite to User Account","id":"4204d2ba-8092-4cf4-9b4a-dbd81664f742","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{endpoint}}/api/v1/hotels/:id/users/{{user_id}}/resend-invite","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","users","{{user_id}}","resend-invite"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"e6dd5b80-6e33-48e5-822b-d9be1eba501b","name":"Success","originalRequest":{"method":"PUT","header":[],"url":"{{endpoint}}/api/v1/hotels/current/users/5bfe1ab596db8a39b7372ce0/resend-invite"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"181"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkE9rg0AQxb9K2XMoautFyMGyKgZmJbJGdi-SRhP3X1qiQd2Q795NDyXXHoeZ95v33g01x0s39Cg67vXQrVAjWhTd0MsnihCxsBSYqwKrCcxOFjVMUFcBz_KJ1bkHtlo4hYBjLcGwGeSHALMNubshOJkYTRZiTwsJYC6yUjGaamJ7zWi8gEk1x63TbSRQNhNZSpKBD5T3jG59nm16ZuOQP2YbzyzYCLCt4vQUgik1oalwuqnAVUhwtUb3FToMl2Mzfqnu_BeBUfXmUIqZxAO5c6_zGTLwgJ4mkId3Xue-s-tz6WzL0gCOJ4jXvzjRdudRjMvr_jr2zbh8dyg6X7V-2jyXVbsgtgoBQ0hMKYosmZmsZrCOWjPvQbwO3aX5l-b-A9r3iqo.XBsupQ.Em8vREALbt5AEhkcxs0oAJjSm1s; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Thu, 20 Dec 2018 05:54:45 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5bfe1ab596db8a39b7372ce0\"\n    },\n    \"message\": \"The email invitation was resent to this user email.\",\n    \"status\": \"success\"\n}"}],"_postman_id":"4204d2ba-8092-4cf4-9b4a-dbd81664f742"},{"name":"Get Hotel Information","id":"30ddd56f-d860-4f7a-b8a6-21e9dd1099ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"}],"url":"{{base_url}}/hotels/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"8d59fff0-961c-4285-86e6-735a5af075f0","name":"Hotel Information","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/current"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"8561"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkE9rg0AQxb9K2XMoautFyMGyKgZmJbJGdi-SRhP3X1qiQd2Q795NDyXXHoeZ95v33g01x0s39Cg67vXQrVAjWhTd0MsnihCxsBSYqwKrCcxOFjVMUFcBz_KJ1bkHtlo4hYBjLcGwGeSHALMNubshOJkYTRZiTwsJYC6yUjGaamJ7zWi8gEk1x63TbSRQNhNZSpKBD5T3jG59nm16ZuOQP2YbzyzYCLCt4vQUgik1oalwuqnAVUhwtUb3FToMl2Mzfqnu_BeBUfXmUIqZxAO5c6_zGTLwgJ4mkId3Xue-s-tz6WzL0gCOJ4jXvzjRdudRjMvr_jr2zbh8dyg6X7V-2jyXVbsgtgoBQ0hMKYosmZmsZrCOWjPvQbwO3aX5l-b-A9r3iqo.XG4epg.tRt2i57DEs_6YEdNKABQ2u05DHE; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Thu, 21 Feb 2019 03:44:38 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\", \n    \"data\": {\n        \"accommodations\": [\n            {\n                \"description\": \"<p>Deluxe - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\\n\", \n                \"details\": \"<p>DELUX</p>\\n\\n<ul>\\n\\t<li>Complimentary unlimited WIFI</li>\\n\\t<li>Standing rainshower</li>\\n\\t<li>LCD flat screen TV with local and international channels, movies-on-demand, music and radio channels and Airplay Multimedia connectivity panel Internet Protocol Television (IPTV)</li>\\n\\t<li>Air conditioning with manual room temperature control</li>\\n\\t<li>Fully stocked mini-bar</li>\\n\\t<li>Coffee and tea making facilities In-room telephone</li>\\n\\t<li>Safe deposit box</li>\\n\\t<li>Hair dryer</li>\\n\\t<li>Bathrobes and slippers</li>\\n\\t<li>Express check-out Iron and ironing board</li>\\n\\t<li>Laundry and dry cleaning services</li>\\n\\t<li>Complimentary use of handy phone with the following features: Internet connectivity with unlimited data anywhere in Singapore</li>\\n\\t<li>Complimentary local calls Complimentary IDD calls to 15 selected countries Digital city guide on Singapore Information on hotel facilities and dining outlets</li>\\n</ul>\\n\", \n                \"hotel_id\": \"5b64304986819e07d799b133\", \n                \"id\": \"5b655c8f86819e07fc99b13e\", \n                \"image_url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5b64304986819e07d799b133/VRCBFI6I-Deluxe-Room_03-1.jpg\", \n                \"max_guests\": 4, \n                \"name\": \"DELUXE ROOM\", \n                \"room_classes\": [\n                    {\n                        \"id\": \"5c75391696db8a5b2113fa40\", \n                        \"name\": \"King Bed\"\n                    }, \n                    {\n                        \"id\": \"5c75391696db8a5b2113fa43\", \n                        \"name\": \"Queen Bed\"\n                    }\n                ], \n                \"room_size\": -1, \n                \"room_unit\": \"\"\n            }, \n            {\n                \"description\": \"<p>STANDARD LUXURY- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\\n\\n<p>Additional Charge for Third Person</p>\\n\\n<p>&nbsp;</p>\\n\", \n                \"details\": \"<p>STANDARD LUXURY Complimentary unlimited WIFI Standing rainshower LCD flat screen TV with local and international channels, movies-on-demand, music and radio channels and Airplay Multimedia connectivity panel Internet Protocol Television (IPTV) Air conditioning with manual room temperature control Fully stocked mini-bar Coffee and tea making facilities In-room telephone Safe deposit box Hair dryer Bathrobes and slippers Express check-out Iron and ironing board Laundry and dry cleaning services Complimentary use of handy phone with the following features: Internet connectivity with unlimited data anywhere in Singapore Complimentary local calls Complimentary IDD calls to 15 selected countries Digital city guide on Singapore Information on hotel facilities and dining outlets</p>\\n\", \n                \"hotel_id\": \"5b64304986819e07d799b133\", \n                \"id\": \"5b655cf786819e07fc99b140\", \n                \"image_url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5b64304986819e07d799b133/LYLQVFEI-Deluxe-Room_03-1.jpg\", \n                \"max_guests\": 3, \n                \"name\": \"STANDARD LUXURY\", \n                \"room_classes\": [], \n                \"room_size\": -1, \n                \"room_unit\": \"\"\n            }, \n            {\n                \"description\": \"<p>EXECUTIVE KING - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\\n\", \n                \"details\": \"<p>EXECUTIVE KING</p>\\n\\n<ul>\\n\\t<li>Complimentary unlimited WIFI</li>\\n\\t<li>Standing rainshower</li>\\n\\t<li>LCD flat screen TV with local and international channels, movies-on-demand, music and radio channels and Airplay Multimedia connectivity panel Internet Protocol Television (IPTV)</li>\\n\\t<li>Air conditioning with manual room temperature control</li>\\n\\t<li>Fully stocked mini-bar</li>\\n\\t<li>Coffee and tea making facilities In-room telephone</li>\\n\\t<li>Safe deposit box</li>\\n\\t<li>Hair dryer</li>\\n\\t<li>Bathrobes and slippers</li>\\n\\t<li>Express check-out Iron and ironing board</li>\\n\\t<li>Laundry and dry cleaning services</li>\\n\\t<li>Complimentary use of handy phone with the following features: Internet connectivity with unlimited data anywhere in Singapore</li>\\n\\t<li>Complimentary local calls Complimentary IDD calls to 15 selected countries Digital city guide on Singapore Information on hotel facilities and dining outlets</li>\\n</ul>\\n\", \n                \"hotel_id\": \"5b64304986819e07d799b133\", \n                \"id\": \"5b655d4b86819e07fc99b142\", \n                \"image_url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5b64304986819e07d799b133/OT4X8HP0-Deluxe-Room_03-1.jpg\", \n                \"max_guests\": 2, \n                \"name\": \"EXECUTIVE KING\", \n                \"room_classes\": [\n                    {\n                        \"id\": \"5c75391696db8a5b2113fa40\", \n                        \"name\": \"King Bed\"\n                    }, \n                    {\n                        \"id\": \"5c75391696db8a5b2113fa46\", \n                        \"name\": \"Twin Bed\"\n                    }, \n                    {\n                        \"id\": \"5c75391696db8a5b2113fa47\", \n                        \"name\": \"Single Bed\"\n                    }\n                ], \n                \"room_size\": -1, \n                \"room_unit\": \"\"\n            }, \n            {\n                \"description\": \"<p>CLUB SUITE - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\\n\", \n                \"details\": \"<p>CLUB SUITE Complimentary unlimited WIFI Standing rainshower LCD flat screen TV with local and international channels, movies-on-demand, music and radio channels and Airplay Multimedia connectivity panel Internet Protocol Television (IPTV) Air conditioning with manual room temperature control Fully stocked mini-bar Coffee and tea making facilities In-room telephone Safe deposit box Hair dryer Bathrobes and slippers Express check-out Iron and ironing board Laundry and dry cleaning services Complimentary use of handy phone with the following features: Internet connectivity with unlimited data anywhere in Singapore Complimentary local calls Complimentary IDD calls to 15 selected countries Digital city guide on Singapore Information on hotel facilities and dining outlets</p>\\n\", \n                \"hotel_id\": \"5b64304986819e07d799b133\", \n                \"id\": \"5b655da686819e07fc99b144\", \n                \"image_url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5b64304986819e07d799b133/FTMQ83PI-Deluxe-Room_03-1.jpg\", \n                \"max_guests\": 2, \n                \"name\": \"CLUB SUITE\", \n                \"room_classes\": [\n                    {\n                        \"id\": \"5c75391696db8a5b2113fa40\", \n                        \"name\": \"King Bed\"\n                    }, \n                    {\n                        \"id\": \"5c75391696db8a5b2113fa43\", \n                        \"name\": \"Queen Bed\"\n                    }\n                ], \n                \"room_size\": -1, \n                \"room_unit\": \"\"\n            }, \n            {\n                \"description\": \"<p>Deluxe B/FAST- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\\n\", \n                \"details\": \"<p>DELUX WITH B/FAST</p>\\n\\n<ul>\\n\\t<li>Complimentary unlimited WIFI</li>\\n\\t<li>Standing rainshower</li>\\n\\t<li>LCD flat screen TV with local and international channels, movies-on-demand, music and radio channels and Airplay Multimedia connectivity panel Internet Protocol Television (IPTV)</li>\\n\\t<li>Air conditioning with manual room temperature control</li>\\n\\t<li>Fully stocked mini-bar</li>\\n\\t<li>Coffee and tea making facilities In-room telephone</li>\\n\\t<li>Safe deposit box</li>\\n\\t<li>Hair dryer</li>\\n\\t<li>Bathrobes and slippers</li>\\n\\t<li>Express check-out Iron and ironing board</li>\\n\\t<li>Laundry and dry cleaning services</li>\\n\\t<li>Complimentary use of handy phone with the following features: Internet connectivity with unlimited data anywhere in Singapore</li>\\n\\t<li>Complimentary local calls Complimentary IDD calls to 15 selected countries Digital city guide on Singapore Information on hotel facilities and dining outlets</li>\\n</ul>\\n\", \n                \"hotel_id\": \"5b64304986819e07d799b133\", \n                \"id\": \"5b655e1986819e07fc99b147\", \n                \"image_url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5b64304986819e07d799b133/B5C757Z4-Deluxe-Room_03-1.jpg\", \n                \"max_guests\": 2, \n                \"name\": \"DELUXE ROOM incl. Breakfast\", \n                \"room_classes\": [], \n                \"room_size\": -1, \n                \"room_unit\": \"\"\n            }\n        ], \n        \"address\": {\n            \"address_1\": \"80 Robinson Road\", \n            \"address_2\": \"\", \n            \"country\": \"Singapore\", \n            \"postalcode\": \"454543\"\n        }, \n        \"description\": \"<p>The Kingsman is a city hotel conveniently located in business district. A architectural landmark is the setting for this luxury hotel. The soaring glass facade reflects the skyline of a city that is always on the go, while providing spectacular views from all 400 spacious rooms and suites.</p>\\n\\n<p>Benefiting from a premium location near the MRT station, The Kingsman combines convenience and renowned hospitality for the discerning global nomad. Fully equipped with cutting-edge technology and free Wi-Fi, this city hotel caters to all business and leisure needs.Extensive business facilities and an on-site IT solutions manager make business a pleasure.</p>\\n\\n<p>Two vast ballrooms provide striking backdrops for weddings and banquets. With restaurants, a bar, a spa and extensive recreation facilities, The Kingsman caters to all tastes, schedules and walks of life.</p>\\n\", \n        \"email\": \"kingsmen@idemventures.com\", \n        \"fax\": {\n            \"cc\": \"+65\", \n            \"contact\": \"8765 4321\"\n        }, \n        \"id\": \"5b64304986819e07d799b133\", \n        \"location\": {\n            \"lat\": 1.2800305, \n            \"lng\": 103.8492068\n        }, \n        \"logo_url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5b64304986819e07d799b133/2AYM859W-logo-kingsmen.png\", \n        \"loyalty_club\": \"Kingsmen Loyalty Club\", \n        \"loyalty_url\": \"https://www.accorhotels.com/leclub/asia/join-loyalty-program/index.en.shtml\", \n        \"maps_url\": \"https://www.google.com/maps/search/?api=1&query=80+Robinson+Road+Singapore+454543\", \n        \"name\": \"Kingsmen Hotels and Resorts\", \n        \"phone\": {\n            \"cc\": \"+65\", \n            \"contact\": \"88889653\"\n        }, \n        \"reservation_emails\": [\n            \"kingsmen@idemventures.com\"\n        ], \n        \"reservation_setting\": {\n            \"direct_payment_enabled\": false\n        }, \n        \"social\": {\n            \"facebook\": \"https://www.facebook.com/idemhospitality/\", \n            \"instagram\": \"https://www.instagram.com/sofitelsingaporesentosa\", \n            \"linkedin\": \"https://www.linkedin.com/company/idemhospitality/\", \n            \"twitter\": \"https://twitter.com/idemhospitality\", \n            \"youtube\": \"https://www.youtube.com/kingsmanhotel\"\n        }, \n        \"timezone\": \"Asia/Singapore\", \n        \"transfer_detail\": \"<p>Greetings from Kingsman<br />\\r\\nPlease use below rate for adding Airport Transfer details:<br />\\r\\nAirport Limousine Service:</p>\\r\\n\\r\\n<p>1. Toyota Camry (Maximum of 3 persons with luggage) THB 1,850.-nett/car/way<br />\\r\\n2. BMW Series 5 (Maximum of 3 persons with luggage) THB 2,350.-nett/car/way<br />\\r\\n3. BMW Series 7 (Maximum of 3 persons with luggage) THB 3,250.-nett/car/way<br />\\r\\n4. Toyota Commuter (Maximum of 7 persons with luggage) THB 2,650.-nett/car/way</p>\\r\\n\\r\\n<p>Should you require any further information or assistance, please do not hesitate to contact me at your earliest convenience.</p>\\r\\n\", \n        \"website\": \"http://www.idemhospitality.com\",\n        \"physical_delivery_enabled\": true,\n        \"notification_shipping_emails\": [\"shipping_notification@accor.com\"]\n    }, \n    \"status\": \"success\"\n}"}],"_postman_id":"30ddd56f-d860-4f7a-b8a6-21e9dd1099ea"},{"name":"Change Hotel User Role","id":"5f636360-2394-4c4c-a94e-2913b269fed3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"role\": \"required:string\"\n}"},"url":"{{endpoint}}/api/v1/hotels/:id/users/:user_id/change_role","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","users",":user_id","change_role"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"},{"type":"string","value":"","key":"user_id"}]}},"response":[{"id":"8a553829-dbae-41cc-80ac-e58311a6f17e","name":"Change Hotel User Role","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"role\": \"admin\"\n}"},"url":{"raw":"{{endpoint}}/api/v1/hotels/current/users/:user_id/change_role","host":["{{endpoint}}"],"path":["api","v1","hotels","current","users",":user_id","change_role"],"variable":[{"key":"user_id","value":"5c7cdab05045ad24d2d2fa25"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"174"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UU1r4zAQ_SuLzmWxXXs3DfSQEsVJQBK2ZQnpYhJLqS3LiYkVqF3636suSygs7PXNzPuad1CdrnpswPJ0sKN-AFWrwPId_DiCJZCmDIWpQ0KzAJm9RXRjUYQCzMsIr_cdWjc9nq0l6xeLDQxkmsUk9bsRirDpAhFtemG6CfPdjAx8Q3w3EbqaCUWPaA1jwj1GWY_XspG9v6G2w302S_PSSg5nQcUkKUqk94DobhJczNjsW5LuDeayF3MXCb6LUZo9g48HUI_XU-UunT7fI6B506BUxJhDH6VMZJ_3JEWTPw0ExwbT1ZugzBDatIi-Jog2lqye_9A1F6dtpYfK6vOr8xWFwTfwclX6WtUX6_F_YNVevbjSYw2-zUZ3cLfx7u1Lo1X67Fo3_TzcXFO5adBgeb5Z-23y9RCQ1JF6Co9x8qt-1PEiXPxe1PVRHT39xQ1Vp6c7bR4OZR64Q2HVLqf7bRF2c16qogzyLWWDKKAsGAwJg3KbMQuz4AnmUDHeKczZwGhpJQucLOyAC2Y9V1Lmfyu5jT7c_w19fAKdbcIj.XL7Eig.fXQkpvXLHCjLbCRd4xUz-fFNPg8; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Tue, 23 Apr 2019 07:53:46 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5c7cdab05045ad24d2d2fa25\"\n    },\n    \"message\": \"The user role has been changed successfully.\",\n    \"status\": \"success\"\n}"}],"_postman_id":"5f636360-2394-4c4c-a94e-2913b269fed3"},{"name":"Get Hotel Planner List","id":"a88d0c15-2457-44a1-8232-04d946deb774","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/:id/planners","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","planners"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"88989947-1a48-40d1-9577-d971d9efdc8c","name":"Get Hotel Planner List","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/current/planners"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"4104"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UU1r4zAQ_SuLzmWxXXs3DfSQEsVJQBK2ZQnpYhJLqS3LiYkVqF3636suSygs7PXNzPuad1CdrnpswPJ0sKN-AFWrwPId_DiCJZCmDIWpQ0KzAJm9RXRjUYQCzMsIr_cdWjc9nq0l6xeLDQxkmsUk9bsRirDpAhFtemG6CfPdjAx8Q3w3EbqaCUWPaA1jwj1GWY_XspG9v6G2w302S_PSSg5nQcUkKUqk94DobhJczNjsW5LuDeayF3MXCb6LUZo9g48HUI_XU-UunT7fI6B506BUxJhDH6VMZJ_3JEWTPw0ExwbT1ZugzBDatIi-Jog2lqye_9A1F6dtpYfK6vOr8xWFwTfwclX6WtUX6_F_YNVevbjSYw2-zUZ3cLfx7u1Lo1X67Fo3_TzcXFO5adBgeb5Z-23y9RCQ1JF6Co9x8qt-1PEiXPxe1PVRHT39xQ1Vp6c7bR4OZR64Q2HVLqf7bRF2c16qogzyLWWDKKAsGAwJg3KbMQuz4AnmUDHeKczZwGhpJQucLOyAC2Y9V1Lmfyu5jT7c_w19fAKdbcIj.XL76_g.uNEtPBvJQNK2F0nudCTUWkrx8Zg; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Tue, 23 Apr 2019 11:46:06 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 65,\n        \"filter\": {\n            \"limit\": 10,\n            \"order\": \"desc\",\n            \"page\": 1,\n            \"search\": null,\n            \"sort\": \"created_at\",\n            \"status\": null\n        },\n        \"results\": [\n            {\n                \"company_name\": \"\",\n                \"contact_number\": \"65 76543212\",\n                \"created_at\": \"2018-09-18T05:05:48.603000\",\n                \"email\": \"steven@idemventures.com\",\n                \"full_name\": \"Steven Hoppy\",\n                \"id\": \"5b65677086819e07fc99b153\",\n                \"status\": \"Awaiting Confirmation\"\n            },\n            {\n                \"company_name\": \"Matts Magnificent Meetings\",\n                \"contact_number\": \"+65 96550233\",\n                \"created_at\": \"2018-08-28T08:37:10.945000\",\n                \"email\": \"matthew.howden@gmail.com\",\n                \"full_name\": \"Matthew Howden\",\n                \"id\": \"5b67e89686819e07fc99b16d\",\n                \"status\": \"Awaiting Confirmation\"\n            },\n            {\n                \"company_name\": \"\",\n                \"contact_number\": \"65 96550233\",\n                \"created_at\": \"2019-04-23T11:46:06.531203\",\n                \"email\": \"matthew.howden@idemlabs.com\",\n                \"full_name\": \"Matthew Howden\",\n                \"id\": \"5b6d9dd086819e3ab31486a2\",\n                \"status\": \"Disabled\"\n            },\n            {\n                \"company_name\": \"\",\n                \"contact_number\": \"65 34534534534\",\n                \"created_at\": \"2018-08-30T01:26:56.441000\",\n                \"email\": \"glass@idemventures.com\",\n                \"full_name\": \"Robert Glass\",\n                \"id\": \"5b6fbd5f86819e3ab31486c2\",\n                \"status\": \"Disabled\"\n            },\n            {\n                \"company_name\": \"\",\n                \"contact_number\": \"65 987654321\",\n                \"created_at\": \"2018-09-24T09:14:13.875000\",\n                \"email\": \"henry@idemlabs.com\",\n                \"full_name\": \"Henry Ngo\",\n                \"id\": \"5b715ba786819e3ab3148758\",\n                \"status\": \"Awaiting Confirmation\"\n            },\n            {\n                \"company_name\": \"\",\n                \"contact_number\": \"65 786868687687\",\n                \"created_at\": \"2019-04-23T11:46:06.533826\",\n                \"email\": \"pwillaims@idemventures.com\",\n                \"full_name\": \"Peter Williams\",\n                \"id\": \"5b766c7e86819e086bd08bc9\",\n                \"status\": \"Disabled\"\n            },\n            {\n                \"company_name\": \"Idem Hospitality\",\n                \"contact_number\": \"+65 96550233\",\n                \"created_at\": \"2018-09-05T04:21:07.450000\",\n                \"email\": \"matthew@idemlabs.com\",\n                \"full_name\": \"Matthew Howden\",\n                \"id\": \"5b766d4c86819e086bd08bdb\",\n                \"status\": \"Awaiting Confirmation\"\n            },\n            {\n                \"company_name\": \"\",\n                \"contact_number\": \"65 12345678\",\n                \"created_at\": \"2018-08-30T11:18:11.250000\",\n                \"email\": \"daniel@idemlabs.com\",\n                \"full_name\": \"daniel low\",\n                \"id\": \"5b7692dc86819e086bd08bf1\",\n                \"status\": \"Awaiting Confirmation\"\n            },\n            {\n                \"company_name\": \"\",\n                \"contact_number\": \"65 878787\",\n                \"created_at\": \"2019-04-23T11:46:06.535829\",\n                \"email\": \"harry@idemventures.com\",\n                \"full_name\": \"bill smith\",\n                \"id\": \"5b7abb3086819e3feda68f5b\",\n                \"status\": \"Awaiting Confirmation\"\n            },\n            {\n                \"company_name\": \"\",\n                \"contact_number\": \"65 1234567\",\n                \"created_at\": \"2019-03-05T07:25:43.407000\",\n                \"email\": \"chansuquan@gmail.com\",\n                \"full_name\": \"Nguyen Tran\",\n                \"id\": \"5b7ce18286819e3feda68f90\",\n                \"status\": \"Awaiting Confirmation\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"a88d0c15-2457-44a1-8232-04d946deb774"},{"name":"Edit Hotel Information","id":"ce5560f6-3ea1-4b9a-849d-a8b03c4f0759","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"logo_image\": \"5c8096891c9157059e04177a\",\n    \"name\": \"Kingsmen Hotels and Resorts\",\n    \"brand\": \"Kingsmen Hotels\",\n    \"group\": \"Kingsmen Hotels\",\n    \"description\": \"<p>The Kingsman is a city hotel conveniently located in business district. A architectural landmark is the setting for this luxury hotel. The soaring glass facade reflects the skyline of a city that is always on the go, while providing spectacular views from all 400 spacious rooms and suites.</p>\\n\\n<p>Benefiting from a premium location near the MRT station, The Kingsman combines convenience and renowned hospitality for the discerning global nomad. Fully equipped with cutting-edge technology and free Wi-Fi, this city hotel caters to all business and leisure needs.Extensive business facilities and an on-site IT solutions manager make business a pleasure.</p>\\n\\n<p>Two vast ballrooms provide striking backdrops for weddings and banquets. With restaurants, a bar, a spa and extensive recreation facilities, The Kingsman caters to all tastes, schedules and walks of life.</p>\\n\",\n    \"address\": {\n        \"address_1\": \"80 Robinson Road\",\n        \"address_2\": \"\",\n        \"city\": \"\",\n        \"state\": \"\",\n        \"postalcode\": \"454543\",\n        \"country\": \"Singapore\"\n    },\n    \"timezone\": \"Asia/Singapore\",\n    \"phone\": {\n        \"cc\": \"+65\",\n        \"contact\": \"88889653\"\n    },\n    \"fax\": {\n        \"cc\": \"+65\",\n        \"contact\": \"8765 4321\"\n    },\n    \"email\": \"string(email, default=unset)\",\n    \"website\": \"http://www.idemhospitality.com\",\n    \"social\": {\n        \"facebook\": \"https://www.facebook.com/idemhospitality/\",\n        \"instagram\": \"https://www.instagram.com/sofitelsingaporesentosa\",\n        \"linkedin\": \"https://www.linkedin.com/company/idemhospitality/\",\n        \"twitter\": \"https://twitter.com/idemhospitality\",\n        \"youtube\": \"https://www.youtube.com/kingsmanhotel\"\n    },\n    \"reservation_emails\": \"henryres.idem@mailinator.com; henryres2.idem@mailinator.com\",\n    \"reservation_notify_daily\": true,\n    \"reservation_notify_new\": true,\n    \"secondary_reservation_emails\": \"henryres.idem@mailinator.com; henryres2.idem@mailinator.com\",\n    \"secondary_reservation_notify_daily\": true,\n    \"secondary_reservation_notify_new\": true,\n    \"general_manager\": {\n        \"email\": \"string(email, default=unset)\",\n        \"weekly_report\": \"boolean(default=false)\"\n    },\n    \"hotel_manager\": {\n        \"email\": \"string(email, default=unset)\",\n        \"weekly_report\": \"boolean(default=false)\"\n    },\n    \"director_revenue\": {\n        \"email\": \"string(email, default=unset)\",\n        \"weekly_report\": \"boolean(default=false)\"\n    },\n    \"director_sale\": {\n        \"email\": \"string(email, default=unset)\",\n        \"weekly_report\": \"boolean(default=false)\"\n    },\n    \"revenue_manager\": {\n        \"email\": \"string(email, default=unset)\",\n        \"weekly_report\": \"boolean(default=false)\"\n    },\n    \"transfer_detail\": \"<p>Greetings from Kingsman<br />\\r\\nPlease use below rate for adding Airport Transfer details:<br />\\r\\nAirport Limousine Service:</p>\\r\\n\\r\\n<p>1. Toyota Camry (Maximum of 3 persons with luggage) THB 1,850.-nett/car/way<br />\\r\\n2. BMW Series 5 (Maximum of 3 persons with luggage) THB 2,350.-nett/car/way<br />\\r\\n3. BMW Series 7 (Maximum of 3 persons with luggage) THB 3,250.-nett/car/way<br />\\r\\n4. Toyota Commuter (Maximum of 7 persons with luggage) THB 2,650.-nett/car/way</p>\\r\\n\\r\\n<p>Should you require any further information or assistance, please do not hesitate to contact me at your earliest convenience.</p>\\r\\n\",\n    \"loyalty_club\": \"Kingsmen Loyalty Club\",\n    \"loyalty_url\": \"https://www.accorhotels.com/leclub/asia/join-loyalty-program/index.en.shtml\",\n    \"main_gallery\": [],\n    \"partners\": [\n        {\n            \"id\": \"string(objectid, default=unset)\",\n            \"provider\": \"enum(external, idem)\",\n            \"name\": \"string\",\n            \"account_manager_name\": \"string\",\n            \"account_manager_email\": \"string\",\n            \"phone\": {\n                \"cc\": \"string\",\n                \"contact\": \"string\"\n            }\n        }\n    ],\n    \"refund_emails\": \"henryres.idem@mailinator.com; henryres2.idem@mailinator.com\"\n}"},"url":"{{endpoint}}/api/v1/hotels/:id","description":"<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"logo_image\": \"string(objectid)\",\n    \"name\": \"required:string\",\n    \"brand\": \"required:string\",\n    \"group\": \"required:string\",\n    \"description\": \"required:string\",\n    \"address\": {\n        \"address_1\": \"required:string\",\n        \"address_2\": \"string(default='')\",\n        \"city\": \"required:string\",\n        \"state\": \"string(default='')\",\n        \"postalcode\": \"string(default='')\",\n        \"country\": \"required:string\"\n    },\n    \"timezone\": \"string(default=UTC)\",\n    \"phone\": {\n        \"cc\": \"string\",\n        \"contact\": \"string\"\n    },\n    \"fax\": {\n        \"cc\": \"string\",\n        \"contact\": \"string\"\n    },\n    \"email\": \"string(email, default=unset)\",\n    \"website\": \"string(default=unset)\",\n    \"social\": {\n        \"facebook\": \"string(default='')\",\n        \"twitter\": \"string(default='')\",\n        \"linkedin\": \"string(default='')\",\n        \"instagram\": \"string(default='')\",\n        \"youtube\": \"string(default='')\"\n    },\n    \"reservation_emails\": \"string(emails)\",\n    \"reservation_notify_daily\": \"boolean(default=False)\",\n    \"reservation_notify_new\": \"boolean(default=False)\",\n    \"secondary_reservation_emails\": \"string(emails)\",\n    \"secondary_reservation_notify_daily\": \"boolean(default=False)\",\n    \"secondary_reservation_notify_new\": \"boolean(default=False)\",\n    \"transfer_detail\": \"string(default='')\",\n    \"loyalty_club\": \"string(default='')\",\n    \"loyalty_url\": \"string(default='')\",\n    \"general_manager\": {\n        \"email\": \"string(email, default=unset)\",\n        \"weekly_report\": \"boolean(default=false)\"\n    },\n    \"hotel_manager\": {\n        \"email\": \"string(email, default=unset)\",\n        \"weekly_report\": \"boolean(default=false)\"\n    },\n    \"director_revenue\": {\n        \"email\": \"string(email, default=unset)\",\n        \"weekly_report\": \"boolean(default=false)\"\n    },\n    \"director_sale\": {\n        \"email\": \"string(email, default=unset)\",\n        \"weekly_report\": \"boolean(default=false)\"\n    },\n    \"revenue_manager\": {\n        \"email\": \"string(email, default=unset)\",\n        \"weekly_report\": \"boolean(default=false)\"\n    },\n    \"main_gallery\": \"array(objectid)\"\n}\n</code></pre>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"ce5560f6-3ea1-4b9a-849d-a8b03c4f0759"},{"name":"Connect Property","id":"cc953906-e579-4429-89c5-dd893686b446","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"property_provider\": \"req:string\",\n\t\"property_code\": \"req:string\",\n\t\"chain_code\": \"string\"\n}"},"url":"{{endpoint}}/api/v1/hotels/:id/pms","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","pms"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"cc953906-e579-4429-89c5-dd893686b446"},{"name":"Make Default (Gen Hotel If Not Exist)","id":"a020b504-af5c-4444-86be-f7142f9cff4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"{{host_url}}/api-hotel/v1/hotels/:guid/default","urlObject":{"path":["api-hotel","v1","hotels",":guid","default"],"host":["{{host_url}}"],"query":[],"variable":[{"type":"any","value":"89eb8715-b13a-473e-9f78-5d3ea012ecb6","key":"guid"}]}},"response":[{"id":"2583fa22-e676-4a4a-9a22-a1705770134f","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"","name":"Content-Type","value":"","type":"text","disabled":true},{"key":"Content-Type","value":"","disabled":true}],"body":{"mode":"urlencoded","urlencoded":[]},"url":{"raw":"{{host_url}}/api-hotel/v1/hotels/:guid/default","host":["{{host_url}}"],"path":["api-hotel","v1","hotels",":guid","default"],"variable":[{"key":"guid","value":"89eb8715-b13a-473e-9f78-5d3ea012ecb6"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 16 Jun 2022 05:53:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"118"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=174YN4bPs5LbpDa0PezXhEVDK6pTZpkpXfgEvJRl0ovTUD8vTNhxcSauL7HPzUSC4fuCox3F8FszzcG84lyQh89x5uwfsQGK+h98s81m3FxTg19ErlQ2BR2rB+40; Expires=Thu, 23 Jun 2022 05:53:45 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=174YN4bPs5LbpDa0PezXhEVDK6pTZpkpXfgEvJRl0ovTUD8vTNhxcSauL7HPzUSC4fuCox3F8FszzcG84lyQh89x5uwfsQGK+h98s81m3FxTg19ErlQ2BR2rB+40; Expires=Thu, 23 Jun 2022 05:53:45 GMT; Path=/; SameSite=None; Secure"},{"key":"Set-Cookie","value":"session=9ca15133-3e8f-4815-a93f-539482e080f4.BP5ITAa80OEBEcdC4503VqDJVfY; HttpOnly; Path=/"},{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"Ijc2Yzc1Y2M4OTE2MTdhZTNkN2MyYTY4ZTc2MjZmZWQyZjg1ZjA4N2Qi.YqrFag.V2lfo1YhzUQtYY1Uy92n18fqEGc"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {},\n    \"message\": \"The hotel was made default access.\",\n    \"status\": \"success\"\n}"}],"_postman_id":"a020b504-af5c-4444-86be-f7142f9cff4d"},{"name":"Get Reservation Setup","id":"43067acf-f19b-464e-8cfa-75c90ed98bbc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/:id/reservation-setup","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","reservation-setup"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"62c1f934-5e37-4752-89ee-80180046286f","name":"Get Reservation Setup","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/hotels/:id/reservation-setup","host":["{{endpoint}}"],"path":["api","v1","hotels",":id","reservation-setup"],"variable":[{"key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1168"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjgxYWUyMzJhNGZjMTU1ZDhkNDhiNTZiZWY0NmI1MTdlMzIyZGJmOTci.XvGuHQ.-A-kromk1SiqO0eMLrFTXMXOVYc"},{"key":"Set-Cookie","value":"session=f7ba36aa-1764-43f1-b5fa-43bf6e843629.a7edV33WqpPXv-cC1mA1Y2ydVKI; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Tue, 23 Jun 2020 07:24:13 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"base_rate_enabled\": false,\n        \"currency\": \"AUD\",\n        \"fees\": [\n            {\n                \"amount\": [\n                    \"applied_nightly\",\n                    \"compound_tax\"\n                ],\n                \"description\": \"\",\n                \"form_type\": \"applied_amount\",\n                \"id\": \"5ef1ab7e47f4c5d3a280bb95\",\n                \"name\": \"service_charge\",\n                \"title\": \"Service Charge\",\n                \"type\": \"relative\",\n                \"value\": 11.5\n            },\n            {\n                \"amount\": [\n                    \"compound_tax\"\n                ],\n                \"description\": \"\",\n                \"form_type\": \"applied_amount\",\n                \"id\": \"5ef1ab7e47f4c5d3a280bb96\",\n                \"name\": \"goods_&_service_tax\",\n                \"title\": \"Goods & Service tax\",\n                \"type\": \"relative\",\n                \"value\": 7\n            }\n        ],\n        \"guest_edit\": {\n            \"days_before\": 3,\n            \"enabled\": true\n        },\n        \"is_upsell\": true,\n        \"tax_setup\": \"excluded\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"43067acf-f19b-464e-8cfa-75c90ed98bbc"},{"name":"Save Reservation Setup","id":"0b0414ac-6b1c-4610-8592-133e442aee2a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"currency\": \"USD\",\n    \"fees\": [\n        {\n            \"amount\": [\n                \"compound_tax\"\n            ],\n            \"description\": \"\",\n            \"form_type\": \"applied_amount\",\n            \"name\": \"Service Charge\",\n            \"title\": \"Service Charge\",\n            \"type\": \"relative\",\n            \"value\": 10,\n            \"id\": \"5ef17a06ba3ba2ad24874882\"\n        },\n        {\n            \"amount\": [\n                \"compound_tax\"\n            ],\n            \"description\": \"\",\n            \"form_type\": \"applied_amount\",\n            \"name\": \"Goods & Service tax\",\n            \"title\": \"Goods & Service tax\",\n            \"type\": \"relative\",\n            \"value\": 7,\n            \"id\": \"5ef17a06ba3ba2ad24874881\"\n        }\n    ],\n    \"is_upsell\": true,\n    \"tax_setup\": \"enum(included, excluded, not_applied)\",\n    \"promo_setup\": \"enum(before_tax, after_tax)\"\n}"},"url":"{{endpoint}}/api/v1/hotels/:id/reservation-setup","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","reservation-setup"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"79feec86-0151-49c2-a062-deee40a390cc","name":"Save Reservation Setup","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"currency\": \"USD\",\n    \"fees\": [\n        {\n            \"amount\": [\n                \"compound_tax\"\n            ],\n            \"description\": \"\",\n            \"form_type\": \"applied_amount\",\n            \"name\": \"Service Charge\",\n            \"title\": \"Service Charge\",\n            \"type\": \"relative\",\n            \"value\": 10\n        },\n        {\n            \"amount\": [\n                \"compound_tax\"\n            ],\n            \"description\": \"\",\n            \"form_type\": \"applied_amount\",\n            \"name\": \"Goods & Service tax\",\n            \"title\": \"Goods & Service tax\",\n            \"type\": \"relative\",\n            \"value\": 7\n        }\n    ],\n    \"is_upsell\": true,\n    \"include_taxes_fees\": true\n}"},"url":"{{endpoint}}/api/v1/hotels/current/reservation-setup"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"128"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UMtugzAQ_JXK56gKD6ctUg6NwIjDOkpkipYLSoHUGJNWgQhwlH-vm0PVU48zuzM7s1dSHM91L0lwPOi-XpCiqUhwJQ_vJCC5YHor3lquUgdCLSF8HXOBzjasFHaJhwJH3jGdh5s2j1mDIrIYPYgjB8zOQdH6FvtcsRZVOWOX-mjaiauqwyydIEtn7iZ-Hu88y1Mu0hEymLjZNzwELw_3GkxkQHxM0IEP2c7YO9LmoZBxhQqXVj9hh2tyW5CyPx-L4bOtT78VeJeaXDFrs5E8ZhoNk5AlExgcrXwEsZHbLKE2MgXFGlDRCOP6btdU9WlohvnxcBlkMcxfNQlOF63_TH6eRWjpLJ_cyqFLnx4qrypX7rPrrF7Iglz6-lz8v3T7Bk6RfXI.XNKlZQ.3uAK5ShmvilOtkhP00Iba2EIHeE; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Wed, 08 May 2019 09:46:13 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {},\n    \"message\": \"The reservation setup is saved successfully.\",\n    \"status\": \"success\"\n}"}],"_postman_id":"0b0414ac-6b1c-4610-8592-133e442aee2a"},{"name":"Preview Reseravation Price","id":"b0ead959-052a-4cdb-8ba3-23b5bb854a84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"currency\": \"USD\",\n    \"fees\": [\n        {\n            \"amount\": [\n                \"compound_tax\"\n            ],\n            \"description\": \"\",\n            \"form_type\": \"applied_amount\",\n            \"name\": \"Service Charge\",\n            \"title\": \"Service Charge\",\n            \"type\": \"relative\",\n            \"value\": 10\n        },\n        {\n            \"amount\": [\n                \"compound_tax\"\n            ],\n            \"description\": \"\",\n            \"form_type\": \"applied_amount\",\n            \"name\": \"Goods & Service tax\",\n            \"title\": \"Goods & Service tax\",\n            \"type\": \"relative\",\n            \"value\": 7\n        }\n    ],\n    \"is_upsell\": true,\n    \"tax_setup\": \"enum(included, excluded, not_applied)\",\n    \"is_pms\": \"bool\",\n    \"rates\": [100, 120, 300]\n}"},"url":"{{base_url}}/hotels/:id/reservation-setup/price","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":id","reservation-setup","price"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"5bac908c5045ad14d3dfd7a6","key":"id"}]}},"response":[{"id":"df9567fa-3999-4cad-a5f3-5ffd68dbcf6f","name":"Preview Reseravation Price","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"currency\": \"USD\",\n    \"fees\": [\n        {\n            \"amount\": [\n                \"compound_tax\"\n            ],\n            \"description\": \"\",\n            \"form_type\": \"applied_amount\",\n            \"name\": \"Service Charge\",\n            \"title\": \"Service Charge\",\n            \"type\": \"relative\",\n            \"value\": 10\n        },\n        {\n            \"amount\": [\n                \"compound_tax\"\n            ],\n            \"description\": \"\",\n            \"form_type\": \"applied_amount\",\n            \"name\": \"Goods & Service tax\",\n            \"title\": \"Goods & Service tax\",\n            \"type\": \"relative\",\n            \"value\": 7\n        }\n    ],\n    \"is_upsell\": true,\n    \"include_taxes_fees\": false\n}"},"url":"{{endpoint}}/api/v1/hotels/current/reservation-setup/price"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"850"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UMtugzAQ_JXK56gKD6ctUg6NwIjDOkpkipYLSoHUGJNWgQhwlH-vm0PVU48zuzM7s1dSHM91L0lwPOi-XpCiqUhwJQ_vJCC5YHor3lquUgdCLSF8HXOBzjasFHaJhwJH3jGdh5s2j1mDIrIYPYgjB8zOQdH6FvtcsRZVOWOX-mjaiauqwyydIEtn7iZ-Hu88y1Mu0hEymLjZNzwELw_3GkxkQHxM0IEP2c7YO9LmoZBxhQqXVj9hh2tyW5CyPx-L4bOtT78VeJeaXDFrs5E8ZhoNk5AlExgcrXwEsZHbLKE2MgXFGlDRCOP6btdU9WlohvnxcBlkMcxfNQlOF63_TH6eRWjpLJ_cyqFLnx4qrypX7rPrrF7Iglz6-lz8v3T7Bk6RfXI.XNKr_Q.bnG-xAOHNRoFIHoxnceKBpBB86g; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Wed, 08 May 2019 10:14:21 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"avg_fee\": 8.85,\n        \"avg_rate\": 50.0,\n        \"charged_night_count\": 2,\n        \"currency\": \"USD\",\n        \"currency_symbol\": \"$\",\n        \"dates\": [\n            {\n                \"date\": \"01 Jan 2019\",\n                \"fee\": 8.85,\n                \"master_billing\": false,\n                \"rate\": 50.0\n            },\n            {\n                \"date\": \"02 Jan 2019\",\n                \"fee\": 8.85,\n                \"master_billing\": false,\n                \"rate\": 50.0\n            }\n        ],\n        \"fees\": [\n            {\n                \"amount\": 10.0,\n                \"name\": \"Service Charge\"\n            },\n            {\n                \"amount\": 7.7,\n                \"name\": \"Goods & Service tax\"\n            }\n        ],\n        \"night_count\": 2,\n        \"payment\": false,\n        \"period\": null,\n        \"prepaid\": 0,\n        \"subprepaid\": 0,\n        \"subtotal\": 100.0,\n        \"total\": 117.7,\n        \"total_fees\": 17.7\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"b0ead959-052a-4cdb-8ba3-23b5bb854a84"},{"name":"Partner List","id":"ccfbbfb9-e1de-49e1-b526-f79e74a63591","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/:id/partners","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","partners"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"93088b45-cf85-4bc1-902c-da3c57ed1630","name":"Partner List","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/current/partners"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"3183"},{"key":"X-Idem-CSRF-Token","value":"IjMwNTRhYzk1NmU0Mzk2MmI0YTE1MTAxOGM4MTk1MzVhYTkwZWU4MTQi.XWOr-Q.TnlC318GXMRC5D33sLVl5onGKQ4"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9jk1vgjAAQP_K0jNZoIobJB4kyDxQ2LSMjwupbbVodQ0tTjD-d8kOy047v5eXdwP1ruVaAH9HpOYWoLrd1ebryM_Av4GnLfABGhZO8hYdUpzBCn8MKS778rAWCGdXFC6n5bC_jmxI8kikOJAV3l-TxXwO7hbYn4jS9UET1dRdK3-bZLW26QrN4t4zZREM8YldtpDpKo--SYG6Enomho4YncvIVQzV8A6N5NgJNoUS2UQG7FNiWkQGh6KhSw9toFohWPV5WIUVPtooDFx6EhmVx5-XhvGzaUz_TDojatMrDvxzJ-Uf0rDxzaWO_QKZ49pTl7AJozP4Cp2ZByzQad7W_0v3BxmHbZU.XWOr-Q.XGl8EbwRpV_Bjl5xxj7PYFXD8xE; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.15.5 Python/2.7.10"},{"key":"Date","value":"Mon, 26 Aug 2019 09:52:57 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"results\": [\n            {\n                \"accommodations\": [\n                    {\n                        \"amenities\": [],\n                        \"description\": \"<p>With views of the Singapore River or Fort Canning through double-glazed floor-to-ceiling windows, this 32m2 room features one King bed or two single beds, a sofa corner, complimentary Wi-Fi, a private balcony and a bathroom with a bathtub and shower with separate hand-held and rain showerheads.&nbsp;<br>\\n<br>\\nThis room accommodates up to 2 adults and 1 child or 3 adults, one rollaway bed allowed (payable).</p>\\n\\n<ul>\\n</ul>\\n\",\n                        \"details\": \"<p>In-Room Amenities:</p>\\n\\n<ul>\\n\\t<li>Sofa corner</li>\\n\\t<li>Private balcony with security lock</li>\\n\\t<li>Bathroom with a bathtub and shower with separate hand-held and rain showerheads</li>\\n\\t<li>Complimentary wireless Internet</li>\\n\\t<li>Coffee/tea making facilities</li>\\n\\t<li>Iron/ironing board</li>\\n\\t<li>Minibar</li>\\n\\t<li>Plush bedding and pillow menu</li>\\n\\t<li>Hairdryer</li>\\n\\t<li>Bathrobe & slippers</li>\\n\\t<li>Room service</li>\\n\\t<li>Air conditioning</li>\\n\\t<li>Flat-screen TV with cable channels</li>\\n\\t<li>DVD player</li>\\n\\t<li>Work desk and chair</li>\\n\\t<li>Voicemail</li>\\n\\t<li>Novotel Exclusive Fair Trade Amenities</li>\\n\\t<li>Safe</li>\\n\\t<li>Environmental program</li>\\n</ul>\\n\",\n                        \"hotel_id\": \"5c748e6c5045ad7950026d7c\",\n                        \"id\": \"5c74914c5045ad7950026d8b\",\n                        \"image_gallery\": [\n                            {\n                                \"created_at\": \"2019-02-26T01:07:24.266000\",\n                                \"file_type\": \"img\",\n                                \"id\": \"5c74914c5045ad7950026d8a\",\n                                \"name\": \"ovotel_-_Superior_Room_1.jpg\",\n                                \"size\": 58515,\n                                \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5c748e6c5045ad7950026d7c/31TVJRZU-ovotel_-_Superior_Room_1.jpg\",\n                                \"user_type\": 0\n                            }\n                        ],\n                        \"image_url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5c748e6c5045ad7950026d7c/31TVJRZU-ovotel_-_Superior_Room_1.jpg\",\n                        \"max_guests\": 2,\n                        \"name\": \"SUPERIOR ROOM\",\n                        \"room_classes\": [],\n                        \"room_code\": null,\n                        \"room_size\": -1,\n                        \"room_unit\": \"\"\n                    }\n                ],\n                \"email\": \"\",\n                \"id\": \"5c748e6c5045ad7950026d7c\",\n                \"name\": \"Novotel Singapore Clarke Quay\",\n                \"phone\": {\n                    \"cc\": \"+65\",\n                    \"contact\": \" 6338 3333\"\n                },\n                \"provider\": \"idem\",\n                \"status\": \"pending\"\n            },\n            {\n                \"accommodations\": [],\n                \"email\": \"\",\n                \"id\": \"5d5fc0e8f5717421c474275d\",\n                \"name\": \"The new hotel\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"provider\": \"idem\",\n                \"status\": \"pending\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"ccfbbfb9-e1de-49e1-b526-f79e74a63591"},{"name":"Get Basic Hotel Info","id":"e44badae-e49f-4fb9-8b89-66b122e190ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/:id_slug_url","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id_slug_url"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id_slug_url"}]}},"response":[{"id":"d2de55b1-2ef3-4c08-a69e-06fda0b2c224","name":"Get Basic Hotel Info","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/hotels/:id_slug_url","host":["{{base_url}}"],"path":["hotels",":id_slug_url"],"variable":[{"key":"id_slug_url","value":"{{hotel_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"5807"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImY5YjlmMTE5ZGU0ZjBjNDM0MDQ3MmJjMGJjYTAzMzI0NmRlN2I3YTki.X3cILQ.PR50a3QBS-E4eP3jfjAILWLrTos"},{"key":"Set-Cookie","value":"session=2e5fddc4-ddb2-4b87-9ce2-9a131d476778.q91McW042xzPLsZH_3X5pVmOj84; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 02 Oct 2020 10:59:57 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"address\": {\n            \"address_1\": \"1 Barnett Road\",\n            \"address_2\": \"\",\n            \"city\": \"Brighton\",\n            \"country\": \"United Kingdom\",\n            \"postalcode\": \"\",\n            \"state\": null\n        },\n        \"categories\": [\n            {\n                \"count\": 4,\n                \"description\": \"\",\n                \"id\": \"5f081c01ea36e5e982d32bd2\",\n                \"in_use\": true,\n                \"name\": \"Food & Beverage\",\n                \"slug\": \"food-beverage-2bd2\"\n            },\n            {\n                \"count\": 2,\n                \"description\": \"\",\n                \"id\": \"5f081c01ea36e5e982d32bd3\",\n                \"in_use\": true,\n                \"name\": \"Spa\",\n                \"slug\": \"spa-2bd3\"\n            },\n            {\n                \"count\": 2,\n                \"description\": \"\",\n                \"id\": \"5f0bdbd2f4ccc092e24961d4\",\n                \"in_use\": true,\n                \"name\": \"abcd\",\n                \"slug\": \"abcd-61d4\"\n            }\n        ],\n        \"currency\": \"AUD\",\n        \"email\": \"\",\n        \"gallery_urls\": [\n            \"https://d30qdklwrf4p1t.cloudfront.net/guests/D3CTJC2K-1640571653798780459_wh_3.jpg\",\n            \"https://d30qdklwrf4p1t.cloudfront.net/guests/2PTWTOBI-30000002100623203_wh_36.jpg\",\n            \"https://d30qdklwrf4p1t.cloudfront.net/guests/a998459d839940a4a25049965122ce12.jpg\"\n        ],\n        \"id\": \"5e3bbd1626ef9b0b5ce8e2e7\",\n        \"location\": {\n            \"lat\": 52.0706697,\n            \"lng\": -1.2744898\n        },\n        \"logo_url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5e3bbd1626ef9b0b5ce8e2e7/QQHLIZ4O-logo.jpg\",\n        \"name\": \"Hotel California\",\n        \"outlets\": [\n            {\n                \"business_type\": [\n                    {\n                        \"id\": \"5f081c01ea36e5e982d32bcc\",\n                        \"in_use\": true,\n                        \"name\": \"Spa\"\n                    }\n                ],\n                \"default\": false,\n                \"description\": \"A spa. In your hometown.\",\n                \"hotel_id\": \"5e3bbd1626ef9b0b5ce8e2e7\",\n                \"id\": \"5f081c01ea36e5e982d32bd0\",\n                \"location\": \"Your hometown.\",\n                \"name\": \"Hometown Spa\",\n                \"slug\": \"hometown-spa-2bd0\"\n            },\n            {\n                \"business_type\": [\n                    {\n                        \"id\": \"5f081c01ea36e5e982d32bcd\",\n                        \"in_use\": true,\n                        \"name\": \"Restaurant\"\n                    }\n                ],\n                \"default\": false,\n                \"description\": \"A palace of cheese.\",\n                \"hotel_id\": \"5e3bbd1626ef9b0b5ce8e2e7\",\n                \"id\": \"5f081c01ea36e5e982d32bd1\",\n                \"location\": \"Heaven.\",\n                \"name\": \"Cheese Palace\",\n                \"slug\": \"cheese-palace-2bd1\"\n            }\n        ],\n        \"phone\": {\n            \"cc\": \"65\",\n            \"contact\": \"936339509\",\n            \"country_code\": \"sg\"\n        },\n        \"reservation_setting\": {\n            \"payment_provider\": \"stripe\"\n        },\n        \"site_info\": {\n            \"announcement\": \"Our summer sale is now on!\",\n            \"contact_address\": \"\",\n            \"contact_email\": \"\",\n            \"contact_name\": \"\",\n            \"contact_phone\": {\n                \"cc\": \"\",\n                \"contact\": \"\",\n                \"country_code\": \"\"\n            },\n            \"description\": \"A place to get great deals in and around our hotel.\",\n            \"enabled\": true,\n            \"favicon\": null,\n            \"gallery\": [\n                {\n                    \"created_at\": \"2020-08-04T08:25:02.456000\",\n                    \"file_type\": \"img\",\n                    \"id\": \"5f291b5eea110fb324222ec5\",\n                    \"name\": \"erik2.png\",\n                    \"size\": 437262,\n                    \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/guests/817f576968f4418f95865277ac5da7a4.jpg\",\n                    \"user_type\": 1\n                },\n                {\n                    \"created_at\": \"2020-08-04T08:25:03.488000\",\n                    \"file_type\": \"img\",\n                    \"id\": \"5f291b5fea110fb324222ec6\",\n                    \"name\": \"henry2.png\",\n                    \"size\": 28152,\n                    \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/guests/LQMF0RS2-henry2.png\",\n                    \"user_type\": 1\n                },\n                {\n                    \"created_at\": \"2020-08-04T08:25:06.800000\",\n                    \"file_type\": \"img\",\n                    \"id\": \"5f291b62ea110fb324222ec7\",\n                    \"name\": \"tony.png\",\n                    \"size\": 273967,\n                    \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/guests/6XJ0BSZ4-tony.png\",\n                    \"user_type\": 1\n                },\n                {\n                    \"created_at\": \"2020-08-04T08:25:07.694000\",\n                    \"file_type\": \"img\",\n                    \"id\": \"5f291b63ea110fb324222ec8\",\n                    \"name\": \"swee.png\",\n                    \"size\": 75936,\n                    \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/guests/YCUKX7ZU-swee.png\",\n                    \"user_type\": 1\n                }\n            ],\n            \"id\": \"5efda34b99b94aa24f5dd158\",\n            \"keywords\": \"\",\n            \"logo\": null,\n            \"policy_description\": \"\",\n            \"product_type\": \"Package\",\n            \"redemption_url\": \"http://www.localhost:5001/redemption/hotel-california\",\n            \"title\": \"Our Package Website\",\n            \"voucher_url\": \"http://www.localhost:5001/v/hotel-california\"\n        },\n        \"slug\": \"hotel-california\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"e44badae-e49f-4fb9-8b89-66b122e190ef"},{"name":"Get Url Target Type","id":"61fbe3d6-0d13-4b9a-970e-af03e66f255b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/url-target-type?url=sofitel.com","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","url-target-type"],"host":["{{endpoint}}"],"query":[{"key":"url","value":"sofitel.com"}],"variable":[]}},"response":[{"id":"89b5ace6-8a7a-4bad-a625-25f60ac1c3f5","name":"Get Url Target Type","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/url-target-type?url=www.booking.com","host":["{{endpoint}}"],"path":["api","v1","url-target-type"],"query":[{"key":"url","value":"www.booking.com"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"99"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjE3NmRlZWUwZDU2NGU4YzhjNTliMDEzYzA5NzVlODYwMjA0Nzg3ZGIi.Xy0y3Q.e1i0MWBqoF8Hi1iD2X9Ovpi3bbY"},{"key":"Set-Cookie","value":"session=078f76ce-4e0d-4cc0-b2fa-d1c869e5acea.l5F3FTZlYmFViaGUo60Bj03U1xc; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 07 Aug 2020 10:54:21 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"type\": \"reservation\"\n    },\n    \"status\": \"success\"\n}"},{"id":"bfb64d49-b13b-4cf9-b689-238fa5b0f5a8","name":"Get Url Target Type","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/url-target-type?url=booking.com","host":["{{endpoint}}"],"path":["api","v1","url-target-type"],"query":[{"key":"url","value":"booking.com"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"95"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjE3NmRlZWUwZDU2NGU4YzhjNTliMDEzYzA5NzVlODYwMjA0Nzg3ZGIi.Xy0zYQ.jPd0GCyLZ5PF7uGsF2D6k0zBUME"},{"key":"Set-Cookie","value":"session=078f76ce-4e0d-4cc0-b2fa-d1c869e5acea.l5F3FTZlYmFViaGUo60Bj03U1xc; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 07 Aug 2020 10:56:33 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"type\": \"voucher\"\n    },\n    \"status\": \"success\"\n}"},{"id":"f48b39de-16fd-4180-a5d3-9633f2919600","name":"Get Url Target Type","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/url-target-type?url=booking.commm","host":["{{endpoint}}"],"path":["api","v1","url-target-type"],"query":[{"key":"url","value":"booking.commm"}]}},"status":"NOT FOUND","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"126"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjE3NmRlZWUwZDU2NGU4YzhjNTliMDEzYzA5NzVlODYwMjA0Nzg3ZGIi.Xy0zag.4FsilvZiHf9a6EKiGeyA1vnJZaQ"},{"key":"Set-Cookie","value":"session=078f76ce-4e0d-4cc0-b2fa-d1c869e5acea.l5F3FTZlYmFViaGUo60Bj03U1xc; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 07 Aug 2020 10:56:42 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"ResourceDoesNotExist\",\n    \"http_status\": 404,\n    \"message\": \"Unrecognised url\",\n    \"status\": \"failure\"\n}"}],"_postman_id":"61fbe3d6-0d13-4b9a-970e-af03e66f255b"}],"id":"c469f3fd-c1f9-49d2-a134-ccd5f4a9c828","_postman_id":"c469f3fd-c1f9-49d2-a134-ccd5f4a9c828","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Accommodation","item":[{"name":"Optimize","item":[{"name":"Accommodation List","id":"ba8a44a8-e458-468a-b4fd-4e708e5c2bce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{endpoint}}/api-hotel/v1/hotels/:id/accommodations?limit={{limit}}&page={{page}}","description":"<p>Allow get list of accommodation</p>\n<h2 id=\"url-variable\">URL Variable:</h2>\n<ul>\n<li><strong>id</strong> (guid, required) - The hotel ID</li>\n<li><strong>search</strong> (string, optional) - The search keywords</li>\n<li><strong>limit</strong> (int, optional) - Number of results returned each time</li>\n<li><strong>page</strong> (int, optional) - pagination number</li>\n<li><strong>order</strong> (string, optional) - order by</li>\n<li><strong>sort</strong> (string, optional) - sort by</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<p>None</p>\n<h2 id=\"return\">Return:</h2>\n<ul>\n<li><strong>code</strong> (string) - The response code</li>\n<li><strong>status</strong> (string) - The response status</li>\n<li><strong>data</strong> (object) - The meta data object.<ul>\n<li><strong>count</strong> (int) - The total item of results</li>\n<li><strong>filter</strong> (object)<ul>\n<li><strong>search</strong> (string) - The search keywords</li>\n<li><strong>limit</strong> (int) - Number of results returned each time</li>\n<li><strong>page</strong> (int) - pagination number</li>\n<li><strong>order</strong> (string) - order by</li>\n<li><strong>sort</strong> (string) - sort by</li>\n</ul>\n</li>\n<li><strong>results</strong> (list)<ul>\n<li><strong>amenities</strong> (list) - The list of amenities<ul>\n<li><strong>id</strong> (guid) - ID of amenities</li>\n<li><strong>name</strong> (string) - name of amenities</li>\n</ul>\n</li>\n<li><strong>description</strong> (string) - Short description of accommodation</li>\n<li><strong>details</strong> (string) - Full description of accommodation</li>\n<li><strong>id</strong> (guid) - ID of accommodation</li>\n<li><strong>image_gallery</strong> (list) - List room images<ul>\n<li><strong>created_at</strong> (dateTime) DateTime image created</li>\n<li><strong>file_type</strong> (string) type of image</li>\n<li><strong>id</strong> (guid) ID of image</li>\n<li><strong>name</strong> (string) Name of image</li>\n<li><strong>size</strong> (int) size of image</li>\n<li><strong>url</strong> (string) image URL</li>\n<li><strong>user_type</strong> (int) type of use uploaded image</li>\n</ul>\n</li>\n<li><strong>image_url</strong> (string) - URL of the first image</li>\n<li><strong>is_pms</strong> (bool)</li>\n<li><strong>max_guests</strong> (int) number of max guest</li>\n<li><strong>name</strong> (string) name of accommodation</li>\n<li><strong>property_guid</strong> (guild)</li>\n<li><strong>room_classes</strong> (list) - list of room classes<ul>\n<li><strong>id</strong> (guid) id of room class</li>\n<li><strong>name</strong> (string) name of room class</li>\n<li><strong>quantity</strong> (int) number of bed availability</li>\n</ul>\n</li>\n<li><strong>room_code</strong> (string) room code</li>\n<li><strong>room_size</strong> (int) room size</li>\n<li><strong>room_unit</strong> (string) room unit</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["api-hotel","v1","hotels",":id","accommodations"],"host":["{{endpoint}}"],"query":[{"disabled":true,"description":{"content":"<p>(string, optional) - The search keywords</p>\n","type":"text/plain"},"key":"search","value":"{{search}}"},{"key":"limit","value":"{{limit}}"},{"key":"page","value":"{{page}}"},{"disabled":true,"key":"order","value":"{{order}}"},{"disabled":true,"key":"sort","value":"{{sort}}"}],"variable":[{"description":{"content":"<p>The property's GUID</p>\n","type":"text/plain"},"type":"string","value":"b5df1ea4-253a-41b0-af4d-8e5bdbbbdd77","key":"id"}]}},"response":[{"id":"8a0d00aa-0ba0-4053-8bee-1a84eaa9a936","name":"200 OK - Successful get accommodation list","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api-hotel/v1/hotels/:id/accommodations?limit={{limit}}&page={{page}}","host":["{{endpoint}}"],"path":["api-hotel","v1","hotels",":id","accommodations"],"query":[{"key":"search","value":"{{search}}","disabled":true},{"key":"limit","value":"{{limit}}"},{"key":"page","value":"{{page}}"},{"key":"order","value":"{{order}}","disabled":true},{"key":"sort","value":"{{sort}}","disabled":true}],"variable":[{"key":"id","value":"b5df1ea4-253a-41b0-af4d-8e5bdbbbdd77","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 02 Nov 2022 08:16:04 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"45256"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=vDhmKDI6XXxi9RlnwxtHiGd4KprpmnuDuC1+wrfRy5rGNlHLz+4ZFVo6PKvstlIk8EU+fFR4vx9zIY8jpB7cJuHd45Ys1ndJ4RmJvqxtaLBkIOGdo3/A9D1mpSk4; Expires=Wed, 09 Nov 2022 08:16:01 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=vDhmKDI6XXxi9RlnwxtHiGd4KprpmnuDuC1+wrfRy5rGNlHLz+4ZFVo6PKvstlIk8EU+fFR4vx9zIY8jpB7cJuHd45Ys1ndJ4RmJvqxtaLBkIOGdo3/A9D1mpSk4; Expires=Wed, 09 Nov 2022 08:16:01 GMT; Path=/; SameSite=None; Secure"},{"key":"Set-Cookie","value":"session=735909a3-7feb-44b4-b6bb-6c376be6f268.Fb0LmZla7QHjsrXet3owUaF1SNc; HttpOnly; Path=/"},{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjA1NWRjOWQ2NTBhZGFkMDI4MDBlODQ3ZTEyOTQwMjdiNDczYzMwZTci.Y2InRA.5c5ojNQoaV2OWr_0xvYz3gm-qFs"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 6,\n        \"filter\": {\n            \"limit\": 10,\n            \"order\": \"desc\",\n            \"page\": 1,\n            \"search\": null,\n            \"sort\": \"created_at\"\n        },\n        \"results\": [\n            {\n                \"amenities\": [],\n                \"description\": \"<p>Our spacious Deluxe Rooms exude sheer sophistication and elegance,designed to effortlessly luxuriate the senses. Offering a private balcony, BOSE entertainment system, lounge chair, fully equipped working desk, dual-line phones and bathrooms designed to pamper, including a separate bath and a tropical rain shower, Deluxe Rooms are premium sanctuaries of calm and modern comfort.</p>\\n\\n<p>Please note, the photo above is representative of the room category. Actual rooms may vary from what is shown.</p>\\n\\n<p>Location: South Tower with City or Pool views.</p>\",\n                \"details\": \"<p><strong>Common Amenities&nbsp;</strong><br>\\nAll hotel rooms and suites at the Fairmont Singapore offer the following:&nbsp;</p>\\n\\n<ul>\\n\\t<li>Cable Television</li>\\n\\t<li>In-room Entertainment</li>\\n\\t<li>Radio and Alarm Clock</li>\\n\\t<li>Touch Button IDD Telephone (2 lines)</li>\\n\\t<li>Refreshment Centre</li>\\n\\t<li>Complimentary Coffee / Tea Facility&sbquo; with Kettle Jug</li>\\n\\t<li>Writing Table</li>\\n\\t<li>Private Balcony</li>\\n\\t<li>Personal Safe</li>\\n\\t<li>Hairdryer&nbsp;</li>\\n\\t<li>Bathrobe and Slippers</li>\\n\\t<li>Emergency Torchlight</li>\\n\\t<li>Iron and Ironing Board</li>\\n\\t<li>Nespresso Coffee Machine (except Fairmont room)</li>\\n\\t<li>Complimentary Wifi</li>\\n</ul>\\n\\n<p><strong>Amenities on Request&nbsp;</strong><br>\\nThe following amenities may be available in selected rooms.Please inquire at time of reservation.&nbsp;&nbsp;</p>\\n\\n<ul>\\n\\t<li>Connecting rooms (Limited&nbsp;number of Deluxe Rooms and Suites.&nbsp; Based on availability)</li>\\n\\t<li>Roll-away bed - $80 per night&nbsp;&nbsp;&nbsp;</li>\\n\\t<li>Crib - no charge</li>\\n</ul>\",\n                \"id\": \"5cccec7b5045ad56c97c141f\",\n                \"image_gallery\": [\n                    {\n                        \"created_at\": \"2019-05-04T01:35:55.444000\",\n                        \"file_type\": \"img\",\n                        \"id\": \"5cccec7b5045ad56c97c141e\",\n                        \"name\": \"Fairmont Deluxe Room.jpg\",\n                        \"size\": 71705,\n                        \"url\": \"https://cdn.stg.idemevents.com/hotels/5ccce7d85045ad56c97c1412/BWWUMUZ6-Fairmont_Deluxe_Room.jpg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uc3RnLmlkZW1ldmVudHMuY29tL2hvdGVscy81Y2NjZTdkODUwNDVhZDU2Yzk3YzE0MTIvQldXVU1VWjYtRmFpcm1vbnRfRGVsdXhlX1Jvb20uanBnIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjY3MzgwNTY0fSwiU3RyaW5nTGlrZSI6eyJTMzpFeGlzdGluZ09iamVjdFRhZy9ibG9jayI6W119fX1dfQ__&Signature=EPrWGcPou8znSpQQfHr8U8s0NPS~X2fDkXAE-AjU0dngGDdwscmv8B0QS2VNuEdZooJFHXIiQABeKuirHUf2J34RwfQw4PacxkGfte6SDiH6mMQURPfzwabhBSrHPBGO5ktVnbFbQCB-5YrArdJtyRq7dKLBL8ZpIGUzpz0ChFR0zhgKm66raW5GL9he2gXe5~MhG1x1aCS1hB89yrmzjgpmPDFL6uH13ixfjQ19v5Cgqha4kCWrFGjG-7aBiw416-4GNCN38fbIsq1kidpPrRs1KMmnDBh~rug-8q16Zb3SwuwgJ-V0vI9sSQN5tighb~ek6I8lXkVdFfvYQHD2Rw__&Key-Pair-Id=APKAIDWSSRTWTQV55OFA\",\n                        \"user_type\": 1\n                    }\n                ],\n                \"image_url\": \"https://cdn.stg.idemevents.com/hotels/5ccce7d85045ad56c97c1412/BWWUMUZ6-Fairmont_Deluxe_Room.jpg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uc3RnLmlkZW1ldmVudHMuY29tL2hvdGVscy81Y2NjZTdkODUwNDVhZDU2Yzk3YzE0MTIvQldXVU1VWjYtRmFpcm1vbnRfRGVsdXhlX1Jvb20uanBnIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjY3MzgwNTY0fSwiU3RyaW5nTGlrZSI6eyJTMzpFeGlzdGluZ09iamVjdFRhZy9ibG9jayI6W119fX1dfQ__&Signature=EPrWGcPou8znSpQQfHr8U8s0NPS~X2fDkXAE-AjU0dngGDdwscmv8B0QS2VNuEdZooJFHXIiQABeKuirHUf2J34RwfQw4PacxkGfte6SDiH6mMQURPfzwabhBSrHPBGO5ktVnbFbQCB-5YrArdJtyRq7dKLBL8ZpIGUzpz0ChFR0zhgKm66raW5GL9he2gXe5~MhG1x1aCS1hB89yrmzjgpmPDFL6uH13ixfjQ19v5Cgqha4kCWrFGjG-7aBiw416-4GNCN38fbIsq1kidpPrRs1KMmnDBh~rug-8q16Zb3SwuwgJ-V0vI9sSQN5tighb~ek6I8lXkVdFfvYQHD2Rw__&Key-Pair-Id=APKAIDWSSRTWTQV55OFA\",\n                \"is_pms\": false,\n                \"max_guests\": 3,\n                \"name\": \"Deluxe Room\",\n                \"property_guid\": \"b5df1ea4-253a-41b0-af4d-8e5bdbbbdd77\",\n                \"room_classes\": [\n                    {\n                        \"id\": \"5c750a805045ad2a6f339792\",\n                        \"name\": \"King Bed\",\n                        \"quantity\": 1\n                    },\n                    {\n                        \"id\": \"5c750a815045ad2a6f339793\",\n                        \"name\": \"King Bed + Twin Bed\",\n                        \"quantity\": 1\n                    },\n                    {\n                        \"id\": \"5c750a815045ad2a6f339799\",\n                        \"name\": \"Single Bed\",\n                        \"quantity\": 1\n                    }\n                ],\n                \"room_code\": \"DELUXE\",\n                \"room_size\": 0,\n                \"room_unit\": \"sqm\"\n            },\n            {\n                \"amenities\": [\n                    {\n                        \"id\": \"5e4b7613d363be0a3ab76a3c\",\n                        \"name\": \"Room Service\"\n                    },\n                    {\n                        \"id\": \"5e4b7613d363be0a3ab76a40\",\n                        \"name\": \"Wifi/Internet Access\"\n                    }\n                ],\n                \"description\": \"<p>Drawing inspiration from Singapore&rsquo;s local heritage, the Fairmont Premier Room showcases cultural accents of the iconic Straits Chinese, or also known as Peranakan, in a contemporary and luxurious setting. Exuding the soothing comforts of home, the well-appointed room offers breathtaking views of the city from a private balcony and features a newly-designed lighting system which caters for enhanced ambient lighting, fully equipped modern leather-clad work desk, dual-line phones, innovative rain shower installation as well as signature room amenities including Le Labo products and a NESPRESSO coffee machine.</p>\\n\\n<p>Location: North Tower with City or Pool views</p>\",\n                \"details\": \"<p><strong>Common Amenities&nbsp;</strong><br>\\nAll hotel rooms and suites at the Fairmont Singapore offer the following:&nbsp;</p>\\n\\n<ul>\\n\\t<li>Cable Television</li>\\n\\t<li>In-room Entertainment</li>\\n\\t<li>Radio and Alarm Clock</li>\\n\\t<li>Touch Button IDD Telephone (2 lines)</li>\\n\\t<li>Refreshment Centre</li>\\n\\t<li>Complimentary Coffee / Tea Facility&sbquo; with Kettle Jug</li>\\n\\t<li>Writing Table</li>\\n\\t<li>Private Balcony</li>\\n\\t<li>Personal Safe</li>\\n\\t<li>Hairdryer&nbsp;</li>\\n\\t<li>Bathrobe and Slippers</li>\\n\\t<li>Emergency Torchlight</li>\\n\\t<li>Iron and Ironing Board</li>\\n\\t<li>Nespresso Coffee Machine (except Fairmont room)</li>\\n\\t<li>Complimentary Wifi</li>\\n</ul>\\n\\n<p><strong>Amenities on Request&nbsp;</strong><br>\\nThe following amenities may be available in selected rooms.Please inquire at time of reservation.&nbsp;&nbsp;</p>\\n\\n<ul>\\n\\t<li>Connecting rooms (Limited&nbsp;number of Deluxe Rooms and Suites.&nbsp; Based on availability)</li>\\n\\t<li>Roll-away bed - $80 per night&nbsp;&nbsp;&nbsp;</li>\\n\\t<li>Crib - no charge</li>\\n</ul>\",\n                \"id\": \"5cccecc75045ad56c97c1421\",\n                \"image_gallery\": [\n                    {\n                        \"created_at\": \"2019-05-04T01:37:11.347000\",\n                        \"file_type\": \"img\",\n                        \"id\": \"5cccecc75045ad56c97c1420\",\n                        \"name\": \"Fairmont Premier Room King.jpg\",\n                        \"size\": 68983,\n                        \"url\": \"https://cdn.stg.idemevents.com/hotels/5ccce7d85045ad56c97c1412/S3GNC46U-Fairmont_Premier_Room_King.jpg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uc3RnLmlkZW1ldmVudHMuY29tL2hvdGVscy81Y2NjZTdkODUwNDVhZDU2Yzk3YzE0MTIvUzNHTkM0NlUtRmFpcm1vbnRfUHJlbWllcl9Sb29tX0tpbmcuanBnIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjY3MzgwNTY0fSwiU3RyaW5nTGlrZSI6eyJTMzpFeGlzdGluZ09iamVjdFRhZy9ibG9jayI6W119fX1dfQ__&Signature=Nebq5ZqlZ~Qk07TwhI0KSUtuKA1hYDoNzJ6YDWvTsEg-HuLNYNgfJocC2UE8p0cyxdxhbcD8UYJ7COf2ulCMguj8Bk-Cn5FMRDiwa~NMhAHHF-MXXj6Dt7rbSa96mjzZb6znlL6vdykrf2QpvjUftyfgB4zTcEvANuCnC4qsTrcNf~lMuwTYgLR4QilG5lBRsidns-ZKxgeVgjgGrIMNq62OCFOfUoq71Qian1TtIiqXsQwJorXnGQjOv0Rhx2wQY~9Ld0t--fhRvTN1v5TuVTKczzPcT5K6tZdaPUfsaocplAQXg7SFbOwMiXbBaz6mV5F~4BCHo9~R74VxHllJ6g__&Key-Pair-Id=APKAIDWSSRTWTQV55OFA\",\n                        \"user_type\": 1\n                    }\n                ],\n                \"image_url\": \"https://cdn.stg.idemevents.com/hotels/5ccce7d85045ad56c97c1412/S3GNC46U-Fairmont_Premier_Room_King.jpg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uc3RnLmlkZW1ldmVudHMuY29tL2hvdGVscy81Y2NjZTdkODUwNDVhZDU2Yzk3YzE0MTIvUzNHTkM0NlUtRmFpcm1vbnRfUHJlbWllcl9Sb29tX0tpbmcuanBnIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjY3MzgwNTY0fSwiU3RyaW5nTGlrZSI6eyJTMzpFeGlzdGluZ09iamVjdFRhZy9ibG9jayI6W119fX1dfQ__&Signature=Nebq5ZqlZ~Qk07TwhI0KSUtuKA1hYDoNzJ6YDWvTsEg-HuLNYNgfJocC2UE8p0cyxdxhbcD8UYJ7COf2ulCMguj8Bk-Cn5FMRDiwa~NMhAHHF-MXXj6Dt7rbSa96mjzZb6znlL6vdykrf2QpvjUftyfgB4zTcEvANuCnC4qsTrcNf~lMuwTYgLR4QilG5lBRsidns-ZKxgeVgjgGrIMNq62OCFOfUoq71Qian1TtIiqXsQwJorXnGQjOv0Rhx2wQY~9Ld0t--fhRvTN1v5TuVTKczzPcT5K6tZdaPUfsaocplAQXg7SFbOwMiXbBaz6mV5F~4BCHo9~R74VxHllJ6g__&Key-Pair-Id=APKAIDWSSRTWTQV55OFA\",\n                \"is_pms\": false,\n                \"max_guests\": 3,\n                \"name\": \"Fairmont Premier\",\n                \"property_guid\": \"b5df1ea4-253a-41b0-af4d-8e5bdbbbdd77\",\n                \"room_classes\": [],\n                \"room_code\": \"sadad\",\n                \"room_size\": 45,\n                \"room_unit\": \"sqm\"\n            },\n            {\n                \"amenities\": [\n                    {\n                        \"id\": \"5e4b7613d363be0a3ab76a2b\",\n                        \"name\": \"Alarm Clock\"\n                    },\n                    {\n                        \"id\": \"5e4b7613d363be0a3ab76a3b\",\n                        \"name\": \"Nightly Turndown Service\"\n                    }\n                ],\n                \"description\": \"<p>&quot;But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?&quot;</p>\",\n                \"details\": \"<p>&quot;But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?&quot;</p>\",\n                \"id\": \"60619ad76fdabe33b2ac2f95\",\n                \"image_gallery\": [\n                    {\n                        \"created_at\": \"2021-03-29T09:17:11.045000\",\n                        \"file_type\": \"img\",\n                        \"id\": \"60619b176fdabe33b2ac2f9e\",\n                        \"name\": \"hotel-nikko-saigon.jpeg\",\n                        \"size\": 27147,\n                        \"url\": \"https://cdn.stg.idemevents.com/guests/ZY520493-hotel-nikko-saigon.jpeg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uc3RnLmlkZW1ldmVudHMuY29tL2d1ZXN0cy9aWTUyMDQ5My1ob3RlbC1uaWtrby1zYWlnb24uanBlZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY2NzM4MDU2NH0sIlN0cmluZ0xpa2UiOnsiUzM6RXhpc3RpbmdPYmplY3RUYWcvYmxvY2siOltdfX19XX0_&Signature=E-uZanyuhM0bs5vSnCFHe3ssQC8GBV8lOkla0Ist0lV-puOK4CPt01khNs53PDX7isI84G7gzn-WzBO6mCC3KwG3Kl0lHbKPGNJYRBm2-OEj4c10IWBNUI~l7hp-QkhOfkCon2KsHom3~Wn4JqLvlS0M-aSrU~KxIZC9CbCSADbVfOb7wZ8aBSw15tKPwxTArfN12x~~inpgMasIxq7HGNwyMHLmmTBXebEuFX8PvmVt0As9qwAOcxT2B3Uqcy-fQkKyPkT9WTdVZ1bTog7DNVLv3DDgsidllEZbrVWLa0nvGJSV5y19c8Byh79cpvonj1eflyUQt-HHoq4FdW~sLA__&Key-Pair-Id=APKAIDWSSRTWTQV55OFA\",\n                        \"user_type\": 1\n                    }\n                ],\n                \"image_url\": \"https://cdn.stg.idemevents.com/guests/ZY520493-hotel-nikko-saigon.jpeg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uc3RnLmlkZW1ldmVudHMuY29tL2d1ZXN0cy9aWTUyMDQ5My1ob3RlbC1uaWtrby1zYWlnb24uanBlZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY2NzM4MDU2NH0sIlN0cmluZ0xpa2UiOnsiUzM6RXhpc3RpbmdPYmplY3RUYWcvYmxvY2siOltdfX19XX0_&Signature=E-uZanyuhM0bs5vSnCFHe3ssQC8GBV8lOkla0Ist0lV-puOK4CPt01khNs53PDX7isI84G7gzn-WzBO6mCC3KwG3Kl0lHbKPGNJYRBm2-OEj4c10IWBNUI~l7hp-QkhOfkCon2KsHom3~Wn4JqLvlS0M-aSrU~KxIZC9CbCSADbVfOb7wZ8aBSw15tKPwxTArfN12x~~inpgMasIxq7HGNwyMHLmmTBXebEuFX8PvmVt0As9qwAOcxT2B3Uqcy-fQkKyPkT9WTdVZ1bTog7DNVLv3DDgsidllEZbrVWLa0nvGJSV5y19c8Byh79cpvonj1eflyUQt-HHoq4FdW~sLA__&Key-Pair-Id=APKAIDWSSRTWTQV55OFA\",\n                \"is_pms\": false,\n                \"max_guests\": 5,\n                \"name\": \"Standard\",\n                \"property_guid\": \"b5df1ea4-253a-41b0-af4d-8e5bdbbbdd77\",\n                \"room_classes\": [\n                    {\n                        \"id\": \"5c750a805045ad2a6f339792\",\n                        \"name\": \"King Bed\",\n                        \"quantity\": 1\n                    }\n                ],\n                \"room_code\": \"SUPERIOR\",\n                \"room_size\": 500,\n                \"room_unit\": \"sqm\"\n            },\n            {\n                \"amenities\": [\n                    {\n                        \"id\": \"5e4b7613d363be0a3ab76a2b\",\n                        \"name\": \"Alarm Clock\"\n                    },\n                    {\n                        \"id\": \"61989e3cbab09b7b27e3b623\",\n                        \"name\": \"Amenity S18\"\n                    }\n                ],\n                \"description\": \"<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\",\n                \"details\": \"<h2>What is Lorem Ipsum?</h2>\\n\\n<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\\n<h2>Why do we use it?</h2>\\n\\n<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using &#39;Content here, content here&#39;, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for &#39;lorem ipsum&#39; will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>\\n\\n<p>&nbsp;</p>\\n\\n<h2>Where does it come from?</h2>\\n\\n<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of &quot;de Finibus Bonorum et Malorum&quot; (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, &quot;Lorem ipsum dolor sit amet..&quot;, comes from a line in section 1.10.32.</p>\\n\\n<p>The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from &quot;de Finibus Bonorum et Malorum&quot; by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</p>\\n\\n<h2>Where can I get some?</h2>\\n\\n<p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don&#39;t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn&#39;t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>\\n\\n<h2>What is Lorem Ipsum?</h2>\\n\\n<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\\n<h2>Why do we use it?</h2>\\n\\n<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using &#39;Content here, content here&#39;, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for &#39;lorem ipsum&#39; will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>\\n\\n<p>&nbsp;</p>\\n\\n<h2>Where does it come from?</h2>\\n\\n<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of &quot;de Finibus Bonorum et Malorum&quot; (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, &quot;Lorem ipsum dolor sit amet..&quot;, comes from a line in section 1.10.32.</p>\\n\\n<p>The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from &quot;de Finibus Bonorum et Malorum&quot; by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</p>\\n\\n<h2>Where can I get some?</h2>\\n\\n<p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don&#39;t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn&#39;t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>\\n\\n<h2>What is Lorem Ipsum?</h2>\\n\\n<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\\n<h2>Why do we use it?</h2>\\n\\n<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using &#39;Content here, content here&#39;, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for &#39;lorem ipsum&#39; will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>\\n\\n<p>&nbsp;</p>\\n\\n<h2>Where does it come from?</h2>\\n\\n<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of &quot;de Finibus Bonorum et Malorum&quot; (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, &quot;Lorem ipsum dolor sit amet..&quot;, comes from a line in section 1.10.32.</p>\\n\\n<p>The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from &quot;de Finibus Bonorum et Malorum&quot; by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</p>\\n\\n<h2>Where can I get some?</h2>\\n\\n<p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don&#39;t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn&#39;t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>\\n\\n<h2>What is Lorem Ipsum?</h2>\\n\\n<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\\n<h2>Why do we use it?</h2>\\n\\n<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using &#39;Content here, content here&#39;, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for &#39;lorem ipsum&#39; will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>\\n\\n<p>&nbsp;</p>\\n\\n<h2>Where does it come from?</h2>\\n\\n<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of &quot;de Finibus Bonorum et Malorum&quot; (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, &quot;Lorem ipsum dolor sit amet..&quot;, comes from a line in section 1.10.32.</p>\\n\\n<p>The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from &quot;de Finibus Bonorum et Malorum&quot; by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</p>\\n\\n<h2>Where can I get some?</h2>\\n\\n<p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don&#39;t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn&#39;t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>\\n\\n<h2>What is Lorem Ipsum?</h2>\\n\\n<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\\n<h2>Why do we use it?</h2>\\n\\n<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using &#39;Content here, content here&#39;, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for &#39;lorem ipsum&#39; will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>\\n\\n<p>&nbsp;</p>\\n\\n<h2>Where does it come from?</h2>\\n\\n<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of &quot;de Finibus Bonorum et Malorum&quot; (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, &quot;Lorem ipsum dolor sit amet..&quot;, comes from a line in section 1.10.32.</p>\\n\\n<p>The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from &quot;de Finibus Bonorum et Malorum&quot; by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</p>\\n\\n<h2>Where can I get some?</h2>\\n\\n<p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don&#39;t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn&#39;t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>\\n\\n<h2>What is Lorem Ipsum?</h2>\\n\\n<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\\n<h2>Why do we use it?</h2>\\n\\n<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using &#39;Content here, content here&#39;, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for &#39;lorem ipsum&#39; will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>\\n\\n<p>&nbsp;</p>\\n\\n<h2>Where does it come from?</h2>\\n\\n<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of &quot;de Finibus Bonorum et Malorum&quot; (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, &quot;Lorem ipsum dolor sit amet..&quot;, comes from a line in section 1.10.32.</p>\\n\\n<p>The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from &quot;de Finibus Bonorum et Malorum&quot; by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</p>\\n\\n<h2>Where can I get some?</h2>\\n\\n<p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don&#39;t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn&#39;t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>\",\n                \"id\": \"61989e3cbab09b7b27e3b624\",\n                \"image_gallery\": [\n                    {\n                        \"created_at\": \"2021-11-20T04:56:26.225000\",\n                        \"file_type\": \"img\",\n                        \"id\": \"61987ffabab09b7b27e3b61f\",\n                        \"name\": \"hotel-nikko-saigon.jpeg\",\n                        \"size\": 27147,\n                        \"url\": \"https://cdn.stg.idemevents.com/guests/8UCFD3T8-hotel-nikko-saigon.jpeg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uc3RnLmlkZW1ldmVudHMuY29tL2d1ZXN0cy84VUNGRDNUOC1ob3RlbC1uaWtrby1zYWlnb24uanBlZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY2NzM4MDU2NH0sIlN0cmluZ0xpa2UiOnsiUzM6RXhpc3RpbmdPYmplY3RUYWcvYmxvY2siOltdfX19XX0_&Signature=FrMf1ekLAhZXG-G9zvKme3KvdtS4jTgExE1Yg3t71voVWJ63oqpb6ryd9tOu5YqnjOtuj0Qh0TqpN0FQ-vzFat4jZWAGXKLu3qTh3Gx-oYbyQLM44IBS4RXBsm7S3YSHU6UMpFmOgpITZ~k0u~QWRXRE8JF3xJaAXbixViPXTxDm1JkNTR9IRFyRW5PoJkX9s9tcKCHLO9KoJbEINgShOZnWdu6KFZml1I~6yX7RFfygqJBYsq5xNyfbS7-CaXU1B2SSBeGFAtiMhcu0xLQb7iTOdHWfggjK1mettpk6qOUr10RI3puBsgid3oczzWCLn3AL-T~Bsv7Ls4uWxCvPHg__&Key-Pair-Id=APKAIDWSSRTWTQV55OFA\",\n                        \"user_type\": 1\n                    }\n                ],\n                \"image_url\": \"https://cdn.stg.idemevents.com/guests/8UCFD3T8-hotel-nikko-saigon.jpeg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uc3RnLmlkZW1ldmVudHMuY29tL2d1ZXN0cy84VUNGRDNUOC1ob3RlbC1uaWtrby1zYWlnb24uanBlZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY2NzM4MDU2NH0sIlN0cmluZ0xpa2UiOnsiUzM6RXhpc3RpbmdPYmplY3RUYWcvYmxvY2siOltdfX19XX0_&Signature=FrMf1ekLAhZXG-G9zvKme3KvdtS4jTgExE1Yg3t71voVWJ63oqpb6ryd9tOu5YqnjOtuj0Qh0TqpN0FQ-vzFat4jZWAGXKLu3qTh3Gx-oYbyQLM44IBS4RXBsm7S3YSHU6UMpFmOgpITZ~k0u~QWRXRE8JF3xJaAXbixViPXTxDm1JkNTR9IRFyRW5PoJkX9s9tcKCHLO9KoJbEINgShOZnWdu6KFZml1I~6yX7RFfygqJBYsq5xNyfbS7-CaXU1B2SSBeGFAtiMhcu0xLQb7iTOdHWfggjK1mettpk6qOUr10RI3puBsgid3oczzWCLn3AL-T~Bsv7Ls4uWxCvPHg__&Key-Pair-Id=APKAIDWSSRTWTQV55OFA\",\n                \"is_pms\": false,\n                \"max_guests\": 1,\n                \"name\": \"Room Sprint 18 Update\",\n                \"property_guid\": \"b5df1ea4-253a-41b0-af4d-8e5bdbbbdd77\",\n                \"room_classes\": [\n                    {\n                        \"id\": \"5c750a805045ad2a6f339792\",\n                        \"name\": \"King Bed\",\n                        \"quantity\": 1\n                    },\n                    {\n                        \"id\": \"5c750a815045ad2a6f339793\",\n                        \"name\": \"King Bed + Twin Bed\",\n                        \"quantity\": 1\n                    },\n                    {\n                        \"id\": \"5c750a815045ad2a6f339794\",\n                        \"name\": \"Double Queen Bed\",\n                        \"quantity\": 1\n                    },\n                    {\n                        \"id\": \"5c750a815045ad2a6f339795\",\n                        \"name\": \"Queen Bed\",\n                        \"quantity\": 1\n                    },\n                    {\n                        \"id\": \"5c750a815045ad2a6f339796\",\n                        \"name\": \"Queen Bed + Twin Bed\",\n                        \"quantity\": 1\n                    },\n                    {\n                        \"id\": \"5c750a815045ad2a6f339797\",\n                        \"name\": \"Queen Bed + Single\",\n                        \"quantity\": 1\n                    },\n                    {\n                        \"id\": \"5c750a815045ad2a6f339798\",\n                        \"name\": \"Twin Bed\",\n                        \"quantity\": 1\n                    },\n                    {\n                        \"id\": \"5c750a815045ad2a6f339799\",\n                        \"name\": \"Single Bed\",\n                        \"quantity\": 1\n                    },\n                    {\n                        \"id\": \"61989e3cbab09b7b27e3b622\",\n                        \"name\": \"Room Class S18\",\n                        \"quantity\": 1\n                    }\n                ],\n                \"room_code\": \"RS18UD\",\n                \"room_size\": -1,\n                \"room_unit\": \"sqm\"\n            },\n            {\n                \"amenities\": [],\n                \"description\": \"\",\n                \"details\": \"\",\n                \"id\": \"6208c76d03b0c91139868cd1\",\n                \"image_gallery\": [],\n                \"image_url\": \"\",\n                \"is_pms\": false,\n                \"max_guests\": 1,\n                \"name\": \"Accommodation Test Permissoin\",\n                \"property_guid\": \"b5df1ea4-253a-41b0-af4d-8e5bdbbbdd77\",\n                \"room_classes\": [\n                    {\n                        \"id\": \"5c750a815045ad2a6f339798\",\n                        \"name\": \"Twin Bed\",\n                        \"quantity\": 3\n                    },\n                    {\n                        \"id\": \"5c750a805045ad2a6f339792\",\n                        \"name\": \"King Bed\",\n                        \"quantity\": 1\n                    },\n                    {\n                        \"id\": \"635ba14ccd53a8a2d80f87eb\",\n                        \"name\": \"Kid Bed\",\n                        \"quantity\": 2\n                    }\n                ],\n                \"room_code\": \"ATP\",\n                \"room_size\": -1,\n                \"room_unit\": \"\"\n            },\n            {\n                \"amenities\": [\n                    {\n                        \"id\": \"5e4b7613d363be0a3ab76a2a\",\n                        \"name\": \"Air Conditioned\"\n                    },\n                    {\n                        \"id\": \"5e4b7613d363be0a3ab76a2c\",\n                        \"name\": \"Bath Robe\"\n                    },\n                    {\n                        \"id\": \"62c41de7f14a920577162c5f\",\n                        \"name\": \"Safe\"\n                    }\n                ],\n                \"description\": \"\",\n                \"details\": \"\",\n                \"id\": \"62c41de7f14a920577162c60\",\n                \"image_gallery\": [\n                    {\n                        \"created_at\": \"2022-07-05T11:16:43.682000\",\n                        \"file_type\": \"img\",\n                        \"id\": \"62c41d9bf14a920577162c5b\",\n                        \"name\": \"Screen Shot 2022-07-05 at 12.22.18.png\",\n                        \"size\": 201902,\n                        \"url\": \"https://cdn.stg.idemevents.com/guests/9G8T324K-Screen_Shot_2022-07-05_at_12.22.18.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uc3RnLmlkZW1ldmVudHMuY29tL2d1ZXN0cy85RzhUMzI0Sy1TY3JlZW5fU2hvdF8yMDIyLTA3LTA1X2F0XzEyLjIyLjE4LnBuZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY2NzM4MDU2NH0sIlN0cmluZ0xpa2UiOnsiUzM6RXhpc3RpbmdPYmplY3RUYWcvYmxvY2siOltdfX19XX0_&Signature=P3h7Ws9~fvH~wyLytxbCn7bS-jUwumtkfvWWOUUigbh4c0Mj6LDPXLso29KW~23h-iNlv20d4G-F-87g-woHNTEw89-tfx5s~g4huOQ17QjZQ9lfrGf1gKjLhtS~8MsSAk3pLJ-8bFze~XjeHys5QaH2UEg2GD90MQRg0gOOwHvogfzH1EdBDo-PCrXg2NH0tc4ZObY0WfLwr9qwT-FX59pBm7FNogzPGp4bXzmHHVinB11uAhGePRT4U8-udbOba1uDuwWf28nsM6W84V2TgzLwdKKwweBZaz3IhEEk0PrNNBhXlzEC5mJ5EdK5uZCPIe~rwzNJ2HKiqCzJHPAr7A__&Key-Pair-Id=APKAIDWSSRTWTQV55OFA\",\n                        \"user_type\": 0\n                    }\n                ],\n                \"image_url\": \"https://cdn.stg.idemevents.com/guests/9G8T324K-Screen_Shot_2022-07-05_at_12.22.18.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uc3RnLmlkZW1ldmVudHMuY29tL2d1ZXN0cy85RzhUMzI0Sy1TY3JlZW5fU2hvdF8yMDIyLTA3LTA1X2F0XzEyLjIyLjE4LnBuZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY2NzM4MDU2NH0sIlN0cmluZ0xpa2UiOnsiUzM6RXhpc3RpbmdPYmplY3RUYWcvYmxvY2siOltdfX19XX0_&Signature=P3h7Ws9~fvH~wyLytxbCn7bS-jUwumtkfvWWOUUigbh4c0Mj6LDPXLso29KW~23h-iNlv20d4G-F-87g-woHNTEw89-tfx5s~g4huOQ17QjZQ9lfrGf1gKjLhtS~8MsSAk3pLJ-8bFze~XjeHys5QaH2UEg2GD90MQRg0gOOwHvogfzH1EdBDo-PCrXg2NH0tc4ZObY0WfLwr9qwT-FX59pBm7FNogzPGp4bXzmHHVinB11uAhGePRT4U8-udbOba1uDuwWf28nsM6W84V2TgzLwdKKwweBZaz3IhEEk0PrNNBhXlzEC5mJ5EdK5uZCPIe~rwzNJ2HKiqCzJHPAr7A__&Key-Pair-Id=APKAIDWSSRTWTQV55OFA\",\n                \"is_pms\": false,\n                \"max_guests\": 3,\n                \"name\": \"QA test translation\",\n                \"property_guid\": \"b5df1ea4-253a-41b0-af4d-8e5bdbbbdd77\",\n                \"room_classes\": [\n                    {\n                        \"id\": \"5c750a805045ad2a6f339792\",\n                        \"name\": \"King Bed\",\n                        \"quantity\": 1\n                    },\n                    {\n                        \"id\": \"5c750a815045ad2a6f339793\",\n                        \"name\": \"King Bed + Twin Bed\",\n                        \"quantity\": 1\n                    },\n                    {\n                        \"id\": \"5c750a815045ad2a6f339795\",\n                        \"name\": \"Queen Bed\",\n                        \"quantity\": 1\n                    },\n                    {\n                        \"id\": \"5c750a815045ad2a6f339797\",\n                        \"name\": \"Queen Bed + Single\",\n                        \"quantity\": 1\n                    },\n                    {\n                        \"id\": \"62c41de7f14a920577162c5e\",\n                        \"name\": \"Baby bed\",\n                        \"quantity\": 1\n                    },\n                    {\n                        \"id\": \"6358efcf49f4ef90fdae5bfc\",\n                        \"name\": \"Single Bed + Baby Bed\",\n                        \"quantity\": 1\n                    },\n                    {\n                        \"id\": \"635a34ee49f4ef90fdae6250\",\n                        \"name\": \"Hello\",\n                        \"quantity\": 1\n                    }\n                ],\n                \"room_code\": \"QATT\",\n                \"room_size\": -1000,\n                \"room_unit\": \"sqft\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"ba8a44a8-e458-468a-b4fd-4e708e5c2bce"},{"name":"Edit Accommodation","id":"5d1b6816-7bff-4bc5-89cf-6db49cfa80c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"string\",\n\t\"description\": \"string(default=unset)\",\n\t\"booking_url\": \"string(url, default=unset)\",\n\t\"details\": \"string(default=unset)\",\n\t\"room_classes\": \"array(objectid, default=unset)\",\n\t\"room_size\": \"integer(default=-1)\",\n\t\"room_unit\": \"string(default=unset)\",\n\t\"image\": \"string(objectid, default=unset)\",\n\t\"max_guests\": \"integer\",\n    \"deleted_room_classes\": [],\n    \"amenities\": [],\n    \"new_amenities\": [],\n    \"deleted_amenities\": []\n}"},"url":"{{endpoint}}/api-hotel/v1/hotels/:hotel_id/accommodations/:id","description":"<p>Allow to update exist accommodation of hotel</p>\n<h2 id=\"url-variable\">URL Variable:</h2>\n<ul>\n<li><strong>id</strong> (guid, required) - The accommodation ID</li>\n<li>hotel_id (guid, required) - the hotel ID</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<ul>\n<li><strong>name</strong> (string) - The accommodation name</li>\n<li><strong>room_code</strong> (string) - the accommodation code</li>\n<li><strong>room_size</strong> (string) - The room size</li>\n<li><strong>room_unit</strong> (string) the room unit</li>\n<li><strong>description</strong> (string) Short Description</li>\n<li><strong>details</strong> (string) Full description</li>\n<li><strong>image_gallery</strong> (list) list of accommodation image IDs</li>\n<li><strong>max_guests</strong> (int) max guests of accommodation</li>\n<li><strong>is_pms</strong> (bool)</li>\n<li><strong>deleted_amenities</strong> (list) list of delete amenity IDs</li>\n<li><strong>amenities</strong> (list) list of amenity IDs</li>\n<li><strong>new_amenities</strong> (list) list of new amenity IDs</li>\n<li><strong>room_classes</strong> (list) list of room class IDs</li>\n<li><strong>new_room_classes</strong> (list) list of new room class<ul>\n<li><strong>id</strong>: id of room class</li>\n<li><strong>name</strong>: name of room class</li>\n</ul>\n</li>\n</ul>\n<h2 id=\"return\">Return:</h2>\n<ul>\n<li><strong>code</strong> (string) - The response code</li>\n<li><strong>status</strong> (string) - The response status</li>\n<li><strong>data</strong> (object) - The meta data object.<ul>\n<li>id (guid) - ID of accommodation</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["api-hotel","v1","hotels",":hotel_id","accommodations",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"","key":"hotel_id"},{"type":"string","value":"","key":"id"}]}},"response":[{"id":"b47b65c9-22c9-4672-b3ff-78b037963b01","name":"200 OK - successful Edit Accommodation","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Accommodation Test Permissoin\",\n    \"room_code\": \"ATP\",\n    \"room_size\": \"-1\",\n    \"room_unit\": \"\",\n    \"description\": \"\",\n    \"details\": \"\",\n    \"image_gallery\": [],\n    \"max_guests\": 1,\n    \"is_pms\": false,\n    \"deleted_amenities\": [],\n    \"amenities\": [],\n    \"new_amenities\": [],\n    \"room_classes\": [\n        {\n            \"id\": \"5c750a815045ad2a6f339798\",\n            \"name\": \"Twin Bed\",\n            \"quantity\": \"3\"\n        },\n        {\n            \"id\": \"5c750a805045ad2a6f339792\",\n            \"name\": \"King Bed\",\n            \"quantity\": \"1\"\n        },\n        {\n            \"id\": \"635ba14ccd53a8a2d80f87eb\",\n            \"name\": \"Kid Bed\",\n            \"quantity\": \"2\"\n        },\n        {\n            \"id\": \"6371b393f9565b36f42a2c07\",\n            \"name\": \"test bed\",\n            \"quantity\": \"1\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api-hotel/v1/hotels/:hotel_id/accommodations/:id","host":["{{endpoint}}"],"path":["api-hotel","v1","hotels",":hotel_id","accommodations",":id"],"variable":[{"key":"hotel_id","value":"b5df1ea4-253a-41b0-af4d-8e5bdbbbdd77"},{"key":"id","value":"6208c76d03b0c91139868cd1","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImU4MjZhZDUxNDMzNjNmNGNlZDdlMDM0MjU5MDhkNGFiOGMzYmQ1Mzki.Y3HifQ.4nl3J2M1UINTlfP4hQsercrgGKQ"},{"key":"Set-Cookie","value":"session=2d0e11d4-ce43-4cd8-ac8f-71d1b303032d.CJz7b5z1NItdUqctj2ocD6NVtQg; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Mon, 14 Nov 2022 06:38:53 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"6208c76d03b0c91139868cd1\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"5d1b6816-7bff-4bc5-89cf-6db49cfa80c0"},{"name":"Add Accommodation","id":"43b4bc91-a0bf-4449-b34e-3d824b1f2e17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"string\",\n    \"description\": \"string(default=unset)\",\n    \"booking_url\": \"string(url, default=unset)\",\n    \"details\": \"string(default=unset)\",\n    \"room_classes\": [],\n    \"room_size\": \"integer(default=-1)\",\n    \"room_unit\": \"string(default=unset)\",\n    \"image\": \"string(objectid, default=unset)\",\n    \"max_guests\": \"integer\",\n    \"amenities\": [],\n    \"new_amenities\": [],\n    \"deleted_amenities\": []\n}"},"url":"{{endpoint}}/api-hotel/v1/hotels/:id/accommodations","description":"<p>Allow to create new accommodation of hotel</p>\n<h2 id=\"url-variable\">URL Variable:</h2>\n<ul>\n<li><strong>id</strong> (guid, required) - The hotel ID</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<ul>\n<li><strong>name</strong> (string) - The accommodation name</li>\n<li><strong>room_code</strong> (string) - the accommodation code</li>\n<li><strong>room_size</strong> (string) - The room size</li>\n<li><strong>room_unit</strong> (string) the room unit</li>\n<li><strong>description</strong> (string) Short Description</li>\n<li><strong>details</strong> (string) Full description</li>\n<li><strong>image_gallery</strong> (list) list of accommodation image IDs</li>\n<li><strong>max_guests</strong> (int) max guests of accommodation</li>\n<li><strong>is_pms</strong> (bool)</li>\n<li><strong>deleted_amenities</strong> (list) list of delete amenity IDs</li>\n<li><strong>amenities</strong> (list) list of amenity IDs</li>\n<li><strong>new_amenities</strong> (list) list of new amenity IDs</li>\n<li><strong>room_classes</strong> (list) list of available room classes<ul>\n<li><strong>id</strong> (guild / null) id of exist room class or null for create a new room class</li>\n<li><strong>quantity</strong> (int) quantity of bed availability</li>\n<li><strong>name</strong> (string) name of room_classes</li>\n</ul>\n</li>\n</ul>\n<h2 id=\"return\">Return:</h2>\n<ul>\n<li><strong>code</strong> (string) - The response code</li>\n<li><strong>status</strong> (string) - The response status</li>\n<li><strong>data</strong> (object) - The meta data object.<ul>\n<li>id (guid) - ID of accommodation</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["api-hotel","v1","hotels",":id","accommodations"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"e32735fa-2943-49bd-9be6-901366f92f59","name":"200 OK - Add Accommodation","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Deluxe King Room\",\n    \"room_code\": \"KR_1411\",\n    \"room_size\": \"-1\",\n    \"room_unit\": \"sqm\",\n    \"description\": \"<p>short description</p>\\n\",\n    \"details\": \"<p>full description</p>\\n\",\n    \"image_gallery\": [\n        \"6371f3297f10853cdd7a4a80\"\n    ],\n    \"max_guests\": 4,\n    \"is_pms\": false,\n    \"deleted_amenities\": [],\n    \"amenities\": [\n        \"5e4b7613d363be0a3ab76a30\",\n        \"5e4b7613d363be0a3ab76a32\",\n        \"5e4b7613d363be0a3ab76a34\",\n        \"5e4b7613d363be0a3ab76a36\"\n    ],\n    \"new_amenities\": [],\n    \"room_classes\": [\n        {\n            \"id\": \"5c750a805045ad2a6f339792\",\n            \"name\": \"King Bed\",\n            \"quantity\": \"3\"\n        },\n        {\n            \"id\": \"5c750a815045ad2a6f339793\",\n            \"name\": \"King Bed + Twin Bed\",\n            \"quantity\": \"2\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api-hotel/v1/hotels/:id/accommodations","host":["{{endpoint}}"],"path":["api-hotel","v1","hotels",":id","accommodations"],"variable":[{"key":"id","value":"b5df1ea4-253a-41b0-af4d-8e5bdbbbdd77","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImU4MjZhZDUxNDMzNjNmNGNlZDdlMDM0MjU5MDhkNGFiOGMzYmQ1Mzki.Y3H0Ag.7-mX4CCxLNRhGrclyY2DWyfnbqA"},{"key":"Set-Cookie","value":"session=2d0e11d4-ce43-4cd8-ac8f-71d1b303032d.CJz7b5z1NItdUqctj2ocD6NVtQg; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Mon, 14 Nov 2022 07:53:38 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"6371f402e33b0a469843b9cf\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"43b4bc91-a0bf-4449-b34e-3d824b1f2e17"},{"name":"Accommodation Detail","id":"564f9917-ee26-4b4a-b55f-c21df306aa53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"string\",\n\t\"description\": \"string(default=unset)\",\n\t\"booking_url\": \"string(url, default=unset)\",\n\t\"details\": \"string(default=unset)\",\n\t\"room_classes\": \"array(objectid, default=unset)\",\n\t\"room_size\": \"integer(default=-1)\",\n\t\"room_unit\": \"string(default=unset)\",\n\t\"image\": \"string(objectid, default=unset)\"\n}"},"url":"{{endpoint}}/api-hotel/v1/hotels/:hotel_id/accommodations/:id","description":"<p>Allow get accommodation detail</p>\n<h2 id=\"url-variable\">URL Variable:</h2>\n<ul>\n<li><strong>hotel_id</strong> (guid, required) - The hotel ID</li>\n<li><strong>id</strong> (string, optional) - The accommodation ID</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<p>None</p>\n<h2 id=\"return\">Return:</h2>\n<ul>\n<li><strong>code</strong> (string) - The response code</li>\n<li><strong>status</strong> (string) - The response status</li>\n<li><strong>data</strong> (object) - The meta data object.<ul>\n<li><strong>amenities</strong> (list) - The list of amenities<ul>\n<li><strong>id</strong> (guid) - ID of amenities</li>\n<li><strong>name</strong> (string) - name of amenities</li>\n</ul>\n</li>\n<li><strong>description</strong> (string) - Short description of accommodation</li>\n<li><strong>details</strong> (string) - Full description of accommodation</li>\n<li><strong>id</strong> (guid) - ID of accommodation</li>\n<li><strong>image_gallery</strong> (list) - List room images<ul>\n<li><strong>created_at</strong> (dateTime) DateTime image created</li>\n<li><strong>file_type</strong> (string) type of image</li>\n<li><strong>id</strong> (guid) ID of image</li>\n<li><strong>name</strong> (string) Name of image</li>\n<li><strong>size</strong> (int) size of image</li>\n<li><strong>url</strong> (string) image URL</li>\n<li><strong>user_type</strong> (int) type of use uploaded image</li>\n</ul>\n</li>\n<li><strong>image_url</strong> (string) - URL of the first image</li>\n<li><strong>is_pms</strong> (bool)</li>\n<li><strong>max_guests</strong> (int) number of max guest</li>\n<li><strong>name</strong> (string) name of accommodation</li>\n<li><strong>property_guid</strong> (guild)</li>\n<li><strong>room_classes</strong> (list) - list of room classes<ul>\n<li><strong>id</strong> (guid) id of room class</li>\n<li><strong>name</strong> (string) name of room class</li>\n<li><strong>quantity</strong> (int) quantity of bed available</li>\n</ul>\n</li>\n<li><strong>room_code</strong> (string) room code</li>\n<li><strong>room_size</strong> (int) room size</li>\n<li><strong>room_unit</strong> (string) room unit</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["api-hotel","v1","hotels",":hotel_id","accommodations",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"","key":"hotel_id"},{"type":"string","value":"","key":"id"}]}},"response":[{"id":"e2aca9e4-21e6-4e57-a875-60ffc3264c80","name":"200 OK - successful get Accommodation Detail","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"string\",\n\t\"description\": \"string(default=unset)\",\n\t\"booking_url\": \"string(url, default=unset)\",\n\t\"details\": \"string(default=unset)\",\n\t\"room_classes\": \"array(objectid, default=unset)\",\n\t\"room_size\": \"integer(default=-1)\",\n\t\"room_unit\": \"string(default=unset)\",\n\t\"image\": \"string(objectid, default=unset)\"\n}"},"url":{"raw":"{{endpoint}}/api-hotel/v1/hotels/:hotel_id/accommodations/:id","host":["{{endpoint}}"],"path":["api-hotel","v1","hotels",":hotel_id","accommodations",":id"],"variable":[{"key":"hotel_id","value":"b5df1ea4-253a-41b0-af4d-8e5bdbbbdd77"},{"key":"id","value":"6371c01af9565b36f42a2c7b","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2086"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImU4MjZhZDUxNDMzNjNmNGNlZDdlMDM0MjU5MDhkNGFiOGMzYmQ1Mzki.Y3HGtg.7bhM4Pd0MYvOuGxfsSRpH7YZ1eU"},{"key":"Set-Cookie","value":"session=2d0e11d4-ce43-4cd8-ac8f-71d1b303032d.CJz7b5z1NItdUqctj2ocD6NVtQg; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Mon, 14 Nov 2022 04:40:22 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"amenities\": [\n            {\n                \"id\": \"5e4b7613d363be0a3ab76a2c\",\n                \"name\": \"Bath Robe\"\n            },\n            {\n                \"id\": \"5e4b7613d363be0a3ab76a2e\",\n                \"name\": \"Coffee Maker\"\n            },\n            {\n                \"id\": \"5e4b7613d363be0a3ab76a30\",\n                \"name\": \"Complimentary Breakfast\"\n            },\n            {\n                \"id\": \"5e4b7613d363be0a3ab76a32\",\n                \"name\": \"Complimentary Toiletries\"\n            }\n        ],\n        \"description\": \"<p>short description</p>\",\n        \"details\": \"<p>full description</p>\",\n        \"id\": \"6371c01af9565b36f42a2c7b\",\n        \"image_gallery\": [\n            {\n                \"created_at\": \"2022-11-14T04:10:50.696000\",\n                \"file_type\": \"img\",\n                \"id\": \"6371bfcaf9565b36f42a2c77\",\n                \"name\": \"14_tokyo-prince-hotel-rooms-4-8FSuperiorTwinRoom-noon-.jpg\",\n                \"size\": 161812,\n                \"url\": \"https://cdn.stg.idemevents.com/guests/OWNAXE2W-14_tokyo-prince-hotel-rooms-4-8FSuperiorTwinRoom-noon-.jpg\",\n                \"user_type\": 0\n            }\n        ],\n        \"image_url\": \"https://cdn.stg.idemevents.com/guests/OWNAXE2W-14_tokyo-prince-hotel-rooms-4-8FSuperiorTwinRoom-noon-.jpg\",\n        \"is_pms\": false,\n        \"max_guests\": 6,\n        \"name\": \"Superior Twin Room\",\n        \"property_guid\": \"b5df1ea4-253a-41b0-af4d-8e5bdbbbdd77\",\n        \"room_classes\": [\n            {\n                \"id\": \"5c750a805045ad2a6f339792\",\n                \"name\": null,\n                \"quantity\": 3\n            },\n            {\n                \"id\": \"5c750a815045ad2a6f339799\",\n                \"name\": null,\n                \"quantity\": 2\n            },\n            {\n                \"id\": \"6371c01af9565b36f42a2c7a\",\n                \"name\": \"kid bed\",\n                \"quantity\": 4\n            }\n        ],\n        \"room_code\": \"RC_2610\",\n        \"room_size\": -1,\n        \"room_unit\": \"sqft\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"564f9917-ee26-4b4a-b55f-c21df306aa53"}],"id":"febe2349-260e-4d3c-81bc-ec6e708709c6","_postman_id":"febe2349-260e-4d3c-81bc-ec6e708709c6","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Legacy","item":[{"name":"Accommodation List","id":"6cd35fc8-12ef-4224-b562-5942b34073b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{endpoint}}/api-hotel/v1/hotels/:id/accommodations?limit={{limit}}&page={{page}}","description":"<p>Allow get list of accommodation</p>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<p>None</p>\n<h2 id=\"return\">Return:</h2>\n<ul>\n<li><strong>code</strong> (string) - The response code</li>\n<li><strong>status</strong> (string) - The response status</li>\n<li><strong>data</strong> (object) - The meta data object.<ul>\n<li><strong>count</strong> (int) - The total item of results</li>\n<li><strong>filter</strong> (object)<ul>\n<li><strong>search</strong> (string) - The search keywords</li>\n<li><strong>limit</strong> (int) - Number of results returned each time</li>\n<li><strong>page</strong> (int) - pagination number</li>\n<li><strong>order</strong> (string) - order by</li>\n<li><strong>sort</strong> (string) - sort by</li>\n</ul>\n</li>\n<li><strong>results</strong> (list)<ul>\n<li><strong>amenities</strong> (list) - The list of amenities<ul>\n<li><strong>id</strong> (guid) - ID of amenities</li>\n<li><strong>name</strong> (string) - name of amenities</li>\n</ul>\n</li>\n<li><strong>description</strong> (string) - Short description of accommodation</li>\n<li><strong>details</strong> (string) - Full description of accommodation</li>\n<li><strong>id</strong> (guid) - ID of accommodation</li>\n<li><strong>image_gallery</strong> (list) - List room images<ul>\n<li><strong>created_at</strong> (dateTime) DateTime image created</li>\n<li><strong>file_type</strong> (string) type of image</li>\n<li><strong>id</strong> (guid) ID of image</li>\n<li><strong>name</strong> (string) Name of image</li>\n<li><strong>size</strong> (int) size of image</li>\n<li><strong>url</strong> (string) image URL</li>\n<li><strong>user_type</strong> (int) type of use uploaded image</li>\n</ul>\n</li>\n<li><strong>image_url</strong> (string) - URL of the first image</li>\n<li><strong>is_pms</strong> (bool)</li>\n<li><strong>max_guests</strong> (int) number of max guest</li>\n<li><strong>name</strong> (string) name of accommodation</li>\n<li><strong>property_guid</strong> (guild)</li>\n<li><strong>room_classes</strong> (list) - list of room classes<ul>\n<li><strong>id</strong> (guid) id of room class</li>\n<li><strong>name</strong> (string) name of room class</li>\n</ul>\n</li>\n<li><strong>room_code</strong> (string) room code</li>\n<li><strong>room_size</strong> (int) room size</li>\n<li><strong>room_unit</strong> (string) room unit</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["api-hotel","v1","hotels",":id","accommodations"],"host":["{{endpoint}}"],"query":[{"disabled":true,"description":{"content":"<p>(string, optional) - The search keywords</p>\n","type":"text/plain"},"key":"search","value":"{{search}}"},{"description":{"content":"<p>(int, optional) - Number of results returned each time</p>\n","type":"text/plain"},"key":"limit","value":"{{limit}}"},{"description":{"content":"<p>(int, optional) - pagination number</p>\n","type":"text/plain"},"key":"page","value":"{{page}}"},{"disabled":true,"description":{"content":"<p>(string, optional) - order by</p>\n","type":"text/plain"},"key":"order","value":"{{order}}"},{"disabled":true,"description":{"content":"<p>(string, optional) - sort by</p>\n","type":"text/plain"},"key":"sort","value":"{{sort}}"}],"variable":[{"description":{"content":"<p>(guid, required) - The hotel ID</p>\n","type":"text/plain"},"type":"string","value":"b5df1ea4-253a-41b0-af4d-8e5bdbbbdd77","key":"id"}]}},"response":[{"id":"b4840252-417f-4baf-8a1e-a61e3788e3ec","name":"200 OK - Accommodation List","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api-hotel/v1/hotels/:id/accommodations?limit={{limit}}&page={{page}}","host":["{{endpoint}}"],"path":["api-hotel","v1","hotels",":id","accommodations"],"query":[{"key":"search","value":"{{search}}","disabled":true},{"key":"limit","value":"{{limit}}"},{"key":"page","value":"{{page}}"},{"key":"order","value":"{{order}}","disabled":true},{"key":"sort","value":"{{sort}}","disabled":true}],"variable":[{"key":"id","value":"5ccce7d85045ad56c97c1412","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 14 Nov 2022 06:53:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"35382"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=R4MGZneIv/D82G/tHoAuoqw5qS62yrF22I/z5ursYTHurlTcDnUdDivTWSWT0HtmqKrI8yAvN7bXBr+yaNFrEylTPiUnwUttcK90VD3/brEhQQSRyG531GQBfcPs; Expires=Mon, 21 Nov 2022 06:53:07 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=R4MGZneIv/D82G/tHoAuoqw5qS62yrF22I/z5ursYTHurlTcDnUdDivTWSWT0HtmqKrI8yAvN7bXBr+yaNFrEylTPiUnwUttcK90VD3/brEhQQSRyG531GQBfcPs; Expires=Mon, 21 Nov 2022 06:53:07 GMT; Path=/; SameSite=None; Secure"},{"key":"Set-Cookie","value":"session=4f894651-ab68-42ee-a244-1de21bf3bc09.-_WxO1KnJRyjIyu6q7A4etb-ows; HttpOnly; Path=/"},{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjkyMTRmMTAxNTU3YzI0MzM1OWVkZDAyN2Y0YjkwZjEyYTAxOGE4ZjAi.Y3Hl1w.i5cjP4IuKomWa7ZJg0xRyN-rseM"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 4,\n        \"filter\": {\n            \"sort\": \"created_at\",\n            \"search\": null,\n            \"limit\": 10,\n            \"page\": 1,\n            \"order\": \"desc\"\n        },\n        \"results\": [\n            {\n                \"room_code\": \"FPR\",\n                \"room_classes\": [\n                    {\n                        \"id\": \"5c750a805045ad2a6f339792\",\n                        \"name\": \"King Bed\"\n                    },\n                    {\n                        \"id\": \"5c750a815045ad2a6f339798\",\n                        \"name\": \"Twin Bed\"\n                    }\n                ],\n                \"image_gallery\": [\n                    {\n                        \"name\": \"Fairmont Premier Room King.jpg\",\n                        \"url\": \"https://cdn.stg.idemevents.com/hotels/5ccce7d85045ad56c97c1412/S3GNC46U-Fairmont_Premier_Room_King.jpg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uc3RnLmlkZW1ldmVudHMuY29tL2hvdGVscy81Y2NjZTdkODUwNDVhZDU2Yzk3YzE0MTIvUzNHTkM0NlUtRmFpcm1vbnRfUHJlbWllcl9Sb29tX0tpbmcuanBnIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjY4NDEyMzg5fSwiU3RyaW5nTGlrZSI6eyJTMzpFeGlzdGluZ09iamVjdFRhZy9ibG9jayI6W119fX1dfQ__&Signature=bUaAR5gmuZQ0EowD2pes7VxSXSkD9kP-O493GGvAAvQqOh2e8qp4566IxtRKZog3C2TGXrdIq1enWBUpTpw9hppmidoGpmxhndtRGZaY9upr19gcWDkROU-obx3H0QxQHpFTqFiveH4bx9P2e-Sucu3KGuEA-lKF3sfKRCy5OiVbJvfRXp4HKgD4SaD0FTpgszrMqFBrfgdQ4LBGSESLwRor286R7vIEjGQnSCmuOlTV0Uba76hYc~7Is6OvbAyMTpektXblMLwqkZchILcfeUVYNTeQOLx13Eaba-TLRf9OChXx2krpmzYAof5Efac1~e9pGpROnCe5ePzwuMEwLg__&Key-Pair-Id=APKAIDWSSRTWTQV55OFA\",\n                        \"created_at\": \"2019-05-04T01:37:11.347000\",\n                        \"user_type\": 1,\n                        \"file_type\": \"img\",\n                        \"id\": \"5cccecc75045ad56c97c1420\",\n                        \"size\": 68983\n                    }\n                ],\n                \"room_size\": 45,\n                \"amenities\": [],\n                \"hotel_id\": \"5ccce7d85045ad56c97c1412\",\n                \"name\": \"Fairmont Premier\",\n                \"is_pms\": false,\n                \"image_url\": \"https://cdn.stg.idemevents.com/hotels/5ccce7d85045ad56c97c1412/S3GNC46U-Fairmont_Premier_Room_King.jpg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uc3RnLmlkZW1ldmVudHMuY29tL2hvdGVscy81Y2NjZTdkODUwNDVhZDU2Yzk3YzE0MTIvUzNHTkM0NlUtRmFpcm1vbnRfUHJlbWllcl9Sb29tX0tpbmcuanBnIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjY4NDEyMzg5fSwiU3RyaW5nTGlrZSI6eyJTMzpFeGlzdGluZ09iamVjdFRhZy9ibG9jayI6W119fX1dfQ__&Signature=bUaAR5gmuZQ0EowD2pes7VxSXSkD9kP-O493GGvAAvQqOh2e8qp4566IxtRKZog3C2TGXrdIq1enWBUpTpw9hppmidoGpmxhndtRGZaY9upr19gcWDkROU-obx3H0QxQHpFTqFiveH4bx9P2e-Sucu3KGuEA-lKF3sfKRCy5OiVbJvfRXp4HKgD4SaD0FTpgszrMqFBrfgdQ4LBGSESLwRor286R7vIEjGQnSCmuOlTV0Uba76hYc~7Is6OvbAyMTpektXblMLwqkZchILcfeUVYNTeQOLx13Eaba-TLRf9OChXx2krpmzYAof5Efac1~e9pGpROnCe5ePzwuMEwLg__&Key-Pair-Id=APKAIDWSSRTWTQV55OFA\",\n                \"details\": \"<p><strong>Common Amenities&nbsp;</strong><br>\\nAll hotel rooms and suites at the Fairmont Singapore offer the following:&nbsp;</p>\\n\\n<ul>\\n\\t<li>Cable Television</li>\\n\\t<li>In-room Entertainment</li>\\n\\t<li>Radio and Alarm Clock</li>\\n\\t<li>Touch Button IDD Telephone (2 lines)</li>\\n\\t<li>Refreshment Centre</li>\\n\\t<li>Complimentary Coffee / Tea Facility&sbquo; with Kettle Jug</li>\\n\\t<li>Writing Table</li>\\n\\t<li>Private Balcony</li>\\n\\t<li>Personal Safe</li>\\n\\t<li>Hairdryer&nbsp;</li>\\n\\t<li>Bathrobe and Slippers</li>\\n\\t<li>Emergency Torchlight</li>\\n\\t<li>Iron and Ironing Board</li>\\n\\t<li>Nespresso Coffee Machine (except Fairmont room)</li>\\n\\t<li>Complimentary Wifi</li>\\n</ul>\\n\\n<p><strong>Amenities on Request&nbsp;</strong><br>\\nThe following amenities may be available in selected rooms.Please inquire at time of reservation.&nbsp;&nbsp;</p>\\n\\n<ul>\\n\\t<li>Connecting rooms (Limited&nbsp;number of Deluxe Rooms and Suites.&nbsp; Based on availability)</li>\\n\\t<li>Roll-away bed - $80 per night&nbsp;&nbsp;&nbsp;</li>\\n\\t<li>Crib - no charge</li>\\n</ul>\",\n                \"room_unit\": \"sqm\",\n                \"max_guests\": 3,\n                \"id\": \"5cccecc75045ad56c97c1421\",\n                \"description\": \"<p>Drawing inspiration from Singapore&rsquo;s local heritage, the Fairmont Premier Room showcases cultural accents of the iconic Straits Chinese, or also known as Peranakan, in a contemporary and luxurious setting. Exuding the soothing comforts of home, the well-appointed room offers breathtaking views of the city from a private balcony and features a newly-designed lighting system which caters for enhanced ambient lighting, fully equipped modern leather-clad work desk, dual-line phones, innovative rain shower installation as well as signature room amenities including Le Labo products and a NESPRESSO coffee machine.</p>\\n\\n<p>Location: North Tower with City or Pool views</p>\"\n            },\n            {\n                \"room_code\": \"RS18UDUD\",\n                \"room_classes\": [\n                    {\n                        \"id\": \"5c750a805045ad2a6f339792\",\n                        \"name\": \"King Bed\"\n                    },\n                    {\n                        \"id\": \"5c750a815045ad2a6f339793\",\n                        \"name\": \"King Bed + Twin Bed\"\n                    },\n                    {\n                        \"id\": \"5c750a815045ad2a6f339794\",\n                        \"name\": \"Double Queen Bed\"\n                    },\n                    {\n                        \"id\": \"5c750a815045ad2a6f339795\",\n                        \"name\": \"Queen Bed\"\n                    },\n                    {\n                        \"id\": \"5c750a815045ad2a6f339796\",\n                        \"name\": \"Queen Bed + Twin Bed\"\n                    },\n                    {\n                        \"id\": \"5c750a815045ad2a6f339797\",\n                        \"name\": \"Queen Bed + Single\"\n                    },\n                    {\n                        \"id\": \"5c750a815045ad2a6f339798\",\n                        \"name\": \"Twin Bed\"\n                    },\n                    {\n                        \"id\": \"5c750a815045ad2a6f339799\",\n                        \"name\": \"Single Bed\"\n                    },\n                    {\n                        \"id\": \"61989e3cbab09b7b27e3b622\",\n                        \"name\": \"Room Class S18\"\n                    }\n                ],\n                \"image_gallery\": [\n                    {\n                        \"name\": \"hotel-nikko-saigon.jpeg\",\n                        \"url\": \"https://cdn.stg.idemevents.com/guests/8UCFD3T8-hotel-nikko-saigon.jpeg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uc3RnLmlkZW1ldmVudHMuY29tL2d1ZXN0cy84VUNGRDNUOC1ob3RlbC1uaWtrby1zYWlnb24uanBlZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY2ODQxMjM5MH0sIlN0cmluZ0xpa2UiOnsiUzM6RXhpc3RpbmdPYmplY3RUYWcvYmxvY2siOltdfX19XX0_&Signature=gSg-Q~TTkKfpgIOUk0jT7pY9YoUSLWfs2onmp2JSkCyYHOqvOridgUhqIi~m3cPwFKV9IQhjsaIWDmhqB0AkKy8D55cDoUbKvgxkRmD7Mf9BfXhbLl4Mgzf4DwNXrJ8yd4J3tVzqpMCmsi4XxE7zBtYl0l3oQmNQ-hqnKo5upYqftlJ1AXWLvpzWJVmLXva~gJkuyyaFf~uFWJ0qpRDpmQtAvrjzF3vReGtRWyanu7yFQwRXUG7cxss43m7mTGYv9NT16kMoPaPcuphK2-UtE-bIiqlgn1lY-od5naQ9N43hY34xQhrqZwWVnPDGUPCKi9rEE90Qdyd31VMxLnyeLA__&Key-Pair-Id=APKAIDWSSRTWTQV55OFA\",\n                        \"created_at\": \"2021-11-20T04:56:26.225000\",\n                        \"user_type\": 1,\n                        \"file_type\": \"img\",\n                        \"id\": \"61987ffabab09b7b27e3b61f\",\n                        \"size\": 27147\n                    }\n                ],\n                \"room_size\": -1,\n                \"amenities\": [\n                    {\n                        \"id\": \"5e4b7613d363be0a3ab76a2b\",\n                        \"name\": \"Alarm Clock\"\n                    },\n                    {\n                        \"id\": \"61989e3cbab09b7b27e3b623\",\n                        \"name\": \"Amenity S18\"\n                    }\n                ],\n                \"hotel_id\": \"5ccce7d85045ad56c97c1412\",\n                \"name\": \"Room Sprint 18 Update\",\n                \"is_pms\": false,\n                \"image_url\": \"https://cdn.stg.idemevents.com/guests/8UCFD3T8-hotel-nikko-saigon.jpeg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uc3RnLmlkZW1ldmVudHMuY29tL2d1ZXN0cy84VUNGRDNUOC1ob3RlbC1uaWtrby1zYWlnb24uanBlZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY2ODQxMjM5MH0sIlN0cmluZ0xpa2UiOnsiUzM6RXhpc3RpbmdPYmplY3RUYWcvYmxvY2siOltdfX19XX0_&Signature=gSg-Q~TTkKfpgIOUk0jT7pY9YoUSLWfs2onmp2JSkCyYHOqvOridgUhqIi~m3cPwFKV9IQhjsaIWDmhqB0AkKy8D55cDoUbKvgxkRmD7Mf9BfXhbLl4Mgzf4DwNXrJ8yd4J3tVzqpMCmsi4XxE7zBtYl0l3oQmNQ-hqnKo5upYqftlJ1AXWLvpzWJVmLXva~gJkuyyaFf~uFWJ0qpRDpmQtAvrjzF3vReGtRWyanu7yFQwRXUG7cxss43m7mTGYv9NT16kMoPaPcuphK2-UtE-bIiqlgn1lY-od5naQ9N43hY34xQhrqZwWVnPDGUPCKi9rEE90Qdyd31VMxLnyeLA__&Key-Pair-Id=APKAIDWSSRTWTQV55OFA\",\n                \"details\": \"<h2>What is Lorem Ipsum?</h2>\\n\\n<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\\n<h2>Why do we use it?</h2>\\n\\n<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using &#39;Content here, content here&#39;, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for &#39;lorem ipsum&#39; will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>\\n\\n<p>&nbsp;</p>\\n\\n<h2>Where does it come from?</h2>\\n\\n<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of &quot;de Finibus Bonorum et Malorum&quot; (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, &quot;Lorem ipsum dolor sit amet..&quot;, comes from a line in section 1.10.32.</p>\\n\\n<p>The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from &quot;de Finibus Bonorum et Malorum&quot; by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</p>\\n\\n<h2>Where can I get some?</h2>\\n\\n<p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don&#39;t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn&#39;t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>\\n\\n<h2>What is Lorem Ipsum?</h2>\\n\\n<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\\n<h2>Why do we use it?</h2>\\n\\n<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using &#39;Content here, content here&#39;, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for &#39;lorem ipsum&#39; will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>\\n\\n<p>&nbsp;</p>\\n\\n<h2>Where does it come from?</h2>\\n\\n<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of &quot;de Finibus Bonorum et Malorum&quot; (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, &quot;Lorem ipsum dolor sit amet..&quot;, comes from a line in section 1.10.32.</p>\\n\\n<p>The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from &quot;de Finibus Bonorum et Malorum&quot; by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</p>\\n\\n<h2>Where can I get some?</h2>\\n\\n<p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don&#39;t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn&#39;t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>\\n\\n<h2>What is Lorem Ipsum?</h2>\\n\\n<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\\n<h2>Why do we use it?</h2>\\n\\n<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using &#39;Content here, content here&#39;, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for &#39;lorem ipsum&#39; will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>\\n\\n<p>&nbsp;</p>\\n\\n<h2>Where does it come from?</h2>\\n\\n<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of &quot;de Finibus Bonorum et Malorum&quot; (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, &quot;Lorem ipsum dolor sit amet..&quot;, comes from a line in section 1.10.32.</p>\\n\\n<p>The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from &quot;de Finibus Bonorum et Malorum&quot; by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</p>\\n\\n<h2>Where can I get some?</h2>\\n\\n<p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don&#39;t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn&#39;t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>\\n\\n<h2>What is Lorem Ipsum?</h2>\\n\\n<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\\n<h2>Why do we use it?</h2>\\n\\n<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using &#39;Content here, content here&#39;, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for &#39;lorem ipsum&#39; will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>\\n\\n<p>&nbsp;</p>\\n\\n<h2>Where does it come from?</h2>\\n\\n<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of &quot;de Finibus Bonorum et Malorum&quot; (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, &quot;Lorem ipsum dolor sit amet..&quot;, comes from a line in section 1.10.32.</p>\\n\\n<p>The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from &quot;de Finibus Bonorum et Malorum&quot; by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</p>\\n\\n<h2>Where can I get some?</h2>\\n\\n<p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don&#39;t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn&#39;t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>\\n\\n<h2>What is Lorem Ipsum?</h2>\\n\\n<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\\n<h2>Why do we use it?</h2>\\n\\n<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using &#39;Content here, content here&#39;, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for &#39;lorem ipsum&#39; will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>\\n\\n<p>&nbsp;</p>\\n\\n<h2>Where does it come from?</h2>\\n\\n<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of &quot;de Finibus Bonorum et Malorum&quot; (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, &quot;Lorem ipsum dolor sit amet..&quot;, comes from a line in section 1.10.32.</p>\\n\\n<p>The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from &quot;de Finibus Bonorum et Malorum&quot; by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</p>\\n\\n<h2>Where can I get some?</h2>\\n\\n<p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don&#39;t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn&#39;t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>\\n\\n<h2>What is Lorem Ipsum?</h2>\\n\\n<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\\n<h2>Why do we use it?</h2>\\n\\n<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using &#39;Content here, content here&#39;, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for &#39;lorem ipsum&#39; will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>\\n\\n<p>&nbsp;</p>\\n\\n<h2>Where does it come from?</h2>\\n\\n<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of &quot;de Finibus Bonorum et Malorum&quot; (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, &quot;Lorem ipsum dolor sit amet..&quot;, comes from a line in section 1.10.32.</p>\\n\\n<p>The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from &quot;de Finibus Bonorum et Malorum&quot; by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</p>\\n\\n<h2>Where can I get some?</h2>\\n\\n<p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don&#39;t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn&#39;t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>\",\n                \"room_unit\": \"sqm\",\n                \"max_guests\": 1,\n                \"id\": \"61989e3cbab09b7b27e3b624\",\n                \"description\": \"<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\"\n            },\n            {\n                \"room_code\": \"DLR\",\n                \"room_classes\": [\n                    {\n                        \"id\": \"5c750a805045ad2a6f339792\",\n                        \"name\": \"King Bed\"\n                    },\n                    {\n                        \"id\": \"5c750a815045ad2a6f339793\",\n                        \"name\": \"King Bed + Twin Bed\"\n                    },\n                    {\n                        \"id\": \"5c750a815045ad2a6f339798\",\n                        \"name\": \"Twin Bed\"\n                    }\n                ],\n                \"image_gallery\": [\n                    {\n                        \"name\": \"Fairmont Deluxe Room.jpg\",\n                        \"url\": \"https://cdn.stg.idemevents.com/hotels/5ccce7d85045ad56c97c1412/BWWUMUZ6-Fairmont_Deluxe_Room.jpg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uc3RnLmlkZW1ldmVudHMuY29tL2hvdGVscy81Y2NjZTdkODUwNDVhZDU2Yzk3YzE0MTIvQldXVU1VWjYtRmFpcm1vbnRfRGVsdXhlX1Jvb20uanBnIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjY4NDEyMzkwfSwiU3RyaW5nTGlrZSI6eyJTMzpFeGlzdGluZ09iamVjdFRhZy9ibG9jayI6W119fX1dfQ__&Signature=KhYR7Ab-ZJbgbp-6BO6p2g6EqZaq3JfQw-wCfnhIo5vx1MAqpjY11TcrrUDK55KbgXff3hybkrR~xv7Rb5RBayDfVWrvBZHAmygUbfryrVXiiVt6X7osCt2ox~FlQWeZTwLE9R-6JXe5voRZFgQlXfa3wbcJNfCYdRu04QvZAjm7QJIZV7BGQncnlMMjKIAsmZNk0gUZVKpcv1eNQwMS~GyEqhbor2vUOf1aRDFg5vpA-WzLxvF-FIOw-2AIk5PvHqFjzCXbXEJ1skECvCQnnMpyRtRAZ-viX7TZ8fhOAYxAz3qwzAka5PIjCWAJoMUIIgg4K44P~5fVA~FfAjc8VQ__&Key-Pair-Id=APKAIDWSSRTWTQV55OFA\",\n                        \"created_at\": \"2019-05-04T01:35:55.444000\",\n                        \"user_type\": 1,\n                        \"file_type\": \"img\",\n                        \"id\": \"5cccec7b5045ad56c97c141e\",\n                        \"size\": 71705\n                    }\n                ],\n                \"room_size\": 0,\n                \"amenities\": [\n                    {\n                        \"id\": \"5e4b7613d363be0a3ab76a2a\",\n                        \"name\": \"Air Conditioned\"\n                    },\n                    {\n                        \"id\": \"5e4b7613d363be0a3ab76a2b\",\n                        \"name\": \"Alarm Clock\"\n                    },\n                    {\n                        \"id\": \"5e4b7613d363be0a3ab76a2c\",\n                        \"name\": \"Bath Robe\"\n                    },\n                    {\n                        \"id\": \"5e4b7613d363be0a3ab76a2d\",\n                        \"name\": \"Cable TV\"\n                    },\n                    {\n                        \"id\": \"605c0f8bd00bcb2ab961e755\",\n                        \"name\": \"sbc\"\n                    }\n                ],\n                \"hotel_id\": \"5ccce7d85045ad56c97c1412\",\n                \"name\": \"Deluxe Room\",\n                \"is_pms\": false,\n                \"image_url\": \"https://cdn.stg.idemevents.com/hotels/5ccce7d85045ad56c97c1412/BWWUMUZ6-Fairmont_Deluxe_Room.jpg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uc3RnLmlkZW1ldmVudHMuY29tL2hvdGVscy81Y2NjZTdkODUwNDVhZDU2Yzk3YzE0MTIvQldXVU1VWjYtRmFpcm1vbnRfRGVsdXhlX1Jvb20uanBnIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjY4NDEyMzkwfSwiU3RyaW5nTGlrZSI6eyJTMzpFeGlzdGluZ09iamVjdFRhZy9ibG9jayI6W119fX1dfQ__&Signature=KhYR7Ab-ZJbgbp-6BO6p2g6EqZaq3JfQw-wCfnhIo5vx1MAqpjY11TcrrUDK55KbgXff3hybkrR~xv7Rb5RBayDfVWrvBZHAmygUbfryrVXiiVt6X7osCt2ox~FlQWeZTwLE9R-6JXe5voRZFgQlXfa3wbcJNfCYdRu04QvZAjm7QJIZV7BGQncnlMMjKIAsmZNk0gUZVKpcv1eNQwMS~GyEqhbor2vUOf1aRDFg5vpA-WzLxvF-FIOw-2AIk5PvHqFjzCXbXEJ1skECvCQnnMpyRtRAZ-viX7TZ8fhOAYxAz3qwzAka5PIjCWAJoMUIIgg4K44P~5fVA~FfAjc8VQ__&Key-Pair-Id=APKAIDWSSRTWTQV55OFA\",\n                \"details\": \"<p><strong>Common Amenities&nbsp;</strong><br>\\nAll hotel rooms and suites at the Fairmont Singapore offer the following:&nbsp;</p>\\n\\n<ul>\\n\\t<li>Cable Television</li>\\n\\t<li>In-room Entertainment</li>\\n\\t<li>Radio and Alarm Clock</li>\\n\\t<li>Touch Button IDD Telephone (2 lines)</li>\\n\\t<li>Refreshment Centre</li>\\n\\t<li>Complimentary Coffee / Tea Facility&sbquo; with Kettle Jug</li>\\n\\t<li>Writing Table</li>\\n\\t<li>Private Balcony</li>\\n\\t<li>Personal Safe</li>\\n\\t<li>Hairdryer&nbsp;</li>\\n\\t<li>Bathrobe and Slippers</li>\\n\\t<li>Emergency Torchlight</li>\\n\\t<li>Iron and Ironing Board</li>\\n\\t<li>Nespresso Coffee Machine (except Fairmont room)</li>\\n\\t<li>Complimentary Wifi</li>\\n</ul>\\n\\n<p><strong>Amenities on Request&nbsp;</strong><br>\\nThe following amenities may be available in selected rooms.Please inquire at time of reservation.&nbsp;&nbsp;</p>\\n\\n<ul>\\n\\t<li>Connecting rooms (Limited&nbsp;number of Deluxe Rooms and Suites.&nbsp; Based on availability)</li>\\n\\t<li>Roll-away bed - $80 per night&nbsp;&nbsp;&nbsp;</li>\\n\\t<li>Crib - no charge</li>\\n</ul>\",\n                \"room_unit\": \"sqm\",\n                \"max_guests\": 3,\n                \"id\": \"5cccec7b5045ad56c97c141f\",\n                \"description\": \"<p>Our spacious Deluxe Rooms exude sheer sophistication and elegance,designed to effortlessly luxuriate the senses. Offering a private balcony, BOSE entertainment system, lounge chair, fully equipped working desk, dual-line phones and bathrooms designed to pamper, including a separate bath and a tropical rain shower, Deluxe Rooms are premium sanctuaries of calm and modern comfort.</p>\\n\\n<p>Please note, the photo above is representative of the room category. Actual rooms may vary from what is shown.</p>\\n\\n<p>Location: South Tower with City or Pool views.</p>\"\n            },\n            {\n                \"room_code\": \"SDR\",\n                \"room_classes\": [\n                    {\n                        \"id\": \"5c750a805045ad2a6f339792\",\n                        \"name\": \"King Bed\"\n                    }\n                ],\n                \"image_gallery\": [\n                    {\n                        \"name\": \"hotel-nikko-saigon.jpeg\",\n                        \"url\": \"https://cdn.stg.idemevents.com/guests/ZY520493-hotel-nikko-saigon.jpeg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uc3RnLmlkZW1ldmVudHMuY29tL2d1ZXN0cy9aWTUyMDQ5My1ob3RlbC1uaWtrby1zYWlnb24uanBlZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY2ODQxMjM5MX0sIlN0cmluZ0xpa2UiOnsiUzM6RXhpc3RpbmdPYmplY3RUYWcvYmxvY2siOltdfX19XX0_&Signature=MUA3OEa1NzWCITIp488VcVmR7TEe3o3rM7UStWafWNZzawD7N6sid6VUTZOqPbRpeePDrOwgiWBSQ3q8H7SZLXROVLvVF4FAxnsw21l8HZ2n3USrlrafor29Y9j-P-2M7wvwuMzJu81p-fJZybFdSfTFr6ZL7fRl3BfgFZHkotEea6fyUreeNa-OSaMdW~OAz9uvxlw~rjE6~DASI6ppHFbDB9ipUY1cg68wtkMdqS2jRxL9otDJvqrIH~gDCBqTPorUm03EQ4qwb1z-Zgauz36n1l2l-gFcLFrv37IBxEHuvx3foTqRzbH1wml7FxMG2vq-KEHXgBZgpq7FNw3vaQ__&Key-Pair-Id=APKAIDWSSRTWTQV55OFA\",\n                        \"created_at\": \"2021-03-29T09:17:11.045000\",\n                        \"user_type\": 1,\n                        \"file_type\": \"img\",\n                        \"id\": \"60619b176fdabe33b2ac2f9e\",\n                        \"size\": 27147\n                    }\n                ],\n                \"room_size\": 500,\n                \"amenities\": [\n                    {\n                        \"id\": \"5e4b7613d363be0a3ab76a2b\",\n                        \"name\": \"Alarm Clock\"\n                    },\n                    {\n                        \"id\": \"5e4b7613d363be0a3ab76a3b\",\n                        \"name\": \"Nightly Turndown Service\"\n                    }\n                ],\n                \"hotel_id\": \"5ccce7d85045ad56c97c1412\",\n                \"name\": \"Standard\",\n                \"is_pms\": false,\n                \"image_url\": \"https://cdn.stg.idemevents.com/guests/ZY520493-hotel-nikko-saigon.jpeg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uc3RnLmlkZW1ldmVudHMuY29tL2d1ZXN0cy9aWTUyMDQ5My1ob3RlbC1uaWtrby1zYWlnb24uanBlZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY2ODQxMjM5MX0sIlN0cmluZ0xpa2UiOnsiUzM6RXhpc3RpbmdPYmplY3RUYWcvYmxvY2siOltdfX19XX0_&Signature=MUA3OEa1NzWCITIp488VcVmR7TEe3o3rM7UStWafWNZzawD7N6sid6VUTZOqPbRpeePDrOwgiWBSQ3q8H7SZLXROVLvVF4FAxnsw21l8HZ2n3USrlrafor29Y9j-P-2M7wvwuMzJu81p-fJZybFdSfTFr6ZL7fRl3BfgFZHkotEea6fyUreeNa-OSaMdW~OAz9uvxlw~rjE6~DASI6ppHFbDB9ipUY1cg68wtkMdqS2jRxL9otDJvqrIH~gDCBqTPorUm03EQ4qwb1z-Zgauz36n1l2l-gFcLFrv37IBxEHuvx3foTqRzbH1wml7FxMG2vq-KEHXgBZgpq7FNw3vaQ__&Key-Pair-Id=APKAIDWSSRTWTQV55OFA\",\n                \"details\": \"<p>&quot;But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?&quot;</p>\",\n                \"room_unit\": \"sqm\",\n                \"max_guests\": 5,\n                \"id\": \"60619ad76fdabe33b2ac2f95\",\n                \"description\": \"<p>&quot;But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?&quot;</p>\"\n            }\n        ]\n    }\n}"}],"_postman_id":"6cd35fc8-12ef-4224-b562-5942b34073b9"},{"name":"Edit Accommodation","id":"f1749015-a714-4341-83fe-eef0c95a30f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"string\",\n\t\"description\": \"string(default=unset)\",\n\t\"booking_url\": \"string(url, default=unset)\",\n\t\"details\": \"string(default=unset)\",\n\t\"room_classes\": \"array(objectid, default=unset)\",\n\t\"room_size\": \"integer(default=-1)\",\n\t\"room_unit\": \"string(default=unset)\",\n\t\"image\": \"string(objectid, default=unset)\",\n\t\"max_guests\": \"integer\",\n    \"deleted_room_classes\": [],\n    \"amenities\": [],\n    \"new_amenities\": [],\n    \"deleted_amenities\": []\n}"},"url":"{{endpoint}}/api-hotel/v1/hotels/:hotel_id/accommodations/:id","description":"<p>Allow to update exist accommodation of hotel</p>\n<h2 id=\"url-variable\">URL Variable:</h2>\n<ul>\n<li><strong>id</strong> (guid, required) - The accommodation ID</li>\n<li>hotel_id (guid, required) - the hotel ID</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<ul>\n<li><strong>name</strong> (string) - The accommodation name</li>\n<li><strong>room_code</strong> (string) - the accommodation code</li>\n<li><strong>room_size</strong> (string) - The room size</li>\n<li><strong>room_unit</strong> (string) the room unit</li>\n<li><strong>description</strong> (string) Short Description</li>\n<li><strong>details</strong> (string) Full description</li>\n<li><strong>image_gallery</strong> (list) list of accommodation image IDs</li>\n<li><strong>max_guests</strong> (int) max guests of accommodation</li>\n<li><strong>is_pms</strong> (bool)</li>\n<li><strong>deleted_amenities</strong> (list) list of delete amenity IDs</li>\n<li><strong>amenities</strong> (list) list of amenity IDs</li>\n<li><strong>new_amenities</strong> (list) list of new amenity IDs</li>\n<li><strong>room_classes</strong> (list) list of available room classes<ul>\n<li><strong>id</strong> (guild / null) id of exist room class or null for create a new room class</li>\n<li><strong>quantity</strong> (int) quantity of bed availability</li>\n<li><strong>name</strong> (string) name of room_classes</li>\n</ul>\n</li>\n</ul>\n<h2 id=\"return\">Return:</h2>\n<ul>\n<li><strong>code</strong> (string) - The response code</li>\n<li><strong>status</strong> (string) - The response status</li>\n<li><strong>data</strong> (object) - The meta data object.<ul>\n<li>id (guid) - ID of accommodation</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["api-hotel","v1","hotels",":hotel_id","accommodations",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"id":"1b27228c-b638-403a-aa95-e2f3cb53d579","type":"any","value":"","key":"hotel_id"},{"id":"7d703b4c-6c6b-45f3-85ac-8d38fa5fa13a","type":"string","value":"","key":"id"}]}},"response":[{"id":"7ea36b61-b2bf-4916-a833-785ea2ba7d38","name":"200 OK - successful Edit Accommodation","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Standard\",\n    \"room_code\": \"SDR\",\n    \"room_size\": \"500\",\n    \"room_unit\": \"sqm\",\n    \"description\": \"<p>&quot;But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?&quot;</p>\",\n    \"details\": \"<p>&quot;But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?&quot;</p>\",\n    \"image_gallery\": [\n        \"60619b176fdabe33b2ac2f9e\"\n    ],\n    \"max_guests\": 5,\n    \"deleted_room_classes\": [],\n    \"room_classes\": [\n        \"5c750a805045ad2a6f339792\",\n        \"5c750a815045ad2a6f339794\"\n    ],\n    \"new_room_classes\": [],\n    \"is_pms\": false,\n    \"deleted_amenities\": [],\n    \"amenities\": [\n        \"5e4b7613d363be0a3ab76a2b\",\n        \"5e4b7613d363be0a3ab76a3b\"\n    ],\n    \"new_amenities\": []\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api-hotel/v1/hotels/:hotel_id/accommodations/:id","host":["{{endpoint}}"],"path":["api-hotel","v1","hotels",":hotel_id","accommodations",":id"],"variable":[{"key":"hotel_id","value":"5ccce7d85045ad56c97c1412"},{"key":"id","value":"60619ad76fdabe33b2ac2f95","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 14 Nov 2022 07:02:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"80"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=IOZUJnQosK4dn3CfwTWAf3B4wkjXwNW66AFVi04ydSmM5Eq91XyOHIvrN/+IE/juLr5vBaZSITjVUHaryaNqBhISYaFHXdzR5gF2ihMyBdak+3uo4MUMEfJDoSd9; Expires=Mon, 21 Nov 2022 07:02:51 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=IOZUJnQosK4dn3CfwTWAf3B4wkjXwNW66AFVi04ydSmM5Eq91XyOHIvrN/+IE/juLr5vBaZSITjVUHaryaNqBhISYaFHXdzR5gF2ihMyBdak+3uo4MUMEfJDoSd9; Expires=Mon, 21 Nov 2022 07:02:51 GMT; Path=/; SameSite=None; Secure"},{"key":"Set-Cookie","value":"session=4f894651-ab68-42ee-a244-1de21bf3bc09.-_WxO1KnJRyjIyu6q7A4etb-ows; HttpOnly; Path=/"},{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjkyMTRmMTAxNTU3YzI0MzM1OWVkZDAyN2Y0YjkwZjEyYTAxOGE4ZjAi.Y3HoHQ.U13QUQdI168ZjGEVCn1GHtPkrWs"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"60619ad76fdabe33b2ac2f95\"\n    }\n}"}],"_postman_id":"f1749015-a714-4341-83fe-eef0c95a30f3"},{"name":"Add Accommodation Copy","id":"3f773f01-d926-4da1-86e5-6c4f8f99c479","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"string\",\n    \"description\": \"string(default=unset)\",\n    \"booking_url\": \"string(url, default=unset)\",\n    \"details\": \"string(default=unset)\",\n    \"room_classes\": [],\n    \"room_size\": \"integer(default=-1)\",\n    \"room_unit\": \"string(default=unset)\",\n    \"image\": \"string(objectid, default=unset)\",\n    \"max_guests\": \"integer\",\n    \"deleted_room_classes\": [],\n    \"amenities\": [],\n    \"new_amenities\": [],\n    \"deleted_amenities\": []\n}"},"url":"{{endpoint}}/api-hotel/v1/hotels/:id/accommodations","description":"<p>Allow to create new accommodation of hotel</p>\n<h2 id=\"url-variable\">URL Variable:</h2>\n<ul>\n<li><strong>id</strong> (guid, required) - The hotel ID</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<ul>\n<li><strong>name</strong> (string) - The accommodation name</li>\n<li><strong>room_code</strong> (string) - the accommodation code</li>\n<li><strong>room_size</strong> (string) - The room size</li>\n<li><strong>room_unit</strong> (string) the room unit</li>\n<li><strong>description</strong> (string) Short Description</li>\n<li><strong>details</strong> (string) Full description</li>\n<li><strong>image_gallery</strong> (list) list of accommodation image IDs</li>\n<li><strong>max_guests</strong> (int) max guests of accommodation</li>\n<li><strong>is_pms</strong> (bool)</li>\n<li><strong>deleted_amenities</strong> (list) list of delete amenity IDs</li>\n<li><strong>amenities</strong> (list) list of amenity IDs</li>\n<li><strong>new_amenities</strong> (list) list of new amenity IDs</li>\n<li><strong>room_classes</strong> (list) list of available room classes<ul>\n<li><strong>id</strong> (guild / null) id of exist room class or null for create a new room class</li>\n<li><strong>quantity</strong> (int) quantity of bed availability</li>\n<li><strong>name</strong> (string) name of room_classes</li>\n</ul>\n</li>\n</ul>\n<h2 id=\"return\">Return:</h2>\n<ul>\n<li><strong>code</strong> (string) - The response code</li>\n<li><strong>status</strong> (string) - The response status</li>\n<li><strong>data</strong> (object) - The meta data object.<ul>\n<li>id (guid) - ID of accommodation</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api-hotel","v1","hotels",":id","accommodations"],"host":["{{endpoint}}"],"query":[],"variable":[{"id":"f1e60d7b-9772-4778-b871-476aa1ce5d45","type":"string","value":"","key":"id"}]}},"response":[{"id":"c466f1da-b682-4085-9f1b-c8ab5b1d3304","name":"200 ok - Add Accommodation","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"deluxe king room\",\n    \"room_code\": \"RC_2211\",\n    \"room_size\": \"-1\",\n    \"room_unit\": \"sqm\",\n    \"description\": \"<p>short description</p>\\n\",\n    \"details\": \"<p>full description</p>\\n\",\n    \"image_gallery\": [\n        \"637c81db1d30abb2e8289925\"\n    ],\n    \"max_guests\": 3,\n    \"deleted_room_classes\": [],\n    \"room_classes\": [\n        \"5c750a815045ad2a6f339799\",\n        \"5c750a805045ad2a6f339792\",\n        \"5c750a815045ad2a6f339796\",\n        \"3892ccde-86c8-7885-e17c-fcc94a8ae4f1\"\n    ],\n    \"new_room_classes\": [\n        {\n            \"id\": \"3892ccde-86c8-7885-e17c-fcc94a8ae4f1\",\n            \"name\": \"Kid Bed\"\n        }\n    ],\n    \"is_pms\": false,\n    \"deleted_amenities\": [],\n    \"amenities\": [\n        \"5e4b7613d363be0a3ab76a30\",\n        \"5e4b7613d363be0a3ab76a31\",\n        \"5e4b7613d363be0a3ab76a32\"\n    ],\n    \"new_amenities\": []\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api-hotel/v1/hotels/:id/accommodations","host":["{{endpoint}}"],"path":["api-hotel","v1","hotels",":id","accommodations"],"variable":[{"key":"id","value":"b5df1ea4-253a-41b0-af4d-8e5bdbbbdd77","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImJjZDllMDkzNjQ2M2YyYTZkZDNjNGI1MGIyZmUwN2U1OTExNGRmY2Yi.Y3yE6g.X3m-sightCBi6nALiAypfzqfe_Q"},{"key":"Set-Cookie","value":"session=e9b94721-78af-47ae-840e-bb863784e391.P9W9B32uNcb1rmDKtXDnkUOALj0; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Tue, 22 Nov 2022 08:14:34 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"637c84ea7168522ed1edf9af\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"3f773f01-d926-4da1-86e5-6c4f8f99c479"},{"name":"Accommodation Detail","id":"08f87d93-4d1e-4bc5-ad6c-35477a8d2c0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"string\",\n\t\"description\": \"string(default=unset)\",\n\t\"booking_url\": \"string(url, default=unset)\",\n\t\"details\": \"string(default=unset)\",\n\t\"room_classes\": \"array(objectid, default=unset)\",\n\t\"room_size\": \"integer(default=-1)\",\n\t\"room_unit\": \"string(default=unset)\",\n\t\"image\": \"string(objectid, default=unset)\"\n}"},"url":"{{endpoint}}/api-hotel/v1/hotels/:hotel_id/accommodations/:id","description":"<p>Allow get accommodation detail</p>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<p>None</p>\n<h2 id=\"return\">Return:</h2>\n<ul>\n<li><strong>code</strong> (string) - The response code</li>\n<li><strong>status</strong> (string) - The response status</li>\n<li><strong>data</strong> (object) - The meta data object.<ul>\n<li><strong>room_code</strong> (string) room code</li>\n<li><strong>room_classes</strong> (list) - list of room classes<ul>\n<li><strong>id</strong> (guid) id of room class</li>\n<li><strong>name</strong> (string) name of room class</li>\n</ul>\n</li>\n<li><strong>image_gallery</strong> (list) - List room images<ul>\n<li><strong>created_at</strong> (dateTime) DateTime image created</li>\n<li><strong>file_type</strong> (string) type of image</li>\n<li><strong>id</strong> (guid) ID of image</li>\n<li><strong>name</strong> (string) Name of image</li>\n<li><strong>size</strong> (int) size of image</li>\n<li><strong>url</strong> (string) image URL</li>\n<li><strong>user_type</strong> (int) type of use uploaded image</li>\n</ul>\n</li>\n<li><strong>room_size</strong> (int) room size</li>\n<li><strong>amenities</strong> (list) - The list of amenities<ul>\n<li><strong>id</strong> (guid) - ID of amenities</li>\n<li><strong>name</strong> (string) - name of amenities</li>\n</ul>\n</li>\n<li><strong>hotel_id</strong> (guid) - ID of hotel</li>\n<li><strong>name</strong> (string) name of accommodation</li>\n<li><strong>is_pms</strong> (bool)</li>\n<li><strong>image_url</strong> (string) - URL of the first image</li>\n<li><strong>details</strong> (string) - Full description of accommodation</li>\n<li><strong>room_unit</strong> (string) room unit</li>\n<li><strong>max_guests</strong> (int) number of max guest</li>\n<li><strong>id</strong> (guid) - ID of accommodation</li>\n<li><strong>description</strong> (string) - Short description of accommodation</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["api-hotel","v1","hotels",":hotel_id","accommodations",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"description":{"content":"<p>(guid, required) - The hotel ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"hotel_id"},{"description":{"content":"<p>(string, required) - The accommodation ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"48cb9bc2-ad84-4809-bb88-49d9d04f1fc9","name":"200 OK - successful get accommodation detail","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"string\",\n\t\"description\": \"string(default=unset)\",\n\t\"booking_url\": \"string(url, default=unset)\",\n\t\"details\": \"string(default=unset)\",\n\t\"room_classes\": \"array(objectid, default=unset)\",\n\t\"room_size\": \"integer(default=-1)\",\n\t\"room_unit\": \"string(default=unset)\",\n\t\"image\": \"string(objectid, default=unset)\"\n}"},"url":{"raw":"{{endpoint}}/api-hotel/v1/hotels/:hotel_id/accommodations/:id","host":["{{endpoint}}"],"path":["api-hotel","v1","hotels",":hotel_id","accommodations",":id"],"variable":[{"key":"hotel_id","value":"5ccce7d85045ad56c97c1412"},{"key":"id","value":"5cccecc75045ad56c97c1421","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 15 Nov 2022 06:30:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"4034"},{"key":"Connection","value":"close"},{"key":"Set-Cookie","value":"AWSALB=ZIqdtxsGgCUiI0LyN8edRIS3QWPAmzGtIlrOyKBhfYfW7yY7nZeEnX7R8sUGru3BjmmThQz8EXCkG5SkSCTP1SreKrK3B5uWRoDu6MczRegDER/ZO/D0jQoF0Jl0; Expires=Tue, 22 Nov 2022 06:30:05 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=ZIqdtxsGgCUiI0LyN8edRIS3QWPAmzGtIlrOyKBhfYfW7yY7nZeEnX7R8sUGru3BjmmThQz8EXCkG5SkSCTP1SreKrK3B5uWRoDu6MczRegDER/ZO/D0jQoF0Jl0; Expires=Tue, 22 Nov 2022 06:30:05 GMT; Path=/; SameSite=None; Secure"},{"key":"Set-Cookie","value":"session=b3eaf18b-6e37-43d1-a47d-63980db3a42e.DXdWgeUT4sh9PiZjrNwht0rDyeA; HttpOnly; Path=/"},{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImQ2NWFiOWE2NTg5YjY5MGIwNTU2NTI2NzEyOGZjY2I0MDljYWUzYjAi.Y3Mx8A.0uBv7sKyTrne9tyeto3Za1N-rs8"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"code\": \"OK\",\n    \"data\": {\n        \"room_code\": \"FPR\",\n        \"room_classes\": [\n            {\n                \"id\": \"5c750a805045ad2a6f339792\",\n                \"name\": \"King Bed\"\n            },\n            {\n                \"id\": \"5c750a815045ad2a6f339798\",\n                \"name\": \"Twin Bed\"\n            }\n        ],\n        \"image_gallery\": [\n            {\n                \"name\": \"Fairmont Premier Room King.jpg\",\n                \"url\": \"https://cdn.stg.idemevents.com/hotels/5ccce7d85045ad56c97c1412/S3GNC46U-Fairmont_Premier_Room_King.jpg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uc3RnLmlkZW1ldmVudHMuY29tL2hvdGVscy81Y2NjZTdkODUwNDVhZDU2Yzk3YzE0MTIvUzNHTkM0NlUtRmFpcm1vbnRfUHJlbWllcl9Sb29tX0tpbmcuanBnIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjY4NDk3NDA3fSwiU3RyaW5nTGlrZSI6eyJTMzpFeGlzdGluZ09iamVjdFRhZy9ibG9jayI6W119fX1dfQ__&Signature=YZleGBOG1HBdK4kG~0MH0hk5NVWY25JQTmn8kjoHdyRszAWnuXk14mRXpPh9jBwyTk3i0d0rcef4AYJn2CXE25fNr9FTl-w3W5HaLh6Jf0jDNv6UUdM-ggTMKJ4VwKfLIaIy0gfPMhcvStAbHo9vPZ1X8SGYGbCq9eD8WsBi~60bs8TXjUolzVeag82gO5Yq39Qt-3MiUsTCxW8YAv5g9CgS0MFgPg8y5gLQqPb1lxdkCtbZHPlXsGmf~AkrYxhqzn81~glZLoXAgbmjZu8~pJ2jcOeKJgKiKuGHmAUEjBcx-CfzS68GmhPjrRpkx3u52EEz0kb1zuYBlYx36cY3JA__&Key-Pair-Id=APKAIDWSSRTWTQV55OFA\",\n                \"created_at\": \"2019-05-04T01:37:11.347000\",\n                \"user_type\": 1,\n                \"file_type\": \"img\",\n                \"id\": \"5cccecc75045ad56c97c1420\",\n                \"size\": 68983\n            }\n        ],\n        \"room_size\": 45,\n        \"amenities\": [],\n        \"hotel_id\": \"5ccce7d85045ad56c97c1412\",\n        \"name\": \"Fairmont Premier\",\n        \"is_pms\": false,\n        \"image_url\": \"https://cdn.stg.idemevents.com/hotels/5ccce7d85045ad56c97c1412/S3GNC46U-Fairmont_Premier_Room_King.jpg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uc3RnLmlkZW1ldmVudHMuY29tL2hvdGVscy81Y2NjZTdkODUwNDVhZDU2Yzk3YzE0MTIvUzNHTkM0NlUtRmFpcm1vbnRfUHJlbWllcl9Sb29tX0tpbmcuanBnIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjY4NDk3NDA4fSwiU3RyaW5nTGlrZSI6eyJTMzpFeGlzdGluZ09iamVjdFRhZy9ibG9jayI6W119fX1dfQ__&Signature=lNbG2OrvUzGe7yIGDb4rlmgtmEeTfulxKJAVxSV~dCMLCFezF2EsMFQ9NQtpLUKBN53z3tds10UFu2BgaRE9SX~7tj7UQKAGESb9lVHVZbl2aNEvFrB-t~3dfScJGdSCziIKpp~fzGQkCgpwXNVRMIWhOgJGy9kHX46rBhjo-KdV7o87S8SQh9r3LhQGy8kOW7Kl8b9OR6EnZpC1MGf-GH5hJtZRRbUbp6f015Qmmln2ovHIpqg6gw~DwIt1OSf2J-1Sa7KrVamh2SOtRKniu-eDFoPg1r2MpO7IyD70F9dQMzq-kO~S3z2CNCn3OPMzQk9tv3SmmgmRXYJ-Qd4xVA__&Key-Pair-Id=APKAIDWSSRTWTQV55OFA\",\n        \"details\": \"<p><strong>Common Amenities&nbsp;</strong><br>\\nAll hotel rooms and suites at the Fairmont Singapore offer the following:&nbsp;</p>\\n\\n<ul>\\n\\t<li>Cable Television</li>\\n\\t<li>In-room Entertainment</li>\\n\\t<li>Radio and Alarm Clock</li>\\n\\t<li>Touch Button IDD Telephone (2 lines)</li>\\n\\t<li>Refreshment Centre</li>\\n\\t<li>Complimentary Coffee / Tea Facility&sbquo; with Kettle Jug</li>\\n\\t<li>Writing Table</li>\\n\\t<li>Private Balcony</li>\\n\\t<li>Personal Safe</li>\\n\\t<li>Hairdryer&nbsp;</li>\\n\\t<li>Bathrobe and Slippers</li>\\n\\t<li>Emergency Torchlight</li>\\n\\t<li>Iron and Ironing Board</li>\\n\\t<li>Nespresso Coffee Machine (except Fairmont room)</li>\\n\\t<li>Complimentary Wifi</li>\\n</ul>\\n\\n<p><strong>Amenities on Request&nbsp;</strong><br>\\nThe following amenities may be available in selected rooms.Please inquire at time of reservation.&nbsp;&nbsp;</p>\\n\\n<ul>\\n\\t<li>Connecting rooms (Limited&nbsp;number of Deluxe Rooms and Suites.&nbsp; Based on availability)</li>\\n\\t<li>Roll-away bed - $80 per night&nbsp;&nbsp;&nbsp;</li>\\n\\t<li>Crib - no charge</li>\\n</ul>\",\n        \"room_unit\": \"sqm\",\n        \"max_guests\": 3,\n        \"id\": \"5cccecc75045ad56c97c1421\",\n        \"description\": \"<p>Drawing inspiration from Singapore&rsquo;s local heritage, the Fairmont Premier Room showcases cultural accents of the iconic Straits Chinese, or also known as Peranakan, in a contemporary and luxurious setting. Exuding the soothing comforts of home, the well-appointed room offers breathtaking views of the city from a private balcony and features a newly-designed lighting system which caters for enhanced ambient lighting, fully equipped modern leather-clad work desk, dual-line phones, innovative rain shower installation as well as signature room amenities including Le Labo products and a NESPRESSO coffee machine.</p>\\n\\n<p>Location: North Tower with City or Pool views</p>\"\n    }\n}"}],"_postman_id":"08f87d93-4d1e-4bc5-ad6c-35477a8d2c0c"}],"id":"4e2b4c48-2766-4c11-bc54-958b45bb1e3c","_postman_id":"4e2b4c48-2766-4c11-bc54-958b45bb1e3c","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Room Class List","id":"602b0f65-d92a-4999-b458-6604b16f297a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api-hotel/v1/hotels/:id/room-classes?accommodation_id={{accommodation_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api-hotel","v1","hotels",":id","room-classes"],"host":["{{endpoint}}"],"query":[{"description":{"content":"<p>(Optional) Accommodation ID</p>\n","type":"text/plain"},"key":"accommodation_id","value":"{{accommodation_id}}"}],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"1f3cb716-d161-45c4-9520-88c1531b6817","name":"Room Class List","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/api-hotel/v1/hotels/current/room-classes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1070"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UMtugzAQ_JXK56gKD6ctUg6NwIjDOkpkipYLSoHUGJNWgQhwlH-vm0PVU48zuzM7s1dSHM91L0lwPOi-XpCiqUhwJQ_vJCC5YHor3lquUgdCLSF8HXOBzjasFHaJhwJH3jGdh5s2j1mDIrIYPYgjB8zOQdH6FvtcsRZVOWOX-mjaiauqwyydIEtn7iZ-Hu88y1Mu0hEymLjZNzwELw_3GkxkQHxM0IEP2c7YO9LmoZBxhQqXVj9hh2tyW5CyPx-L4bOtT78VeJeaXDFrs5E8ZhoNk5AlExgcrXwEsZHbLKE2MgXFGlDRCOP6btdU9WlohvnxcBlkMcxfNQlOF63_TH6eRWjpLJ_cyqFLnx4qrypX7rPrrF7Iglz6-lz8v3T7Bk6RfXI.XNKvNg.BnLtdKxKeOHwA5kh5R4Lovx_56s; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Wed, 08 May 2019 10:28:06 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"results\": [\n            {\n                \"id\": \"5c75391696db8a5b2113fa40\",\n                \"name\": \"King Bed\"\n            },\n            {\n                \"id\": \"5c75391696db8a5b2113fa41\",\n                \"name\": \"King Bed + Twin Bed\"\n            },\n            {\n                \"id\": \"5c75391696db8a5b2113fa42\",\n                \"name\": \"Double Queen Bed\"\n            },\n            {\n                \"id\": \"5c75391696db8a5b2113fa43\",\n                \"name\": \"Queen Bed\"\n            },\n            {\n                \"id\": \"5c75391696db8a5b2113fa44\",\n                \"name\": \"Queen Bed + Twin Bed\"\n            },\n            {\n                \"id\": \"5c75391696db8a5b2113fa45\",\n                \"name\": \"Queen Bed + Single\"\n            },\n            {\n                \"id\": \"5c75391696db8a5b2113fa46\",\n                \"name\": \"Twin Bed\"\n            },\n            {\n                \"id\": \"5c75391696db8a5b2113fa47\",\n                \"name\": \"Single Bed\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"602b0f65-d92a-4999-b458-6604b16f297a"},{"name":"Amenity List","id":"e7d13a67-d0a2-4d4d-8c74-eab2ee8095d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api-hotel/v1/hotels/:id/amenities?accommodation_id={{accommodation_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api-hotel","v1","hotels",":id","amenities"],"host":["{{endpoint}}"],"query":[{"key":"accommodation_id","value":"{{accommodation_id}}"}],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"9ef07b37-9396-4846-8549-1ed7eba4c7bd","name":"Amenity List","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api-hotel/v1/hotels/current/amenities?accommodation_id={{accommodation_id}}","host":["{{endpoint}}"],"path":["api-hotel","v1","hotels","current","amenities"],"query":[{"key":"accommodation_id","value":"{{accommodation_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"91"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UMtugzAQ_JXK56gKD6ctUg6NwIjDOkpkipYLSoHUGJNWgQhwlH-vm0PVU48zuzM7s1dSHM91L0lwPOi-XpCiqUhwJQ_vJCC5YHor3lquUgdCLSF8HXOBzjasFHaJhwJH3jGdh5s2j1mDIrIYPYgjB8zOQdH6FvtcsRZVOWOX-mjaiauqwyydIEtn7iZ-Hu88y1Mu0hEymLjZNzwELw_3GkxkQHxM0IEP2c7YO9LmoZBxhQqXVj9hh2tyW5CyPx-L4bOtT78VeJeaXDFrs5E8ZhoNk5AlExgcrXwEsZHbLKE2MgXFGlDRCOP6btdU9WlohvnxcBlkMcxfNQlOF63_TH6eRWjpLJ_cyqFLnx4qrypX7rPrrF7Iglz6-lz8v3T7Bk6RfXI.XSA5JA.JEgXpCFuktQ34c6SsjyeQO5B4ec; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Sat, 06 Jul 2019 06:01:08 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"results\": [\n            {\n                \"accommodation_id\": null,\n                \"id\": \"5d280a5b96db8a8290387834\",\n                \"name\": \"WIFI/Internet Access\"\n            },\n            {\n                \"accommodation_id\": null,\n                \"id\": \"5d280a5b96db8a8290387835\",\n                \"name\": \"Accessible bathroom\"\n            },\n            {\n                \"accommodation_id\": null,\n                \"id\": \"5d280a5b96db8a8290387836\",\n                \"name\": \"Online check-in\"\n            },\n            {\n                \"accommodation_id\": null,\n                \"id\": \"5d280a5b96db8a8290387837\",\n                \"name\": \"100% Non-smoking hotel\"\n            },\n            {\n                \"accommodation_id\": null,\n                \"id\": \"5d280a5b96db8a8290387838\",\n                \"name\": \"Restaurant(s)\"\n            },\n            {\n                \"accommodation_id\": null,\n                \"id\": \"5d280a5b96db8a8290387839\",\n                \"name\": \"Bar(s)\"\n            },\n            {\n                \"accommodation_id\": null,\n                \"id\": \"5d280a5b96db8a829038783a\",\n                \"name\": \"Room Service\"\n            },\n            {\n                \"accommodation_id\": null,\n                \"id\": \"5d280a5b96db8a829038783b\",\n                \"name\": \"Business services\"\n            },\n            {\n                \"accommodation_id\": null,\n                \"id\": \"5d280a5b96db8a829038783c\",\n                \"name\": \"Laundry\"\n            },\n            {\n                \"accommodation_id\": null,\n                \"id\": \"5d280a5b96db8a829038783d\",\n                \"name\": \"Pets allowed\"\n            },\n            {\n                \"accommodation_id\": null,\n                \"id\": \"5d280a5b96db8a829038783e\",\n                \"name\": \"Conventions hotel\"\n            },\n            {\n                \"accommodation_id\": null,\n                \"id\": \"5d280a5b96db8a829038783f\",\n                \"name\": \"Parking\"\n            },\n            {\n                \"accommodation_id\": null,\n                \"id\": \"5d280a5b96db8a8290387840\",\n                \"name\": \"Fitness centre\"\n            },\n            {\n                \"accommodation_id\": null,\n                \"id\": \"5d280a5b96db8a8290387841\",\n                \"name\": \"Porter\"\n            },\n            {\n                \"accommodation_id\": null,\n                \"id\": \"5d280a5b96db8a8290387842\",\n                \"name\": \"Concierge\"\n            },\n            {\n                \"accommodation_id\": null,\n                \"id\": \"5d280a5b96db8a8290387843\",\n                \"name\": \"24 Hour Reception\"\n            },\n            {\n                \"accommodation_id\": null,\n                \"id\": \"5d280a5b96db8a8290387844\",\n                \"name\": \"Air conditioned\"\n            },\n            {\n                \"accommodation_id\": null,\n                \"id\": \"5d280a5b96db8a8290387845\",\n                \"name\": \"Boutiques/shopping\"\n            },\n            {\n                \"accommodation_id\": null,\n                \"id\": \"5d280a5b96db8a8290387846\",\n                \"name\": \"Massage\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"e7d13a67-d0a2-4d4d-8c74-eab2ee8095d2"},{"name":"Delete Accommodation","id":"9926e95b-3fd5-42fd-9f8b-241df2e419e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"string\",\n\t\"description\": \"string(default=unset)\",\n\t\"booking_url\": \"string(url, default=unset)\",\n\t\"details\": \"string(default=unset)\",\n\t\"room_classes\": \"array(objectid, default=unset)\",\n\t\"room_size\": \"integer(default=-1)\",\n\t\"room_unit\": \"string(default=unset)\",\n\t\"image\": \"string(objectid, default=unset)\"\n}"},"url":"{{endpoint}}/api-hotel/v1/hotels/:id/accommodations/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api-hotel","v1","hotels",":id","accommodations",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"9926e95b-3fd5-42fd-9f8b-241df2e419e2"}],"id":"b77fb0d1-765a-4d5e-9a37-ba8f5b5765cc","_postman_id":"b77fb0d1-765a-4d5e-9a37-ba8f5b5765cc","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Block","item":[{"name":"Add Block","event":[{"listen":"test","script":{"id":"79929333-41ec-4c81-a21e-eb50bbbc4301","exec":["var jsonData = pm.response.json();","if (pm.response.to.have.status(200)) {","    pm.environment.set(\"block_id\", jsonData.data.id);","}"],"type":"text/javascript"}}],"id":"547cd57e-6c7b-432f-8898-2f1d40e1e3c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"X-CSRF-Token","value":"ImUyODRiNjcyMjdiOWJjNWEzNGYxYzY0Y2M0ODIwZGQyYTY5NGIyYzMi.Dul1Bg.PdizvUDdKkC4hdORR0zzkQA5lZg","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"room_block\": {\n    \t\"hotel_id\": \"string\",\n        \"name\": \"Awesomeeeee\",\n        \"account_holder_id\": \"5bc3590396db8a1b5134f1f4\",\n        \"secondary_account_holders\": [\n        \t{\n        \t\t\"id\": \"string(objectid)\",\n        \t\t\"is_notified\": \"boolean(default=false)\"\n        \t}\n        ],\n        \"attachment_ids\": [\n            \"5c06017996db8a0d869c4d0c\",\n            \"5c06017996db8a0d869c4d0d\"\n        ],\n        \"photos\": [\n            \"5c06017996db8a0d869c4d0c\",\n            \"5c06017996db8a0d869c4d0d\"\n        ],\n        \"pre_event_days\": 1,\n        \"post_event_days\": 1,\n        \"code\": \"code1122\",\n        \"room_type\": \"5bc4060c96db8a0c0dbb47e8\",\n        \"closeable_at\": \"10 Dec 2019\",\n        \"contracted_from_date\": \"06 Dec 2019\",\n        \"contracted_to_date\": \"07 Dec 2019\",\n        \"is_upsell\": true,\n        \"include_taxes_fees\": true,\n        \"booking_policy\": {\n        \t\"name\": \"Lorem Ipsum\",\n        \t\"description\": \"Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s\",\n        \t\"cancellation_days\": 0\n        },\n    \t\"description\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson & Johnson, IBM, Google, and MailChimp.\",\n        \"room_inclusion\": \"<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum</p>\\n\",\n        \"room_policy\": \"<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\\n<p>&nbsp;</p>\\n\"\n    },\n    \"event\": {\n        \"dates\": [\n            \"06 Dec 2019\",\n            \"07 Dec 2019\"\n        ],\n        \"time_from\": [\n            \"12:0 AM\",\n            \"12:0 AM\"\n        ],\n        \"time_to\": [\n            \"12:0 AM\",\n            \"12:0 AM\"\n        ],\n        \"dates_time\": false,\n        \"logo_image\": \"5c06017996db8a0d869c4d0c\",\n        \"type\": \"string\"\n    },\n    \"ep\": {\n        \"last_name\": \"Planner\",\n        \"first_name\": \"First\",\n        \"phone\": {\n            \"cc\": \"93\",\n            \"contact\": \"987654321\"\n        },\n        \"company_name\": \"IDEM\",\n        \"email\": \"firstplanner.idem@mailinator.com\"\n    }\n}"},"url":"{{endpoint}}/api/v1/blocks","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"59095dac-b98d-4dce-a0d6-84d4c1b7b544","name":"Add Block","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"X-CSRF-Token","value":"ImUyODRiNjcyMjdiOWJjNWEzNGYxYzY0Y2M0ODIwZGQyYTY5NGIyYzMi.Dul1Bg.PdizvUDdKkC4hdORR0zzkQA5lZg","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"room_block\": {\n        \"name\": \"Awesomeeeee\",\n        \"account_holder_id\": \"5bc3590396db8a1b5134f1f4\",\n        \"attachment_ids\": [\n            \"5c06017996db8a0d869c4d0c\",\n            \"5c06017996db8a0d869c4d0d\"\n        ],\n        \"photos\": [\n            \"5c06017996db8a0d869c4d0c\",\n            \"5c06017996db8a0d869c4d0d\"\n        ],\n        \"pre_event_days\": 1,\n        \"post_event_days\": 1,\n        \"code\": \"code1122\",\n        \"room_type\": \"5bc4060c96db8a0c0dbb47e8\",\n        \"closeable_at\": \"10 Dec 2019\",\n        \"contracted_from_date\": \"06 Dec 2019\",\n        \"contracted_to_date\": \"07 Dec 2019\",\n        \"is_upsell\": true,\n        \"include_taxes_fees\": true,\n        \"booking_policy\": {\n        \t\"name\": \"\",\n        \t\"description\": \"\",\n        \t\"cancellation_days\": 0\n        },\n    \t\"description\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson & Johnson, IBM, Google, and MailChimp.\",\n        \"room_inclusion\": \"<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum</p>\\n\",\n        \"room_policy\": \"<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\\n<p>&nbsp;</p>\\n\"\n    },\n    \"event\": {\n        \"dates\": [\n            \"06 Dec 2019\",\n            \"07 Dec 2019\"\n        ],\n        \"time_from\": [\n            \"12:0 AM\",\n            \"12:0 AM\"\n        ],\n        \"time_to\": [\n            \"12:0 AM\",\n            \"12:0 AM\"\n        ],\n        \"dates_time\": false,\n        \"logo_image\": \"5c06017996db8a0d869c4d0c\"\n    },\n    \"ep\": {\n        \"last_name\": \"Planner\",\n        \"first_name\": \"First\",\n        \"phone\": {\n            \"cc\": \"93\",\n            \"contact\": \"987654321\"\n        },\n        \"company_name\": \"IDEM\",\n        \"email\": \"firstplanner.idem@mailinator.com\"\n    }\n}"},"url":"{{endpoint}}/api/v1/blocks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"137"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkE9rg0AQxb9K2XMoautFyMGyKgZmJbJGdi-SRhP3X1qiQd2Q795NDyXXHoeZ95v33g01x0s39Cg67vXQrVAjWhTd0MsnihCxsBSYqwKrCcxOFjVMUFcBz_KJ1bkHtlo4hYBjLcGwGeSHALMNubshOJkYTRZiTwsJYC6yUjGaamJ7zWi8gEk1x63TbSRQNhNZSpKBD5T3jG59nm16ZuOQP2YbzyzYCLCt4vQUgik1oalwuqnAVUhwtUb3FToMl2Mzfqnu_BeBUfXmUIqZxAO5c6_zGTLwgJ4mkId3Xue-s-tz6WzL0gCOJ4jXvzjRdudRjMvr_jr2zbh8dyg6X7V-2jyXVbsgtgoBQ0hMKYosmZmsZrCOWjPvQbwO3aX5l-b-A9r3iqo.XGpI5g.tn1fsXKLRbtp-cL2Y6wmk_viaLc; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Mon, 18 Feb 2019 05:55:50 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5c6a48e696db8a38d75de8ec\",\n        \"type\": \"single\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"547cd57e-6c7b-432f-8898-2f1d40e1e3c9"},{"name":"Create Citiwide Event","id":"b47b1421-772d-4808-97ce-c288435a3d1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"room_block\": {\n    \t\"hotel_id\": \"string\",\n        \"name\": \"First city-wide event\",\n        \"description\": \"\",\n        \"account_holder_id\": \"5c1072d15045ad3dc6282169\",\n        \"account_holder_notified\": true,\n        \"attachment_ids\": [\n            \"5d550be635295a9f9379eaef\"\n        ],\n        \"photos\": [],\n        \"pre_event_days\": 2,\n        \"post_event_days\": 2,\n        \"code\": \"CODECITIWIDE7\",\n        \"contracted_from_date\": \"25 Aug 2019\",\n        \"contracted_to_date\": \"28 Aug 2019\",\n        \"is_upsell\": true,\n        \"include_taxes_fees\": true,\n        \"room_inclusion\": \"\",\n        \"ep_prepost_enabled\": true,\n        \"booking_policy\": {\n            \"name\": \"What is Lorem Ipsum\",\n            \"description\": \"<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\",\n            \"cancellation_days\": 1\n        },\n        \"account_holders\": [],\n        \"master_booking_enabled\": true,\n        \"is_pms\": false,\n        \"base_rate_enabled\": true,\n        \"closeable_at\": \"31 Aug 2019\",\n        \"closeable_res_at\": \"31 Aug 2019\",\n        \"last_booked_at\": \"31 Aug 2019\",\n        \"hotels\": [\n        \t{\n                \"id\": \"5b64304986819e07d799b133\",\n                \"name\": \"Kingsmen Hotels and Resorts\",\n                \"provider\": \"idem\",\n                \"account_manager_name\": \"Kingsmen Hotels\",\n                \"account_manager_email\": \"kingsmen.idem@mailinator.com\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"city\": \"Singapore\",\n                \"sub_name\": \"string(default='')\",\n                \"sub_descriptions\": [\n                    \"Lorem Ipsum is simply dummy text of the printing and typesetting industry\",\n                    \"Lorem Ipsum is simply dummy text of the printing and typesetting industry\",\n                    \"Lorem Ipsum is simply dummy text of the printing and typesetting industry\"\n                ]\n            },\n            {\n                \"id\": \"5b64304986819e07d8fd6d4a\",\n                \"name\": \"Sofitel Singapore Sentosa Resorts and Spa\",\n                \"provider\": \"idem\",\n                \"account_manager_name\": \"Sofitel Singapore\",\n                \"account_manager_email\": \"sofitel.idem@mailinator.com\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"city\": \"Singapore\",\n                \"sub_name\": \"string(default='')\",\n                \"sub_descriptions\": [\n                    \"Lorem Ipsum is simply dummy text of the printing and typesetting industry\",\n                    \"Lorem Ipsum is simply dummy text of the printing and typesetting industry\",\n                    \"Lorem Ipsum is simply dummy text of the printing and typesetting industry\"\n                ]\n            },\n            {\n                \"id\": \"5c748e6c5045ad7950026d7c\",\n                \"name\": \"Novotel Singapore Clarke Quay\",\n                \"provider\": \"idem\",\n                \"account_manager_name\": \"Novotel Singapore\",\n                \"account_manager_email\": \"novotel.idem@mailinator.com\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"city\": \"Singapore\",\n                \"sub_name\": \"string(default='')\",\n                \"sub_descriptions\": [\n                    \"Lorem Ipsum is simply dummy text of the printing and typesetting industry\",\n                    \"Lorem Ipsum is simply dummy text of the printing and typesetting industry\",\n                    \"Lorem Ipsum is simply dummy text of the printing and typesetting industry\"\n                ]\n            }\n        ]\n    },\n    \"event\": {\n        \"dates\": [],\n        \"dates_time\": true,\n        \"type\": \"Test / Training Block\",\n        \"name\": \"First city-wide event\",\n        \"venue\": {\n            \"id\": \"5d52350007204d406d5e5634\"\n        }\n    },\n    \"ep\": {\n        \"last_name\": \"Ngo\",\n        \"first_name\": \"Henry\",\n        \"phone\": {\n            \"cc\": \"65\",\n            \"contact\": \"9876 54321\"\n        },\n        \"company_name\": \"IDEM\",\n        \"email\": \"henry@idemlabs.com\"\n    }\n}"},"url":"{{endpoint}}/api/v1/multi-blocks","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","multi-blocks"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"fdf730d5-ba90-4355-a631-4c12c0c2e823","name":"Create Citiwide Event","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"room_block\": {\n        \"name\": \"First city-wide event\",\n        \"description\": \"\",\n        \"account_holder_id\": \"5c1072d15045ad3dc6282169\",\n        \"account_holder_notified\": true,\n        \"attachment_ids\": [\n            \"5d550be635295a9f9379eaef\"\n        ],\n        \"photos\": [],\n        \"pre_event_days\": 2,\n        \"post_event_days\": 2,\n        \"code\": \"CODECITIWIDE4\",\n        \"contracted_from_date\": \"25 Aug 2019\",\n        \"contracted_to_date\": \"28 Aug 2019\",\n        \"is_upsell\": true,\n        \"include_taxes_fees\": true,\n        \"room_inclusion\": \"\",\n        \"ep_prepost_enabled\": true,\n        \"booking_policy\": {\n            \"name\": \"What is Lorem Ipsum\",\n            \"description\": \"<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\",\n            \"cancellation_days\": 1\n        },\n        \"account_holders\": [],\n        \"master_booking_enabled\": true,\n        \"is_pms\": false,\n        \"base_rate_enabled\": true,\n        \"closeable_at\": \"31 Aug 2019\",\n        \"closeable_res_at\": \"31 Aug 2019\",\n        \"last_booked_at\": \"31 Aug 2019\",\n        \"hotels\": [\n            {\n                \"id\": \"5b64304986819e07d8fd6d4a\",\n                \"name\": \"Sofitel Singapore Sentosa Resorts and Spa\",\n                \"provider\": \"idem\",\n                \"account_manager_name\": \"Sofitel Singapore\",\n                \"account_manager_email\": \"sofitel.idem@mailinator.com\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"city\": \"Singapore\",\n                \"sub_name\": \"string(default='')\",\n                \"sub_descriptions\": [\n                    \"Lorem Ipsum is simply dummy text of the printing and typesetting industry\",\n                    \"Lorem Ipsum is simply dummy text of the printing and typesetting industry\",\n                    \"Lorem Ipsum is simply dummy text of the printing and typesetting industry\"\n                ]\n            },\n            {\n                \"id\": \"5c748e6c5045ad7950026d7c\",\n                \"name\": \"Novotel Singapore Clarke Quay\",\n                \"provider\": \"idem\",\n                \"account_manager_name\": \"Novotel Singapore\",\n                \"account_manager_email\": \"novotel.idem@mailinator.com\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"city\": \"Singapore\",\n                \"sub_name\": \"string(default='')\",\n                \"sub_descriptions\": [\n                    \"Lorem Ipsum is simply dummy text of the printing and typesetting industry\",\n                    \"Lorem Ipsum is simply dummy text of the printing and typesetting industry\",\n                    \"Lorem Ipsum is simply dummy text of the printing and typesetting industry\"\n                ]\n            }\n        ]\n    },\n    \"event\": {\n        \"dates\": [],\n        \"dates_time\": true,\n        \"type\": \"Test / Training Block\",\n        \"name\": \"First city-wide event\",\n        \"venue\": {\n            \"id\": \"5d52350007204d406d5e5634\"\n        }\n    },\n    \"ep\": {\n        \"last_name\": \"Ngo\",\n        \"first_name\": \"Henry\",\n        \"phone\": {\n            \"cc\": \"65\",\n            \"contact\": \"9876 54321\"\n        },\n        \"company_name\": \"IDEM\",\n        \"email\": \"henry@idemlabs.com\"\n    }\n}"},"url":"{{endpoint}}/api/v1/multi-blocks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"X-Idem-CSRF-Token","value":"ImQ1MGIwNGUyMjlhYmFmNjk5YjMxNjczMmE1MWNjZDM5YjMzYzgyZmMi.XVUqIg.-9PrsNZHtnsEBbFyCQlhQiY5-JY"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9jkFPgzAARv-K6Xkx0MkUkh0kjExDN-OKUC6ka4t0lNnQsgnL_rvowXjy-r2XL-8CyqoTpgZBRZURM8BMV5X2oxFHEFzAzR4EoIjSMzk8OgV-GrZZLElG4BYricYV3IxoIDj9JHDToPF72xy20XNLzssluM7Ae0u1KQ-Galn2nfr9pOtXh63RIhl8S_JwTFp-2kNuiiw-0xz1BPo2gW49OaeJ6wTq8QVaJbAb7nJdp3MV8jeFWR5bHNWSrXy0g3qNYDFkUREVuHFQFHqsrVOmmp8WycXRSjvc0t7WpR20AMGxV-oPkXxq85jr3EPues6dR_mcswV8gO7CBzPQG9GV_0vXL4WRbfs.XVUqIg.5LpDqVJ114GL_4zVacBjJJ4n81E; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Thu, 15 Aug 2019 09:47:14 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5d552a21d73587fbdbbdc28b\",\n        \"type\": \"multiple\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"b47b1421-772d-4808-97ce-c288435a3d1d"},{"name":"Get Block Detail","id":"95309996-ae92-4afa-88ef-5d786d0455d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/blocks/:id","urlObject":{"path":["blocks",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"description":{"content":"<p>ObjectId of a specified Block</p>\n","type":"text/plain"},"type":"string","value":"{{block_id}}","key":"id"}]}},"response":[{"id":"8b07946a-2883-40ce-8898-4191d8186f69","name":"Get Block Detail","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/blocks/:id","host":["{{endpoint}}"],"path":["api","v1","blocks",":id"],"variable":[{"key":"id","value":"{{block_id}}","description":"ObjectId of a specified Block"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"27788"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkE9rg0AQxb9K2XMoautFyMGyKgZmJbJGdi-SRhP3X1qiQd2Q795NDyXXHoeZ95v33g01x0s39Cg67vXQrVAjWhTd0MsnihCxsBSYqwKrCcxOFjVMUFcBz_KJ1bkHtlo4hYBjLcGwGeSHALMNubshOJkYTRZiTwsJYC6yUjGaamJ7zWi8gEk1x63TbSRQNhNZSpKBD5T3jG59nm16ZuOQP2YbzyzYCLCt4vQUgik1oalwuqnAVUhwtUb3FToMl2Mzfqnu_BeBUfXmUIqZxAO5c6_zGTLwgJ4mkId3Xue-s-tz6WzL0gCOJ4jXvzjRdudRjMvr_jr2zbh8dyg6X7V-2jyXVbsgtgoBQ0hMKYosmZmsZrCOWjPvQbwO3aX5l-b-A9r3iqo.XHLRuw.gw_Hpxr_Gmv0sa3VwiCMBx4yU2g; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Sun, 24 Feb 2019 17:17:47 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"able_check_in\": \"2019-12-05T00:00:00\",\n        \"able_check_out\": \"2019-12-08T00:00:00\",\n        \"account_holder\": \"Singapore Hotel\",\n        \"account_holder_id\": \"5bc3590396db8a1b5134f1f4\",\n        \"attachments\": [\n            {\n                \"created_at\": \"2019-01-27T16:42:22.145000\",\n                \"file_type\": \"others\",\n                \"hotel_name\": \"Kingsmen Hotels and Resorts\",\n                \"id\": \"5c4ddf6e1c9157899ba03a74\",\n                \"name\": \"attachment_1.txt\",\n                \"size\": 12,\n                \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5bc3590396db8a1b5134f1f3/blocks/5c4ddbd91c915773bfc17dc2/087ROVRR-attachment_1.txt\",\n                \"user_type\": 1\n            },\n            {\n                \"created_at\": \"2019-01-27T16:42:25.879000\",\n                \"file_type\": \"others\",\n                \"hotel_name\": \"Kingsmen Hotels and Resorts\",\n                \"id\": \"5c4ddf711c9157899ba03a75\",\n                \"name\": \"attachment_2.txt\",\n                \"size\": 12,\n                \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5bc3590396db8a1b5134f1f3/blocks/5c4ddbd91c915773bfc17dc2/LMWD3YO5-attachment_2.txt\",\n                \"user_type\": 1\n            },\n            {\n                \"created_at\": \"2019-01-27T16:42:29.138000\",\n                \"file_type\": \"others\",\n                \"hotel_name\": \"Kingsmen Hotels and Resorts\",\n                \"id\": \"5c4ddf751c9157899ba03a76\",\n                \"name\": \"attachment_3.txt\",\n                \"size\": 12,\n                \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5bc3590396db8a1b5134f1f3/blocks/5c4ddbd91c915773bfc17dc2/8PJJT9CU-attachment_3.txt\",\n                \"user_type\": 1\n            }\n        ],\n        \"block_url\": \"http://hotel.localhost:5001/blocks/5c4ddbd91c915773bfc17dc2/view\",\n        \"booking_policy\": {\n            \"cancellation_days\": 2,\n            \"description\": \"A top secret order identifying all Jedi as traitors to the Galactic Republic and, therefore, subject to summary execution by the Grand Army of the Republic.\",\n            \"name\": \"Executive Order 66\"\n        },\n        \"closeable_at\": \"2019-12-08T00:00:00\",\n        \"closeable_res_at\": \"2019-12-08T00:00:00\",\n        \"code\": \"CODE1122\",\n        \"company_name\": \"My Company\",\n        \"contracted_from_date\": \"2019-12-06T00:00:00\",\n        \"contracted_to_date\": \"2019-12-07T00:00:00\",\n        \"created_at\": \"2019-01-27T16:27:05.120000\",\n        \"cutoffdate_brief\": {\n            \"description\": \"08 Dec 2019\",\n            \"title\": \"Days Until Cutoff Date\",\n            \"type\": \"cutoffdate\",\n            \"value\": 286\n        },\n        \"description\": null,\n        \"ep\": {\n            \"account_status\": 0,\n            \"block_count\": 1,\n            \"created_at\": \"2019-01-27T16:27:05.096000\",\n            \"deleted_at\": null,\n            \"email\": \"lincoln.dude@mailinator.com\",\n            \"first_name\": \"Abraham\",\n            \"hotel_id\": null,\n            \"id\": \"5c4ddbd91c915773bfc17dc1\",\n            \"last_name\": \"Lincoln\",\n            \"name\": \"Abraham Lincoln\",\n            \"phone\": {\n                \"cc\": \"65\",\n                \"contact\": \"987654321\"\n            },\n            \"phone_contact\": \"65 987654321\",\n            \"role\": null,\n            \"type\": 2\n        },\n        \"ep_email\": \"lincoln.dude@mailinator.com\",\n        \"ep_id\": \"5c4ddbd91c915773bfc17dc1\",\n        \"ep_name\": \"Abraham Lincoln\",\n        \"ep_prepost_enabled\": false,\n        \"event\": {\n            \"dates\": [\n                {\n                    \"end\": \"2019-12-06T00:00:00\",\n                    \"start\": \"2019-12-06T00:00:00\"\n                },\n                {\n                    \"end\": \"2019-12-07T00:00:00\",\n                    \"start\": \"2019-12-07T00:00:00\"\n                }\n            ],\n            \"dates_time\": false,\n            \"id\": \"5c4ddbd91c915773bfc17dbf\",\n            \"logo\": {\n                \"created_at\": \"2019-01-27T16:40:02.518000\",\n                \"file_type\": \"img\",\n                \"id\": \"5c4ddee21c9157899ba03a70\",\n                \"name\": \"400_5c3c6802c9ff8.png\",\n                \"size\": 17830,\n                \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5bc3590396db8a1b5134f1f3/TVSB39QZ-400_5c3c6802c9ff8.png\",\n                \"user_type\": 1\n            }\n        },\n        \"event_banner_enabled\": true,\n        \"event_id\": \"5c4ddbd91c915773bfc17dbf\",\n        \"has_fees\": false,\n        \"id\": \"5c4ddbd91c915773bfc17dc2\",\n        \"is_upsell\": true,\n        \"name\": \"Famous Amos Global Offsite\",\n        \"night_count\": 1,\n        \"photos\": [\n            {\n                \"created_at\": \"2019-01-27T16:40:32.405000\",\n                \"file_type\": \"img\",\n                \"id\": \"5c4ddf001c9157899ba03a71\",\n                \"name\": \"slide1.jpg\",\n                \"size\": 781156,\n                \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5bc3590396db8a1b5134f1f3/RWYQETUU-slide1.jpg\",\n                \"user_type\": 1\n            },\n            {\n                \"created_at\": \"2019-01-27T16:40:37.463000\",\n                \"file_type\": \"img\",\n                \"id\": \"5c4ddf051c9157899ba03a72\",\n                \"name\": \"slide2.jpg\",\n                \"size\": 197705,\n                \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5bc3590396db8a1b5134f1f3/UJA2HAJJ-slide2.jpg\",\n                \"user_type\": 1\n            },\n            {\n                \"created_at\": \"2019-01-27T16:40:41.707000\",\n                \"file_type\": \"img\",\n                \"id\": \"5c4ddf091c9157899ba03a73\",\n                \"name\": \"slide3.jpg\",\n                \"size\": 159358,\n                \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5bc3590396db8a1b5134f1f3/63DXXXFQ-slide3.jpg\",\n                \"user_type\": 1\n            }\n        ],\n        \"post_event_days\": 1,\n        \"pre_event_days\": 1,\n        \"reservation_url\": \"http://www.localhost:5001/r/famous-amos-global-offsite-5c4ddbd9\",\n        \"reservation_urls\": [\n            \"http://www.localhost:5001/r/sub-block-1-5c69648e\"\n        ],\n        \"revenue_download_url\": \"http://hotel.localhost:5001/blocks/5c4ddbd91c915773bfc17dc2/export-rooming-list?type=revenue\",\n        \"room_inclusion\": \"<p>Lorem Ipsum&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\",\n        \"room_policy\": null,\n        \"status\": \"open\",\n        \"sub_blocks\": [\n            {\n                \"block_id\": \"5c4ddbd91c915773bfc17dc2\",\n                \"created_at\": \"2019-02-21T02:14:36.981000\",\n                \"description\": \"Sub-Block 1\",\n                \"end_date\": \"2019-12-08T00:00:00\",\n                \"id\": \"5c69648e1c9157456b1d9bd0\",\n                \"name\": \"Sub-Block 1\",\n                \"rooms\": [\n                    {\n                        \"capacity\": 4,\n                        \"created_at\": \"2019-02-21T02:14:36.984000\",\n                        \"end_date\": \"2019-12-08T00:00:00\",\n                        \"hotel_id\": \"5bc3590396db8a1b5134f1f3\",\n                        \"hotel_name\": \"Kingsmen Hotels and Resorts\",\n                        \"id\": \"5c69648e1c9157456b1d9bd1\",\n                        \"is_room_class\": true,\n                        \"name\": \"Standard\",\n                        \"rate_plans\": [\n                            {\n                                \"billing\": [\n                                    \"MASTER_BILLING\",\n                                    \"CREDIT_CARD\"\n                                ],\n                                \"booking_policy\": {\n                                    \"cancellation_days\": 2,\n                                    \"description\": \"A top secret order identifying all Jedi as traitors to the Galactic Republic and, therefore, subject to summary execution by the Grand Army of the Republic.\",\n                                    \"name\": \"Executive Order 66\"\n                                },\n                                \"child_policy\": [],\n                                \"closeable_at\": \"2019-12-08T00:00:00\",\n                                \"code\": \"RATE12\",\n                                \"created_at\": \"2019-02-21T02:14:37.001000\",\n                                \"description\": \"Rate Plan 1\",\n                                \"display_sequence\": 0,\n                                \"end_date\": \"2019-12-08T00:00:00\",\n                                \"id\": \"5c69648e1c9157456b1d9bd5\",\n                                \"market_code\": null,\n                                \"min_night\": 1,\n                                \"name\": \"Rate Plan 1\",\n                                \"occupancy_rates\": [\n                                    0,\n                                    10,\n                                    10,\n                                    10\n                                ],\n                                \"release_rules\": [],\n                                \"room_dates\": [\n                                    {\n                                        \"date\": \"2019-12-05T00:00:00\",\n                                        \"id\": \"5c69648e1c9157456b1d9bd6\",\n                                        \"is_contracted\": false,\n                                        \"rate\": 100,\n                                        \"rate_plan_id\": \"5c69648e1c9157456b1d9bd5\",\n                                        \"room_classes\": [\n                                            {\n                                                \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                                \"name\": \"King Bed\",\n                                                \"rate\": 100\n                                            },\n                                            {\n                                                \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                                \"name\": \"Queen Bed\",\n                                                \"rate\": 100\n                                            }\n                                        ]\n                                    },\n                                    {\n                                        \"date\": \"2019-12-06T00:00:00\",\n                                        \"id\": \"5c69648e1c9157456b1d9bd7\",\n                                        \"is_contracted\": true,\n                                        \"rate\": 100,\n                                        \"rate_plan_id\": \"5c69648e1c9157456b1d9bd5\",\n                                        \"room_classes\": [\n                                            {\n                                                \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                                \"name\": \"King Bed\",\n                                                \"rate\": 100\n                                            },\n                                            {\n                                                \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                                \"name\": \"Queen Bed\",\n                                                \"rate\": 100\n                                            }\n                                        ]\n                                    },\n                                    {\n                                        \"date\": \"2019-12-07T00:00:00\",\n                                        \"id\": \"5c69648e1c9157456b1d9bd8\",\n                                        \"is_contracted\": false,\n                                        \"rate\": 100,\n                                        \"rate_plan_id\": \"5c69648e1c9157456b1d9bd5\",\n                                        \"room_classes\": [\n                                            {\n                                                \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                                \"name\": \"King Bed\",\n                                                \"rate\": 100\n                                            },\n                                            {\n                                                \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                                \"name\": \"Queen Bed\",\n                                                \"rate\": 100\n                                            }\n                                        ]\n                                    }\n                                ],\n                                \"room_id\": \"5c69648e1c9157456b1d9bd1\",\n                                \"room_inclusion\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson &amp; Johnson, IBM, Google, and MailChimp. All that on top of coordinating 20 other InVision events happening over just the next 3 months.\",\n                                \"sell_end_date\": \"2019-12-04T00:00:00\",\n                                \"sell_start_date\": \"2019-01-01T00:00:00\",\n                                \"source_code\": null,\n                                \"start_date\": \"2019-12-05T00:00:00\",\n                                \"use_block_policy\": true\n                            }\n                        ],\n                        \"room_inventories\": [\n                            {\n                                \"date\": \"2019-12-05T00:00:00\",\n                                \"id\": \"5c69648e1c9157456b1d9bd2\",\n                                \"is_contracted\": false,\n                                \"quantity\": 10,\n                                \"remain\": 10,\n                                \"room_classes\": [\n                                    {\n                                        \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                        \"name\": \"King Bed\",\n                                        \"quantity\": 5\n                                    },\n                                    {\n                                        \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                        \"name\": \"Queen Bed\",\n                                        \"quantity\": 5\n                                    }\n                                ]\n                            },\n                            {\n                                \"date\": \"2019-12-06T00:00:00\",\n                                \"id\": \"5c69648e1c9157456b1d9bd3\",\n                                \"is_contracted\": true,\n                                \"quantity\": 10,\n                                \"remain\": 10,\n                                \"room_classes\": [\n                                    {\n                                        \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                        \"name\": \"King Bed\",\n                                        \"quantity\": 5\n                                    },\n                                    {\n                                        \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                        \"name\": \"Queen Bed\",\n                                        \"quantity\": 5\n                                    }\n                                ]\n                            },\n                            {\n                                \"date\": \"2019-12-07T00:00:00\",\n                                \"id\": \"5c69648e1c9157456b1d9bd4\",\n                                \"is_contracted\": false,\n                                \"quantity\": 10,\n                                \"remain\": 10,\n                                \"room_classes\": [\n                                    {\n                                        \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                        \"name\": \"King Bed\",\n                                        \"quantity\": 5\n                                    },\n                                    {\n                                        \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                        \"name\": \"Queen Bed\",\n                                        \"quantity\": 5\n                                    }\n                                ]\n                            }\n                        ],\n                        \"start_date\": \"2019-12-05T00:00:00\",\n                        \"sub_block_id\": \"5c69648e1c9157456b1d9bd0\",\n                        \"type\": \"5bc4060c96db8a0c0dbb47e9\"\n                    },\n                    {\n                        \"capacity\": 4,\n                        \"created_at\": \"2019-02-21T02:14:37.025000\",\n                        \"end_date\": \"2019-12-08T00:00:00\",\n                        \"hotel_id\": \"5bc3590396db8a1b5134f1f3\",\n                        \"hotel_name\": \"Kingsmen Hotels and Resorts\",\n                        \"id\": \"5c69648e1c9157456b1d9bd9\",\n                        \"is_room_class\": true,\n                        \"name\": \"Executive\",\n                        \"rate_plans\": [\n                            {\n                                \"billing\": [\n                                    \"CREDIT_CARD\"\n                                ],\n                                \"booking_policy\": {\n                                    \"cancellation_days\": 2,\n                                    \"description\": \"A top secret order identifying all Jedi as traitors to the Galactic Republic and, therefore, subject to summary execution by the Grand Army of the Republic.\",\n                                    \"name\": \"Executive Order 66\"\n                                },\n                                \"child_policy\": [],\n                                \"closeable_at\": \"2019-12-08T00:00:00\",\n                                \"code\": \"RATE20\",\n                                \"created_at\": \"2019-02-21T02:14:37.038000\",\n                                \"description\": \"Rate Plan 1\",\n                                \"display_sequence\": 0,\n                                \"end_date\": \"2019-12-08T00:00:00\",\n                                \"id\": \"5c69648e1c9157456b1d9bdd\",\n                                \"market_code\": null,\n                                \"min_night\": 1,\n                                \"name\": \"Rate Plan 1\",\n                                \"occupancy_rates\": [\n                                    0,\n                                    10,\n                                    10,\n                                    10\n                                ],\n                                \"release_rules\": [],\n                                \"room_dates\": [\n                                    {\n                                        \"date\": \"2019-12-05T00:00:00\",\n                                        \"id\": \"5c69648e1c9157456b1d9bde\",\n                                        \"is_contracted\": false,\n                                        \"rate\": 200,\n                                        \"rate_plan_id\": \"5c69648e1c9157456b1d9bdd\",\n                                        \"room_classes\": [\n                                            {\n                                                \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                                \"name\": \"King Bed\",\n                                                \"rate\": 200\n                                            },\n                                            {\n                                                \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                                \"name\": \"Queen Bed\",\n                                                \"rate\": 200\n                                            }\n                                        ]\n                                    },\n                                    {\n                                        \"date\": \"2019-12-06T00:00:00\",\n                                        \"id\": \"5c69648e1c9157456b1d9bdf\",\n                                        \"is_contracted\": true,\n                                        \"rate\": 200,\n                                        \"rate_plan_id\": \"5c69648e1c9157456b1d9bdd\",\n                                        \"room_classes\": [\n                                            {\n                                                \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                                \"name\": \"King Bed\",\n                                                \"rate\": 200\n                                            },\n                                            {\n                                                \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                                \"name\": \"Queen Bed\",\n                                                \"rate\": 200\n                                            }\n                                        ]\n                                    },\n                                    {\n                                        \"date\": \"2019-12-07T00:00:00\",\n                                        \"id\": \"5c69648e1c9157456b1d9be0\",\n                                        \"is_contracted\": false,\n                                        \"rate\": 200,\n                                        \"rate_plan_id\": \"5c69648e1c9157456b1d9bdd\",\n                                        \"room_classes\": [\n                                            {\n                                                \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                                \"name\": \"King Bed\",\n                                                \"rate\": 200\n                                            },\n                                            {\n                                                \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                                \"name\": \"Queen Bed\",\n                                                \"rate\": 200\n                                            }\n                                        ]\n                                    }\n                                ],\n                                \"room_id\": \"5c69648e1c9157456b1d9bd9\",\n                                \"room_inclusion\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson &amp; Johnson, IBM, Google, and MailChimp. All that on top of coordinating 20 other InVision events happening over just the next 3 months.\",\n                                \"sell_end_date\": \"2019-12-04T00:00:00\",\n                                \"sell_start_date\": \"2019-01-01T00:00:00\",\n                                \"source_code\": null,\n                                \"start_date\": \"2019-12-05T00:00:00\",\n                                \"use_block_policy\": true\n                            }\n                        ],\n                        \"room_inventories\": [\n                            {\n                                \"date\": \"2019-12-05T00:00:00\",\n                                \"id\": \"5c69648e1c9157456b1d9bda\",\n                                \"is_contracted\": false,\n                                \"quantity\": 10,\n                                \"remain\": 8,\n                                \"room_classes\": [\n                                    {\n                                        \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                        \"name\": \"King Bed\",\n                                        \"quantity\": 5\n                                    },\n                                    {\n                                        \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                        \"name\": \"Queen Bed\",\n                                        \"quantity\": 5\n                                    }\n                                ]\n                            },\n                            {\n                                \"date\": \"2019-12-06T00:00:00\",\n                                \"id\": \"5c69648e1c9157456b1d9bdb\",\n                                \"is_contracted\": true,\n                                \"quantity\": 10,\n                                \"remain\": 8,\n                                \"room_classes\": [\n                                    {\n                                        \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                        \"name\": \"King Bed\",\n                                        \"quantity\": 5\n                                    },\n                                    {\n                                        \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                        \"name\": \"Queen Bed\",\n                                        \"quantity\": 5\n                                    }\n                                ]\n                            },\n                            {\n                                \"date\": \"2019-12-07T00:00:00\",\n                                \"id\": \"5c69648e1c9157456b1d9bdc\",\n                                \"is_contracted\": false,\n                                \"quantity\": 10,\n                                \"remain\": 8,\n                                \"room_classes\": [\n                                    {\n                                        \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                        \"name\": \"King Bed\",\n                                        \"quantity\": 5\n                                    },\n                                    {\n                                        \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                        \"name\": \"Queen Bed\",\n                                        \"quantity\": 5\n                                    }\n                                ]\n                            }\n                        ],\n                        \"start_date\": \"2019-12-05T00:00:00\",\n                        \"sub_block_id\": \"5c69648e1c9157456b1d9bd0\",\n                        \"type\": \"5bc4060c96db8a0c0dbb47ea\"\n                    }\n                ],\n                \"start_date\": \"2019-12-05T00:00:00\"\n            }\n        ],\n        \"transfer_detail\": \"<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry</p>\\n\",\n        \"type\": \"single\",\n        \"untilevent_brief\": {\n            \"description\": \"06 Dec 2019\",\n            \"title\": \"Days Until Event\",\n            \"type\": \"untilevent\",\n            \"value\": 284\n        },\n        \"user\": {\n            \"account_status\": 1,\n            \"block_count\": 76,\n            \"created_at\": \"2018-10-14T14:56:03.353000\",\n            \"deleted_at\": null,\n            \"email\": \"henry@idemlabs.com\",\n            \"first_name\": \"Singapore\",\n            \"hotel_id\": \"5bc3590396db8a1b5134f1f3\",\n            \"id\": \"5bc3590396db8a1b5134f1f4\",\n            \"last_name\": \"Hotel\",\n            \"name\": \"Singapore Hotel\",\n            \"phone\": {\n                \"cc\": \"\",\n                \"contact\": \"\"\n            },\n            \"phone_contact\": \" \",\n            \"role\": \"admin\",\n            \"type\": 1\n        }\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"95309996-ae92-4afa-88ef-5d786d0455d5"},{"name":"Get Nightly Pickup Stats","id":"94a2422d-2328-40b7-a7f4-b2b0a1b7d06d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/blocks/:id/stats/nightly-pickup?hotel={{hotel_id}}&room={{accommodation_id}}&subblock={{subblock_id}}&type={{type}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","stats","nightly-pickup"],"host":["{{endpoint}}"],"query":[{"description":{"content":"<p>ObjectId of a specified Hotel</p>\n","type":"text/plain"},"key":"hotel","value":"{{hotel_id}}"},{"description":{"content":"<p>ObjectId of a specified Accommodation in current hotel</p>\n","type":"text/plain"},"key":"room","value":"{{accommodation_id}}"},{"description":{"content":"<p>ObjectId of a specified Sub Block</p>\n","type":"text/plain"},"key":"subblock","value":"{{subblock_id}}"},{"description":{"content":"<p>Type value is one of the values \"contracted\", \"noncontracted\", \"released\" and \"all\" (default)</p>\n","type":"text/plain"},"key":"type","value":"{{type}}"}],"variable":[{"description":{"content":"<p>ObjectId of a specificed Block</p>\n","type":"text/plain"},"type":"any","value":"{{block_id}}","key":"id"}]}},"response":[{"id":"f07f0454-05fe-40c9-b93a-c66332834ea7","name":"Get Pickup By Night","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/blocks/{{block_id}}/stats/nightly-pickup"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"results\": [\n            {\n                \"date\": \"2018-09-17T11:26:38.992677+07:00\",\n                \"is_contracted\": false,\n                \"values\": [\n                    {\n                        \"label\": \"Booked\",\n                        \"type\": \"booked\",\n                        \"value\": 41\n                    },\n                    {\n                        \"label\": \"Released\",\n                        \"type\": \"released\",\n                        \"value\": 25\n                    },\n                    {\n                        \"label\": \"Available\",\n                        \"type\": \"available\",\n                        \"value\": 42\n                    }\n                ]\n            },\n            {\n                \"date\": \"2018-09-18T11:26:38.992677+07:00\",\n                \"is_contracted\": false,\n                \"values\": [\n                    {\n                        \"label\": \"Booked\",\n                        \"type\": \"booked\",\n                        \"value\": 14\n                    },\n                    {\n                        \"label\": \"Released\",\n                        \"type\": \"released\",\n                        \"value\": 13\n                    },\n                    {\n                        \"label\": \"Available\",\n                        \"type\": \"available\",\n                        \"value\": 37\n                    }\n                ]\n            },\n            {\n                \"date\": \"2018-09-19T11:26:38.992677+07:00\",\n                \"is_contracted\": true,\n                \"values\": [\n                    {\n                        \"label\": \"Booked\",\n                        \"type\": \"booked\",\n                        \"value\": 23\n                    },\n                    {\n                        \"label\": \"Released\",\n                        \"type\": \"released\",\n                        \"value\": 50\n                    },\n                    {\n                        \"label\": \"Available\",\n                        \"type\": \"available\",\n                        \"value\": 38\n                    }\n                ]\n            },\n            {\n                \"date\": \"2018-09-20T11:26:38.992677+07:00\",\n                \"is_contracted\": true,\n                \"values\": [\n                    {\n                        \"label\": \"Booked\",\n                        \"type\": \"booked\",\n                        \"value\": 47\n                    },\n                    {\n                        \"label\": \"Released\",\n                        \"type\": \"released\",\n                        \"value\": 32\n                    },\n                    {\n                        \"label\": \"Available\",\n                        \"type\": \"available\",\n                        \"value\": 16\n                    }\n                ]\n            },\n            {\n                \"date\": \"2018-09-21T11:26:38.992677+07:00\",\n                \"is_contracted\": true,\n                \"values\": [\n                    {\n                        \"label\": \"Booked\",\n                        \"type\": \"booked\",\n                        \"value\": 16\n                    },\n                    {\n                        \"label\": \"Released\",\n                        \"type\": \"released\",\n                        \"value\": 17\n                    },\n                    {\n                        \"label\": \"Available\",\n                        \"type\": \"available\",\n                        \"value\": 35\n                    }\n                ]\n            },\n            {\n                \"date\": \"2018-09-22T11:26:38.992677+07:00\",\n                \"is_contracted\": true,\n                \"values\": [\n                    {\n                        \"label\": \"Booked\",\n                        \"type\": \"booked\",\n                        \"value\": 27\n                    },\n                    {\n                        \"label\": \"Released\",\n                        \"type\": \"released\",\n                        \"value\": 45\n                    },\n                    {\n                        \"label\": \"Available\",\n                        \"type\": \"available\",\n                        \"value\": 15\n                    }\n                ]\n            },\n            {\n                \"date\": \"2018-09-23T11:26:38.992677+07:00\",\n                \"is_contracted\": true,\n                \"values\": [\n                    {\n                        \"label\": \"Booked\",\n                        \"type\": \"booked\",\n                        \"value\": 20\n                    },\n                    {\n                        \"label\": \"Released\",\n                        \"type\": \"released\",\n                        \"value\": 17\n                    },\n                    {\n                        \"label\": \"Available\",\n                        \"type\": \"available\",\n                        \"value\": 23\n                    }\n                ]\n            }\n        ],\n        \"filter\": {\n            \"room\": \"xxx\"\n        },\n        \"max_value\": 100\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"94a2422d-2328-40b7-a7f4-b2b0a1b7d06d"},{"name":"Get Booking Pace Stats","id":"6447f182-c455-4e0d-9b5c-489977746a0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/blocks/:id/stats/booking-pace?calendar={{calendar}}&from={{start_date}}&to={{end_date}}&hotel={{hotel_id}}&room={{room_id}}&subblock={{subblock_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","stats","booking-pace"],"host":["{{endpoint}}"],"query":[{"description":{"content":"<p>Calendar value is one of the values \"days\", \"weeks\" and \"months\"</p>\n","type":"text/plain"},"key":"calendar","value":"{{calendar}}"},{"description":{"content":"<p>This is start date with format  \"YYYY-MM-DD\" e.g: 2019-01-01</p>\n","type":"text/plain"},"key":"from","value":"{{start_date}}"},{"description":{"content":"<p>This is end date with format  \"YYYY-MM-DD\" e.g: 2019-02-02</p>\n","type":"text/plain"},"key":"to","value":"{{end_date}}"},{"description":{"content":"<p>ObjectId of a specified Hotel</p>\n","type":"text/plain"},"key":"hotel","value":"{{hotel_id}}"},{"description":{"content":"<p>ObjectId of a specified Accommodation in current hotel</p>\n","type":"text/plain"},"key":"room","value":"{{room_id}}"},{"description":{"content":"<p>ObjectId of a specified Sub Block</p>\n","type":"text/plain"},"key":"subblock","value":"{{subblock_id}}"}],"variable":[{"description":{"content":"<p>ObjectId of a specified Block</p>\n","type":"text/plain"},"type":"any","value":"{{block_id}}","key":"id"}]}},"response":[{"id":"c62e54ed-fd22-45ff-ae9b-d3ad0d87d2a6","name":"Get Booking Pace Stats","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/blocks/{{block_id}}/stats/booking-pace?calendar=days","host":["{{endpoint}}"],"path":["api","v1","blocks","{{block_id}}","stats","booking-pace"],"query":[{"key":"calendar","value":"days"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"60542"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkE9rg0AQxb9K2XMoautFyMGyKgZmJbJGdi-SRhP3X1qiQd2Q795NDyXXHoeZ95v33g01x0s39Cg67vXQrVAjWhTd0MsnihCxsBSYqwKrCcxOFjVMUFcBz_KJ1bkHtlo4hYBjLcGwGeSHALMNubshOJkYTRZiTwsJYC6yUjGaamJ7zWi8gEk1x63TbSRQNhNZSpKBD5T3jG59nm16ZuOQP2YbzyzYCLCt4vQUgik1oalwuqnAVUhwtUb3FToMl2Mzfqnu_BeBUfXmUIqZxAO5c6_zGTLwgJ4mkId3Xue-s-tz6WzL0gCOJ4jXvzjRdudRjMvr_jr2zbh8dyg6X7V-2jyXVbsgtgoBQ0hMKYosmZmsZrCOWjPvQbwO3aX5l-b-A9r3iqo.XE_bYg.a1Y5GHB0hPaAOX7nxaGsFdoJowE; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Tue, 29 Jan 2019 04:49:38 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"filter\": {\n            \"calendar\": \"days\",\n            \"from\": \"2019-01-28\",\n            \"to\": \"2019-12-08\"\n        },\n        \"max_value\": 0,\n        \"results\": [\n            {\n                \"date\": \"2019-01-28T00:27:05.120000+08:00\",\n                \"label\": \"28 Jan\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-01-29T00:27:05.120000+08:00\",\n                \"label\": \"29 Jan\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-01-30T00:27:05.120000+08:00\",\n                \"label\": \"30 Jan\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-01-31T00:27:05.120000+08:00\",\n                \"label\": \"31 Jan\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-01T00:27:05.120000+08:00\",\n                \"label\": \"01 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-02T00:27:05.120000+08:00\",\n                \"label\": \"02 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-03T00:27:05.120000+08:00\",\n                \"label\": \"03 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-04T00:27:05.120000+08:00\",\n                \"label\": \"04 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-05T00:27:05.120000+08:00\",\n                \"label\": \"05 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-06T00:27:05.120000+08:00\",\n                \"label\": \"06 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-07T00:27:05.120000+08:00\",\n                \"label\": \"07 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-08T00:27:05.120000+08:00\",\n                \"label\": \"08 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-09T00:27:05.120000+08:00\",\n                \"label\": \"09 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-10T00:27:05.120000+08:00\",\n                \"label\": \"10 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-11T00:27:05.120000+08:00\",\n                \"label\": \"11 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-12T00:27:05.120000+08:00\",\n                \"label\": \"12 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-13T00:27:05.120000+08:00\",\n                \"label\": \"13 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-14T00:27:05.120000+08:00\",\n                \"label\": \"14 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-15T00:27:05.120000+08:00\",\n                \"label\": \"15 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-16T00:27:05.120000+08:00\",\n                \"label\": \"16 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-17T00:27:05.120000+08:00\",\n                \"label\": \"17 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-18T00:27:05.120000+08:00\",\n                \"label\": \"18 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-19T00:27:05.120000+08:00\",\n                \"label\": \"19 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-20T00:27:05.120000+08:00\",\n                \"label\": \"20 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-21T00:27:05.120000+08:00\",\n                \"label\": \"21 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-22T00:27:05.120000+08:00\",\n                \"label\": \"22 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-23T00:27:05.120000+08:00\",\n                \"label\": \"23 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-24T00:27:05.120000+08:00\",\n                \"label\": \"24 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-25T00:27:05.120000+08:00\",\n                \"label\": \"25 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-26T00:27:05.120000+08:00\",\n                \"label\": \"26 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-27T00:27:05.120000+08:00\",\n                \"label\": \"27 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-02-28T00:27:05.120000+08:00\",\n                \"label\": \"28 Feb\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-01T00:27:05.120000+08:00\",\n                \"label\": \"01 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-02T00:27:05.120000+08:00\",\n                \"label\": \"02 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-03T00:27:05.120000+08:00\",\n                \"label\": \"03 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-04T00:27:05.120000+08:00\",\n                \"label\": \"04 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-05T00:27:05.120000+08:00\",\n                \"label\": \"05 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-06T00:27:05.120000+08:00\",\n                \"label\": \"06 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-07T00:27:05.120000+08:00\",\n                \"label\": \"07 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-08T00:27:05.120000+08:00\",\n                \"label\": \"08 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-09T00:27:05.120000+08:00\",\n                \"label\": \"09 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-10T00:27:05.120000+08:00\",\n                \"label\": \"10 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-11T00:27:05.120000+08:00\",\n                \"label\": \"11 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-12T00:27:05.120000+08:00\",\n                \"label\": \"12 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-13T00:27:05.120000+08:00\",\n                \"label\": \"13 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-14T00:27:05.120000+08:00\",\n                \"label\": \"14 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-15T00:27:05.120000+08:00\",\n                \"label\": \"15 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-16T00:27:05.120000+08:00\",\n                \"label\": \"16 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-17T00:27:05.120000+08:00\",\n                \"label\": \"17 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-18T00:27:05.120000+08:00\",\n                \"label\": \"18 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-19T00:27:05.120000+08:00\",\n                \"label\": \"19 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-20T00:27:05.120000+08:00\",\n                \"label\": \"20 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-21T00:27:05.120000+08:00\",\n                \"label\": \"21 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-22T00:27:05.120000+08:00\",\n                \"label\": \"22 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-23T00:27:05.120000+08:00\",\n                \"label\": \"23 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-24T00:27:05.120000+08:00\",\n                \"label\": \"24 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-25T00:27:05.120000+08:00\",\n                \"label\": \"25 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-26T00:27:05.120000+08:00\",\n                \"label\": \"26 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-27T00:27:05.120000+08:00\",\n                \"label\": \"27 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-28T00:27:05.120000+08:00\",\n                \"label\": \"28 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-29T00:27:05.120000+08:00\",\n                \"label\": \"29 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-30T00:27:05.120000+08:00\",\n                \"label\": \"30 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-03-31T00:27:05.120000+08:00\",\n                \"label\": \"31 Mar\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-01T00:27:05.120000+08:00\",\n                \"label\": \"01 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-02T00:27:05.120000+08:00\",\n                \"label\": \"02 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-03T00:27:05.120000+08:00\",\n                \"label\": \"03 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-04T00:27:05.120000+08:00\",\n                \"label\": \"04 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-05T00:27:05.120000+08:00\",\n                \"label\": \"05 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-06T00:27:05.120000+08:00\",\n                \"label\": \"06 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-07T00:27:05.120000+08:00\",\n                \"label\": \"07 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-08T00:27:05.120000+08:00\",\n                \"label\": \"08 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-09T00:27:05.120000+08:00\",\n                \"label\": \"09 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-10T00:27:05.120000+08:00\",\n                \"label\": \"10 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-11T00:27:05.120000+08:00\",\n                \"label\": \"11 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-12T00:27:05.120000+08:00\",\n                \"label\": \"12 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-13T00:27:05.120000+08:00\",\n                \"label\": \"13 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-14T00:27:05.120000+08:00\",\n                \"label\": \"14 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-15T00:27:05.120000+08:00\",\n                \"label\": \"15 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-16T00:27:05.120000+08:00\",\n                \"label\": \"16 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-17T00:27:05.120000+08:00\",\n                \"label\": \"17 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-18T00:27:05.120000+08:00\",\n                \"label\": \"18 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-19T00:27:05.120000+08:00\",\n                \"label\": \"19 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-20T00:27:05.120000+08:00\",\n                \"label\": \"20 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-21T00:27:05.120000+08:00\",\n                \"label\": \"21 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-22T00:27:05.120000+08:00\",\n                \"label\": \"22 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-23T00:27:05.120000+08:00\",\n                \"label\": \"23 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-24T00:27:05.120000+08:00\",\n                \"label\": \"24 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-25T00:27:05.120000+08:00\",\n                \"label\": \"25 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-26T00:27:05.120000+08:00\",\n                \"label\": \"26 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-27T00:27:05.120000+08:00\",\n                \"label\": \"27 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-28T00:27:05.120000+08:00\",\n                \"label\": \"28 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-29T00:27:05.120000+08:00\",\n                \"label\": \"29 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-04-30T00:27:05.120000+08:00\",\n                \"label\": \"30 Apr\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-01T00:27:05.120000+08:00\",\n                \"label\": \"01 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-02T00:27:05.120000+08:00\",\n                \"label\": \"02 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-03T00:27:05.120000+08:00\",\n                \"label\": \"03 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-04T00:27:05.120000+08:00\",\n                \"label\": \"04 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-05T00:27:05.120000+08:00\",\n                \"label\": \"05 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-06T00:27:05.120000+08:00\",\n                \"label\": \"06 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-07T00:27:05.120000+08:00\",\n                \"label\": \"07 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-08T00:27:05.120000+08:00\",\n                \"label\": \"08 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-09T00:27:05.120000+08:00\",\n                \"label\": \"09 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-10T00:27:05.120000+08:00\",\n                \"label\": \"10 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-11T00:27:05.120000+08:00\",\n                \"label\": \"11 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-12T00:27:05.120000+08:00\",\n                \"label\": \"12 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-13T00:27:05.120000+08:00\",\n                \"label\": \"13 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-14T00:27:05.120000+08:00\",\n                \"label\": \"14 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-15T00:27:05.120000+08:00\",\n                \"label\": \"15 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-16T00:27:05.120000+08:00\",\n                \"label\": \"16 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-17T00:27:05.120000+08:00\",\n                \"label\": \"17 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-18T00:27:05.120000+08:00\",\n                \"label\": \"18 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-19T00:27:05.120000+08:00\",\n                \"label\": \"19 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-20T00:27:05.120000+08:00\",\n                \"label\": \"20 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-21T00:27:05.120000+08:00\",\n                \"label\": \"21 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-22T00:27:05.120000+08:00\",\n                \"label\": \"22 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-23T00:27:05.120000+08:00\",\n                \"label\": \"23 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-24T00:27:05.120000+08:00\",\n                \"label\": \"24 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-25T00:27:05.120000+08:00\",\n                \"label\": \"25 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-26T00:27:05.120000+08:00\",\n                \"label\": \"26 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-27T00:27:05.120000+08:00\",\n                \"label\": \"27 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-28T00:27:05.120000+08:00\",\n                \"label\": \"28 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-29T00:27:05.120000+08:00\",\n                \"label\": \"29 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-30T00:27:05.120000+08:00\",\n                \"label\": \"30 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-05-31T00:27:05.120000+08:00\",\n                \"label\": \"31 May\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-01T00:27:05.120000+08:00\",\n                \"label\": \"01 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-02T00:27:05.120000+08:00\",\n                \"label\": \"02 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-03T00:27:05.120000+08:00\",\n                \"label\": \"03 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-04T00:27:05.120000+08:00\",\n                \"label\": \"04 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-05T00:27:05.120000+08:00\",\n                \"label\": \"05 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-06T00:27:05.120000+08:00\",\n                \"label\": \"06 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-07T00:27:05.120000+08:00\",\n                \"label\": \"07 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-08T00:27:05.120000+08:00\",\n                \"label\": \"08 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-09T00:27:05.120000+08:00\",\n                \"label\": \"09 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-10T00:27:05.120000+08:00\",\n                \"label\": \"10 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-11T00:27:05.120000+08:00\",\n                \"label\": \"11 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-12T00:27:05.120000+08:00\",\n                \"label\": \"12 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-13T00:27:05.120000+08:00\",\n                \"label\": \"13 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-14T00:27:05.120000+08:00\",\n                \"label\": \"14 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-15T00:27:05.120000+08:00\",\n                \"label\": \"15 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-16T00:27:05.120000+08:00\",\n                \"label\": \"16 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-17T00:27:05.120000+08:00\",\n                \"label\": \"17 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-18T00:27:05.120000+08:00\",\n                \"label\": \"18 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-19T00:27:05.120000+08:00\",\n                \"label\": \"19 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-20T00:27:05.120000+08:00\",\n                \"label\": \"20 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-21T00:27:05.120000+08:00\",\n                \"label\": \"21 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-22T00:27:05.120000+08:00\",\n                \"label\": \"22 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-23T00:27:05.120000+08:00\",\n                \"label\": \"23 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-24T00:27:05.120000+08:00\",\n                \"label\": \"24 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-25T00:27:05.120000+08:00\",\n                \"label\": \"25 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-26T00:27:05.120000+08:00\",\n                \"label\": \"26 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-27T00:27:05.120000+08:00\",\n                \"label\": \"27 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-28T00:27:05.120000+08:00\",\n                \"label\": \"28 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-29T00:27:05.120000+08:00\",\n                \"label\": \"29 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-06-30T00:27:05.120000+08:00\",\n                \"label\": \"30 Jun\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-01T00:27:05.120000+08:00\",\n                \"label\": \"01 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-02T00:27:05.120000+08:00\",\n                \"label\": \"02 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-03T00:27:05.120000+08:00\",\n                \"label\": \"03 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-04T00:27:05.120000+08:00\",\n                \"label\": \"04 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-05T00:27:05.120000+08:00\",\n                \"label\": \"05 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-06T00:27:05.120000+08:00\",\n                \"label\": \"06 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-07T00:27:05.120000+08:00\",\n                \"label\": \"07 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-08T00:27:05.120000+08:00\",\n                \"label\": \"08 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-09T00:27:05.120000+08:00\",\n                \"label\": \"09 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-10T00:27:05.120000+08:00\",\n                \"label\": \"10 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-11T00:27:05.120000+08:00\",\n                \"label\": \"11 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-12T00:27:05.120000+08:00\",\n                \"label\": \"12 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-13T00:27:05.120000+08:00\",\n                \"label\": \"13 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-14T00:27:05.120000+08:00\",\n                \"label\": \"14 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-15T00:27:05.120000+08:00\",\n                \"label\": \"15 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-16T00:27:05.120000+08:00\",\n                \"label\": \"16 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-17T00:27:05.120000+08:00\",\n                \"label\": \"17 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-18T00:27:05.120000+08:00\",\n                \"label\": \"18 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-19T00:27:05.120000+08:00\",\n                \"label\": \"19 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-20T00:27:05.120000+08:00\",\n                \"label\": \"20 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-21T00:27:05.120000+08:00\",\n                \"label\": \"21 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-22T00:27:05.120000+08:00\",\n                \"label\": \"22 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-23T00:27:05.120000+08:00\",\n                \"label\": \"23 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-24T00:27:05.120000+08:00\",\n                \"label\": \"24 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-25T00:27:05.120000+08:00\",\n                \"label\": \"25 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-26T00:27:05.120000+08:00\",\n                \"label\": \"26 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-27T00:27:05.120000+08:00\",\n                \"label\": \"27 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-28T00:27:05.120000+08:00\",\n                \"label\": \"28 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-29T00:27:05.120000+08:00\",\n                \"label\": \"29 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-30T00:27:05.120000+08:00\",\n                \"label\": \"30 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-07-31T00:27:05.120000+08:00\",\n                \"label\": \"31 Jul\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-01T00:27:05.120000+08:00\",\n                \"label\": \"01 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-02T00:27:05.120000+08:00\",\n                \"label\": \"02 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-03T00:27:05.120000+08:00\",\n                \"label\": \"03 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-04T00:27:05.120000+08:00\",\n                \"label\": \"04 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-05T00:27:05.120000+08:00\",\n                \"label\": \"05 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-06T00:27:05.120000+08:00\",\n                \"label\": \"06 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-07T00:27:05.120000+08:00\",\n                \"label\": \"07 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-08T00:27:05.120000+08:00\",\n                \"label\": \"08 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-09T00:27:05.120000+08:00\",\n                \"label\": \"09 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-10T00:27:05.120000+08:00\",\n                \"label\": \"10 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-11T00:27:05.120000+08:00\",\n                \"label\": \"11 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-12T00:27:05.120000+08:00\",\n                \"label\": \"12 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-13T00:27:05.120000+08:00\",\n                \"label\": \"13 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-14T00:27:05.120000+08:00\",\n                \"label\": \"14 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-15T00:27:05.120000+08:00\",\n                \"label\": \"15 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-16T00:27:05.120000+08:00\",\n                \"label\": \"16 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-17T00:27:05.120000+08:00\",\n                \"label\": \"17 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-18T00:27:05.120000+08:00\",\n                \"label\": \"18 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-19T00:27:05.120000+08:00\",\n                \"label\": \"19 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-20T00:27:05.120000+08:00\",\n                \"label\": \"20 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-21T00:27:05.120000+08:00\",\n                \"label\": \"21 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-22T00:27:05.120000+08:00\",\n                \"label\": \"22 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-23T00:27:05.120000+08:00\",\n                \"label\": \"23 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-24T00:27:05.120000+08:00\",\n                \"label\": \"24 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-25T00:27:05.120000+08:00\",\n                \"label\": \"25 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-26T00:27:05.120000+08:00\",\n                \"label\": \"26 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-27T00:27:05.120000+08:00\",\n                \"label\": \"27 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-28T00:27:05.120000+08:00\",\n                \"label\": \"28 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-29T00:27:05.120000+08:00\",\n                \"label\": \"29 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-30T00:27:05.120000+08:00\",\n                \"label\": \"30 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-08-31T00:27:05.120000+08:00\",\n                \"label\": \"31 Aug\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-01T00:27:05.120000+08:00\",\n                \"label\": \"01 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-02T00:27:05.120000+08:00\",\n                \"label\": \"02 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-03T00:27:05.120000+08:00\",\n                \"label\": \"03 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-04T00:27:05.120000+08:00\",\n                \"label\": \"04 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-05T00:27:05.120000+08:00\",\n                \"label\": \"05 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-06T00:27:05.120000+08:00\",\n                \"label\": \"06 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-07T00:27:05.120000+08:00\",\n                \"label\": \"07 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-08T00:27:05.120000+08:00\",\n                \"label\": \"08 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-09T00:27:05.120000+08:00\",\n                \"label\": \"09 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-10T00:27:05.120000+08:00\",\n                \"label\": \"10 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-11T00:27:05.120000+08:00\",\n                \"label\": \"11 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-12T00:27:05.120000+08:00\",\n                \"label\": \"12 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-13T00:27:05.120000+08:00\",\n                \"label\": \"13 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-14T00:27:05.120000+08:00\",\n                \"label\": \"14 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-15T00:27:05.120000+08:00\",\n                \"label\": \"15 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-16T00:27:05.120000+08:00\",\n                \"label\": \"16 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-17T00:27:05.120000+08:00\",\n                \"label\": \"17 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-18T00:27:05.120000+08:00\",\n                \"label\": \"18 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-19T00:27:05.120000+08:00\",\n                \"label\": \"19 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-20T00:27:05.120000+08:00\",\n                \"label\": \"20 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-21T00:27:05.120000+08:00\",\n                \"label\": \"21 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-22T00:27:05.120000+08:00\",\n                \"label\": \"22 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-23T00:27:05.120000+08:00\",\n                \"label\": \"23 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-24T00:27:05.120000+08:00\",\n                \"label\": \"24 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-25T00:27:05.120000+08:00\",\n                \"label\": \"25 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-26T00:27:05.120000+08:00\",\n                \"label\": \"26 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-27T00:27:05.120000+08:00\",\n                \"label\": \"27 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-28T00:27:05.120000+08:00\",\n                \"label\": \"28 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-29T00:27:05.120000+08:00\",\n                \"label\": \"29 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-09-30T00:27:05.120000+08:00\",\n                \"label\": \"30 Sep\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-01T00:27:05.120000+08:00\",\n                \"label\": \"01 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-02T00:27:05.120000+08:00\",\n                \"label\": \"02 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-03T00:27:05.120000+08:00\",\n                \"label\": \"03 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-04T00:27:05.120000+08:00\",\n                \"label\": \"04 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-05T00:27:05.120000+08:00\",\n                \"label\": \"05 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-06T00:27:05.120000+08:00\",\n                \"label\": \"06 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-07T00:27:05.120000+08:00\",\n                \"label\": \"07 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-08T00:27:05.120000+08:00\",\n                \"label\": \"08 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-09T00:27:05.120000+08:00\",\n                \"label\": \"09 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-10T00:27:05.120000+08:00\",\n                \"label\": \"10 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-11T00:27:05.120000+08:00\",\n                \"label\": \"11 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-12T00:27:05.120000+08:00\",\n                \"label\": \"12 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-13T00:27:05.120000+08:00\",\n                \"label\": \"13 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-14T00:27:05.120000+08:00\",\n                \"label\": \"14 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-15T00:27:05.120000+08:00\",\n                \"label\": \"15 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-16T00:27:05.120000+08:00\",\n                \"label\": \"16 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-17T00:27:05.120000+08:00\",\n                \"label\": \"17 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-18T00:27:05.120000+08:00\",\n                \"label\": \"18 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-19T00:27:05.120000+08:00\",\n                \"label\": \"19 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-20T00:27:05.120000+08:00\",\n                \"label\": \"20 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-21T00:27:05.120000+08:00\",\n                \"label\": \"21 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-22T00:27:05.120000+08:00\",\n                \"label\": \"22 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-23T00:27:05.120000+08:00\",\n                \"label\": \"23 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-24T00:27:05.120000+08:00\",\n                \"label\": \"24 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-25T00:27:05.120000+08:00\",\n                \"label\": \"25 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-26T00:27:05.120000+08:00\",\n                \"label\": \"26 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-27T00:27:05.120000+08:00\",\n                \"label\": \"27 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-28T00:27:05.120000+08:00\",\n                \"label\": \"28 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-29T00:27:05.120000+08:00\",\n                \"label\": \"29 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-30T00:27:05.120000+08:00\",\n                \"label\": \"30 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-10-31T00:27:05.120000+08:00\",\n                \"label\": \"31 Oct\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-01T00:27:05.120000+08:00\",\n                \"label\": \"01 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-02T00:27:05.120000+08:00\",\n                \"label\": \"02 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-03T00:27:05.120000+08:00\",\n                \"label\": \"03 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-04T00:27:05.120000+08:00\",\n                \"label\": \"04 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-05T00:27:05.120000+08:00\",\n                \"label\": \"05 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-06T00:27:05.120000+08:00\",\n                \"label\": \"06 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-07T00:27:05.120000+08:00\",\n                \"label\": \"07 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-08T00:27:05.120000+08:00\",\n                \"label\": \"08 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-09T00:27:05.120000+08:00\",\n                \"label\": \"09 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-10T00:27:05.120000+08:00\",\n                \"label\": \"10 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-11T00:27:05.120000+08:00\",\n                \"label\": \"11 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-12T00:27:05.120000+08:00\",\n                \"label\": \"12 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-13T00:27:05.120000+08:00\",\n                \"label\": \"13 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-14T00:27:05.120000+08:00\",\n                \"label\": \"14 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-15T00:27:05.120000+08:00\",\n                \"label\": \"15 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-16T00:27:05.120000+08:00\",\n                \"label\": \"16 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-17T00:27:05.120000+08:00\",\n                \"label\": \"17 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-18T00:27:05.120000+08:00\",\n                \"label\": \"18 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-19T00:27:05.120000+08:00\",\n                \"label\": \"19 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-20T00:27:05.120000+08:00\",\n                \"label\": \"20 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-21T00:27:05.120000+08:00\",\n                \"label\": \"21 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-22T00:27:05.120000+08:00\",\n                \"label\": \"22 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-23T00:27:05.120000+08:00\",\n                \"label\": \"23 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-24T00:27:05.120000+08:00\",\n                \"label\": \"24 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-25T00:27:05.120000+08:00\",\n                \"label\": \"25 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-26T00:27:05.120000+08:00\",\n                \"label\": \"26 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-27T00:27:05.120000+08:00\",\n                \"label\": \"27 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-28T00:27:05.120000+08:00\",\n                \"label\": \"28 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-29T00:27:05.120000+08:00\",\n                \"label\": \"29 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-11-30T00:27:05.120000+08:00\",\n                \"label\": \"30 Nov\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-12-01T00:27:05.120000+08:00\",\n                \"label\": \"01 Dec\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-12-02T00:27:05.120000+08:00\",\n                \"label\": \"02 Dec\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-12-03T00:27:05.120000+08:00\",\n                \"label\": \"03 Dec\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-12-04T00:27:05.120000+08:00\",\n                \"label\": \"04 Dec\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-12-05T00:27:05.120000+08:00\",\n                \"label\": \"05 Dec\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-12-06T00:27:05.120000+08:00\",\n                \"label\": \"06 Dec\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            },\n            {\n                \"date\": \"2019-12-07T00:27:05.120000+08:00\",\n                \"label\": \"07 Dec\",\n                \"revenue\": \"$0 USD\",\n                \"value\": 0\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"6447f182-c455-4e0d-9b5c-489977746a0e"},{"name":"Get Revenue Stats","id":"0832cf3f-79c1-4c9f-9fe3-57be66b6a534","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/blocks/:id/stats/revenue?hotel={{hotel_id}}&room={{accommodation_id}}&subblock={{subblock_id}}&from={{start_date}}&to={{end_date}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","stats","revenue"],"host":["{{endpoint}}"],"query":[{"description":{"content":"<p>ObjectId of a specified Hotel</p>\n","type":"text/plain"},"key":"hotel","value":"{{hotel_id}}"},{"description":{"content":"<p>ObjectId of a specified Accommodation in current hotel</p>\n","type":"text/plain"},"key":"room","value":"{{accommodation_id}}"},{"description":{"content":"<p>ObjectId of a specified Sub Block</p>\n","type":"text/plain"},"key":"subblock","value":"{{subblock_id}}"},{"description":{"content":"<p>This is start date with format  \"YYYY-MM-DD\" e.g: 2019-01-01</p>\n","type":"text/plain"},"key":"from","value":"{{start_date}}"},{"description":{"content":"<p>This is end date with format  \"YYYY-MM-DD\" e.g: 2019-02-02</p>\n","type":"text/plain"},"key":"to","value":"{{end_date}}"}],"variable":[{"description":{"content":"<p>ObjectId of a specified Block</p>\n","type":"text/plain"},"type":"any","value":"{{block_id}}","key":"id"}]}},"response":[{"id":"66f743c6-a06c-48ab-af98-92dd756455cb","name":"Get Revenue Stats","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/blocks/{{block_id}}/stats/revenue"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Content-Length","value":"128","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 26 Sep 2018 08:08:52 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"session=.eJyVkEFrgzAUx7_KyLmMJosXoYdBNFhIQkpEXi7STVuNphvVUmPpd5_dZb3u-h7v9_-9_w2Vh3M9NCg-7PuhXqGyrVB8Qy8fKEZyBipNN4E7ElvABKZykuRBcP0mjZ4kg6swtlUcMJDUCaYxeJisz7EoNLVumRcJtkZQxZIgXYIVTxtwO2fZ-xXmjEKRdmLugiBABEmukmeR9VmQJg-KbTs5a6xY79Qje84icLZfHLBlx4XZtIpVXvB8g-4r9DmcD-X41dWnvxe8wOAgLIqRmDUVbNcovnNA9HqJ9qJIHbjKgZHNokol33rQm19cW9WnsR3D6_4yNuUYvmsUny59_7R5LqvIqOJ5ANdF1nTEGqC2sI3wQMHp9YN4Gepz-a-b-w_sEYel.DozQFA.kHUgoe3y4z7i64SQ_AwlZZ15A98; HttpOnly; Path=/","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Vary","value":"Cookie","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"hotel.localhost","path":"/","secure":false,"value":".eJyVkEFrgzAUx7_KyLmMJosXoYdBNFhIQkpEXi7STVuNphvVUmPpd5_dZb3u-h7v9_-9_w2Vh3M9NCg-7PuhXqGyrVB8Qy8fKEZyBipNN4E7ElvABKZykuRBcP0mjZ4kg6swtlUcMJDUCaYxeJisz7EoNLVumRcJtkZQxZIgXYIVTxtwO2fZ-xXmjEKRdmLugiBABEmukmeR9VmQJg-KbTs5a6xY79Qje84icLZfHLBlx4XZtIpVXvB8g-4r9DmcD-X41dWnvxe8wOAgLIqRmDUVbNcovnNA9HqJ9qJIHbjKgZHNokol33rQm19cW9WnsR3D6_4yNuUYvmsUny59_7R5LqvIqOJ5ANdF1nTEGqC2sI3wQMHp9YN4Gepz-a-b-w_sEYel.DozQFA.kHUgoe3y4z7i64SQ_AwlZZ15A98","key":"session"}],"responseTime":null,"body":"{\n    \"code\": \"OK\", \n    \"data\": {\n        \"price\": 0, \n        \"price_display\": \"S$0.00 SGD\"\n    }, \n    \"status\": \"success\"\n}\n"}],"_postman_id":"0832cf3f-79c1-4c9f-9fe3-57be66b6a534"},{"name":"Get Block Brief Stats","id":"37c66234-3abd-401a-a49d-6b941667b4d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/blocks/:id/stats/brief?hotel={{hotel_id}}&subblock={{subblock_id}}&room={{accommodation_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","stats","brief"],"host":["{{endpoint}}"],"query":[{"description":{"content":"<p>ObjectId of a specified Hotel</p>\n","type":"text/plain"},"key":"hotel","value":"{{hotel_id}}"},{"description":{"content":"<p>ObjectId of a specified Sub Block</p>\n","type":"text/plain"},"key":"subblock","value":"{{subblock_id}}"},{"description":{"content":"<p>ObjectId of a specified Accommodation in current hotel</p>\n","type":"text/plain"},"key":"room","value":"{{accommodation_id}}"}],"variable":[{"description":{"content":"<p>ObjectId of a specified Block</p>\n","type":"text/plain"},"type":"any","value":"{{block_id}}","key":"id"}]}},"response":[{"id":"35ca5424-879d-4c2d-8352-03247c88d5f8","name":"Block Brief","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/blocks/{{block_id}}/brief"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1280"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkE9rg0AQxb9K2XMoautFyMGyKgZmJbJGdi-SRhP3X1qiQd2Q795NDyXXHoeZ95v33g01x0s39Cg67vXQrVAjWhTd0MsnihCxsBSYqwKrCcxOFjVMUFcBz_KJ1bkHtlo4hYBjLcGwGeSHALMNubshOJkYTRZiTwsJYC6yUjGaamJ7zWi8gEk1x63TbSRQNhNZSpKBD5T3jG59nm16ZuOQP2YbzyzYCLCt4vQUgik1oalwuqnAVUhwtUb3FToMl2Mzfqnu_BeBUfXmUIqZxAO5c6_zGTLwgJ4mkId3Xue-s-tz6WzL0gCOJ4jXvzjRdudRjMvr_jr2zbh8dyg6X7V-2jyXVbsgtgoBQ0hMKYosmZmsZrCOWjPvQbwO3aX5l-b-A9r3iqo.XG0kfQ.2uPkGMd1FyThaLjfxVMhKBeK3S8; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Wed, 20 Feb 2019 09:57:17 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": [\n        {\n            \"description\": \"$0 USD\",\n            \"price\": \"$0 USD\",\n            \"title\": \"Total Rm/Nts Sold\",\n            \"total_price\": \"$0 USD\",\n            \"type\": \"all\",\n            \"value\": \"0/0\"\n        },\n        {\n            \"description\": \"$0 USD\",\n            \"price\": \"$0 USD\",\n            \"title\": \"Contracted Rm/Nts Total\",\n            \"total_price\": \"$0 USD\",\n            \"type\": \"contracted\",\n            \"value\": \"0/0\"\n        },\n        {\n            \"description\": \"$0 USD\",\n            \"price\": \"$0 USD\",\n            \"title\": \"Pre & Post Rm/Nts Sold\",\n            \"total_price\": \"$0 USD\",\n            \"type\": \"noncontracted\",\n            \"value\": \"0/0\"\n        },\n        {\n            \"description\": \"$0 USD\",\n            \"title\": \"Total Nights Lost\",\n            \"type\": \"released\",\n            \"value\": \"0\"\n        },\n        {\n            \"description\": \"10 Dec 2019\",\n            \"title\": \"Days Until Cutoff Date\",\n            \"type\": \"cutoffdate\",\n            \"value\": 292\n        },\n        {\n            \"description\": \"06 Dec 2019\",\n            \"title\": \"Days Until Event\",\n            \"type\": \"untilevent\",\n            \"value\": 288\n        }\n    ],\n    \"status\": \"success\"\n}"}],"_postman_id":"37c66234-3abd-401a-a49d-6b941667b4d2"},{"name":"Get Release Rules Stats","id":"b0920a8e-8b1c-46c6-8d90-b7025cb275ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/blocks/:id/stats/release-rules?hotel={{hotel_id}}&subblock={{subblock_id}}&room={{accommodation_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","stats","release-rules"],"host":["{{endpoint}}"],"query":[{"description":{"content":"<p>ObjectId of a specified Hotel</p>\n","type":"text/plain"},"key":"hotel","value":"{{hotel_id}}"},{"description":{"content":"<p>ObjectId of a specified Sub Block</p>\n","type":"text/plain"},"key":"subblock","value":"{{subblock_id}}"},{"description":{"content":"<p>ObjectId of a specified Accommodation in current hotel</p>\n","type":"text/plain"},"key":"room","value":"{{accommodation_id}}"}],"variable":[{"type":"any","value":"{{block_id}}","key":"id"}]}},"response":[{"id":"d8d50ce4-ab41-4cf0-98ca-4bdb24574413","name":"Get Release Rules Stats","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/blocks/:id/stats/release-rules","host":["{{endpoint}}"],"path":["api","v1","blocks",":id","stats","release-rules"],"query":[{"key":"hotel","value":"{{hotel_id}}","description":"ObjectId of a specified Hotel","disabled":true},{"key":"subblock","value":"{{subblock_id}}","description":"ObjectId of a specified Sub Block","disabled":true},{"key":"room","value":"{{accommodation_id}}","description":"ObjectId of a specified Accommodation in current hotel","disabled":true}],"variable":[{"key":"id","value":"5c7167131c91578912411092"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2026"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkE9rg0AQxb9K2XMoautFyMGyKgZmJbJGdi-SRhP3X1qiQd2Q795NDyXXHoeZ95v33g01x0s39Cg67vXQrVAjWhTd0MsnihCxsBSYqwKrCcxOFjVMUFcBz_KJ1bkHtlo4hYBjLcGwGeSHALMNubshOJkYTRZiTwsJYC6yUjGaamJ7zWi8gEk1x63TbSRQNhNZSpKBD5T3jG59nm16ZuOQP2YbzyzYCLCt4vQUgik1oalwuqnAVUhwtUb3FToMl2Mzfqnu_BeBUfXmUIqZxAO5c6_zGTLwgJ4mkId3Xue-s-tz6WzL0gCOJ4jXvzjRdudRjMvr_jr2zbh8dyg6X7V-2jyXVbsgtgoBQ0hMKYosmZmsZrCOWjPvQbwO3aX5l-b-A9r3iqo.XHJ8wg.DTj3pc9dkkFDKjBilpbSdanXo_8; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Sun, 24 Feb 2019 11:15:14 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"results\": [\n            {\n                \"auto\": true,\n                \"created_at\": \"2019-02-24T10:19:43.828000\",\n                \"date\": \"2019-02-23T00:00:00\",\n                \"days\": 0,\n                \"id\": \"5c726cb696db8ab165d5eade\",\n                \"release_in\": -155715,\n                \"release_in_description\": \"This rule has already been processed\",\n                \"release_in_display\": \"-\",\n                \"rules\": [\n                    {\n                        \"amount\": 12,\n                        \"is_applied\": true,\n                        \"is_contracted\": true,\n                        \"room_id\": \"5c726cb696db8ab165d5eada\",\n                        \"room_name\": \"Clubhouse\",\n                        \"unit\": \"%\",\n                        \"uuid\": \"371a49a1-3893-1883-37bf-f7ce9862f21e\"\n                    }\n                ],\n                \"status\": \"unprocessed\",\n                \"updated_at\": \"2019-02-24T10:19:43.829000\"\n            },\n            {\n                \"auto\": false,\n                \"created_at\": \"2019-02-24T10:19:43.782000\",\n                \"date\": \"2019-02-23T00:00:00\",\n                \"days\": 0,\n                \"id\": \"5c726f7e96db8aba1cf3b59c\",\n                \"release_in\": -155715,\n                \"release_in_description\": \"This rule is overdue for processing\",\n                \"release_in_display\": \"-\",\n                \"rules\": [\n                    {\n                        \"amount\": 50,\n                        \"is_applied\": true,\n                        \"is_contracted\": true,\n                        \"room_id\": \"5c726b7f96db8aacf9c3ecea\",\n                        \"room_name\": \"Clubhouse\",\n                        \"unit\": \"%\",\n                        \"uuid\": \"7cc792aa-2bfe-b699-8e8f-2d17b3f7bcf7\"\n                    }\n                ],\n                \"status\": \"unprocessed\",\n                \"updated_at\": \"2019-02-24T10:19:43.783000\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"b0920a8e-8b1c-46c6-8d90-b7025cb275ee"},{"name":"Get Hotel Blocks","id":"8b4ec4d8-4cea-4de2-bd30-10e70269bfaa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/current/blocks","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels","current","blocks"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"00b9ad79-4b90-4511-9726-aaab662de709","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/current/blocks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"20020"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkE9rg0AQxb9K2XMoautFyMGyKgZmJbJGdi-SRhP3X1qiQd2Q795NDyXXHoeZ95v33g01x0s39Cg67vXQrVAjWhTd0MsnihCxsBSYqwKrCcxOFjVMUFcBz_KJ1bkHtlo4hYBjLcGwGeSHALMNubshOJkYTRZiTwsJYC6yUjGaamJ7zWi8gEk1x63TbSRQNhNZSpKBD5T3jG59nm16ZuOQP2YbzyzYCLCt4vQUgik1oalwuqnAVUhwtUb3FToMl2Mzfqnu_BeBUfXmUIqZxAO5c6_zGTLwgJ4mkId3Xue-s-tz6WzL0gCOJ4jXvzjRdudRjMvr_jr2zbh8dyg6X7V-2jyXVbsgtgoBQ0hMKYosmZmsZrCOWjPvQbwO3aX5l-b-A9r3iqo.XDw9oA.YVkSgEB6QauSR7_EnluZ0FGKtdw; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Mon, 14 Jan 2019 07:43:28 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 53,\n        \"filter\": {\n            \"limit\": 10,\n            \"order\": \"desc\",\n            \"page\": 1,\n            \"search\": null,\n            \"sort\": \"updated_at\",\n            \"status\": null\n        },\n        \"results\": [\n            {\n                \"able_check_in\": \"2018-10-27T00:00:00\",\n                \"able_check_out\": \"2018-11-05T00:00:00\",\n                \"account_holder\": \"Singapore Hotel\",\n                \"account_holder_id\": \"5bc3590396db8a1b5134f1f4\",\n                \"closeable_at\": \"2018-10-16T00:00:00.507000\",\n                \"closeable_res_at\": null,\n                \"code\": \"JDC2IB1B\",\n                \"company_name\": \"Pittman-Johnson\",\n                \"contracted_from_date\": \"2018-10-30T00:00:00\",\n                \"contracted_to_date\": \"2018-11-03T00:00:00\",\n                \"created_at\": \"2018-10-15T03:14:20.507000\",\n                \"editing_reservations\": 0,\n                \"ep_email\": \"demo_ep@unifide.sg\",\n                \"ep_id\": \"5bc3590396db8a1b5134f1fa\",\n                \"ep_name\": \"Singapore Event Planner\",\n                \"event_id\": \"5bc4060c96db8a0c0dbb47ec\",\n                \"has_fees\": false,\n                \"id\": \"5bc4060c96db8a0c0dbb47ee\",\n                \"is_upsell\": true,\n                \"name\": \"Health easy book\",\n                \"pending_reservations\": 0,\n                \"post_event_days\": 2,\n                \"pre_event_days\": 3,\n                \"reservation_url\": \"http://www.localhost:5001/r/health-easy-book-5bc4060c\",\n                \"reserved_rooms\": 0,\n                \"revenue_download_url\": \"http://hotel.localhost:5001/blocks/5bc4060c96db8a0c0dbb47ee/export-rooming-list?type=revenue\",\n                \"room_inclusion\": \"Clear song near gun grow. Table find break several about.\",\n                \"room_policy\": \"Kitchen war cancer religious. Address bring team employee whether assume.\",\n                \"status\": \"cancelled\",\n                \"is_cancelling\": false,\n                \"total_rooms\": 360,\n                \"transfer_detail\": \"\",\n                \"type\": \"single\"\n            },\n            {\n                \"able_check_in\": \"2018-10-22T00:00:00\",\n                \"able_check_out\": \"2018-10-31T00:00:00\",\n                \"account_holder\": \"Singapore Hotel\",\n                \"account_holder_id\": \"5bc3590396db8a1b5134f1f4\",\n                \"closeable_at\": \"2018-10-30T00:00:00\",\n                \"closeable_res_at\": null,\n                \"code\": \"1DMIOOON\",\n                \"company_name\": \"Cox, Giles and Taylor\",\n                \"contracted_from_date\": \"2018-10-25T00:00:00\",\n                \"contracted_to_date\": \"2018-10-30T00:00:00\",\n                \"created_at\": \"2018-10-15T04:35:07.838000\",\n                \"editing_reservations\": 0,\n                \"ep_email\": \"demo_ep@unifide.sg\",\n                \"ep_id\": \"5bc3590396db8a1b5134f1fa\",\n                \"ep_name\": \"Singapore Event Planner\",\n                \"event_id\": \"5bc418fba692170050b6e925\",\n                \"has_fees\": false,\n                \"id\": \"5bc418fba692170050b6e927\",\n                \"is_upsell\": true,\n                \"name\": \"Continue long\",\n                \"pending_reservations\": 0,\n                \"post_event_days\": 1,\n                \"pre_event_days\": 3,\n                \"reservation_url\": \"http://www.localhost:5001/r/continue-long-5bc418fb\",\n                \"reserved_rooms\": 0,\n                \"revenue_download_url\": \"http://hotel.localhost:5001/blocks/5bc418fba692170050b6e927/export-rooming-list?type=revenue\",\n                \"room_inclusion\": \"Soon section ball. Book sister inside candidate game thus arm world.\",\n                \"room_policy\": \"Dark but treat law people so age real. Traditional arm adult white.\",\n                \"status\": \"cancelled\",\n                \"is_cancelling\": false,\n                \"total_rooms\": 360,\n                \"transfer_detail\": \"\",\n                \"type\": \"single\"\n            },\n            {\n                \"able_check_in\": \"2018-10-25T00:00:00\",\n                \"able_check_out\": \"2018-11-02T00:00:00\",\n                \"account_holder\": \"Singapore Hotel\",\n                \"account_holder_id\": \"5bc3590396db8a1b5134f1f4\",\n                \"closeable_at\": \"2018-10-30T00:00:00\",\n                \"closeable_res_at\": null,\n                \"code\": \"GT8VXPLI\",\n                \"company_name\": \"Neal, Villanueva and Webb\",\n                \"contracted_from_date\": \"2018-10-28T00:00:00\",\n                \"contracted_to_date\": \"2018-10-31T00:00:00\",\n                \"created_at\": \"2018-10-15T04:56:36.444000\",\n                \"editing_reservations\": 0,\n                \"ep_email\": \"fuongit@gmail.com\",\n                \"ep_id\": \"5bcfee4e96db8a2d633beef1\",\n                \"ep_name\": \"Phuong Ngo\",\n                \"event_id\": \"5bc41e04a6921701a88a2dfa\",\n                \"has_fees\": false,\n                \"id\": \"5bc41e04a6921701a88a2dfc\",\n                \"is_upsell\": true,\n                \"name\": \"Everybody my\",\n                \"pending_reservations\": 2,\n                \"post_event_days\": 2,\n                \"pre_event_days\": 3,\n                \"reservation_url\": \"http://www.localhost:5001/r/everybody-my-5bc41e04\",\n                \"reserved_rooms\": 5,\n                \"revenue_download_url\": \"http://hotel.localhost:5001/blocks/5bc41e04a6921701a88a2dfc/export-rooming-list?type=revenue\",\n                \"room_inclusion\": \"Real gas or really understand watch site third. Likely term ball base fine ability. Away easy your.\",\n                \"room_policy\": \"Person far catch trial. Source up beyond include. Radio since else she.\",\n                \"status\": \"closed\",\n                \"is_cancelling\": false,\n                \"total_rooms\": 320,\n                \"transfer_detail\": \"\",\n                \"type\": \"single\"\n            },\n            {\n                \"able_check_in\": \"2018-10-27T00:00:00\",\n                \"able_check_out\": \"2018-11-01T00:00:00\",\n                \"account_holder\": \"Singapore Hotel\",\n                \"account_holder_id\": \"5bc3590396db8a1b5134f1f4\",\n                \"closeable_at\": \"2018-10-31T00:00:00\",\n                \"closeable_res_at\": null,\n                \"code\": \"UYTV0DAN\",\n                \"company_name\": \"Logan Inc\",\n                \"contracted_from_date\": \"2018-10-28T00:00:00\",\n                \"contracted_to_date\": \"2018-10-31T00:00:00\",\n                \"created_at\": \"2018-10-15T04:57:03.836000\",\n                \"editing_reservations\": 0,\n                \"ep_email\": \"demo_ep@unifide.sg\",\n                \"ep_id\": \"5bc3590396db8a1b5134f1fa\",\n                \"ep_name\": \"Singapore Event Planner\",\n                \"event_id\": \"5bc41e1fa6921701ae3c7ea0\",\n                \"has_fees\": false,\n                \"id\": \"5bc41e1fa6921701ae3c7ea2\",\n                \"is_upsell\": true,\n                \"name\": \"Practice science\",\n                \"pending_reservations\": 0,\n                \"post_event_days\": 1,\n                \"pre_event_days\": 1,\n                \"reservation_url\": \"http://www.localhost:5001/r/practice-science-5bc41e1f\",\n                \"reserved_rooms\": 0,\n                \"revenue_download_url\": \"http://hotel.localhost:5001/blocks/5bc41e1fa6921701ae3c7ea2/export-rooming-list?type=revenue\",\n                \"room_inclusion\": \"Condition peace Democrat direction.\",\n                \"room_policy\": \"Agent true it degree. Reach deal can indeed explain.\",\n                \"status\": \"cancelled\",\n                \"is_cancelling\": false,\n                \"total_rooms\": 200,\n                \"transfer_detail\": \"\",\n                \"type\": \"single\"\n            },\n            {\n                \"able_check_in\": \"2018-10-26T00:00:00\",\n                \"able_check_out\": \"2018-11-03T00:00:00\",\n                \"account_holder\": \"Singapore Hotel\",\n                \"account_holder_id\": \"5bc3590396db8a1b5134f1f4\",\n                \"closeable_at\": \"2018-11-01T00:00:00\",\n                \"closeable_res_at\": null,\n                \"code\": \"NL0VUYVD\",\n                \"company_name\": \"Berry PLC\",\n                \"contracted_from_date\": \"2018-10-27T00:00:00\",\n                \"contracted_to_date\": \"2018-11-01T00:00:00\",\n                \"created_at\": \"2018-10-15T04:57:14.984000\",\n                \"editing_reservations\": 0,\n                \"ep_email\": \"demo_ep@unifide.sg\",\n                \"ep_id\": \"5bc3590396db8a1b5134f1fa\",\n                \"ep_name\": \"Singapore Event Planner\",\n                \"event_id\": \"5bc41e2aa6921701b4244437\",\n                \"has_fees\": false,\n                \"id\": \"5bc41e2aa6921701b4244439\",\n                \"is_upsell\": true,\n                \"name\": \"Ago artist\",\n                \"pending_reservations\": 0,\n                \"post_event_days\": 2,\n                \"pre_event_days\": 1,\n                \"reservation_url\": \"http://www.localhost:5001/r/ago-artist-5bc41e2a\",\n                \"reserved_rooms\": 0,\n                \"revenue_download_url\": \"http://hotel.localhost:5001/blocks/5bc41e2aa6921701b4244439/export-rooming-list?type=revenue\",\n                \"room_inclusion\": \"Admit together director trip miss. Wait skin as agree near.\",\n                \"room_policy\": \"Score work forget recently. Relationship foot hospital save unit.\",\n                \"status\": \"cancelled\",\n                \"is_cancelling\": false,\n                \"total_rooms\": 320,\n                \"transfer_detail\": \"\",\n                \"type\": \"single\"\n            },\n            {\n                \"able_check_in\": \"2018-10-22T00:00:00\",\n                \"able_check_out\": \"2018-10-31T00:00:00\",\n                \"account_holder\": \"Singapore Hotel\",\n                \"account_holder_id\": \"5bc3590396db8a1b5134f1f4\",\n                \"closeable_at\": \"2018-10-29T00:00:00\",\n                \"closeable_res_at\": null,\n                \"code\": \"D1XZ0DJP\",\n                \"company_name\": \"Scott-Melendez\",\n                \"contracted_from_date\": \"2018-10-24T00:00:00\",\n                \"contracted_to_date\": \"2018-10-29T00:00:00\",\n                \"created_at\": \"2018-10-15T04:58:35.891000\",\n                \"editing_reservations\": 0,\n                \"ep_email\": \"demo_ep@unifide.sg\",\n                \"ep_id\": \"5bc3590396db8a1b5134f1fa\",\n                \"ep_name\": \"Singapore Event Planner\",\n                \"event_id\": \"5bc41e7ba69217021b2d0981\",\n                \"has_fees\": false,\n                \"id\": \"5bc41e7ba69217021b2d0983\",\n                \"is_upsell\": true,\n                \"name\": \"Rule decide city partner impact\",\n                \"pending_reservations\": 0,\n                \"post_event_days\": 2,\n                \"pre_event_days\": 2,\n                \"reservation_url\": \"http://www.localhost:5001/r/rule-decide-city-partner-impact-5bc41e7b\",\n                \"reserved_rooms\": 0,\n                \"revenue_download_url\": \"http://hotel.localhost:5001/blocks/5bc41e7ba69217021b2d0983/export-rooming-list?type=revenue\",\n                \"room_inclusion\": \"Share kid least tell top gas book bill. Whom both member human.\",\n                \"room_policy\": \"Late our food analysis. Term customer eye rock lay yes minute.\",\n                \"status\": \"cancelled\",\n                \"is_cancelling\": false,\n                \"total_rooms\": 360,\n                \"transfer_detail\": \"\",\n                \"type\": \"single\"\n            },\n            {\n                \"able_check_in\": \"2018-10-23T00:00:00\",\n                \"able_check_out\": \"2018-11-02T00:00:00\",\n                \"account_holder\": \"Singapore Hotel\",\n                \"account_holder_id\": \"5bc3590396db8a1b5134f1f4\",\n                \"closeable_at\": null,\n                \"closeable_res_at\": null,\n                \"code\": \"IYQ6MA5Q\",\n                \"company_name\": \"Ward-Vance\",\n                \"contracted_from_date\": \"2018-10-26T00:00:00\",\n                \"contracted_to_date\": \"2018-10-31T00:00:00\",\n                \"created_at\": \"2018-10-16T10:32:55.583000\",\n                \"editing_reservations\": 0,\n                \"ep_email\": \"demo_ep@unifide.sg\",\n                \"ep_id\": \"5bc3590396db8a1b5134f1fa\",\n                \"ep_name\": \"Singapore Event Planner\",\n                \"event_id\": \"5bc5be5796db8a82835b88ee\",\n                \"has_fees\": false,\n                \"id\": \"5bc5be5796db8a82835b88f0\",\n                \"is_upsell\": true,\n                \"name\": \"Threat expert health politics\",\n                \"pending_reservations\": 2,\n                \"post_event_days\": 2,\n                \"pre_event_days\": 3,\n                \"reservation_url\": \"http://www.localhost:5001/r/threat-expert-health-politics-5bc5be57\",\n                \"reserved_rooms\": 3,\n                \"revenue_download_url\": \"http://hotel.localhost:5001/blocks/5bc5be5796db8a82835b88f0/export-rooming-list?type=revenue\",\n                \"room_inclusion\": \"Natural hot allow war few inside.\",\n                \"room_policy\": \"Yourself worry third law. Low yourself goal choice. Foot coach laugh type group north court.\",\n                \"status\": \"closed\",\n                \"is_cancelling\": false,\n                \"total_rooms\": 400,\n                \"transfer_detail\": \"\",\n                \"type\": \"single\"\n            },\n            {\n                \"able_check_in\": \"2018-11-11T00:00:00\",\n                \"able_check_out\": \"2018-11-17T00:00:00\",\n                \"account_holder\": \"Singapore Hotel\",\n                \"account_holder_id\": \"5bc3590396db8a1b5134f1f4\",\n                \"closeable_at\": \"2018-11-17T00:00:00\",\n                \"closeable_res_at\": null,\n                \"code\": \"11223344\",\n                \"company_name\": \"IDEM\",\n                \"contracted_from_date\": \"2018-11-13T00:00:00\",\n                \"contracted_to_date\": \"2018-11-15T00:00:00\",\n                \"created_at\": \"2018-11-13T07:23:05.851000\",\n                \"editing_reservations\": 1,\n                \"ep_email\": \"fuongit@gmail.com\",\n                \"ep_id\": \"5bcfee4e96db8a2d633beef1\",\n                \"ep_name\": \"Phuong Ngo\",\n                \"event_id\": \"5bea7bd996db8a100c29e254\",\n                \"has_fees\": false,\n                \"id\": \"5bea7bd996db8a100c29e255\",\n                \"is_upsell\": true,\n                \"name\": \"Second person rate not being included in the total billing summary\",\n                \"pending_reservations\": 1,\n                \"post_event_days\": 2,\n                \"pre_event_days\": 2,\n                \"reservation_url\": \"http://www.localhost:5001/r/second-person-rate-not-being-included-in-the-total-billing-summary-5bea7bd9\",\n                \"reserved_rooms\": 3,\n                \"revenue_download_url\": \"http://hotel.localhost:5001/blocks/5bea7bd996db8a100c29e255/export-rooming-list?type=revenue\",\n                \"room_inclusion\": \"\",\n                \"room_policy\": \"<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\\n<p>&nbsp;</p>\\n\",\n                \"status\": \"closed\",\n                \"is_cancelling\": false,\n                \"total_rooms\": 12,\n                \"transfer_detail\": \"\",\n                \"type\": \"single\"\n            },\n            {\n                \"able_check_in\": \"2018-11-26T00:00:00\",\n                \"able_check_out\": \"2018-11-30T00:00:00\",\n                \"account_holder\": \"Singapore Hotel\",\n                \"account_holder_id\": \"5bc3590396db8a1b5134f1f4\",\n                \"closeable_at\": \"2018-11-30T00:00:00\",\n                \"closeable_res_at\": null,\n                \"code\": \"code11\",\n                \"company_name\": \"IDEM\",\n                \"contracted_from_date\": \"2018-11-27T00:00:00\",\n                \"contracted_to_date\": \"2018-11-29T00:00:00\",\n                \"created_at\": \"2018-11-26T09:38:08.816000\",\n                \"editing_reservations\": 0,\n                \"ep_email\": \"fuongit@gmail.com\",\n                \"ep_id\": \"5bcfee4e96db8a2d633beef1\",\n                \"ep_name\": \"Phuong Ngo\",\n                \"event_id\": \"5bfbbf001c91570f96084a21\",\n                \"has_fees\": false,\n                \"id\": \"5bfbbf001c91570f96084a22\",\n                \"is_upsell\": true,\n                \"name\": \"View Block - Total Nights Lost calculation is incorrect\",\n                \"pending_reservations\": 1,\n                \"post_event_days\": 1,\n                \"pre_event_days\": 1,\n                \"reservation_url\": \"http://www.localhost:5001/r/view-block-total-nights-lost-calculation-is-incorrect-5bfbbf00\",\n                \"reserved_rooms\": 4,\n                \"revenue_download_url\": \"http://hotel.localhost:5001/blocks/5bfbbf001c91570f96084a22/export-rooming-list?type=revenue\",\n                \"room_inclusion\": \"\",\n                \"room_policy\": \"<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\\n<p>&nbsp;</p>\\n\",\n                \"status\": \"closed\",\n                \"is_cancelling\": false,\n                \"total_rooms\": 176,\n                \"transfer_detail\": \"\",\n                \"type\": \"single\"\n            },\n            {\n                \"able_check_in\": \"2018-11-30T00:00:00\",\n                \"able_check_out\": \"2018-12-01T00:00:00\",\n                \"account_holder\": \"Singapore Hotel\",\n                \"account_holder_id\": \"5bc3590396db8a1b5134f1f4\",\n                \"closeable_at\": \"2018-12-02T00:00:00\",\n                \"closeable_res_at\": null,\n                \"code\": \"code11\",\n                \"company_name\": \"Freelance\",\n                \"contracted_from_date\": \"2018-11-30T00:00:00\",\n                \"contracted_to_date\": \"2018-12-01T00:00:00\",\n                \"created_at\": \"2018-11-30T03:42:35.336000\",\n                \"editing_reservations\": 0,\n                \"ep_email\": \"fuongit@gmail.com\",\n                \"ep_id\": \"5bcfee4e96db8a2d633beef1\",\n                \"ep_name\": \"Phuong Ngo\",\n                \"event_id\": \"5c00b1ab96db8a0427c10ba2\",\n                \"has_fees\": true,\n                \"id\": \"5c00b1ab96db8a0427c10ba3\",\n                \"is_upsell\": true,\n                \"name\": \"Block Status Booked\",\n                \"pending_reservations\": 2,\n                \"post_event_days\": 0,\n                \"pre_event_days\": 0,\n                \"reservation_url\": \"http://www.localhost:5001/r/block-status-booked-5c00b1ab\",\n                \"reserved_rooms\": 2,\n                \"revenue_download_url\": \"http://hotel.localhost:5001/blocks/5c00b1ab96db8a0427c10ba3/export-rooming-list?type=revenue\",\n                \"room_inclusion\": \"\",\n                \"room_policy\": \"<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\\n<p>&nbsp;</p>\\n\",\n                \"status\": \"closed\",\n                \"is_cancelling\": false,\n                \"total_rooms\": 2,\n                \"transfer_detail\": \"\",\n                \"type\": \"single\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"8b4ec4d8-4cea-4de2-bd30-10e70269bfaa"},{"name":"Post Preview Message (Assign Block Invitation)","id":"47923977-dc0f-4a05-99e1-9bfb7813afab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sent_to\": [\n        {\n            \"cc\": null,\n            \"hotel_id\": \"5bc3590396db8a1b5134f1f3\",\n            \"message\": \"   <p>Dear Abraham,</p><p>Below is access to our Group Reservations System which will help you automate & simplify the process of collecting your guest reservation data.</p><p>Click the “Let’s Get Started” button below to log in to your planner dashboard, from there you can view, edit & manage your groups.</p><p>It’s simple, really quite fun and free. The Idem systems will save you time and provide terrific visibility into your groups in real time.</p><p>The link will expire in 72 hours, please Get Started now!</p><p>Regards,</p><p>Singapore</p> \",\n            \"subject\": \"Kingsmen Hotels and Resorts group reservations system\",\n            \"to\": \"lincoln.dude@mailinator.com\"\n        }\n    ]\n}"},"url":"{{endpoint}}/api/v1/blocks/:id/preview-message","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","preview-message"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"{{block_id}}","key":"id"}]}},"response":[],"_postman_id":"47923977-dc0f-4a05-99e1-9bfb7813afab"},{"name":"Get Preview Message","id":"8efd46e1-abd7-4cb6-95d3-e131f38636ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/blocks/:id/preview-message","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","preview-message"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"{{block_id}}","key":"id"}]}},"response":[{"id":"d728069b-c18b-4fef-8bb5-85768455d2b4","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/blocks/{{block_id}}/preview-message"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1400"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkE9rg0AQxb9K2XMoautFyMGyKgZmJbJGdi-SRhP3X1qiQd2Q795NDyXXHoeZ95v33g01x0s39Cg67vXQrVAjWhTd0MsnihCxsBSYqwKrCcxOFjVMUFcBz_KJ1bkHtlo4hYBjLcGwGeSHALMNubshOJkYTRZiTwsJYC6yUjGaamJ7zWi8gEk1x63TbSRQNhNZSpKBD5T3jG59nm16ZuOQP2YbzyzYCLCt4vQUgik1oalwuqnAVUhwtUb3FToMl2Mzfqnu_BeBUfXmUIqZxAO5c6_zGTLwgJ4mkId3Xue-s-tz6WzL0gCOJ4jXvzjRdudRjMvr_jr2zbh8dyg6X7V-2jyXVbsgtgoBQ0hMKYosmZmsZrCOWjPvQbwO3aX5l-b-A9r3iqo.XDxLUw.TV7Hjo4JaH6-IRRNEYB3oGQAlh4; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Mon, 14 Jan 2019 08:41:55 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"account_holder\": \"Singapore Hotel\",\n        \"company_name\": \"Beck-Lee\",\n        \"contracted_from_date\": \"2019-01-12T00:00:00\",\n        \"contracted_to_date\": \"2019-01-17T00:00:00\",\n        \"hotel_manager_name\": \"Austin Powers\",\n        \"sender_name\": \"Austin Powers\",\n        \"ep_email\": \"epreminder.idem@mailinator.com\",\n        \"ep_name\": \"Penny Golden\",\n        \"event_start_date\": \"2019-01-09T04:33:08.368000\",\n        \"hotel_name\": \"Kingsmen Hotel\",\n        \"id\": \"5c2c3f0496db8a1abe5c1097\",\n        \"name\": \"Over knowledge describe fight yeah\",\n        \"reservation_url\": \"http://www.localhost:5001/r/over-knowledge-describe-fight-yeah-5c2c3f04\",\n        \"sent_cc\": null,\n        \"sent_message\": \"   <p>Dear Penny,</p><p>Below is access to our Group Reservations System which will help you automate & simplify the process of collecting your guest reservation data.</p><p>Click the “Let’s Get Started” button below to log in to your planner dashboard, from there you can view, edit & manage your groups.</p><p>It’s simple, really quite fun and free. The Idem systems will save you time and provide terrific visibility into your groups in real time.</p><p>The link will expire in 72 hours, please Get Started now!</p><p>Regards,</p><p>Singapore</p> \",\n        \"sent_subject\": \"Kingsmen Hotel group reservations system\",\n        \"sent_to\": \"epreminder.idem@mailinator.com\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"8efd46e1-abd7-4cb6-95d3-e131f38636ab"},{"name":"Block Invites","id":"2010445d-81ea-4971-b803-1b6829e8ba30","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"file","file":{}},"url":"{{endpoint}}/api/v1/hotels/current/block-invites","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels","current","block-invites"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"bacb7ef7-c26f-4404-9caf-3220476657b2","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"file","file":{}},"url":"{{endpoint}}/api/v1/hotels/current/block-invites"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":""},{"key":"Access-Control-Allow-Headers","value":""},{"key":"Access-Control-Allow-Methods","value":""},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":""},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 21 Jan 2019 10:11:59 GMT"},{"key":"ETag","value":"W/\"1718-R7IFiNMR/jL9A3VmWOAOMQ\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Length","value":"952"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 57,\n        \"filter\": {\n            \"limit\": 10,\n            \"order\": \"desc\",\n            \"page\": 1,\n            \"search\": null,\n            \"sort\": \"created_at\",\n            \"status\": null\n        },\n        \"results\": [\n            {\n                \"block_url\": \"http://hotel.localhost:5001/blocks/5c41a2b896db8acc9679e95a/view\",\n                \"company_name\": null,\n                \"contracted_from_date\": \"2019-01-18T00:00:00\",\n                \"created_at\": \"2019-01-18T09:56:08.045000\",\n                \"ep_email\": \"billie.idem@mailinator.com\",\n                \"ep_name\": \"Billie Jean\",\n                \"id\": \"5c41a2b896db8acc9679e95a\",\n                \"name\": \"Baby World Tour\",\n                \"night_count\": 1,\n                \"status\": \"pending\"\n            },\n            {\n                \"block_url\": \"http://hotel.localhost:5001/blocks/5c41a2aa96db8acc9679e957/view\",\n                \"company_name\": null,\n                \"contracted_from_date\": \"2019-01-18T00:00:00\",\n                \"created_at\": \"2019-01-18T09:55:54.723000\",\n                \"ep_email\": \"billie.idem@mailinator.com\",\n                \"ep_name\": \"Billie Jean\",\n                \"id\": \"5c41a2aa96db8acc9679e957\",\n                \"name\": \"Baby World Tour\",\n                \"night_count\": 1,\n                \"status\": \"pending\"\n            },\n            {\n                \"block_url\": \"http://hotel.localhost:5001/blocks/5c3df2e11c91571cc85ba68c/view\",\n                \"company_name\": \"Freelance\",\n                \"contracted_from_date\": \"2019-01-18T00:00:00\",\n                \"created_at\": \"2019-01-15T14:49:05.049000\",\n                \"ep_email\": \"fuongit@gmail.com\",\n                \"ep_name\": \"Phuong Ngo\",\n                \"id\": \"5c3df2e11c91571cc85ba68c\",\n                \"name\": \"Test counter\",\n                \"night_count\": 2,\n                \"status\": \"pending\"\n            },\n            {\n                \"block_url\": \"http://hotel.localhost:5001/blocks/5c3cbdc21c915703cfaf83bc/view\",\n                \"company_name\": \"Freelance\",\n                \"contracted_from_date\": \"2019-01-18T00:00:00\",\n                \"created_at\": \"2019-01-14T16:50:10.047000\",\n                \"ep_email\": \"fuongit@gmail.com\",\n                \"ep_name\": \"Phuong Ngo\",\n                \"id\": \"5c3cbdc21c915703cfaf83bc\",\n                \"name\": \"Test room dates migration\",\n                \"night_count\": 2,\n                \"status\": \"pending\"\n            },\n            {\n                \"block_url\": \"http://hotel.localhost:5001/blocks/5c2c3f0496db8a1abe5c1097/view\",\n                \"company_name\": \"Beck-Lee\",\n                \"contracted_from_date\": \"2019-01-12T00:00:00\",\n                \"created_at\": \"2019-01-02T04:33:08.429000\",\n                \"ep_email\": \"epreminder.idem@mailinator.com\",\n                \"ep_name\": \"Penny Golden\",\n                \"id\": \"5c2c3f0496db8a1abe5c1097\",\n                \"name\": \"Over knowledge describe fight yeah\",\n                \"night_count\": 5,\n                \"status\": \"pending\"\n            },\n            {\n                \"block_url\": \"http://hotel.localhost:5001/blocks/5c1b668596db8a59c9aa6a76/view\",\n                \"company_name\": \"Freelance\",\n                \"contracted_from_date\": \"2018-12-20T00:00:00\",\n                \"created_at\": \"2018-12-20T09:53:09.747000\",\n                \"ep_email\": \"fuongit@gmail.com\",\n                \"ep_name\": \"Phuong Ngo\",\n                \"id\": \"5c1b668596db8a59c9aa6a76\",\n                \"name\": \"Testing max occupancy\",\n                \"night_count\": 1,\n                \"status\": \"pending\"\n            },\n            {\n                \"block_url\": \"http://hotel.localhost:5001/blocks/5c18715f96db8a4cedd0a8ad/view\",\n                \"company_name\": \"Roberts, Garcia and Stanley\",\n                \"contracted_from_date\": \"2018-12-26T00:00:00\",\n                \"created_at\": \"2018-12-18T04:02:39.557000\",\n                \"ep_email\": \"epreminder.idem@mailinator.com\",\n                \"ep_name\": \"Penny Golden\",\n                \"id\": \"5c18715f96db8a4cedd0a8ad\",\n                \"name\": \"Interesting him story friend action\",\n                \"night_count\": 4,\n                \"status\": \"pending\"\n            },\n            {\n                \"block_url\": \"http://hotel.localhost:5001/blocks/5c135c0696db8a8a62eb7b98/view\",\n                \"company_name\": \"IDEM\",\n                \"contracted_from_date\": \"2018-12-20T00:00:00\",\n                \"created_at\": \"2018-12-14T07:30:14.894000\",\n                \"ep_email\": \"fuongit@gmail.com\",\n                \"ep_name\": \"Phuong Ngo\",\n                \"id\": \"5c135c0696db8a8a62eb7b98\",\n                \"name\": \"Improvement\",\n                \"night_count\": 5,\n                \"status\": \"pending\"\n            },\n            {\n                \"block_url\": \"http://hotel.localhost:5001/blocks/5c120e7a96db8aa02d6defc8/view\",\n                \"company_name\": \"IDEM\",\n                \"contracted_from_date\": \"2018-12-06T00:00:00\",\n                \"created_at\": \"2018-12-13T07:47:06.010000\",\n                \"ep_email\": \"firstplanner.idem@mailinator.com\",\n                \"ep_name\": \"First Planner\",\n                \"id\": \"5c120e7a96db8aa02d6defc8\",\n                \"name\": \"Creating Block API\",\n                \"night_count\": 1,\n                \"status\": \"pending\"\n            },\n            {\n                \"block_url\": \"http://hotel.localhost:5001/blocks/5c11e8e696db8a6a5063e19a/view\",\n                \"company_name\": \"IDEM\",\n                \"contracted_from_date\": \"2018-12-06T00:00:00\",\n                \"created_at\": \"2018-12-13T05:06:46.929000\",\n                \"ep_email\": \"firstplanner.idem@mailinator.com\",\n                \"ep_name\": \"First Planner\",\n                \"id\": \"5c11e8e696db8a6a5063e19a\",\n                \"name\": \"Creating Block API\",\n                \"night_count\": 1,\n                \"status\": \"pending\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"2010445d-81ea-4971-b803-1b6829e8ba30"},{"name":"Block Invites Count","id":"c1de1a38-47b9-4ceb-9ded-d6c64b045fae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/current/block-invites/count","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels","current","block-invites","count"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"6a15b28c-6e13-4a2c-92ad-1a108a77b628","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{endpoint}}/api/v1/hotels/current/block-invites/count"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Accept","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n\t\"code\": \"OK\",\n\t\"status\": \"success\",\n\t\"data\": {\n\t\t\"count\": 5\n\t}\n}"}],"_postman_id":"c1de1a38-47b9-4ceb-9ded-d6c64b045fae"},{"name":"Block Invites Accept","id":"a425af4b-6622-4ee6-baf1-bd115c380d93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{endpoint}}/api/v1/hotels/:id/blocks/:block_id/accept-invite","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","blocks",":block_id","accept-invite"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"},{"type":"string","value":"","key":"block_id"}]}},"response":[],"_postman_id":"a425af4b-6622-4ee6-baf1-bd115c380d93"},{"name":"Block Invites Reject","id":"77dd0bbf-8df1-4c7f-84e6-eb9aa76a41b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{endpoint}}/api/v1/hotels/:id/blocks/:block_id/reject-invite","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","blocks",":block_id","reject-invite"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"},{"type":"string","value":"","key":"block_id"}]}},"response":[],"_postman_id":"77dd0bbf-8df1-4c7f-84e6-eb9aa76a41b9"},{"name":"Close Block Reservations","id":"5651a54b-f901-4aaa-bbb3-ace788689e8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{endpoint}}/api/v1/blocks/:id/close-res","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","close-res"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"{{block_id}}","key":"id"}]}},"response":[],"_postman_id":"5651a54b-f901-4aaa-bbb3-ace788689e8e"},{"name":"Open Block Reservations","id":"6eef1b13-c361-4ae1-91d4-34b59642496d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{endpoint}}/api/v1/blocks/:id/open-res","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","open-res"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{block_id}}","key":"id"}]}},"response":[],"_postman_id":"6eef1b13-c361-4ae1-91d4-34b59642496d"},{"name":"Cancel Block","id":"66578d1c-18e4-44d5-8b06-82df86f832ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"password\": \"required:string\"\n}"},"url":"{{endpoint}}/api/v1/blocks/:id/cancel","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","cancel"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"5c7a287a96db8a4bf89064d9","key":"id"}]}},"response":[],"_postman_id":"66578d1c-18e4-44d5-8b06-82df86f832ca"},{"name":"Edit Event","id":"da02944e-a81a-4741-9d0c-1b504724bcf5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Skill oh oh according draw situation. Kitchen score stay morning. Memory fear key wall reveal so building. Least key policy military end private top. Trouble miss future camera responsibility particular capital. Nation bar message moment age record myself mission. Computer condition loss and hit around discussion culture. Message election audience even. Political you east. President avoid season lead environment. Prove write teach table.\"\n}"},"url":"{{endpoint}}/api/v1/blocks/:id/edit-event","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","edit-event"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"{{block_id}}","key":"id"}]}},"response":[{"id":"8fbc215f-aa77-415d-abad-a5c5859927ee","name":"Edit Event","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Skill oh oh according draw situation. Kitchen score stay morning. Memory fear key wall reveal so building. Least key policy military end private top. Trouble miss future camera responsibility particular capital. Nation bar message moment age record myself mission. Computer condition loss and hit around discussion culture. Message election audience even. Political you east. President avoid season lead environment. Prove write teach table.\"\n}"},"url":{"raw":"{{endpoint}}/api/v1/blocks/:id/edit-event","host":["{{endpoint}}"],"path":["api","v1","blocks",":id","edit-event"],"variable":[{"key":"id","value":"{{multi_block_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"159"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkM1uwjAQhF-l8hlVwZBLJG4OEZG8UZCJtb5EUEIS_9CKBEGMePe6PVRce92ZnZ1vH6Q-XZqhI8lpb4dmRur-SJIHeTuQhBSinXNaGSVwKljecZ3eODsalJVBjQvIyogLs1SMU2DggK0Nz3iMFDQ65bjfUPSVKVh7A5l68CYCt4vBV67IQhbdai7WPeqSgm8jLjcTz3aTYp0OvgkynIOwQedeiUoDS-OQukQf5m7dK8nvKMMtWq7Ic0Y-hsupHj9Nc_5DCNU9UNUpnXqku0UR7ODLCOTWgTAxMGuUUzZUWHKW9yjaCW-r37j-2JzHfpze99exq8fpqyHJ-Wrti_LyLJC5Vq6ykAVAt-0DYABBz2lulcT7T-J1aC71v3ae33G0im0.XHIhTw.Qiq0W2L2gkDnDzVy2dZ-S5zidWE; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Sun, 24 Feb 2019 04:45:03 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"event_id\": \"5c6bc77096db8ab7558def2a\",\n        \"id\": \"5c6bc77096db8ab7558def2b\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"da02944e-a81a-4741-9d0c-1b504724bcf5"},{"name":"Set Event Banner","id":"1ab59c72-393e-408c-ac1d-ec4446ecafc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"event_banner_enabled\": false\n}"},"url":"{{endpoint}}/api/v1/blocks/:id/event-banner","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","event-banner"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"{{block_id}}","key":"id"}]}},"response":[{"id":"bd0d1fac-0404-465b-b416-354e484bd016","name":"Set Event Banner","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"event_banner_enabled\": true\n}"},"url":{"raw":"{{endpoint}}/api/v1/blocks/:id/event-banner","host":["{{endpoint}}"],"path":["api","v1","blocks",":id","event-banner"],"variable":[{"key":"id","value":"{{block_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"149"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkE9rg0AQxb9K2XMoautFyMGyKgZmJbJGdi-SRhP3X1qiQd2Q795NDyXXHoeZ95v33g01x0s39Cg67vXQrVAjWhTd0MsnihCxsBSYqwKrCcxOFjVMUFcBz_KJ1bkHtlo4hYBjLcGwGeSHALMNubshOJkYTRZiTwsJYC6yUjGaamJ7zWi8gEk1x63TbSRQNhNZSpKBD5T3jG59nm16ZuOQP2YbzyzYCLCt4vQUgik1oalwuqnAVUhwtUb3FToMl2Mzfqnu_BeBUfXmUIqZxAO5c6_zGTLwgJ4mkId3Xue-s-tz6WzL0gCOJ4jXvzjRdudRjMvr_jr2zbh8dyg6X7V-2jyXVbsgtgoBQ0hMKYosmZmsZrCOWjPvQbwO3aX5l-b-A9r3iqo.XHJ6Kw.s1Mk_gLQPANJD7gYChvC2TKrAMc; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Sun, 24 Feb 2019 11:04:11 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"event_banner_enabled\": true,\n        \"id\": \"5c4ddbd91c915773bfc17dc2\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"1ab59c72-393e-408c-ac1d-ec4446ecafc4"},{"name":"Edit Venue","id":"5d8619e3-bb50-4178-904e-7984439b6b50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Suntec Singapore\",\n    \"description\": \"Suntec Singapore is the World’s Leading Meetings & Conference Centre, located at the heart of Asia's most integrated meetings, conventions and exhibitions hub. With great versatility featuring 42,000m2 of flexible customisable space, free WiFi, digital signage, an excellent range of culinary choices and a dedicated team of service experts, our award-winning facility can cater to events from 10 to 10,000 persons. Only 20 minutes from Changi International Airport, Suntec Singapore is conveniently located in the Central Business District and just minutes from the city's entertainment and cultural attractions. Suntec Singapore offers direct access to 5,200 hotel rooms, 1,000 retail outlets, 300 restaurants, 6 museums and Esplanade - Theatres on the Bay.\",\n    \"address\": \"80 Robinson Road, Singapore 454543\",\n    \"maps_url\": \"https://www.google.com/maps/place/Suntec+Singapore+Convention+%26+Exhibition+Centre/ @1.29369,103.8550453,17z/data=!3m1!4b1!4m5!3m4! 1s0x31da19af38dd2bf3:0xd63e8cb2dacf54c7!8m2!3d1.2936846!4d103.857234\",\n    \"phone\": {\n        \"cc\": \"+65\",\n        \"contact\": \"65749865\"\n    },\n    \"fax\": {\n        \"cc\": \"+65\",\n        \"contact\": \"88889653\"\n    },\n    \"email\": \"venue.idem@mailinator.com\",\n    \"website\": \"https://www.suntecsingapore.com\"\n}"},"url":"{{endpoint}}/api/v1/blocks/:id/edit-venue","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","edit-venue"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"{{multi_block_id}}","key":"id"}]}},"response":[{"id":"adc7806a-171d-4193-8f7c-55412054dc93","name":"Edit Venue","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Suntec Singapore\",\n    \"description\": \"Suntec Singapore is the World’s Leading Meetings & Conference Centre, located at the heart of Asia's most integrated meetings, conventions and exhibitions hub. With great versatility featuring 42,000m2 of flexible customisable space, free WiFi, digital signage, an excellent range of culinary choices and a dedicated team of service experts, our award-winning facility can cater to events from 10 to 10,000 persons. Only 20 minutes from Changi International Airport, Suntec Singapore is conveniently located in the Central Business District and just minutes from the city's entertainment and cultural attractions. Suntec Singapore offers direct access to 5,200 hotel rooms, 1,000 retail outlets, 300 restaurants, 6 museums and Esplanade - Theatres on the Bay.\",\n    \"address\": \"80 Robinson Road, Singapore 454543\",\n    \"maps_url\": \"https://www.google.com/maps/place/Suntec+Singapore+Convention+%26+Exhibition+Centre/ @1.29369,103.8550453,17z/data=!3m1!4b1!4m5!3m4! 1s0x31da19af38dd2bf3:0xd63e8cb2dacf54c7!8m2!3d1.2936846!4d103.857234\",\n    \"phone\": {\n        \"cc\": \"+65\",\n        \"contact\": \"65749865\"\n    },\n    \"fax\": {\n        \"cc\": \"+65\",\n        \"contact\": \"88889653\"\n    },\n    \"email\": \"venue.idem@mailinator.com\",\n    \"website\": \"https://www.suntecsingapore.com\"\n}"},"url":{"raw":"{{endpoint}}/api/v1/blocks/:id/edit-venue","host":["{{endpoint}}"],"path":["api","v1","blocks",":id","edit-venue"],"variable":[{"key":"id","value":"{{multi_block_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"159"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkM1uwjAQhF-l8hlVwZBLJG4OEZG8UZCJtb5EUEIS_9CKBEGMePe6PVRce92ZnZ1vH6Q-XZqhI8lpb4dmRur-SJIHeTuQhBSinXNaGSVwKljecZ3eODsalJVBjQvIyogLs1SMU2DggK0Nz3iMFDQ65bjfUPSVKVh7A5l68CYCt4vBV67IQhbdai7WPeqSgm8jLjcTz3aTYp0OvgkynIOwQedeiUoDS-OQukQf5m7dK8nvKMMtWq7Ic0Y-hsupHj9Nc_5DCNU9UNUpnXqku0UR7ODLCOTWgTAxMGuUUzZUWHKW9yjaCW-r37j-2JzHfpze99exq8fpqyHJ-Wrti_LyLJC5Vq6ykAVAt-0DYABBz2lulcT7T-J1aC71v3ae33G0im0.XHIhgw.dn4il20fUMnDNJlhynPHSuRi6J4; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Sun, 24 Feb 2019 04:45:55 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5c6bc77096db8ab7558def2b\",\n        \"venue_id\": \"5c6bc77096db8ab7558def2c\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"5d8619e3-bb50-4178-904e-7984439b6b50"},{"name":"Add Attachment","id":"2f3516a4-50ff-406a-9adb-36bc60a1a6cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"media_id\": {{media_id}}\n}"},"url":"{{endpoint}}/api/v1/blocks/:id/add-attachment","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","add-attachment"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"{{block_id}}","key":"id"}]}},"response":[{"id":"38590d24-197f-45d7-addf-0b4bf6ef8bf1","name":"Add Attachment","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"media_id\": \"5c72247996db8a64fb02a047\"\n}"},"url":{"raw":"{{endpoint}}/api/v1/blocks/:id/add-attachment","host":["{{endpoint}}"],"path":["api","v1","blocks",":id","add-attachment"],"variable":[{"key":"id","value":"{{multi_block_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"412"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkM1uwjAQhF-l8hlVwZBLJG4OEZG8UZCJtb5EUEIS_9CKBEGMePe6PVRce92ZnZ1vH6Q-XZqhI8lpb4dmRur-SJIHeTuQhBSinXNaGSVwKljecZ3eODsalJVBjQvIyogLs1SMU2DggK0Nz3iMFDQ65bjfUPSVKVh7A5l68CYCt4vBV67IQhbdai7WPeqSgm8jLjcTz3aTYp0OvgkynIOwQedeiUoDS-OQukQf5m7dK8nvKMMtWq7Ic0Y-hsupHj9Nc_5DCNU9UNUpnXqku0UR7ODLCOTWgTAxMGuUUzZUWHKW9yjaCW-r37j-2JzHfpze99exq8fpqyHJ-Wrti_LyLJC5Vq6ykAVAt-0DYABBz2lulcT7T-J1aC71v3ae33G0im0.XHIkpw._jKLUIoiYCAu55kYiqHgKhp_bcI; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Sun, 24 Feb 2019 04:59:19 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"created_at\": \"2019-02-24T04:59:19.760140\",\n        \"file_type\": \"others\",\n        \"hotel_name\": null,\n        \"id\": \"5c72247996db8a64fb02a047\",\n        \"name\": \"attachment_1.txt\",\n        \"size\": 12,\n        \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/default/blocks/5c6bc77096db8ab7558def2b/1AD98B16-attachment_1.txt\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"2f3516a4-50ff-406a-9adb-36bc60a1a6cc"},{"name":"Delete Attachment","id":"9a3678f9-dc5e-4ecf-9734-261f730bf269","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"media_id\": {{media_id}}\n}"},"url":"{{endpoint}}/api/v1/blocks/:id/delete-attachment","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","delete-attachment"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"{{block_id}}","key":"id"}]}},"response":[{"id":"a99d24ac-e88b-4ed1-80d5-3410f3a1eb60","name":"Delete Attachment","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"media_id\": {{media_id}}\n}"},"url":{"raw":"{{endpoint}}/api/v1/blocks/:id/delete-attachment","host":["{{endpoint}}"],"path":["api","v1","blocks",":id","delete-attachment"],"variable":[{"key":"id","value":"{{multi_block_id}}"}]}},"status":"BAD REQUEST","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"141"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkM1uwjAQhF-l8hlVwZBLJG4OEZG8UZCJtb5EUEIS_9CKBEGMePe6PVRce92ZnZ1vH6Q-XZqhI8lpb4dmRur-SJIHeTuQhBSinXNaGSVwKljecZ3eODsalJVBjQvIyogLs1SMU2DggK0Nz3iMFDQ65bjfUPSVKVh7A5l68CYCt4vBV67IQhbdai7WPeqSgm8jLjcTz3aTYp0OvgkynIOwQedeiUoDS-OQukQf5m7dK8nvKMMtWq7Ic0Y-hsupHj9Nc_5DCNU9UNUpnXqku0UR7ODLCOTWgTAxMGuUUzZUWHKW9yjaCW-r37j-2JzHfpze99exq8fpqyHJ-Wrti_LyLJC5Vq6ykAVAt-0DYABBz2lulcT7T-J1aC71v3ae33G0im0.XHIkRw.eOgdjHpYOm01id0g2VkX2ha3Hy0; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Sun, 24 Feb 2019 04:57:43 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"ERROR\",\n    \"http_status\": 400,\n    \"message\": \"Sorry, something went wrong! Please try again.\",\n    \"status\": \"failure\"\n}"}],"_postman_id":"9a3678f9-dc5e-4ecf-9734-261f730bf269"},{"name":"Add Event Logo","id":"be72581e-0cc3-40bb-a8bb-be3b6d0e7c44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"media_id\": \"string(objectid)\"\n}"},"url":"{{endpoint}}/api/v1/blocks/:id/add-logo","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","add-logo"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"{{block_id}}","key":"id"}]}},"response":[{"id":"f83a7960-319b-4f0c-932e-179d8b47cedd","name":"Add Event Logo","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"media_id\": \"5c72250196db8a64fb02a048\"\n}"},"url":{"raw":"{{endpoint}}/api/v1/blocks/:id/add-logo","host":["{{endpoint}}"],"path":["api","v1","blocks",":id","add-logo"],"variable":[{"key":"id","value":"{{multi_block_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"411"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkM1uwjAQhF-l8hlVwZBLJG4OEZG8UZCJtb5EUEIS_9CKBEGMePe6PVRce92ZnZ1vH6Q-XZqhI8lpb4dmRur-SJIHeTuQhBSinXNaGSVwKljecZ3eODsalJVBjQvIyogLs1SMU2DggK0Nz3iMFDQ65bjfUPSVKVh7A5l68CYCt4vBV67IQhbdai7WPeqSgm8jLjcTz3aTYp0OvgkynIOwQedeiUoDS-OQukQf5m7dK8nvKMMtWq7Ic0Y-hsupHj9Nc_5DCNU9UNUpnXqku0UR7ODLCOTWgTAxMGuUUzZUWHKW9yjaCW-r37j-2JzHfpze99exq8fpqyHJ-Wrti_LyLJC5Vq6ykAVAt-0DYABBz2lulcT7T-J1aC71v3ae33G0im0.XHIlGA.FzVNsgvYfoM2_8eoyzwXpudB0zM; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Sun, 24 Feb 2019 05:01:12 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"created_at\": \"2019-02-24T05:00:49.824000\",\n        \"file_type\": \"img\",\n        \"hotel_name\": null,\n        \"id\": \"5c72250196db8a64fb02a048\",\n        \"name\": \"HIGHLIGHTS-v3-480x251.jpg\",\n        \"size\": 21438,\n        \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/ep/5bcfee4e96db8a2d633beef1/GQ7OTKYF-HIGHLIGHTS-v3-480x251.jpg\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"be72581e-0cc3-40bb-a8bb-be3b6d0e7c44"},{"name":"Delete Event Logo","id":"ee1f756a-1866-45ee-bfa6-926aee106f0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"{{endpoint}}/api/v1/blocks/:id/delete-logo","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","delete-logo"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"{{block_id}}","key":"id"}]}},"response":[{"id":"a31c7320-b1b4-46b1-ba50-c477396c7fa6","name":"Delete Event Logo","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{endpoint}}/api/v1/blocks/:id/delete-logo","host":["{{endpoint}}"],"path":["api","v1","blocks",":id","delete-logo"],"variable":[{"key":"id","value":"{{multi_block_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"114"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkM1uwjAQhF-l8hlVwZBLJG4OEZG8UZCJtb5EUEIS_9CKBEGMePe6PVRce92ZnZ1vH6Q-XZqhI8lpb4dmRur-SJIHeTuQhBSinXNaGSVwKljecZ3eODsalJVBjQvIyogLs1SMU2DggK0Nz3iMFDQ65bjfUPSVKVh7A5l68CYCt4vBV67IQhbdai7WPeqSgm8jLjcTz3aTYp0OvgkynIOwQedeiUoDS-OQukQf5m7dK8nvKMMtWq7Ic0Y-hsupHj9Nc_5DCNU9UNUpnXqku0UR7ODLCOTWgTAxMGuUUzZUWHKW9yjaCW-r37j-2JzHfpze99exq8fpqyHJ-Wrti_LyLJC5Vq6ykAVAt-0DYABBz2lulcT7T-J1aC71v3ae33G0im0.XHIk6w.NMfvEZLOvvCITGYVL5GlwNhK75k; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Sun, 24 Feb 2019 05:00:27 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"message\": \"The logo has been already deleted successfully.\",\n    \"status\": \"success\"\n}"}],"_postman_id":"ee1f756a-1866-45ee-bfa6-926aee106f0f"},{"name":"Open Block","id":"6f8010f9-671a-4766-b123-4899b02bb8da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{endpoint}}/api/v1/blocks/:id/open","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","open"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"16ad7fe1-5c96-43f6-985f-3f35050e2db4","name":"Open Block","originalRequest":{"method":"PUT","header":[],"url":{"raw":"{{endpoint}}/api/v1/blocks/:id/open","host":["{{endpoint}}"],"path":["api","v1","blocks",":id","open"],"variable":[{"key":"id","value":"5ce2645a96db8a8bbff6b223"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"137"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UMtugzAQ_JXK56gKD6ctUg6NwIjDOkpkipYLSoHUGJNWgQhwlH-vm0PVU48zuzM7s1dSHM91L0lwPOi-XpCiqUhwJQ_vJCC5YHor3lquUgdCLSF8HXOBzjasFHaJhwJH3jGdh5s2j1mDIrIYPYgjB8zOQdH6FvtcsRZVOWOX-mjaiauqwyydIEtn7iZ-Hu88y1Mu0hEymLjZNzwELw_3GkxkQHxM0IEP2c7YO9LmoZBxhQqXVj9hh2tyW5CyPx-L4bOtT78VeJeaXDFrs5E8ZhoNk5AlExgcrXwEsZHbLKE2MgXFGlDRCOP6btdU9WlohvnxcBlkMcxfNQlOF63_TH6eRWjpLJ_cyqFLnx4qrypX7rPrrF7Iglz6-lz8v3T7Bk6RfXI.XOOmUg.LZ1UeDkvaFm2G0nsX717fOQ8aqA; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Tue, 21 May 2019 07:18:42 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5ce2645a96db8a8bbff6b223\",\n        \"status\": \"open\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"6f8010f9-671a-4766-b123-4899b02bb8da"},{"name":"Close Block","id":"eda4a72d-186f-4759-a6a0-0101e3a1bd50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{endpoint}}/api/v1/blocks/:id/close","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","close"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"5cd568561c91576479c577c5","key":"id"}]}},"response":[{"id":"d8a184e6-c98f-4ba6-97e7-804f8ecbbedf","name":"Close Block","originalRequest":{"method":"PUT","header":[],"url":{"raw":"{{endpoint}}/api/v1/blocks/:id/close","host":["{{endpoint}}"],"path":["api","v1","blocks",":id","close"],"variable":[{"key":"id","value":"5ce2645a96db8a8bbff6b223"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UMtugzAQ_JXK56gKD6ctUg6NwIjDOkpkipYLSoHUGJNWgQhwlH-vm0PVU48zuzM7s1dSHM91L0lwPOi-XpCiqUhwJQ_vJCC5YHor3lquUgdCLSF8HXOBzjasFHaJhwJH3jGdh5s2j1mDIrIYPYgjB8zOQdH6FvtcsRZVOWOX-mjaiauqwyydIEtn7iZ-Hu88y1Mu0hEymLjZNzwELw_3GkxkQHxM0IEP2c7YO9LmoZBxhQqXVj9hh2tyW5CyPx-L4bOtT78VeJeaXDFrs5E8ZhoNk5AlExgcrXwEsZHbLKE2MgXFGlDRCOP6btdU9WlohvnxcBlkMcxfNQlOF63_TH6eRWjpLJ_cyqFLnx4qrypX7rPrrF7Iglz6-lz8v3T7Bk6RfXI.XOOmWQ.2E75swGZwz2uE2x6fwsBGBRbLWs; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Tue, 21 May 2019 07:18:49 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5ce2645a96db8a8bbff6b223\",\n        \"status\": \"closed\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"eda4a72d-186f-4759-a6a0-0101e3a1bd50"},{"name":"Resend Invite","id":"220b9f73-328c-44d8-8003-08db4ab8c3b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{endpoint}}/api/v1/blocks/:id/resend-invite","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","resend-invite"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"5cd568561c91576479c577c5","key":"id"}]}},"response":[{"id":"c3f5eaed-9944-40a6-a449-330df8341531","name":"Close Block","originalRequest":{"method":"PUT","header":[],"url":{"raw":"{{endpoint}}/api/v1/blocks/:id/close","host":["{{endpoint}}"],"path":["api","v1","blocks",":id","close"],"variable":[{"key":"id","value":"5ce2645a96db8a8bbff6b223"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UMtugzAQ_JXK56gKD6ctUg6NwIjDOkpkipYLSoHUGJNWgQhwlH-vm0PVU48zuzM7s1dSHM91L0lwPOi-XpCiqUhwJQ_vJCC5YHor3lquUgdCLSF8HXOBzjasFHaJhwJH3jGdh5s2j1mDIrIYPYgjB8zOQdH6FvtcsRZVOWOX-mjaiauqwyydIEtn7iZ-Hu88y1Mu0hEymLjZNzwELw_3GkxkQHxM0IEP2c7YO9LmoZBxhQqXVj9hh2tyW5CyPx-L4bOtT78VeJeaXDFrs5E8ZhoNk5AlExgcrXwEsZHbLKE2MgXFGlDRCOP6btdU9WlohvnxcBlkMcxfNQlOF63_TH6eRWjpLJ_cyqFLnx4qrypX7rPrrF7Iglz6-lz8v3T7Bk6RfXI.XOOmWQ.2E75swGZwz2uE2x6fwsBGBRbLWs; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Tue, 21 May 2019 07:18:49 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5ce2645a96db8a8bbff6b223\",\n        \"status\": \"closed\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"220b9f73-328c-44d8-8003-08db4ab8c3b2"},{"name":"Assign Teams","id":"755d5a1b-a226-4f13-92a4-18ad3c565074","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"team_ids\": [\"string(objectid)\", \"string(objectid)\"]\n}"},"url":"{{endpoint}}/api/v1/blocks/:id/teams","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","teams"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"5c7fff9b1c9157059e0416e6","key":"id"}]}},"response":[{"id":"24640266-fba5-4949-8440-21e0ed729002","name":"Assign Teams","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"team_ids\": [\"5c905cbe96db8a29935651d6\"]\n}"},"url":{"raw":"{{endpoint}}/api/v1/blocks/:id/teams","host":["{{endpoint}}"],"path":["api","v1","blocks",":id","teams"],"variable":[{"key":"id","value":"5c7fff9b1c9157059e0416e6"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"112"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9kDFvgzAUhP9K5TmqggkNRcrQCoSI9GwROUH2goAQwMZpFYgIjvrf63Rppw5vuqe77-6O8tOlHloUnIp-qBco744ouKOnEgWI69QDDRhw4ok4comsXGL4JLLEcNZ4JNsqyEjHdeKS8L0VcYIh3inBDoqyBoM8dDTeuzSLDJeVRzNwIUwdwZobYL4ETRSYyggGK8oqe9uWstQhDDBlbUtDvhQZTICjiUuiRZxaz2gGeZTc9IqGreZyJ0W236CvBaqGyykfP1R9_q1g9jNnqRHaIrC3pUWd4REVc1tNWFShITwoYHADpiYwFrvZ_Nh1x_o8duP8XFzHNh_nzxoF52vf_1EeYyGvXDteWaz9F995rd2idJ2Vv_Z8tEDXob7k_z99fQNS0nwI.XJIcPw.Xrkeqyp865hKBhGDOyhfrEeJvF4; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Wed, 20 Mar 2019 10:55:59 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"message\": \"The block was assigned to teams successfully.\",\n    \"status\": \"success\"\n}"},{"id":"767de770-82e6-4841-8b35-10910f78f926","name":"Assign Team","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"team_ids\": [\"5c8e41761c9157babc8f5f49\"]\n}"},"url":{"raw":"{{endpoint}}/api/v1/blocks/:id/assign-team","host":["{{endpoint}}"],"path":["api","v1","blocks",":id","assign-team"],"variable":[{"key":"id","value":"5c7fff9b1c9157059e0416e6"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"112"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9kDFvgzAUhP9K5TmqggkNRcrQCoSI9GwROUH2goAQwMZpFYgIjvrf63Rppw5vuqe77-6O8tOlHloUnIp-qBco744ouKOnEgWI69QDDRhw4ok4comsXGL4JLLEcNZ4JNsqyEjHdeKS8L0VcYIh3inBDoqyBoM8dDTeuzSLDJeVRzNwIUwdwZobYL4ETRSYyggGK8oqe9uWstQhDDBlbUtDvhQZTICjiUuiRZxaz2gGeZTc9IqGreZyJ0W236CvBaqGyykfP1R9_q1g9jNnqRHaIrC3pUWd4REVc1tNWFShITwoYHADpiYwFrvZ_Nh1x_o8duP8XFzHNh_nzxoF52vf_1EeYyGvXDteWaz9F995rd2idJ2Vv_Z8tEDXob7k_z99fQNS0nwI.XJBSgw.GM3MM0AzE8ts_VTL_OXsq-buHW0; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Tue, 19 Mar 2019 02:22:59 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"message\": \"The block was assigned to teams successfully.\",\n    \"status\": \"success\"\n}"}],"_postman_id":"755d5a1b-a226-4f13-92a4-18ad3c565074"},{"name":"Get Assigned Teams","id":"6194902f-5238-42b5-b2a8-ea60ac6b0cd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/blocks/:id/teams","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","teams"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"5c7fff9b1c9157059e0416e6","key":"id"}]}},"response":[{"id":"10f515ea-ee5f-48fb-8239-c8b5f25ddb86","name":"Get Teams","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/blocks/:id/teams","host":["{{endpoint}}"],"path":["api","v1","blocks",":id","teams"],"variable":[{"key":"id","value":"5c7fff9b1c9157059e0416e6"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"218"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9kDFvgzAUhP9K5TmqggkNRcrQCoSI9GwROUH2goAQwMZpFYgIjvrf63Rppw5vuqe77-6O8tOlHloUnIp-qBco744ouKOnEgWI69QDDRhw4ok4comsXGL4JLLEcNZ4JNsqyEjHdeKS8L0VcYIh3inBDoqyBoM8dDTeuzSLDJeVRzNwIUwdwZobYL4ETRSYyggGK8oqe9uWstQhDDBlbUtDvhQZTICjiUuiRZxaz2gGeZTc9IqGreZyJ0W236CvBaqGyykfP1R9_q1g9jNnqRHaIrC3pUWd4REVc1tNWFShITwoYHADpiYwFrvZ_Nh1x_o8duP8XFzHNh_nzxoF52vf_1EeYyGvXDteWaz9F995rd2idJ2Vv_Z8tEDXob7k_z99fQNS0nwI.XJIgnQ.W3SPi-4dd0azrpEa8n6DcW_uuqg; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Wed, 20 Mar 2019 11:14:37 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"results\": [\n            {\n                \"id\": \"5c905cbe96db8a29935651d6\",\n                \"name\": \"Primary Team\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"6194902f-5238-42b5-b2a8-ea60ac6b0cd6"},{"name":"Process Release Rule","id":"e51ff67b-3e2f-46c5-8d35-a0e71ed76b59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{endpoint}}/api/v1/blocks/:id/release-rules/:release_rule_id/process","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","release-rules",":release_rule_id","process"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"5c8f500596db8ab167945158","key":"id"},{"type":"any","value":"5c9c709096db8a2b0dfee025","key":"release_rule_id"}]}},"response":[{"id":"069474ea-8c9b-4df8-b0f5-5e29d4ddd22b","name":"Process Release Rule","originalRequest":{"method":"PUT","header":[],"url":{"raw":"{{endpoint}}/api/v1/blocks/:id/release-rules/:release_rule_id/process","host":["{{endpoint}}"],"path":["api","v1","blocks",":id","release-rules",":release_rule_id","process"],"variable":[{"key":"id","value":"5c8f500596db8ab167945158"},{"key":"release_rule_id","value":"5c9c928996db8a74da59642d"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"211"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UMtugzAQ_JXK56gKD6ctUg6NwIjDOkpkipYLSoHUGJNWgQhwlH-vm0PVU48zuzM7s1dSHM91L0lwPOi-XpCiqUhwJQ_vJCC5YHor3lquUgdCLSF8HXOBzjasFHaJhwJH3jGdh5s2j1mDIrIYPYgjB8zOQdH6FvtcsRZVOWOX-mjaiauqwyydIEtn7iZ-Hu88y1Mu0hEymLjZNzwELw_3GkxkQHxM0IEP2c7YO9LmoZBxhQqXVj9hh2tyW5CyPx-L4bOtT78VeJeaXDFrs5E8ZhoNk5AlExgcrXwEsZHbLKE2MgXFGlDRCOP6btdU9WlohvnxcBlkMcxfNQlOF63_TH6eRWjpLJ_cyqFLnx4qrypX7rPrrF7Iglz6-lz8v3T7Bk6RfXI.XJyTig.Cd_4ZcxLh30TZAoTKw8_aqqyrDg; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Thu, 28 Mar 2019 09:27:38 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5c9c928996db8a74da59642d\",\n        \"status\": \"processed\"\n    },\n    \"message\": \"The release rule has been processed successfully.\",\n    \"status\": \"success\"\n}"}],"_postman_id":"e51ff67b-3e2f-46c5-8d35-a0e71ed76b59"},{"name":"Get Overview Stats","id":"48f4b310-6858-4a8c-a163-df7d136c0c2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/current/block-stats?start&end&pre_start&pre_end","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels","current","block-stats"],"host":["{{endpoint}}"],"query":[{"key":"start","value":null},{"key":"end","value":null},{"key":"pre_start","value":null},{"key":"pre_end","value":null}],"variable":[]}},"response":[],"_postman_id":"48f4b310-6858-4a8c-a163-df7d136c0c2f"},{"name":"Save Photo","id":"9f8dad7d-3f48-429e-8aac-05ebce49efca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"media_id\": \"objectid\"\n}"},"url":"{{endpoint}}/api/v1/blocks/:id/add-photo","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","add-photo"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"9f8dad7d-3f48-429e-8aac-05ebce49efca"},{"name":"Delete Photo","id":"01a8d878-9b58-47ef-b55b-d6bd2c10ee17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"media_id\": \"objectid\"\n}"},"url":"{{endpoint}}/api/v1/blocks/:id/delete-photo","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","delete-photo"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"01a8d878-9b58-47ef-b55b-d6bd2c10ee17"},{"name":"Assign Booker","id":"ee0522c8-a357-41e2-88e9-06ab53cc7244","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"last_name\": \"Planner\",\n    \"first_name\": \"First\",\n    \"phone\": {\n        \"cc\": \"93\",\n        \"contact\": \"987654321\"\n    },\n    \"company_name\": \"IDEM\",\n    \"email\": \"firstplanner4.idem@mailinator.com\"\n}"},"url":"{{endpoint}}/api/v1/blocks/:id/assignee","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","assignee"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"5d1246151c91570c12db57c7","key":"id"}]}},"response":[{"id":"24e39acf-42ae-479b-b29a-ab9a3caec1fc","name":"Assign Booker","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"last_name\": \"Planner\",\n    \"first_name\": \"First\",\n    \"phone\": {\n        \"cc\": \"93\",\n        \"contact\": \"987654321\"\n    },\n    \"company_name\": \"IDEM\",\n    \"email\": \"firstplanner4.idem@mailinator.com\"\n}"},"url":{"raw":"{{endpoint}}/api/v1/blocks/:id/assignee","host":["{{endpoint}}"],"path":["api","v1","blocks",":id","assignee"],"variable":[{"key":"id","value":"5d1246151c91570c12db57c7"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"156"},{"key":"X-Idem-CSRF-Token","value":"IjNmOWMwZjBhMmM0Y2RkM2Q2ZDlkMGI4MzE3NTExNGQ1MDBkYzczYTQi.XUF6Tw.i9NxholDnDMXhbt5ZF-OwL8pX0o"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9kU-PmzAQxb9K5XNUgQNpE2kPi_gTrWLTsKZkfEEsEAzYKQqwCV7td6-7ldqeehpp3ps3v9G8ofx8rUeBdudCjvUK5W2Fdm_o0wvaIaLBAZwoYLKl-qknGFya0Z52xCIR2ICDO41oH_thB92jAzq9Awtw7FctyY436BqHqLDlnTB6qiE7LlzBEkeJiqNUExXcOWsWqhsz-ySgO2pu-jQia5MpQDeYKNBxFFhc8dZUm_hhD1q2MQOHqgAD86TxP6D3FSrH6zmffvT15e8JBhm0p0gULKCTjkdmhc_7-DeeJqy0CTPxfnojUdJRTQV9fPiIa1QxjHk3FkObz1f5J7PYJ1a5J5vDsp3g5OmDql5fcDXyLLwVJzID3k4HbAvjeTX6cMCD_oYnWTPbez4NIl1Lr_ouWXkKJ-aLtgy25BkPe4L5kvmGjvUW8T23VCItZf_B0lb1ZWqn5XMxTyKflqFGu8ss5T_Kr8cht7StL7iyXctxi2pdlRv8FdubLVqheayv-f9N7z8Bxfar9A.XUF6Tw.DzJoEQjB6fnCg5O5Cvsbb7aD25U; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Wed, 31 Jul 2019 11:23:59 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"ep_id\": \"5d417a4f96db8ae70eb25af5\",\n        \"id\": \"5d1246151c91570c12db57c7\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"ee0522c8-a357-41e2-88e9-06ab53cc7244"},{"name":"Deletable","id":"7022ac30-80f9-41fa-83bc-4cb57a23fd4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"context_type\": \"enum(Hotel, Room)\",\n\t\"context_ids\": \"array(objectid)\"\n}"},"url":"{{endpoint}}/api/v1/blocks/:id/deletable","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","deletable"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"5d4167d096db8aa5ec885a77","key":"id"}]}},"response":[],"_postman_id":"7022ac30-80f9-41fa-83bc-4cb57a23fd4c"},{"name":"Deletable Inventories","id":"4ebd0c9b-8e21-4801-8c5c-a4ded96476d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"dates\": \"req:array(string(date))\"\n}"},"url":"{{endpoint}}/api/v1/blocks/:id/deletable-inventories","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","deletable-inventories"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"5d4167d096db8aa5ec885a77","key":"id"}]}},"response":[],"_postman_id":"4ebd0c9b-8e21-4801-8c5c-a4ded96476d4"},{"name":"Calculate Gross Rates","id":"b0b6a6e6-6ada-4c96-8c11-eaca4080920f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"tax_setup\": \"string\",\n\t\"is_pms\": \"bool\",\n\t\"room_dates\": [\n\t\t{\n\t\t\t\"date\": \"string(date)\",\n\t\t\t\"rate\": \"float\"\n\t\t}\t\n\t]\n}"},"url":"{{endpoint}}/api/v1/hotels/:id/rate-plans/gross-rates","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","rate-plans","gross-rates"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"8493fb73-6365-4ef0-82e9-831f57b8d96d","name":"Calculate Gross Rates","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"include_taxes_fees\": \"bool\",\n\t\"room_dates\": [\n\t\t{\n\t\t\t\"date\": \"string(date)\",\n\t\t\t\"rate\": \"float\"\n\t\t}\t\n\t]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/hotels/:id/rate-plans/gross-rates","host":["{{endpoint}}"],"path":["api","v1","hotels",":id","rate-plans","gross-rates"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n\t\"status\": \"OK\",\n\t\"http_status\": \"200\",\n\t\"data\": {\n\t\t\"results\": [\n\t\t\t{\n\t\t\t\t\"date\": \"string(date)\",\n\t\t\t\t\"rate\": \"float\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"date\": \"string(date)\",\n\t\t\t\t\"rate\": \"float\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"date\": \"string(date)\",\n\t\t\t\t\"rate\": \"float\"\n\t\t\t}\n\t\t]\n\t}\n}"}],"_postman_id":"b0b6a6e6-6ada-4c96-8c11-eaca4080920f"}],"id":"bf3228f6-cd69-4c2b-8fd0-203158c90b18","_postman_id":"bf3228f6-cd69-4c2b-8fd0-203158c90b18","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Reservation","item":[{"name":"Legacy","item":[{"name":"Create new reservation","id":"40d95183-1a41-48ea-ab03-a9732df24343","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-CSRF-Token","value":"{{csrf-token}}","description":"<p>CSRF token</p>\n","type":"text"},{"key":"Referer","value":"{{referer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"field\": \"all\",\n    \"mailing\": true,\n    \"reservation\": {\n        \"check_in\": \"2024-01-01\",\n        \"check_out\": \"2024-01-05\",\n        \"children\": 0,\n        \"adults\": 1,\n        \"child_age\": [],\n        \"rate_plan_id\": \"5c7f4c0e96db8a24ebaddd94\",\n        \"room_class_id\": null,\n        \"hotel_message\": \"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.\",\n        \"private_hotel_message\": \"\",\n        \"arrival_flight\": \"F-001\",\n        \"departure_flight\": \"F-007\",\n        \"membership_id\": null,\n        \"est_arrival\": \"09:00 AM (Request Early Check-in)\",\n        \"est_departure\": \"01:00 PM (late check-out request)\",\n        \"guests\": [\n            {\n                \"salutation\": \"Mr.\",\n                \"first_name\": \"Steve\",\n                \"last_name\": \"Smith\",\n                \"email\": \"Blaise.Wilderman@hotmail.com\",\n                \"job_title\": \"Manager Director\",\n                \"company\": \"IDEM\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"address\": {\n                    \"address_1\": \"80 Robinson Road\",\n                    \"address_2\": \"\",\n                    \"city\": \"Singapore\",\n                    \"state\": \"Singapore\",\n                    \"postalcode\": \"454543\",\n                    \"country\": \"Singapore\"\n                }\n            }\n        ]\n    },\n    \"billing\": {\n        \"name\": \"John Smith\",\n        \"billing_address\": {\n            \"email\": \"Bryon_Gleason@hotmail.com\",\n            \"phone_number\": \"+12146825714\",\n            \"first_name\": \"John\",\n            \"last_name\": \"Smith\",\n            \"line1\": \"4600  Carolyns Circle\",\n            \"line2\": \"\",\n            \"city\": \"Dallas\",\n            \"postal_code\": \"75234\",\n            \"state\": \"TX\",\n            \"country\": \"us\"\n        },\n        \"payment_reference\": {\n            \"provider\": \"stripe|adyen\",\n            \"token\": \"tok_1DRe59J3Qv9azrNmuDeUEPXD\",\n            \"customer_id\": \"string(default=unset)\"\n        }\n    }\n}"},"url":"{{base_url}}/blocks/:block_id/reservations","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["blocks",":block_id","reservations"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"5c7f4c0c96db8a24ebaddd88","key":"block_id"}]}},"response":[{"id":"d15bb963-dc31-44ac-9db2-8e39e2fad7ed","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-CSRF-Token","value":"{{csrf-token}}","description":"CSRF token","type":"text"},{"key":"Referer","value":"{{referer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"reservation\": {\n        \"check_in\": \"2019-03-18\",\n        \"check_out\": \"2019-03-20\",\n        \"children\": 0,\n        \"adults\": 1,\n        \"child_age\": [\n        ],\n        \"rate_plan_id\": \"5c6e5f806265a115cadb6092\",\n        \"room_class_id\": null,\n        \"hotel_message\": \"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.\",\n        \"membership_id\": null,\n        \"est_arrival\": \"09:00 AM (Request Early Check-in)\",\n        \"est_departure\": \"01:00 PM (late check-out request)\",\n        \"guests\": [\n        \t{\n        \t\t\"salutation\": \"Mr.\",\n        \t\t\"first_name\": \"Steve\",\n        \t\t\"last_name\": \"Smith\",\n        \t\t\"email\": \"smith@idemventures.com\",\n        \t\t\"primary\": true,\n        \t\t\"job_title\": \"Manager Director\",\n        \t\t\"company\": \"IDEM\",\n        \t\t\"phone\": {\n        \t\t\t\"cc\": \"65\",\n        \t\t\t\"contact\": \"987654321\"\n        \t\t},\n        \t\t\"address\": {\n        \t\t\t\"address_1\": \"80 Robinson Road\",\n        \t\t\t\"address_2\": \"\",\n        \t\t\t\"city\": \"Singapore\",\n        \t\t\t\"state\": \"Singapore\",\n        \t\t\t\"postalcode\": \"454543\",\n        \t\t\t\"country\": \"Singapore\"\n        \t\t}\n        \t}\n        ]\n    }\n}"},"url":{"raw":"{{endpoint}}/api/v1/blocks/:block_id/reservations","host":["{{endpoint}}"],"path":["api","v1","blocks",":block_id","reservations"],"variable":[{"key":"block_id","value":"{{block_id}}","description":"The id of the block"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UE1vgjAY_itLz2bBKs6YeDBBCSZvG0mxebkQgbJSqFsEo2D87-t22U47P9_Pg2TVRXWarKpT26kJyeqSrB7kJScrAjK6MxHdQGxuqT22TO4sBJGHEj1m9w2M2oJMZiwoBghjzcVhAFMMqSnGNNhSZg5TEO8-D2On0w2YaOQhzlGUhkmcA3X8oGxQaIM0mXF51DBGUxTg8hKPO180xR3kTkMQN1wyzYPYouvDzL5mYVynIvHRJmvynJCiu1RZ_9Go8--E0UldJJPbKZrET21seQgDjo2bwQwTmzuKo-FC199VQeiWb9Y_dnWpzn3dD6-na6-zfvhUZHW-tu0f5Pss4udLeqILmi-XNFfe7E0V5WJBKzIh105dsv9Jzy8YKX37.XG9sPA.jzsIJUPA-AZ7fdrzbywV6ud7qqs; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Fri, 22 Feb 2019 03:27:56 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5c6f6c3a56c3e42eea4d23ca\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"40d95183-1a41-48ea-ab03-a9732df24343"},{"name":"List all reservations","id":"cda1a5a6-0ba2-4829-a281-e24b4671717f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/blocks/:id/reservations?room={{accommodation_id}}&limit=10&page=1&hotel={{hotel_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["blocks",":id","reservations"],"host":["{{base_url}}"],"query":[{"description":{"content":"<p>ObjectId of a specified Accommodation in current hotel</p>\n","type":"text/plain"},"key":"room","value":"{{accommodation_id}}"},{"key":"limit","value":"10"},{"key":"page","value":"1"},{"description":{"content":"<p>ObjectId of a specified hotel</p>\n","type":"text/plain"},"key":"hotel","value":"{{hotel_id}}"}],"variable":[{"type":"string","value":"{{block_id}}","key":"id"}]}},"response":[{"id":"59e3b7c1-a507-4291-9806-d227b3bb1d47","name":"Get List","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/blocks/{{block_id}}/reservations?page=1&limit=10&status=pending&search=xxx&sort=name&order=asc","host":["{{endpoint}}"],"path":["api","v1","blocks","{{block_id}}","reservations"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"},{"key":"status","value":"pending"},{"key":"search","value":"xxx"},{"key":"sort","value":"name"},{"key":"order","value":"asc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 1,\n        \"filter\": {\n            \"limit\": 10,\n            \"order\": \"desc\",\n            \"page\": 1,\n            \"search\": null,\n            \"sort\": \"updated_at\",\n            \"status\": null\n        },\n        \"results\": [\n            {\n                \"adults\": 1,\n                \"check_in\": \"2018-10-04T00:00:00+00:00\",\n                \"check_out\": \"2018-10-05T00:00:00+00:00\",\n                \"children\": 0,\n                \"edit_action_url\": \"http://hotel.localhost:5001/blocks/5bb59ec296db8a4dae7147cf/reservations/5bb59f7796db8a51fb999abd/edit\",\n                \"first_name\": \"Phuong\",\n                \"id\": \"5bb59f7796db8a51fb999abd\",\n                \"last_edit\": \"2018-10-04T05:04:59.334000+00:00\",\n                \"last_name\": \"Ngo\",\n                \"nights\": 1,\n                \"pms_no\": null,\n                \"reservation\": \"Phuong Ngo\",\n                \"room_type\": \"Clubhouse\",\n                \"status\": \"pending\",\n                \"view_action_url\": \"http://hotel.localhost:5001/reservations/5bb59f7796db8a51fb999abd/view\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"cda1a5a6-0ba2-4829-a281-e24b4671717f"},{"name":"Retrieve reservation stats","id":"ddc7aa3f-231f-43b4-8f01-2cdb30524ecc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/blocks/{{block_id}}/reservation-stats","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks","{{block_id}}","reservation-stats"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"c9a1d24b-47ac-495c-a9f9-cb4e2f1abe50","name":"Get Stats","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/blocks/{{block_id}}/reservation-stats"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Content-Length","value":"760","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 10 Oct 2018 07:16:59 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"session=.eJyVkEGLwjAUhP_KkrMsNLaXgoddUkuFJERawsulqK0maesutmIT8b9v3Mt63esb3nwzc0f18dKOGqXHXT-2C1SbBqV39LZHKWIeYlZ2M9gTVhJmKBvLcOVoLpasFDMjcKOlMjyHCPDaUiIiGGBWQxVRKWJlw11mkSppzEnmmM0inq812K1V5OMGvohBrjvqO0cxYIqzG8uLRA2FY2XlONl0zIuIk97yJ9sXCVjVhwyRIqfgqQ0nzUDzaoUeC3QYL8d6-ura81-F8uCohGWIZ6ivcIiWMPJpKMlCtSKhg4iZ1RrwRlMv3BMFYvVrZ5r2PJnJve-uk64n992i9Hzt-xfldSy5MWGQJZeQsGEbRskC6eCUFC7Q_NPxOraX-l8_jx_KBIeC.Dp846w.tOgzaFSGMBucK4vdDf5dltodTbA; HttpOnly; Path=/","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Vary","value":"Cookie","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"hotel.localhost","path":"/","secure":false,"value":".eJyVkEGLwjAUhP_KkrMsNLaXgoddUkuFJERawsulqK0maesutmIT8b9v3Mt63esb3nwzc0f18dKOGqXHXT-2C1SbBqV39LZHKWIeYlZ2M9gTVhJmKBvLcOVoLpasFDMjcKOlMjyHCPDaUiIiGGBWQxVRKWJlw11mkSppzEnmmM0inq812K1V5OMGvohBrjvqO0cxYIqzG8uLRA2FY2XlONl0zIuIk97yJ9sXCVjVhwyRIqfgqQ0nzUDzaoUeC3QYL8d6-ura81-F8uCohGWIZ6ivcIiWMPJpKMlCtSKhg4iZ1RrwRlMv3BMFYvVrZ5r2PJnJve-uk64n992i9Hzt-xfldSy5MWGQJZeQsGEbRskC6eCUFC7Q_NPxOraX-l8_jx_KBIeC.Dp846w.tOgzaFSGMBucK4vdDf5dltodTbA","key":"session"}],"responseTime":null,"body":"{\n    \"code\": \"OK\", \n    \"data\": {\n        \"add_reservation_url\": \"http://hotel.localhost:5001/blocks/5bb59ec296db8a4dae7147cf/reservations/0/edit\", \n        \"confirmed\": 0, \n        \"contracted_from_date\": \"2018-10-04T00:00:00\", \n        \"contracted_to_date\": \"2018-10-05T00:00:00\", \n        \"edited\": 0, \n        \"export_data_url\": \"http://hotel.localhost:5001/blocks/5bb59ec296db8a4dae7147cf/export-rooming-list?type=data\", \n        \"export_template_url\": \"http://hotel.localhost:5001/blocks/5bb59ec296db8a4dae7147cf/export-rooming-list?type=tpl\", \n        \"night_count\": 1, \n        \"pending\": 1, \n        \"post\": 0, \n        \"pre\": 0, \n        \"released_rooms\": 0, \n        \"reserved_rooms\": 1, \n        \"total_rooms\": 2\n    }, \n    \"status\": \"success\"\n}\n"}],"_postman_id":"ddc7aa3f-231f-43b4-8f01-2cdb30524ecc"},{"name":"Retrieve a reservation","id":"40d88845-6b23-402b-a7d7-48fae2c7de94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/reservations/:reservation_id?hotel_id={{hotel_id}}","urlObject":{"path":["reservations",":reservation_id"],"host":["{{base_url}}"],"query":[{"key":"hotel_id","value":"{{hotel_id}}"}],"variable":[{"description":{"content":"<p>The id of the reservation</p>\n","type":"text/plain"},"type":"string","value":"{{reservation_id}}","key":"reservation_id"}]}},"response":[{"id":"e7bda66c-ddab-4b0b-bc9b-ad2a9a7ebe3a","name":"Get Reservation","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/reservations/:reservation_id","host":["{{endpoint}}"],"path":["api","v1","reservations",":reservation_id"],"variable":[{"key":"reservation_id","value":"5c7f644296db8a7aebb072a1","description":"The id of the reservation"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"4697"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UMtugzAQ_JXK56gKD6ctUg6NwIjDOkpkipYLSoHUGJNWgQhwlH-vm0PVU48zuzM7s1dSHM91L0lwPOi-XpCiqUhwJQ_vJCC5YHor3lquUgdCLSF8HXOBzjasFHaJhwJH3jGdh5s2j1mDIrIYPYgjB8zOQdH6FvtcsRZVOWOX-mjaiauqwyydIEtn7iZ-Hu88y1Mu0hEymLjZNzwELw_3GkxkQHxM0IEP2c7YO9LmoZBxhQqXVj9hh2tyW5CyPx-L4bOtT78VeJeaXDFrs5E8ZhoNk5AlExgcrXwEsZHbLKE2MgXFGlDRCOP6btdU9WlohvnxcBlkMcxfNQlOF63_TH6eRWjpLJ_cyqFLnx4qrypX7rPrrF7Iglz6-lz8v3T7Bk6RfXI.XH9lZw.xFA7jgTC-lChoaBx02kwLb85PqM; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Wed, 06 Mar 2019 06:15:03 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"adults\": 1,\n        \"arrival_flight\": \"F-001\",\n        \"assigned_room_number\": \"\",\n        \"billing\": {\n            \"address_city\": \"Singapore\",\n            \"address_line1\": \"80 Robinson Road\",\n            \"address_line2\": \"\",\n            \"address_state\": \"Singapore\",\n            \"address_zip\": \"454543\",\n            \"country\": \"SG\",\n            \"payment_reference\": {\n                \"brand\": \"Visa\",\n                \"card_display\": \"xxxx xxxx xxxx 4242\",\n                \"exp_month\": \"4\",\n                \"exp_year\": \"2024\",\n                \"method\": \"\",\n                \"method_display\": \"Credit Card\",\n                \"name\": \"Henry Ngo\",\n                \"provider\": \"stripe\",\n                \"token\": \"tok_1EAsx1J3Qv9azrNmP88bIOd8\"\n            }\n        },\n        \"check_in\": \"2019-03-08T00:00:00\",\n        \"check_out\": \"2019-03-09T00:00:00\",\n        \"child_age_list\": [],\n        \"children\": 0,\n        \"created_at\": \"2019-03-06T06:10:10.619000\",\n        \"departure_flight\": \"F-007\",\n        \"edit_action_url\": \"http://hotel.localhost:5001/blocks/5c7f4c0c96db8a24ebaddd88/reservations/5c7f644296db8a7aebb072a1/edit\",\n        \"est_arrival\": \"09:00 AM (Request Early Check-in)\",\n        \"est_departure\": \"01:00 PM (late check-out request)\",\n        \"event_id\": \"5c7f4c0c96db8a24ebaddd87\",\n        \"field\": \"all\",\n        \"guests\": [\n            {\n                \"address\": {\n                    \"address_1\": \"80 Robinson Road\",\n                    \"address_2\": \"\",\n                    \"city\": \"Singapore\",\n                    \"country\": \"Singapore\",\n                    \"postalcode\": \"454543\",\n                    \"state\": \"Singapore\"\n                },\n                \"company\": \"IDEM\",\n                \"created_at\": \"2019-03-06T06:13:16.142000\",\n                \"email\": \"smith@idemventures.com\",\n                \"first_name\": \"Steve\",\n                \"id\": \"5c7f64fc96db8a7aebb072a5\",\n                \"job_title\": \"Manager Director\",\n                \"last_name\": \"Smith\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"salutation\": \"Mr.\",\n                \"updated_at\": \"2019-03-06T06:13:16.144000\"\n            }\n        ],\n        \"hotel\": {\n            \"id\": \"5b64304986819e07d799b133\",\n            \"name\": \"Kingsmen Hotels and Resorts\"\n        },\n        \"hotel_message\": \"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.\",\n        \"id\": \"5c7f644296db8a7aebb072a1\",\n        \"is_hotel_member\": false,\n        \"is_hotel_promoted\": false,\n        \"loyalty_club\": \"Kingsmen Loyalty Club\",\n        \"loyalty_url\": \"https://www.accorhotels.com/leclub/asia/join-loyalty-program/index.en.shtml\",\n        \"membership_id\": null,\n        \"name\": \"Steve Smith\",\n        \"night_count\": 1,\n        \"pms_confirmation_number\": \"\",\n        \"pricing\": {\n            \"avg_rate\": 100,\n            \"charged_night_count\": 1,\n            \"currency\": \"HKD\",\n            \"currency_symbol\": \"HK$\",\n            \"dates\": [\n                {\n                    \"date\": \"08 Mar 2019\",\n                    \"master_billing\": false,\n                    \"rate\": 100\n                }\n            ],\n            \"fees\": [\n                {\n                    \"amount\": 10.5,\n                    \"name\": \"Goods &amp; Service tax\"\n                }\n            ],\n            \"night_count\": 1,\n            \"subtotal\": 100,\n            \"total\": 110.5,\n            \"total_fees\": 10.5\n        },\n        \"private_hotel_message\": \"\",\n        \"rate_plan\": {\n            \"code\": \"5c7f4c0e96db8a24ebaddd94\",\n            \"id\": \"5c7f4c0e96db8a24ebaddd94\",\n            \"name\": \"Lorem Rate Plan\"\n        },\n        \"room\": {\n            \"accommodation\": {\n                \"image_url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5b64304986819e07d799b133/5W1LYBRP-AVLDAPBY-courtyard-room-01-23-orig_1.jpeg\"\n            },\n            \"id\": \"5c7f4c0e96db8a24ebaddd8a\",\n            \"name\": \"DELUXE ROOM\"\n        },\n        \"room_class\": null,\n        \"signup_hotel_member\": false,\n        \"status\": \"pending\",\n        \"sub_block\": {\n            \"id\": \"5c7f4c0e96db8a24ebaddd89\",\n            \"name\": \"Sub-Block 1\"\n        },\n        \"updated_at\": \"2019-03-06T06:15:03.598570\",\n        \"view_action_url\": \"http://hotel.localhost:5001/reservations/5c7f644296db8a7aebb072a1/view\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"40d88845-6b23-402b-a7d7-48fae2c7de94"},{"name":"Retrieve reservation brief","id":"dec1ac51-898f-4f6e-ae3a-0ea8ef86efbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/reservations/:guid/brief","urlObject":{"path":["reservations",":guid","brief"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"any","value":"{{reservation_guid}}","key":"guid"}]}},"response":[{"id":"b74c1eed-d20e-419f-a22c-98f5558dc463","name":"OK - Successful","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/reservations/:guid/brief","host":["{{base_url}}"],"path":["reservations",":guid","brief"],"variable":[{"key":"guid","value":"{{reservation_guid}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"339"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImU1MzNkOTFjMGU3MDM3NWNhYmViZWNjZDBmNjg5YzI5YWI0M2NmMjEi.YoXQUg.M8b3_NirfkAEsoXA5DiUxSIYBmc"},{"key":"Set-Cookie","value":"session=5a9a3acd-a361-432c-b6c4-323da7f30fed.tcD7U9fxfW83ZRvFciRjcU1DNDs; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Thu, 19 May 2022 05:06:26 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"code\": \"OK\",\n    \"data\": {\n        \"status\": \"confirmed\",\n        \"name\": \"Henry Ngo\",\n        \"confirmed_at\": \"2021-11-05T16:43:15.872000+08:00\",\n        \"updated_at\": \"2021-11-05T16:43:15.872000+08:00\",\n        \"pms_confirmation_number\": \"3456709876\",\n        \"guid\": \"4566cf82-8849-4be3-89e5-282bc50eecd9\",\n        \"id\": \"6184ee7c5ba4be4591803c62\",\n        \"is_processing\": false\n    }\n}"}],"_postman_id":"dec1ac51-898f-4f6e-ae3a-0ea8ef86efbe"},{"name":"Retrieve previously version","id":"c0c978fb-536d-4acf-94c7-b5c7242fedfc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/reservations/:id/pre-version","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","reservations",":id","pre-version"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"5c9cbfa496db8a15e32385d6","key":"id"}]}},"response":[{"id":"62ea9ef0-d166-4b24-940c-a075bd54dfb1","name":"Get Previously Version","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/reservations/:id/pre-version","host":["{{endpoint}}"],"path":["api","v1","reservations",":id","pre-version"],"variable":[{"key":"id","value":"5c9cbfa496db8a15e32385d6"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"4472"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UMtugzAQ_JXK56gKD6ctUg6NwIjDOkpkipYLSoHUGJNWgQhwlH-vm0PVU48zuzM7s1dSHM91L0lwPOi-XpCiqUhwJQ_vJCC5YHor3lquUgdCLSF8HXOBzjasFHaJhwJH3jGdh5s2j1mDIrIYPYgjB8zOQdH6FvtcsRZVOWOX-mjaiauqwyydIEtn7iZ-Hu88y1Mu0hEymLjZNzwELw_3GkxkQHxM0IEP2c7YO9LmoZBxhQqXVj9hh2tyW5CyPx-L4bOtT78VeJeaXDFrs5E8ZhoNk5AlExgcrXwEsZHbLKE2MgXFGlDRCOP6btdU9WlohvnxcBlkMcxfNQlOF63_TH6eRWjpLJ_cyqFLnx4qrypX7rPrrF7Iglz6-lz8v3T7Bk6RfXI.XJ-Cgw.CZ9_NZdINYfQo-Nh5gwMbGMhVEo; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Sat, 30 Mar 2019 14:51:47 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"adults\": 2,\n        \"arrival_flight\": \"\",\n        \"assigned_room_number\": \"\",\n        \"billing\": null,\n        \"check_in\": \"2019-03-27T00:00:00\",\n        \"check_out\": \"2019-03-28T00:00:00\",\n        \"child_age_list\": [],\n        \"children\": 0,\n        \"created_at\": \"2019-03-28T12:35:48.177000\",\n        \"departure_flight\": \"\",\n        \"edit_action_url\": \"http://hotel.localhost:5001/blocks/5c8f500596db8ab167945158/reservations/5c9cbfa496db8a15e32385d6/edit\",\n        \"est_arrival\": \"I don't know yet\",\n        \"est_departure\": \"I don't know yet\",\n        \"event_id\": \"5c8f500596db8ab167945155\",\n        \"field\": \"minimum\",\n        \"guests\": [\n            {\n                \"address\": {\n                    \"address_1\": \"\",\n                    \"address_2\": \"\",\n                    \"city\": \"\",\n                    \"country\": \"Albania (Shqipëri)\",\n                    \"postalcode\": \"\",\n                    \"state\": \"\"\n                },\n                \"company\": \"\",\n                \"created_at\": \"2019-03-28T12:35:48.178000\",\n                \"email\": \"reservation.idem@mailinator.com\",\n                \"first_name\": \"Reservation\",\n                \"id\": \"5c9cbfa496db8a15e32385d4\",\n                \"job_title\": \"\",\n                \"last_name\": \"Guest\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"salutation\": \"Mr.\",\n                \"updated_at\": \"2019-03-28T12:35:48.230000\"\n            },\n            {\n                \"address\": {\n                    \"address_1\": \"\",\n                    \"address_2\": \"\",\n                    \"city\": \"\",\n                    \"country\": \"\",\n                    \"postalcode\": \"\",\n                    \"state\": \"\"\n                },\n                \"company\": \"\",\n                \"created_at\": \"2019-03-28T12:35:48.241000\",\n                \"email\": null,\n                \"first_name\": \"\",\n                \"id\": \"5c9cbfa496db8a15e32385d5\",\n                \"job_title\": \"\",\n                \"last_name\": \"\",\n                \"phone\": {\n                    \"cc\": \"\",\n                    \"contact\": \"\"\n                },\n                \"salutation\": \"\",\n                \"updated_at\": \"2019-03-28T12:35:48.242000\"\n            }\n        ],\n        \"hotel\": {\n            \"id\": \"5b64304986819e07d799b133\",\n            \"name\": \"Kingsmen Hotels and Resorts\"\n        },\n        \"hotel_message\": \"\",\n        \"id\": \"5c9cbfa496db8a15e32385d6\",\n        \"is_hotel_member\": false,\n        \"is_hotel_promoted\": false,\n        \"loyalty_club\": \"Kingsmen Loyalty Club\",\n        \"loyalty_url\": \"https://www.accorhotels.com/leclub/asia/join-loyalty-program/index.en.shtml\",\n        \"membership_id\": null,\n        \"name\": \"Reservation Guest\",\n        \"night_count\": 1,\n        \"pms_confirmation_number\": \"\",\n        \"pricing\": {\n            \"avg_rate\": 100,\n            \"charged_night_count\": 1,\n            \"currency\": \"HKD\",\n            \"currency_symbol\": \"HK$\",\n            \"dates\": [\n                {\n                    \"date\": \"27 Mar 2019\",\n                    \"master_billing\": false,\n                    \"rate\": 100\n                }\n            ],\n            \"fees\": [\n                {\n                    \"amount\": 10.5,\n                    \"name\": \"Goods &amp; Service tax\"\n                }\n            ],\n            \"night_count\": 1,\n            \"subtotal\": 100,\n            \"total\": 110.5,\n            \"total_fees\": 10.5\n        },\n        \"private_hotel_message\": \"\",\n        \"rate_plan\": {\n            \"code\": \"5c9cbb8796db8a05d4407637\",\n            \"id\": \"5c9cbb8796db8a05d4407637\",\n            \"name\": \"Rate Code 1\"\n        },\n        \"room\": {\n            \"accommodation\": {\n                \"image_url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5b64304986819e07d799b133/FTMQ83PI-Deluxe-Room_03-1.jpg\"\n            },\n            \"id\": \"5c9cbb8796db8a05d440762e\",\n            \"name\": \"CLUB SUITE\"\n        },\n        \"room_class\": null,\n        \"signup_hotel_member\": false,\n        \"status\": \"pending\",\n        \"sub_block\": {\n            \"id\": \"5c9cbb8796db8a05d440762d\",\n            \"name\": \"Sub-Block 2\"\n        },\n        \"updated_at\": \"2019-03-28T12:35:48.271000\",\n        \"view_action_url\": \"http://hotel.localhost:5001/reservations/5c9cbfa496db8a15e32385d6/view\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"c0c978fb-536d-4acf-94c7-b5c7242fedfc"},{"name":"Search available rooms","id":"682895b4-377d-46f6-ba71-bd099026b9f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/reservations/available-rooms?sub_block_id={{sub_block_id}}&check_in={{check_in}}&check_out={{check_out}}&adults={{adults}}&children={{children}}&child_age={{child_age}}&hotel_id={{hotel_id}}&reservation_id={{reservation_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","reservations","available-rooms"],"host":["{{endpoint}}"],"query":[{"key":"sub_block_id","value":"{{sub_block_id}}"},{"key":"check_in","value":"{{check_in}}"},{"key":"check_out","value":"{{check_out}}"},{"key":"adults","value":"{{adults}}"},{"key":"children","value":"{{children}}"},{"key":"child_age","value":"{{child_age}}"},{"key":"hotel_id","value":"{{hotel_id}}"},{"key":"reservation_id","value":"{{reservation_id}}"}],"variable":[]}},"response":[{"id":"8d0e737e-d866-472d-8f27-c4cbe8ff56b9","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/reservations/available-rooms?sub_block_id=5c6e5f806265a115cadb608a&check_in=2019-02-18&check_out=2019-02-20&adults=1&children=0","host":["{{endpoint}}"],"path":["api","v1","reservations","available-rooms"],"query":[{"key":"sub_block_id","value":"5c6e5f806265a115cadb608a"},{"key":"check_in","value":"2019-02-18"},{"key":"check_out","value":"2019-02-20"},{"key":"adults","value":"1"},{"key":"children","value":"0"},{"key":"child_age","value":"{{child_age}}","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\", \n    \"data\": {\n        \"results\": [\n            {\n                \"accommodation\": {\n                    \"description\": \"<p>Find tranquility in your generous 36sqm room, whose surprising decorative touches &ndash; flower-shaped knobs, small wildlife figurines &ndash; delight and amuse. Everything was conceived with your comfort in mind. Relax and dream in your sumptuous MyBed&trade;, and enjoy luxuries like Lanvin bath products.</p>\\n\", \n                    \"details\": \"<ul>\\n\\t<li>36sqm</li>\\n\\t<li>Contemporary nature-inspired interiors</li>\\n\\t<li>Sofitel MyBed</li>\\n\\t<li>LED Smart TV</li>\\n\\t<li>Ensuite bathroom with rainshower and bathtub</li>\\n\\t<li>Lanvin amenities</li>\\n\\t<li>Illy coffee and tea facilities</li>\\n\\t<li>High-speed WIFI</li>\\n\\t<li>Digital newspapers and magazines</li>\\n\\t<li>Rollaway allowed.</li>\\n</ul>\\n\", \n                    \"hotel_id\": \"5b82a262b882be037ecd662e\", \n                    \"id\": \"5b8d1422b882be23036a1376\", \n                    \"image_url\": \"https://cdn.dev.idemevents.com/hotels/5b82a262b882be037ecd662e/DS034XZU-Sofitel-Singapore-Sentosa-Luxury-Room-585x390.jpg\", \n                    \"max_guests\": 4, \n                    \"name\": \"LUXURY ROOM\", \n                    \"room_classes\": [\n                        {\n                            \"id\": \"5c64ddab76490a7f73027e63\", \n                            \"name\": \"King Bed\"\n                        }, \n                        {\n                            \"id\": \"5c64ddab76490a7f73027e69\", \n                            \"name\": \"Twin Bed\"\n                        }\n                    ]\n                }, \n                \"capacity\": 4, \n                \"created_at\": \"2019-02-21T08:21:20.383000\", \n                \"hotel_id\": \"5b82a262b882be037ecd662e\", \n                \"hotel_name\": \"Sofitel Singapore Sentosa Resorts and Spa\", \n                \"id\": \"5c6e5f806265a115cadb608b\", \n                \"is_room_class\": false, \n                \"name\": \"LUXURY ROOM\", \n                \"offered_rates\": [\n                    {\n                        \"currency\": \"SGD\", \n                        \"included_taxes_fees\": false, \n                        \"master_billing\": false, \n                        \"rate\": 200.0, \n                        \"rate_details\": {\n                            \"avg_rate\": 200.0, \n                            \"charged_night_count\": 2, \n                            \"currency\": \"SGD\", \n                            \"dates\": [\n                                {\n                                    \"date\": \"18 Mar 2019\", \n                                    \"master_billing\": false, \n                                    \"rate\": 200.0\n                                }, \n                                {\n                                    \"date\": \"19 Mar 2019\", \n                                    \"master_billing\": false, \n                                    \"rate\": 200.0\n                                }\n                            ], \n                            \"fees\": [\n                                {\n                                    \"amount\": 28.0, \n                                    \"name\": \"Goods & Service tax\"\n                                }\n                            ], \n                            \"night_count\": 2, \n                            \"subtotal\": 400.0, \n                            \"total\": 428.0, \n                            \"total_fees\": 28.0\n                        }, \n                        \"rate_display\": \"S$200.00 SGD\", \n                        \"rate_plan_code\": \"1\", \n                        \"rate_plan_id\": \"5c6e5f806265a115cadb6092\", \n                        \"room_class_id\": null, \n                        \"room_class_name\": \"Normal Room\", \n                        \"status\": \"available\"\n                    }, \n                    {\n                        \"currency\": \"SGD\", \n                        \"included_taxes_fees\": false, \n                        \"master_billing\": false, \n                        \"rate\": 220.0, \n                        \"rate_details\": {\n                            \"avg_rate\": 220.0, \n                            \"charged_night_count\": 2, \n                            \"currency\": \"SGD\", \n                            \"dates\": [\n                                {\n                                    \"date\": \"18 Mar 2019\", \n                                    \"master_billing\": false, \n                                    \"rate\": 220.0\n                                }, \n                                {\n                                    \"date\": \"19 Mar 2019\", \n                                    \"master_billing\": false, \n                                    \"rate\": 220.0\n                                }\n                            ], \n                            \"fees\": [\n                                {\n                                    \"amount\": 30.8, \n                                    \"name\": \"Goods & Service tax\"\n                                }\n                            ], \n                            \"night_count\": 2, \n                            \"subtotal\": 440.0, \n                            \"total\": 470.8, \n                            \"total_fees\": 30.80000000000001\n                        }, \n                        \"rate_display\": \"S$220.00 SGD\", \n                        \"rate_plan_code\": \"2\", \n                        \"rate_plan_id\": \"5c6e5f806265a115cadb6099\", \n                        \"room_class_id\": null, \n                        \"room_class_name\": \"Normal Room\", \n                        \"status\": \"available\"\n                    }\n                ], \n                \"status\": \"available\", \n                \"status_display\": null, \n                \"sub_block_id\": \"5c6e5f806265a115cadb608a\", \n                \"type\": \"5b8d1422b882be23036a1376\"\n            }\n        ]\n    }, \n    \"status\": \"success\"\n}"}],"_postman_id":"682895b4-377d-46f6-ba71-bd099026b9f3"},{"name":"Calculate price sumary","id":"a0c96422-87b7-4ae8-9f11-b221521d7b24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/reservations/price-summary?sub_block_id={{sub_block_id}}&check_in={{check_in}}&check_out={{check_out}}&adults={{adults}}&children={{children}}&child_age={{child_age}}&rate_plan_id={{rate_plan_id}}&room_class_id={{room_class_id}}&reservation_id={{reservation_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","reservations","price-summary"],"host":["{{endpoint}}"],"query":[{"key":"sub_block_id","value":"{{sub_block_id}}"},{"key":"check_in","value":"{{check_in}}"},{"key":"check_out","value":"{{check_out}}"},{"key":"adults","value":"{{adults}}"},{"key":"children","value":"{{children}}"},{"key":"child_age","value":"{{child_age}}"},{"key":"rate_plan_id","value":"{{rate_plan_id}}"},{"key":"room_class_id","value":"{{room_class_id}}"},{"key":"reservation_id","value":"{{reservation_id}}"}],"variable":[]}},"response":[{"id":"178b5cb6-2843-4158-92f1-0af02fab3e61","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/reservations/price-summary?sub_block_id=5c6e5f806265a115cadb608a&check_in=2019-02-18&check_out=2019-02-20&adults=1&children=0&rate_plan_id=5c6e5f806265a115cadb6099","host":["{{endpoint}}"],"path":["api","v1","reservations","price-summary"],"query":[{"key":"sub_block_id","value":"5c6e5f806265a115cadb608a"},{"key":"check_in","value":"2019-02-18"},{"key":"check_out","value":"2019-02-20"},{"key":"adults","value":"1"},{"key":"children","value":"0"},{"key":"child_age","value":"{{child_age}}","disabled":true},{"key":"rate_plan_id","value":"5c6e5f806265a115cadb6099"},{"key":"room_class_id","value":"{{room_class_id}}","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"avg_rate\": 220,\n        \"currency\": \"SGD\",\n        \"dates\": [\n            {\n                \"date\": \"18 Mar 2019\",\n                \"master_billing\": false,\n                \"price\": 220,\n                \"rate\": 220\n            },\n            {\n                \"date\": \"19 Mar 2019\",\n                \"master_billing\": false,\n                \"price\": 220,\n                \"rate\": 220\n            }\n        ],\n        \"fee_days\": 2,\n        \"fees\": [\n            {\n                \"amount\": [],\n                \"description\": \"\",\n                \"fee_amount\": 30.8,\n                \"form_type\": null,\n                \"name\": \"goods_&_service_tax\",\n                \"title\": \"Goods & Service tax\",\n                \"type\": \"relative\",\n                \"value\": 7\n            }\n        ],\n        \"nights\": 2,\n        \"subtotal\": 440,\n        \"total\": 470.8,\n        \"total_fees\": 30.80000000000001\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"a0c96422-87b7-4ae8-9f11-b221521d7b24"},{"name":"Sync a reservation with pms","id":"14c76fde-6afc-48ed-a52b-73304c15f474","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[],"url":"{{base_url}}/reservations/:id/sync","urlObject":{"path":["reservations",":id","sync"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{reservation_id}}","key":"id"}]}},"response":[{"id":"fc07bc79-4754-4cb8-8195-cc12434286b6","name":"Sync Reservation","originalRequest":{"method":"PUT","header":[],"url":{"raw":"{{endpoint}}/api/v1/reservations/:id/sync","host":["{{endpoint}}"],"path":["api","v1","reservations",":id","sync"],"variable":[{"key":"id","value":"{{reservation_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5c6f6c3a56c3e42eea4d23ca\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"14c76fde-6afc-48ed-a52b-73304c15f474"},{"name":"Edit a reservation","id":"573ecae6-2fad-4a16-b162-86a885500ccd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"field\": \"string({all,minimum})\",\n    \"reservation\": {\n        \"adults\": \"required:integer(1..4)\",\n        \"arrival_flight\": \"string(default=unset)\",\n        \"assigned_room_number\": \"string(default=unset)\",\n        \"check_in\": \"required:date(YYYY-MM-DD)\",\n        \"check_out\": \"required:date(YYYY-MM-DD)\",\n        \"child_age\": \"array[integer(1..12)]\",\n        \"children\": \"integer(0.., default=0)\",\n        \"departure_flight\": \"string(default=unset)\",\n        \"est_arrival\": \"string(default=unset)\",\n        \"est_departure\": \"string(default=unset)\",\n        \"guests\": [\n            {\n            \t\"id\": \"string(objectid, default=unset)\",\n                \"address\": {\n                    \"address_1\": \"string(default=unset)\",\n                    \"address_2\": \"string(default=unset)\",\n                    \"city\": \"string(default=unset)\",\n                    \"country\": \"required:string\",\n                    \"postalcode\": \"string(default=unset)\",\n                    \"state\": \"string(default=unset)\"\n                },\n                \"company\": \"string(default=unset)\",\n                \"email\": \"string(email, default=unset)\",\n                \"first_name\": \"required:string\",\n                \"job_title\": \"string(default=unset)\",\n                \"last_name\": \"required:string\",\n                \"phone\": {\n                    \"cc\": \"string\",\n                    \"contact\": \"string\"\n                },\n                \"salutation\": \"string\"\n            }\n        ],\n        \"hotel_message\": \"string(default=unset)\",\n        \"is_hotel_member\": \"boolean(default=false)\",\n        \"is_hotel_promoted\": \"boolean(default=false)\",\n        \"membership_id\": \"string(default=unset)\",\n        \"pms_confirmation_number\": \"string(default=unset)\",\n        \"private_hotel_message\": \"string(default=unset)\",\n        \"rate_plan_id\": \"required:string(objectid)\",\n        \"room_class_id\": \"string(objectid, default=unset)\",\n        \"signup_hotel_member\": \"boolean(default=false)\"\n    },\n    \"billing\": {\n        \"address_city\": \"string(default=unset)\",\n        \"address_line1\": \"string(default=unset)\",\n        \"address_line2\": \"string(default=unset)\",\n        \"address_state\": \"string(default=unset)\",\n        \"address_zip\": \"string(default=unset)\",\n        \"country\": \"string(default=unset)\",\n        \"payment_reference\": {\n            \"provider\": \"string({stripe,other})\",\n            \"token\": \"required:string\"\n        }\n    }\n}"},"url":"{{base_url}}/reservations/:reservation_id","urlObject":{"path":["reservations",":reservation_id"],"host":["{{base_url}}"],"query":[],"variable":[{"description":{"content":"<p>The id of the reservation</p>\n","type":"text/plain"},"type":"any","value":"{{reservation_id}}","key":"reservation_id"}]}},"response":[{"id":"147b5bcb-c06b-4e38-a918-826de7284838","name":"Edit Reservation","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"field\": \"all\",\n    \"reservation\": {\n        \"adults\": 1,\n        \"arrival_flight\": \"\",\n        \"assigned_room_number\": \"\",\n        \"check_in\": \"2019-03-01\",\n        \"check_out\": \"2019-03-02\",\n        \"child_age\": [],\n        \"children\": 0,\n        \"departure_flight\": \"\",\n        \"est_arrival\": \"\",\n        \"est_departure\": \"\",\n        \"guests\": [\n            {\n                \"id\": \"5c7ba5631c91575da449b32e\",\n                \"address\": {\n                    \"address_1\": \"\",\n                    \"address_2\": \"\",\n                    \"city\": \"Ho Chi Minh\",\n                    \"country\": \"Vietnam (Việt Nam)\",\n                    \"postalcode\": null,\n                    \"state\": \"Vietnam (Việt Nam)\"\n                },\n                \"company\": \"Freelance\",\n                \"created_at\": \"2019-03-03T08:30:21.115000\",\n                \"email\": \"reservation.guest@mailinator.com\",\n                \"first_name\": \"Henry\",\n                \"job_title\": \"No Job Title\",\n                \"last_name\": \"Ngo\",\n                \"phone\": {\n                    \"cc\": \"95\",\n                    \"contact\": \"987654321\"\n                },\n                \"salutation\": \"Mr.\"\n            }\n        ],\n        \"hotel_message\": \"\",\n        \"is_hotel_member\": false,\n        \"is_hotel_promoted\": false,\n        \"membership_id\": \"\",\n        \"pms_confirmation_number\": \"\",\n        \"private_hotel_message\": \"\",\n        \"rate_plan_id\": \"5c7abcdd1c9157ccf45dd878\",\n        \"room_class_id\": \"5c75391696db8a5b2113fa40\",\n        \"signup_hotel_member\": true\n    },\n    \"billing\": {\n        \"address_city\": \"No address\",\n        \"address_line1\": \"No address\",\n        \"address_line2\": \"No address\",\n        \"address_state\": \"No address\",\n        \"address_zip\": \"No address\",\n        \"country\": \"US\",\n        \"name\": \"Henry Ngo\",\n        \"payment_reference\": {\n            \"provider\": \"stripe\",\n            \"token\": \"tok_1E9piBJ3Qv9azrNmra2DIquL\"\n        }\n    }\n}"},"url":{"raw":"{{endpoint}}/api/v1/reservations/:reservation_id","host":["{{endpoint}}"],"path":["api","v1","reservations",":reservation_id"],"variable":[{"key":"reservation_id","value":"5c7b909d1c915724ad0adceb","description":"The id of the reservation"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UMtugzAQ_JXK56gKD6ctUg6NwIjDOkpkipYLSoHUGJNWgQhwlH-vm0PVU48zuzM7s1dSHM91L0lwPOi-XpCiqUhwJQ_vJCC5YHor3lquUgdCLSF8HXOBzjasFHaJhwJH3jGdh5s2j1mDIrIYPYgjB8zOQdH6FvtcsRZVOWOX-mjaiauqwyydIEtn7iZ-Hu88y1Mu0hEymLjZNzwELw_3GkxkQHxM0IEP2c7YO9LmoZBxhQqXVj9hh2tyW5CyPx-L4bOtT78VeJeaXDFrs5E8ZhoNk5AlExgcrXwEsZHbLKE2MgXFGlDRCOP6btdU9WlohvnxcBlkMcxfNQlOF63_TH6eRWjpLJ_cyqFLnx4qrypX7rPrrF7Iglz6-lz8v3T7Bk6RfXI.XHugZQ.nCFo-OF7I99dm3d5QYfvQiMq3PA; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Sun, 03 Mar 2019 09:37:41 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5c7b909d1c915724ad0adceb\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"573ecae6-2fad-4a16-b162-86a885500ccd"},{"name":"Acknowledge a reservation","id":"4736362e-c34f-4ec1-a4f3-774d4ccd92d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{endpoint}}/api/v1/reservations/{{reservation_id}}/acknwd","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","reservations","{{reservation_id}}","acknwd"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"aaf55daa-1b5d-4612-a741-42a40841eb7e","name":"Success","originalRequest":{"method":"PUT","header":[],"url":"{{endpoint}}/api/v1/reservations/{{reservation_id}}/acknwd"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"114"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkE9rg0AQxb9K2XMoautFyMGyKgZmJbJGdi-SRhP3X1qiQd2Q795NDyXXHoeZ95v33g01x0s39Cg67vXQrVAjWhTd0MsnihCxsBSYqwKrCcxOFjVMUFcBz_KJ1bkHtlo4hYBjLcGwGeSHALMNubshOJkYTRZiTwsJYC6yUjGaamJ7zWi8gEk1x63TbSRQNhNZSpKBD5T3jG59nm16ZuOQP2YbzyzYCLCt4vQUgik1oalwuqnAVUhwtUb3FToMl2Mzfqnu_BeBUfXmUIqZxAO5c6_zGTLwgJ4mkId3Xue-s-tz6WzL0gCOJ4jXvzjRdudRjMvr_jr2zbh8dyg6X7V-2jyXVbsgtgoBQ0hMKYosmZmsZrCOWjPvQbwO3aX5l-b-A9r3iqo.XCNCNA.gHBn3vcIVUDW9-m7_72VjPfTPqY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Wed, 26 Dec 2018 08:56:20 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5bc947cd96db8a0a2ec3d926\",\n        \"status\": \"confirmed\"\n    },\n    \"message\": \"This reservation was acknowledged successfully.\",\n    \"status\": \"success\"\n}"}],"_postman_id":"4736362e-c34f-4ec1-a4f3-774d4ccd92d5"},{"name":"Cancel a reservation","id":"644047bd-391f-426c-93d1-adb5065eb54e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{endpoint}}/api/v1/reservations/:reservation_id/cancel","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","reservations",":reservation_id","cancel"],"host":["{{endpoint}}"],"query":[],"variable":[{"description":{"content":"<p>The id of the reservation</p>\n","type":"text/plain"},"type":"any","value":"{{reservation_id}}","key":"reservation_id"}]}},"response":[],"_postman_id":"644047bd-391f-426c-93d1-adb5065eb54e"},{"name":"Confirm pms number","id":"2fe49c3a-42b8-4ba9-8d6d-5faf2376de16","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-CSRF-Token","value":"{{csrf-token}}","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"pms\": \"string\",\n\t\"mailing\": \"boolean\"\n}"},"url":"{{endpoint}}/api/v1/reservations/:reservation_id/pms","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","reservations",":reservation_id","pms"],"host":["{{endpoint}}"],"query":[],"variable":[{"description":{"content":"<p>The id of the reservation</p>\n","type":"text/plain"},"type":"any","value":"{{reservation_id}}","key":"reservation_id"}]}},"response":[{"id":"e12c70f1-bdfa-48e1-9f61-21f32f4c6154","name":"Success","originalRequest":{"method":"PUT","header":[{"key":"X-CSRF-Token","value":"{{csrf-token}}","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"pms\": \"456\"\n}"},"url":{"raw":"{{endpoint}}/api/v1/reservations/:reservation_id/pms","host":["{{endpoint}}"],"path":["api","v1","reservations",":reservation_id","pms"],"variable":[{"key":"reservation_id","value":"{{reservation_id}}","description":"The id of the reservation"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"211"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UE1vgjAY_itLz2bBKs6YeDBBCSZvG0mxebkQgbJSqFsEo2D87-t22U47P9_Pg2TVRXWarKpT26kJyeqSrB7kJScrAjK6MxHdQGxuqT22TO4sBJGHEj1m9w2M2oJMZiwoBghjzcVhAFMMqSnGNNhSZg5TEO8-D2On0w2YaOQhzlGUhkmcA3X8oGxQaIM0mXF51DBGUxTg8hKPO180xR3kTkMQN1wyzYPYouvDzL5mYVynIvHRJmvynJCiu1RZ_9Go8--E0UldJJPbKZrET21seQgDjo2bwQwTmzuKo-FC199VQeiWb9Y_dnWpzn3dD6-na6-zfvhUZHW-tu0f5Pss4udLeqILmi-XNFfe7E0V5WJBKzIh105dsv9Jzy8YKX37.XG9_rQ.SNbUmvQLu7eWlTP0JDhxwGGgDqg; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Fri, 22 Feb 2019 04:50:53 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"ObjectId\",\n        \"pms\": \"string\",\n        \"status\": \"string\"\n    },\n    \"message\": \"The PMS for the reservation has been updated successfully.\",\n    \"status\": \"success\"\n}"}],"_postman_id":"2fe49c3a-42b8-4ba9-8d6d-5faf2376de16"},{"name":"Send confirmation email","id":"0e2e6880-d20d-44c0-9c85-38d6b5d7d0a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{endpoint}}/api/v1/reservations/:reservation_id/sendconfirm","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","reservations",":reservation_id","sendconfirm"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"5cf8d26c1c9157c6e099beeb","key":"reservation_id"}]}},"response":[{"id":"adb74be6-ccec-4862-b0c9-bce934ca8143","name":"Send Confirmation Email","originalRequest":{"method":"PUT","header":[],"url":{"raw":"{{endpoint}}/api/v1/reservations/:reservation_id/sendconfirm","host":["{{endpoint}}"],"path":["api","v1","reservations",":reservation_id","sendconfirm"],"variable":[{"key":"reservation_id","value":"5cf8d26c1c9157c6e099beeb"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"257"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UMtugzAQ_JXK56gKD6ctUg6NwIjDOkpkipYLSoHUGJNWgQhwlH-vm0PVU48zuzM7s1dSHM91L0lwPOi-XpCiqUhwJQ_vJCC5YHor3lquUgdCLSF8HXOBzjasFHaJhwJH3jGdh5s2j1mDIrIYPYgjB8zOQdH6FvtcsRZVOWOX-mjaiauqwyydIEtn7iZ-Hu88y1Mu0hEymLjZNzwELw_3GkxkQHxM0IEP2c7YO9LmoZBxhQqXVj9hh2tyW5CyPx-L4bOtT78VeJeaXDFrs5E8ZhoNk5AlExgcrXwEsZHbLKE2MgXFGlDRCOP6btdU9WlohvnxcBlkMcxfNQlOF63_TH6eRWjpLJ_cyqFLnx4qrypX7rPrrF7Iglz6-lz8v3T7Bk6RfXI.XP80vg.GyDiCIFutTvSAamdcr_CKTHpk_M; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Tue, 11 Jun 2019 04:57:34 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5cf8d26c1c9157c6e099beeb\",\n        \"pms\": \"123\",\n        \"status\": \"confirmed\"\n    },\n    \"message\": \"The confirmation email for the reservation has been resent successfully.\",\n    \"status\": \"success\"\n}"}],"_postman_id":"0e2e6880-d20d-44c0-9c85-38d6b5d7d0a2"},{"name":"Assign room","id":"0c49d348-e1ac-4bef-a4c1-eef025fbfe42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-CSRF-Token","value":"{{csrf-token}}","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"room_no\": {{room_no}}\n}"},"url":"{{endpoint}}/api/v1/reservations/:reservation_id/assign","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","reservations",":reservation_id","assign"],"host":["{{endpoint}}"],"query":[],"variable":[{"description":{"content":"<p>The id of the reservation</p>\n","type":"text/plain"},"type":"any","value":"{{reservation_id}}","key":"reservation_id"}]}},"response":[{"id":"dd8cca38-e998-437a-a0b2-d0f19b7a2954","name":"Success","originalRequest":{"method":"PUT","header":[{"key":"X-CSRF-Token","value":"{{csrf-token}}","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"room_no\": \"1234\"\n}"},"url":{"raw":"{{endpoint}}/api/v1/reservations/:reservation_id/assign","host":["{{endpoint}}"],"path":["api","v1","reservations",":reservation_id","assign"],"variable":[{"key":"reservation_id","value":"{{reservation_id}}","description":"The id of the reservation"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"223"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UE1vgjAY_itLz2bBKs6YeDBBCSZvG0mxebkQgbJSqFsEo2D87-t22U47P9_Pg2TVRXWarKpT26kJyeqSrB7kJScrAjK6MxHdQGxuqT22TO4sBJGHEj1m9w2M2oJMZiwoBghjzcVhAFMMqSnGNNhSZg5TEO8-D2On0w2YaOQhzlGUhkmcA3X8oGxQaIM0mXF51DBGUxTg8hKPO180xR3kTkMQN1wyzYPYouvDzL5mYVynIvHRJmvynJCiu1RZ_9Go8--E0UldJJPbKZrET21seQgDjo2bwQwTmzuKo-FC199VQeiWb9Y_dnWpzn3dD6-na6-zfvhUZHW-tu0f5Pss4udLeqILmi-XNFfe7E0V5WJBKzIh105dsv9Jzy8YKX37.XG9wOg.WGcylgZyvMZE1PlaXdhjiKy7FoA; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Fri, 22 Feb 2019 03:44:58 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5c6f6c3a56c3e42eea4d23ca\",\n        \"room_no\": \"1234\"\n    },\n    \"message\": \"The room number for the reservation has been updated successfully.\",\n    \"status\": \"success\"\n}"}],"_postman_id":"0c49d348-e1ac-4bef-a4c1-eef025fbfe42"}],"id":"c7d99942-58b6-4644-8c03-5261596d36f9","_postman_id":"c7d99942-58b6-4644-8c03-5261596d36f9","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Optimize","item":[{"name":"Create Reservations at GRW","id":"de7a25f7-b895-4fe8-bdde-ae7376435d7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"billing\": {\n        \"billing_address\": {\n            \"email\": \"Steve72@gmail.com\",\n            \"phone_number\": \"36-525-801-2750\",\n            \"first_name\": \"Earnest\",\n            \"last_name\": \"Rutherford\",\n            \"line1\": \"423 Tracy Estate\",\n            \"line2\": \"9766 Streich Branch\",\n            \"city\": \"Homenickmouth\",\n            \"country\": \"NA\",\n            \"postal_code\": \"500000\",\n            \"state\": \"NA\"\n        },\n        \"payment_reference\": {\n            \"provider\": \"stripe\",\n            \"payment_key\": \"pi_3L68hUJ3Qv9azrNm0crx2Auy\",\n            \"auth_token\": \"NOT_PROVIDED\"\n        },\n        \"name\": \"TestCard\"\n    },\n    \"reservations\": [\n        {\n            \"check_in\": \"2022-06-21\",\n            \"check_out\": \"2022-06-23\",\n            \"children\": 0,\n            \"adults\": 1,\n            \"child_age\": [],\n            \"rate_plan_id\": \"62963be69c55956f65de8855\",\n            \"room_class_id\": \"602e3f034b436d2d369ce00c\",\n            \"is_hotel_promoted\": false,\n            \"is_hotel_member\": false,\n            \"signup_hotel_member\": false,\n            \"hotel_message\": \"\",\n            \"arrival_flight\": \"\",\n            \"departure_flight\": \"\",\n            \"membership_id\": \"\",\n            \"est_arrival\": \"I don't know yet\",\n            \"est_departure\": null,\n            \"slug\": \"name1-31may-65de8835\",\n            \"guests\": [\n                {\n                    \"salutation\": \"Maestro\",\n                    \"first_name\": \"Kristin\",\n                    \"last_name\": \"Brakus\",\n                    \"email\": \"kristin_brakus@mailinator.com\",\n                    \"primary\": true,\n                    \"job_title\": \"\",\n                    \"company\": \"Schumm - Bode\",\n                    \"address\": {\n                        \"address_1\": \"704 Hoyt Pines\",\n                        \"address_2\": \"\",\n                        \"city\": \"City\",\n                        \"state\": \"\",\n                        \"country\": \"Anguilla\"\n                    }\n                }\n            ]\n        },\n        {\n            \"check_in\": \"2022-06-09\",\n            \"check_out\": \"2022-06-20\",\n            \"children\": 0,\n            \"adults\": 1,\n            \"child_age\": [],\n            \"rate_plan_id\": \"62963be69c55956f65de8855\",\n            \"room_class_id\": \"602e3f034b436d2d369ce00c\",\n            \"is_hotel_promoted\": false,\n            \"is_hotel_member\": false,\n            \"signup_hotel_member\": false,\n            \"hotel_message\": \"\",\n            \"arrival_flight\": \"\",\n            \"departure_flight\": \"\",\n            \"membership_id\": \"\",\n            \"est_arrival\": \"I don't know yet\",\n            \"est_departure\": null,\n            \"slug\": \"name1-31may-65de8835\",\n            \"guests\": [\n                {\n                    \"salutation\": \"Monsieur\",\n                    \"first_name\": \"Orpha\",\n                    \"last_name\": \"Friesen\",\n                    \"email\": \"orpha_friesen@mailinator.com\",\n                    \"primary\": true,\n                    \"job_title\": \"\",\n                    \"company\": \"Jast, Heller and Kunde\",\n                    \"address\": {\n                        \"address_1\": \"3744 Shany Lights\",\n                        \"address_2\": \"\",\n                        \"city\": \"City\",\n                        \"state\": \"\",\n                        \"country\": \"Anguilla\"\n                    }\n                }\n            ]\n        },\n        {\n            \"check_in\": \"2022-06-29\",\n            \"check_out\": \"2022-06-30\",\n            \"children\": 0,\n            \"adults\": 1,\n            \"child_age\": [],\n            \"rate_plan_id\": \"62963be69c55956f65de8855\",\n            \"room_class_id\": \"602e3f034b436d2d369ce00c\",\n            \"is_hotel_promoted\": false,\n            \"is_hotel_member\": false,\n            \"signup_hotel_member\": false,\n            \"hotel_message\": \"\",\n            \"arrival_flight\": \"\",\n            \"departure_flight\": \"\",\n            \"membership_id\": \"\",\n            \"est_arrival\": \"I don't know yet\",\n            \"est_departure\": null,\n            \"slug\": \"name1-31may-65de8835\",\n            \"guests\": [\n                {\n                    \"salutation\": \"Ms\",\n                    \"first_name\": \"Brooklyn\",\n                    \"last_name\": \"Bergnaum\",\n                    \"email\": \"brooklyn_bergnaum@mailinator.com\",\n                    \"primary\": true,\n                    \"job_title\": \"\",\n                    \"company\": \"Stark - Bins\",\n                    \"address\": {\n                        \"address_1\": \"74088 Alycia Mountains\",\n                        \"address_2\": \"\",\n                        \"city\": \"City\",\n                        \"state\": \"\",\n                        \"country\": \"Anguilla\"\n                    }\n                }\n            ]\n        },\n        {\n            \"check_in\": \"2022-06-27\",\n            \"check_out\": \"2022-06-28\",\n            \"children\": 0,\n            \"adults\": 1,\n            \"child_age\": [],\n            \"rate_plan_id\": \"62963be69c55956f65de8855\",\n            \"room_class_id\": \"602e3f034b436d2d369ce00c\",\n            \"is_hotel_promoted\": false,\n            \"is_hotel_member\": false,\n            \"signup_hotel_member\": false,\n            \"hotel_message\": \"\",\n            \"arrival_flight\": \"\",\n            \"departure_flight\": \"\",\n            \"membership_id\": \"\",\n            \"est_arrival\": \"I don't know yet\",\n            \"est_departure\": null,\n            \"slug\": \"name1-31may-65de8835\",\n            \"guests\": [\n                {\n                    \"salutation\": \"Ms\",\n                    \"first_name\": \"Linnie\",\n                    \"last_name\": \"Rempel\",\n                    \"email\": \"linnie_rempel@mailinator.com\",\n                    \"primary\": true,\n                    \"job_title\": \"\",\n                    \"company\": \"Sanford, Huels and Denesik\",\n                    \"address\": {\n                        \"address_1\": \"085 Randal Estate\",\n                        \"address_2\": \"\",\n                        \"city\": \"City\",\n                        \"state\": \"\",\n                        \"country\": \"Anguilla\"\n                    }\n                }\n            ]\n        },\n        {\n            \"check_in\": \"2022-06-16\",\n            \"check_out\": \"2022-06-22\",\n            \"children\": 0,\n            \"adults\": 1,\n            \"child_age\": [],\n            \"rate_plan_id\": \"62963be69c55956f65de8855\",\n            \"room_class_id\": \"602e3f034b436d2d369ce00c\",\n            \"is_hotel_promoted\": false,\n            \"is_hotel_member\": false,\n            \"signup_hotel_member\": false,\n            \"hotel_message\": \"\",\n            \"arrival_flight\": \"\",\n            \"departure_flight\": \"\",\n            \"membership_id\": \"\",\n            \"est_arrival\": \"I don't know yet\",\n            \"est_departure\": null,\n            \"slug\": \"name1-31may-65de8835\",\n            \"guests\": [\n                {\n                    \"salutation\": \"Dato\",\n                    \"first_name\": \"Antonina\",\n                    \"last_name\": \"Bins\",\n                    \"email\": \"antonina_bins@mailinator.com\",\n                    \"primary\": true,\n                    \"job_title\": \"\",\n                    \"company\": \"Wolff Inc\",\n                    \"address\": {\n                        \"address_1\": \"8379 Rosenbaum Camp\",\n                        \"address_2\": \"\",\n                        \"city\": \"City\",\n                        \"state\": \"\",\n                        \"country\": \"Anguilla\"\n                    }\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/booking/:slug/reservations","urlObject":{"path":["booking",":slug","reservations"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"any","value":"name1-31may-65de8835","key":"slug"}]}},"response":[{"id":"cc311e46-2137-44e7-bdeb-8304a8c3bfaf","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"billing\": {\n        \"billing_address\": {\n            \"email\": \"\",\n            \"phone_number\": \"\",\n            \"first_name\": \"TestCard\",\n            \"last_name\": \"\",\n            \"line1\": \"NA\",\n            \"line2\": \"\",\n            \"city\": \"NA\",\n            \"country\": \"ai\",\n            \"postal_code\": \"500000\",\n            \"state\": \"NA\"\n        },\n        \"payment_reference\": {\n            \"provider\": \"stripe\",\n            \"payment_key\": \"pi_3L68hUJ3Qv9azrNm0crx2Auy\",\n            \"auth_token\": \"NOT_PROVIDED\"\n        },\n        \"name\": \"TestCard\"\n    },\n    \"reservations\": [\n        {\n            \"check_in\": \"2022-06-21\",\n            \"check_out\": \"2022-06-23\",\n            \"children\": 0,\n            \"adults\": 1,\n            \"child_age\": [],\n            \"rate_plan_id\": \"62963be69c55956f65de8855\",\n            \"room_class_id\": \"602e3f034b436d2d369ce00c\",\n            \"is_hotel_promoted\": false,\n            \"is_hotel_member\": false,\n            \"signup_hotel_member\": false,\n            \"hotel_message\": \"\",\n            \"arrival_flight\": \"\",\n            \"departure_flight\": \"\",\n            \"membership_id\": \"\",\n            \"est_arrival\": \"I don't know yet\",\n            \"est_departure\": null,\n            \"slug\": \"name1-31may-65de8835\",\n            \"guests\": [\n                {\n                    \"salutation\": \"Maestro\",\n                    \"first_name\": \"Kristin\",\n                    \"last_name\": \"Brakus\",\n                    \"email\": \"kristin_brakus@mailinator.com\",\n                    \"primary\": true,\n                    \"job_title\": \"\",\n                    \"company\": \"Schumm - Bode\",\n                    \"address\": {\n                        \"address_1\": \"704 Hoyt Pines\",\n                        \"address_2\": \"\",\n                        \"city\": \"City\",\n                        \"state\": \"\",\n                        \"country\": \"Anguilla\"\n                    }\n                }\n            ]\n        },\n        {\n            \"check_in\": \"2022-06-09\",\n            \"check_out\": \"2022-06-20\",\n            \"children\": 0,\n            \"adults\": 1,\n            \"child_age\": [],\n            \"rate_plan_id\": \"62963be69c55956f65de8855\",\n            \"room_class_id\": \"602e3f034b436d2d369ce00c\",\n            \"is_hotel_promoted\": false,\n            \"is_hotel_member\": false,\n            \"signup_hotel_member\": false,\n            \"hotel_message\": \"\",\n            \"arrival_flight\": \"\",\n            \"departure_flight\": \"\",\n            \"membership_id\": \"\",\n            \"est_arrival\": \"I don't know yet\",\n            \"est_departure\": null,\n            \"slug\": \"name1-31may-65de8835\",\n            \"guests\": [\n                {\n                    \"salutation\": \"Monsieur\",\n                    \"first_name\": \"Orpha\",\n                    \"last_name\": \"Friesen\",\n                    \"email\": \"orpha_friesen@mailinator.com\",\n                    \"primary\": true,\n                    \"job_title\": \"\",\n                    \"company\": \"Jast, Heller and Kunde\",\n                    \"address\": {\n                        \"address_1\": \"3744 Shany Lights\",\n                        \"address_2\": \"\",\n                        \"city\": \"City\",\n                        \"state\": \"\",\n                        \"country\": \"Anguilla\"\n                    }\n                }\n            ]\n        },\n        {\n            \"check_in\": \"2022-06-29\",\n            \"check_out\": \"2022-06-30\",\n            \"children\": 0,\n            \"adults\": 1,\n            \"child_age\": [],\n            \"rate_plan_id\": \"62963be69c55956f65de8855\",\n            \"room_class_id\": \"602e3f034b436d2d369ce00c\",\n            \"is_hotel_promoted\": false,\n            \"is_hotel_member\": false,\n            \"signup_hotel_member\": false,\n            \"hotel_message\": \"\",\n            \"arrival_flight\": \"\",\n            \"departure_flight\": \"\",\n            \"membership_id\": \"\",\n            \"est_arrival\": \"I don't know yet\",\n            \"est_departure\": null,\n            \"slug\": \"name1-31may-65de8835\",\n            \"guests\": [\n                {\n                    \"salutation\": \"Ms\",\n                    \"first_name\": \"Brooklyn\",\n                    \"last_name\": \"Bergnaum\",\n                    \"email\": \"brooklyn_bergnaum@mailinator.com\",\n                    \"primary\": true,\n                    \"job_title\": \"\",\n                    \"company\": \"Stark - Bins\",\n                    \"address\": {\n                        \"address_1\": \"74088 Alycia Mountains\",\n                        \"address_2\": \"\",\n                        \"city\": \"City\",\n                        \"state\": \"\",\n                        \"country\": \"Anguilla\"\n                    }\n                }\n            ]\n        },\n        {\n            \"check_in\": \"2022-06-27\",\n            \"check_out\": \"2022-06-28\",\n            \"children\": 0,\n            \"adults\": 1,\n            \"child_age\": [],\n            \"rate_plan_id\": \"62963be69c55956f65de8855\",\n            \"room_class_id\": \"602e3f034b436d2d369ce00c\",\n            \"is_hotel_promoted\": false,\n            \"is_hotel_member\": false,\n            \"signup_hotel_member\": false,\n            \"hotel_message\": \"\",\n            \"arrival_flight\": \"\",\n            \"departure_flight\": \"\",\n            \"membership_id\": \"\",\n            \"est_arrival\": \"I don't know yet\",\n            \"est_departure\": null,\n            \"slug\": \"name1-31may-65de8835\",\n            \"guests\": [\n                {\n                    \"salutation\": \"Ms\",\n                    \"first_name\": \"Linnie\",\n                    \"last_name\": \"Rempel\",\n                    \"email\": \"linnie_rempel@mailinator.com\",\n                    \"primary\": true,\n                    \"job_title\": \"\",\n                    \"company\": \"Sanford, Huels and Denesik\",\n                    \"address\": {\n                        \"address_1\": \"085 Randal Estate\",\n                        \"address_2\": \"\",\n                        \"city\": \"City\",\n                        \"state\": \"\",\n                        \"country\": \"Anguilla\"\n                    }\n                }\n            ]\n        },\n        {\n            \"check_in\": \"2022-06-16\",\n            \"check_out\": \"2022-06-22\",\n            \"children\": 0,\n            \"adults\": 1,\n            \"child_age\": [],\n            \"rate_plan_id\": \"62963be69c55956f65de8855\",\n            \"room_class_id\": \"602e3f034b436d2d369ce00c\",\n            \"is_hotel_promoted\": false,\n            \"is_hotel_member\": false,\n            \"signup_hotel_member\": false,\n            \"hotel_message\": \"\",\n            \"arrival_flight\": \"\",\n            \"departure_flight\": \"\",\n            \"membership_id\": \"\",\n            \"est_arrival\": \"I don't know yet\",\n            \"est_departure\": null,\n            \"slug\": \"name1-31may-65de8835\",\n            \"guests\": [\n                {\n                    \"salutation\": \"Dato\",\n                    \"first_name\": \"Antonina\",\n                    \"last_name\": \"Bins\",\n                    \"email\": \"antonina_bins@mailinator.com\",\n                    \"primary\": true,\n                    \"job_title\": \"\",\n                    \"company\": \"Wolff Inc\",\n                    \"address\": {\n                        \"address_1\": \"8379 Rosenbaum Camp\",\n                        \"address_2\": \"\",\n                        \"city\": \"City\",\n                        \"state\": \"\",\n                        \"country\": \"Anguilla\"\n                    }\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{host}}/api-portal/v1/booking/:slug/reservations","host":["{{host}}"],"path":["api-portal","v1","booking",":slug","reservations"],"variable":[{"key":"slug","value":"name1-31may-65de8835"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImQzNWQ5N2Y3MDc0OWNhZGEwMDQ5NGExMDMyMjY1NGNmNDcxOGQ0OWMi.YpjQDQ.GhKTVT4tBMvb75E0oB8lSlXlWTo"},{"key":"Set-Cookie","value":"session=c06d4e82-80ab-4786-9550-aab20c6cf088.wDDE_nMnZmiE-uqVY-4y3HAhyCc; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Thu, 02 Jun 2022 14:58:21 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"6298d00a3340bde91d7f6fc0\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"de7a25f7-b895-4fe8-bdde-ae7376435d7f"},{"name":"Edit Primary Guest at GRW","id":"13f5e54a-3c10-4653-83b4-b570a11c27c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"reservation\": {\n        \"guests\": [\n            {\n                \"salutation\": \"\",\n                \"first_name\": \"Andy\",\n                \"last_name\": \"Phan\",\n                \"job_title\": \"\",\n                \"company\": \"Groups360\",\n                \"address\": {\n                    \"address_1\": \"asd\",\n                    \"address_2\": \"\",\n                    \"city\": \"NA\",\n                    \"state\": \"\",\n                    \"postalcode\": \"\",\n                    \"country\": \"Vietnam (Việt Nam)\"\n                },\n                \"email\": \"andy.phan@groups360.com\",\n                \"id\": \"63be6885824e46f0b91d9b39\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api-portal/v1/booking/:slug/reservations/:id/update_primary_guest","urlObject":{"path":["api-portal","v1","booking",":slug","reservations",":id","update_primary_guest"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"any","value":"nha-single-block-new-f8de6418","key":"slug"},{"type":"any","value":"63be6885824e46f0b91d9b3a","key":"id"}]}},"response":[{"id":"3ed5d4f5-bcff-4751-9722-48e95c48bb34","name":"OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"reservation\": {\n        \"guests\": [\n            {\n                \"salutation\": \"\",\n                \"first_name\": \"Andy\",\n                \"last_name\": \"Phan\",\n                \"job_title\": \"\",\n                \"company\": \"Groups360\",\n                \"address\": {\n                    \"address_1\": \"asd\",\n                    \"address_2\": \"\",\n                    \"city\": \"NA\",\n                    \"state\": \"\",\n                    \"postalcode\": \"\",\n                    \"country\": \"Vietnam (Việt Nam)\"\n                },\n                \"email\": \"andy.phan@groups360.com\",\n                \"id\": \"63be6885824e46f0b91d9b39\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/api-portal/v1/booking/:slug/reservations/:id/update_primary_guest","host":["{{base_url}}"],"path":["api-portal","v1","booking",":slug","reservations",":id","update_primary_guest"],"variable":[{"key":"slug","value":"nha-single-block-new-f8de6418"},{"key":"id","value":"63be6885824e46f0b91d9b3a"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"64"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjM5N2MzYWI2NzIyOGM0YjkzOThlZDk1NzU1ZDM2ZmViNTdkYWI3N2Mi.Y-XkwQ.Y3AlUNf3Agb3FcXpWxFUo57rsqU"},{"key":"Set-Cookie","value":"session=f368b8b2-e102-44e7-a3fb-63522a7ead21.Cage2Gbqx17AcaZRLoQdG42KSrE; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Fri, 10 Feb 2023 06:31:29 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {},\n    \"status\": \"success\"\n}"}],"_postman_id":"13f5e54a-3c10-4653-83b4-b570a11c27c7"},{"name":"Edit Flight at GRW","id":"b1e91d25-0133-40ce-8be7-0bc9ba0a737a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"reservation\": {\n        \"est_arrival\": \"06:00 AM\",\n        \"est_departure\": \"08:11 PM\",\n        \"arrival_flight\": \"VJ301\",\n        \"departure_flight\": \"PA938\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api-portal/v1/booking/:slug/reservations/:id/update_flight","urlObject":{"path":["api-portal","v1","booking",":slug","reservations",":id","update_flight"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"any","value":"nha-single-block-new-f8de6418","key":"slug"},{"type":"any","value":"63be6885824e46f0b91d9b3a","key":"id"}]}},"response":[{"id":"f8a73a56-9020-461c-a314-0c686ce01f01","name":"OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"reservation\": {\n        \"est_arrival\": \"06:00 AM\",\n        \"est_departure\": \"08:11 PM\",\n        \"arrival_flight\": \"VJ301\",\n        \"departure_flight\": \"PA938\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/api-portal/v1/booking/:slug/reservations/:id/update_flight","host":["{{base_url}}"],"path":["api-portal","v1","booking",":slug","reservations",":id","update_flight"],"variable":[{"key":"slug","value":"nha-single-block-new-f8de6418"},{"key":"id","value":"63be6885824e46f0b91d9b3a"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"64"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjM5N2MzYWI2NzIyOGM0YjkzOThlZDk1NzU1ZDM2ZmViNTdkYWI3N2Mi.Y-XtLA.HwdXGFsAQve2q1mw_5-xErdSGNw"},{"key":"Set-Cookie","value":"session=f368b8b2-e102-44e7-a3fb-63522a7ead21.Cage2Gbqx17AcaZRLoQdG42KSrE; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Fri, 10 Feb 2023 07:07:24 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {},\n    \"status\": \"success\"\n}"}],"_postman_id":"b1e91d25-0133-40ce-8be7-0bc9ba0a737a"},{"name":"Edit Message at GRW","id":"334d8141-4ae1-45ec-a1b9-ab83a984add0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"reservation\": {\n        \"hotel_message\": \"Hello, I want a big bathtube inside my room.\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api-portal/v1/booking/:slug/reservations/:id/update_message","urlObject":{"path":["api-portal","v1","booking",":slug","reservations",":id","update_message"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"any","value":"nha-single-block-new-f8de6418","key":"slug"},{"type":"any","value":"63be6885824e46f0b91d9b3a","key":"id"}]}},"response":[{"id":"bd58fe62-fdd1-430a-add4-960d53829ca8","name":"OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"reservation\": {\n        \"hotel_message\": \"Hello, I want a big bathtube inside my room.\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/api-portal/v1/booking/:slug/reservations/:id/update_message","host":["{{base_url}}"],"path":["api-portal","v1","booking",":slug","reservations",":id","update_message"],"variable":[{"key":"slug","value":"nha-single-block-new-f8de6418"},{"key":"id","value":"63be6885824e46f0b91d9b3a"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"64"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjM5N2MzYWI2NzIyOGM0YjkzOThlZDk1NzU1ZDM2ZmViNTdkYWI3N2Mi.Y-Xueg.dkymO--Tyc4wLor__4ZJlqF-hok"},{"key":"Set-Cookie","value":"session=f368b8b2-e102-44e7-a3fb-63522a7ead21.Cage2Gbqx17AcaZRLoQdG42KSrE; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Fri, 10 Feb 2023 07:12:58 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {},\n    \"status\": \"success\"\n}"}],"_postman_id":"334d8141-4ae1-45ec-a1b9-ab83a984add0"}],"id":"3cc83c4e-c529-4ece-b533-55d4ad34571e","_postman_id":"3cc83c4e-c529-4ece-b533-55d4ad34571e","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}}],"id":"4ffe0586-d888-4260-9c10-72b353dd38f8","_postman_id":"4ffe0586-d888-4260-9c10-72b353dd38f8","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Test","item":[{"name":"CloudFront Request","id":"782a1690-85c2-496e-b5fb-1ac405d8be60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cdn.testing.idemevents.com/static/build/dist/lib-bundle.js","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"protocol":"https","path":["static","build","dist","lib-bundle.js"],"host":["cdn","testing","idemevents","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"782a1690-85c2-496e-b5fb-1ac405d8be60"}],"id":"407e2e03-1fe8-4362-a048-7508bd1531fe","_postman_id":"407e2e03-1fe8-4362-a048-7508bd1531fe","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Event","item":[{"name":"Get Block List","id":"46d4ca3e-3608-4aa0-b634-6a1d289ef15e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"X-CSRF-Token","type":"text","value":"IjcxY2FjODVkZWJlOTc5NDdkYzYwNThlZTE2NGQ0NTE0ZTJjNjAwZDAi.DufFDA.yNnW1VDiAzPo1DSDs3AZpYHvN8o"}],"body":{"mode":"raw","raw":""},"url":"{{base_url}}/blocks","description":"<p>Get list of users from current hotel.</p>\n","urlObject":{"path":["blocks"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"823244a3-1152-43f4-996d-4c6c152fad93","name":"Get Block List","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/current/users/{{user_id}}/blocks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Content-Length","value":"1543","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 06 Sep 2018 06:56:41 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"session=.eJyVj8tqwzAURH-laB1KLasbQzfFD1y4CgE54mpj0kaJJMuhxDa2FfLvVXbZdjfDcA7MjbSnqx4MyU4HP-gNae2RZDfy8k0ywp33vIKZO255bgy6hkIOC0hgPABVOcwQzoGLc8w1xR4TcMarvAgodgyDt3FPIu9RYIrhM_ZmiU7GaZEixQDhq4O8NCDrFKqyj90qse9R8g7F3kNQnZL1AgID9k2C7odxV8zgdm8Pllel3Qr4IPcNsUd9Ge24vh6m0bTj-qtJdpm8f1qe38mabatmRde9K9FRJZApqQz0yDDaH8Zp0Nf2X8z9D7LecCU.DnJhKQ.C4xyrC0un6VtxatcbV7z_xVaDs4; HttpOnly; Path=/","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Vary","value":"Cookie","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"hotel.localhost","path":"/","secure":false,"value":".eJyVj8tqwzAURH-laB1KLasbQzfFD1y4CgE54mpj0kaJJMuhxDa2FfLvVXbZdjfDcA7MjbSnqx4MyU4HP-gNae2RZDfy8k0ywp33vIKZO255bgy6hkIOC0hgPABVOcwQzoGLc8w1xR4TcMarvAgodgyDt3FPIu9RYIrhM_ZmiU7GaZEixQDhq4O8NCDrFKqyj90qse9R8g7F3kNQnZL1AgID9k2C7odxV8zgdm8Pllel3Qr4IPcNsUd9Ge24vh6m0bTj-qtJdpm8f1qe38mabatmRde9K9FRJZApqQz0yDDaH8Zp0Nf2X8z9D7LecCU.DnJhKQ.C4xyrC0un6VtxatcbV7z_xVaDs4","key":"session"}],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 19,\n        \"filter\": {\n            \"limit\": 10,\n            \"order\": \"desc\",\n            \"page\": 1,\n            \"search\": null,\n            \"sort\": \"created_at\",\n            \"status\": null\n        },\n        \"results\": [\n            {\n                \"able_check_in\": \"2019-02-13T00:00:00\",\n                \"able_check_out\": \"2019-02-16T00:00:00\",\n                \"account_holder\": \"Phuong Ngo\",\n                \"account_holder_id\": \"5bcfee4e96db8a2d633beef1\",\n                \"block_url\": \"http://app.localhost:5001/blocks/5c4b43071c91577b8390ed57/view\",\n                \"closeable_at\": \"2019-02-16T00:00:00\",\n                \"closeable_res_at\": \"2019-02-16T00:00:00\",\n                \"code\": null,\n                \"company_name\": \"\",\n                \"contracted_from_date\": \"2019-02-14T00:00:00\",\n                \"contracted_to_date\": \"2019-02-15T00:00:00\",\n                \"created_at\": \"2019-01-25T17:10:31.990000\",\n                \"description\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson &amp; Johnson, IBM, Google, and MailChimp.\",\n                \"editing_reservations\": 0,\n                \"ep_email\": \"fuongit@gmail.com\",\n                \"ep_id\": \"5bcfee4e96db8a2d633beef1\",\n                \"ep_name\": \"Phuong Ngo\",\n                \"event_id\": \"5c4b43071c91577b8390ed56\",\n                \"has_fees\": false,\n                \"id\": \"5c4b43071c91577b8390ed57\",\n                \"is_upsell\": true,\n                \"name\": \"Awesomeeeee\",\n                \"night_count\": 1,\n                \"pending_reservations\": 0,\n                \"post_event_days\": 1,\n                \"pre_event_days\": 1,\n                \"reservation_url\": \"http://www.localhost:5001/r/awesomeeeee-5c4b4307\",\n                \"reserved_rooms\": 0,\n                \"revenue_download_url\": \"http://hotel.localhost:5001/blocks/5c4b43071c91577b8390ed57/export-rooming-list?type=revenue\",\n                \"room_inclusion\": null,\n                \"room_policy\": null,\n                \"status\": \"open\",\n                \"total_rooms\": 0,\n                \"transfer_detail\": \"\",\n                \"type\": \"multiple\"\n            },\n            {\n                \"able_check_in\": \"2019-02-13T00:00:00\",\n                \"able_check_out\": \"2019-02-16T00:00:00\",\n                \"account_holder\": \"Phuong Ngo\",\n                \"account_holder_id\": \"5bcfee4e96db8a2d633beef1\",\n                \"block_url\": \"http://app.localhost:5001/blocks/5c4b42451c9157786695e2d6/view\",\n                \"closeable_at\": \"2019-02-16T00:00:00\",\n                \"closeable_res_at\": \"2019-02-16T00:00:00\",\n                \"code\": null,\n                \"company_name\": \"\",\n                \"contracted_from_date\": \"2019-02-14T00:00:00\",\n                \"contracted_to_date\": \"2019-02-15T00:00:00\",\n                \"created_at\": \"2019-01-25T17:07:17.569000\",\n                \"description\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson &amp; Johnson, IBM, Google, and MailChimp.\",\n                \"editing_reservations\": 0,\n                \"ep_email\": \"fuongit@gmail.com\",\n                \"ep_id\": \"5bcfee4e96db8a2d633beef1\",\n                \"ep_name\": \"Phuong Ngo\",\n                \"event_id\": \"5c4b42451c9157786695e2d5\",\n                \"has_fees\": false,\n                \"id\": \"5c4b42451c9157786695e2d6\",\n                \"is_upsell\": true,\n                \"name\": \"Awesomeeeee\",\n                \"night_count\": 1,\n                \"pending_reservations\": 0,\n                \"post_event_days\": 1,\n                \"pre_event_days\": 1,\n                \"reservation_url\": \"http://www.localhost:5001/r/awesomeeeee-5c4b4245\",\n                \"reserved_rooms\": 0,\n                \"revenue_download_url\": \"http://hotel.localhost:5001/blocks/5c4b42451c9157786695e2d6/export-rooming-list?type=revenue\",\n                \"room_inclusion\": null,\n                \"room_policy\": null,\n                \"status\": \"open\",\n                \"total_rooms\": 0,\n                \"transfer_detail\": \"\",\n                \"type\": \"multiple\"\n            },\n            {\n                \"able_check_in\": \"2019-02-13T00:00:00\",\n                \"able_check_out\": \"2019-02-16T00:00:00\",\n                \"account_holder\": \"Phuong Ngo\",\n                \"account_holder_id\": \"5bcfee4e96db8a2d633beef1\",\n                \"block_url\": \"http://app.localhost:5001/blocks/5c4b3c271c9157616d7ce2d3/view\",\n                \"closeable_at\": \"2019-02-16T00:00:00\",\n                \"closeable_res_at\": \"2019-02-16T00:00:00\",\n                \"code\": null,\n                \"company_name\": \"\",\n                \"contracted_from_date\": \"2019-02-14T00:00:00\",\n                \"contracted_to_date\": \"2019-02-15T00:00:00\",\n                \"created_at\": \"2019-01-25T16:41:11.328000\",\n                \"description\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson &amp; Johnson, IBM, Google, and MailChimp.\",\n                \"editing_reservations\": 0,\n                \"ep_email\": \"fuongit@gmail.com\",\n                \"ep_id\": \"5bcfee4e96db8a2d633beef1\",\n                \"ep_name\": \"Phuong Ngo\",\n                \"event_id\": \"5c4b3c271c9157616d7ce2d2\",\n                \"has_fees\": false,\n                \"id\": \"5c4b3c271c9157616d7ce2d3\",\n                \"is_upsell\": true,\n                \"name\": \"Awesomeeeee\",\n                \"night_count\": 1,\n                \"pending_reservations\": 0,\n                \"post_event_days\": 1,\n                \"pre_event_days\": 1,\n                \"reservation_url\": \"http://www.localhost:5001/r/awesomeeeee-5c4b3c27\",\n                \"reserved_rooms\": 0,\n                \"revenue_download_url\": \"http://hotel.localhost:5001/blocks/5c4b3c271c9157616d7ce2d3/export-rooming-list?type=revenue\",\n                \"room_inclusion\": null,\n                \"room_policy\": null,\n                \"status\": \"open\",\n                \"total_rooms\": 0,\n                \"transfer_detail\": \"\",\n                \"type\": \"multiple\"\n            },\n            {\n                \"able_check_in\": \"2019-02-13T00:00:00\",\n                \"able_check_out\": \"2019-02-16T00:00:00\",\n                \"account_holder\": \"Phuong Ngo\",\n                \"account_holder_id\": \"5bcfee4e96db8a2d633beef1\",\n                \"block_url\": \"http://app.localhost:5001/blocks/5c4b3b7f1c91575ebb7b0d7c/view\",\n                \"closeable_at\": \"2019-02-16T00:00:00\",\n                \"closeable_res_at\": \"2019-02-16T00:00:00\",\n                \"code\": null,\n                \"company_name\": \"\",\n                \"contracted_from_date\": \"2019-02-14T00:00:00\",\n                \"contracted_to_date\": \"2019-02-15T00:00:00\",\n                \"created_at\": \"2019-01-25T16:38:23.274000\",\n                \"description\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson &amp; Johnson, IBM, Google, and MailChimp.\",\n                \"editing_reservations\": 0,\n                \"ep_email\": \"fuongit@gmail.com\",\n                \"ep_id\": \"5bcfee4e96db8a2d633beef1\",\n                \"ep_name\": \"Phuong Ngo\",\n                \"event_id\": \"5c4b3b7f1c91575ebb7b0d7b\",\n                \"has_fees\": false,\n                \"id\": \"5c4b3b7f1c91575ebb7b0d7c\",\n                \"is_upsell\": true,\n                \"name\": \"Awesomeeeee\",\n                \"night_count\": 1,\n                \"pending_reservations\": 0,\n                \"post_event_days\": 1,\n                \"pre_event_days\": 1,\n                \"reservation_url\": \"http://www.localhost:5001/r/awesomeeeee-5c4b3b7f\",\n                \"reserved_rooms\": 0,\n                \"revenue_download_url\": \"http://hotel.localhost:5001/blocks/5c4b3b7f1c91575ebb7b0d7c/export-rooming-list?type=revenue\",\n                \"room_inclusion\": null,\n                \"room_policy\": null,\n                \"status\": \"open\",\n                \"total_rooms\": 0,\n                \"transfer_detail\": \"\",\n                \"type\": \"multiple\"\n            },\n            {\n                \"able_check_in\": \"2018-12-20T00:00:00\",\n                \"able_check_out\": \"2018-12-21T00:00:00\",\n                \"account_holder\": \"Singapore Hotel\",\n                \"account_holder_id\": \"5bc3590396db8a1b5134f1f4\",\n                \"block_url\": \"http://app.localhost:5001/blocks/5c1b668596db8a59c9aa6a76/view\",\n                \"closeable_at\": \"2018-12-25T00:00:00\",\n                \"closeable_res_at\": null,\n                \"code\": \"codemax\",\n                \"company_name\": \"Freelance\",\n                \"contracted_from_date\": \"2018-12-20T00:00:00\",\n                \"contracted_to_date\": \"2018-12-21T00:00:00\",\n                \"created_at\": \"2018-12-20T09:53:09.747000\",\n                \"description\": null,\n                \"editing_reservations\": 0,\n                \"ep_email\": \"fuongit@gmail.com\",\n                \"ep_id\": \"5bcfee4e96db8a2d633beef1\",\n                \"ep_name\": \"Phuong Ngo\",\n                \"event_id\": \"5c1b668596db8a59c9aa6a75\",\n                \"has_fees\": false,\n                \"id\": \"5c1b668596db8a59c9aa6a76\",\n                \"is_upsell\": true,\n                \"name\": \"Testing max occupancy\",\n                \"night_count\": 1,\n                \"pending_reservations\": 0,\n                \"post_event_days\": 0,\n                \"pre_event_days\": 0,\n                \"reservation_url\": \"http://www.localhost:5001/r/testing-max-occupancy-5c1b6685\",\n                \"reserved_rooms\": 0,\n                \"revenue_download_url\": \"http://hotel.localhost:5001/blocks/5c1b668596db8a59c9aa6a76/export-rooming-list?type=revenue\",\n                \"room_inclusion\": \"\",\n                \"room_policy\": \"<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\\n<p>&nbsp;</p>\\n\",\n                \"status\": \"closed\",\n                \"total_rooms\": 0,\n                \"transfer_detail\": \"\",\n                \"type\": \"single\"\n            },\n            {\n                \"able_check_in\": \"2018-12-19T00:00:00\",\n                \"able_check_out\": \"2018-12-26T00:00:00\",\n                \"account_holder\": \"Singapore Hotel\",\n                \"account_holder_id\": \"5bc3590396db8a1b5134f1f4\",\n                \"block_url\": \"http://app.localhost:5001/blocks/5c135c0696db8a8a62eb7b98/view\",\n                \"closeable_at\": \"2018-12-27T00:00:00\",\n                \"closeable_res_at\": null,\n                \"code\": \"code123\",\n                \"company_name\": \"IDEM\",\n                \"contracted_from_date\": \"2018-12-20T00:00:00\",\n                \"contracted_to_date\": \"2018-12-25T00:00:00\",\n                \"created_at\": \"2018-12-14T07:30:14.894000\",\n                \"description\": null,\n                \"editing_reservations\": 0,\n                \"ep_email\": \"fuongit@gmail.com\",\n                \"ep_id\": \"5bcfee4e96db8a2d633beef1\",\n                \"ep_name\": \"Phuong Ngo\",\n                \"event_id\": \"5c135c0696db8a8a62eb7b97\",\n                \"has_fees\": false,\n                \"id\": \"5c135c0696db8a8a62eb7b98\",\n                \"is_upsell\": true,\n                \"name\": \"Improvement\",\n                \"night_count\": 5,\n                \"pending_reservations\": 0,\n                \"post_event_days\": 1,\n                \"pre_event_days\": 1,\n                \"reservation_url\": \"http://www.localhost:5001/r/improvement-5c135c06\",\n                \"reserved_rooms\": 0,\n                \"revenue_download_url\": \"http://hotel.localhost:5001/blocks/5c135c0696db8a8a62eb7b98/export-rooming-list?type=revenue\",\n                \"room_inclusion\": \"\",\n                \"room_policy\": \"<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\\n<p>&nbsp;</p>\\n\",\n                \"status\": \"closed\",\n                \"total_rooms\": 0,\n                \"transfer_detail\": \"\",\n                \"type\": \"single\"\n            },\n            {\n                \"able_check_in\": \"2018-12-05T00:00:00\",\n                \"able_check_out\": \"2018-12-08T00:00:00\",\n                \"account_holder\": \"Singapore Hotel\",\n                \"account_holder_id\": \"5bc3590396db8a1b5134f1f4\",\n                \"block_url\": \"http://app.localhost:5001/blocks/5c120d8f96db8aa02d6defc5/view\",\n                \"closeable_at\": \"2018-12-10T00:00:00\",\n                \"closeable_res_at\": null,\n                \"code\": \"code1122\",\n                \"company_name\": \"\",\n                \"contracted_from_date\": \"2018-12-06T00:00:00\",\n                \"contracted_to_date\": \"2018-12-07T00:00:00\",\n                \"created_at\": \"2018-12-13T07:43:11.360000\",\n                \"description\": null,\n                \"editing_reservations\": 0,\n                \"ep_email\": \"fuongit@gmail.com\",\n                \"ep_id\": \"5bcfee4e96db8a2d633beef1\",\n                \"ep_name\": \"Phuong Ngo\",\n                \"event_id\": \"5c120d8f96db8aa02d6defc4\",\n                \"has_fees\": true,\n                \"id\": \"5c120d8f96db8aa02d6defc5\",\n                \"is_upsell\": false,\n                \"name\": \"Creating Block API\",\n                \"night_count\": 1,\n                \"pending_reservations\": 0,\n                \"post_event_days\": 1,\n                \"pre_event_days\": 1,\n                \"reservation_url\": \"http://www.localhost:5001/r/creating-block-api-5c120d8f\",\n                \"reserved_rooms\": 0,\n                \"revenue_download_url\": \"http://hotel.localhost:5001/blocks/5c120d8f96db8aa02d6defc5/export-rooming-list?type=revenue\",\n                \"room_inclusion\": \"<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum</p>\\n\",\n                \"room_policy\": \"<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\\n<p>&nbsp;</p>\\n\",\n                \"status\": \"open\",\n                \"total_rooms\": 0,\n                \"transfer_detail\": \"\",\n                \"type\": \"multiple\"\n            },\n            {\n                \"able_check_in\": \"2018-12-05T00:00:00\",\n                \"able_check_out\": \"2018-12-08T00:00:00\",\n                \"account_holder\": \"Singapore Hotel\",\n                \"account_holder_id\": \"5bc3590396db8a1b5134f1f4\",\n                \"block_url\": \"http://app.localhost:5001/blocks/5c120c8a96db8a9a58bfd048/view\",\n                \"closeable_at\": \"2018-12-10T00:00:00\",\n                \"closeable_res_at\": null,\n                \"code\": \"code1122\",\n                \"company_name\": \"\",\n                \"contracted_from_date\": \"2018-12-06T00:00:00\",\n                \"contracted_to_date\": \"2018-12-07T00:00:00\",\n                \"created_at\": \"2018-12-13T07:38:50.018000\",\n                \"description\": null,\n                \"editing_reservations\": 0,\n                \"ep_email\": \"fuongit@gmail.com\",\n                \"ep_id\": \"5bcfee4e96db8a2d633beef1\",\n                \"ep_name\": \"Phuong Ngo\",\n                \"event_id\": \"5c120c8996db8a9a58bfd047\",\n                \"has_fees\": true,\n                \"id\": \"5c120c8a96db8a9a58bfd048\",\n                \"is_upsell\": false,\n                \"name\": \"Creating Block API\",\n                \"night_count\": 1,\n                \"pending_reservations\": 0,\n                \"post_event_days\": 1,\n                \"pre_event_days\": 1,\n                \"reservation_url\": \"http://www.localhost:5001/r/creating-block-api-5c120c8a\",\n                \"reserved_rooms\": 0,\n                \"revenue_download_url\": \"http://hotel.localhost:5001/blocks/5c120c8a96db8a9a58bfd048/export-rooming-list?type=revenue\",\n                \"room_inclusion\": \"<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum</p>\\n\",\n                \"room_policy\": \"<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\\n<p>&nbsp;</p>\\n\",\n                \"status\": \"open\",\n                \"total_rooms\": 0,\n                \"transfer_detail\": \"\",\n                \"type\": \"multiple\"\n            },\n            {\n                \"able_check_in\": \"2018-12-05T00:00:00\",\n                \"able_check_out\": \"2018-12-08T00:00:00\",\n                \"account_holder\": \"Singapore Hotel\",\n                \"account_holder_id\": \"5bc3590396db8a1b5134f1f4\",\n                \"block_url\": \"http://app.localhost:5001/blocks/5c120b6896db8a98f6695822/view\",\n                \"closeable_at\": \"2018-12-10T00:00:00\",\n                \"closeable_res_at\": null,\n                \"code\": \"code1122\",\n                \"company_name\": \"\",\n                \"contracted_from_date\": \"2018-12-06T00:00:00\",\n                \"contracted_to_date\": \"2018-12-07T00:00:00\",\n                \"created_at\": \"2018-12-13T07:34:00.458000\",\n                \"description\": null,\n                \"editing_reservations\": 0,\n                \"ep_email\": \"fuongit@gmail.com\",\n                \"ep_id\": \"5bcfee4e96db8a2d633beef1\",\n                \"ep_name\": \"Phuong Ngo\",\n                \"event_id\": \"5c120b6896db8a98f6695821\",\n                \"has_fees\": true,\n                \"id\": \"5c120b6896db8a98f6695822\",\n                \"is_upsell\": false,\n                \"name\": \"Creating Block API\",\n                \"night_count\": 1,\n                \"pending_reservations\": 0,\n                \"post_event_days\": 1,\n                \"pre_event_days\": 1,\n                \"reservation_url\": \"http://www.localhost:5001/r/creating-block-api-5c120b68\",\n                \"reserved_rooms\": 0,\n                \"revenue_download_url\": \"http://hotel.localhost:5001/blocks/5c120b6896db8a98f6695822/export-rooming-list?type=revenue\",\n                \"room_inclusion\": \"<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum</p>\\n\",\n                \"room_policy\": \"<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\\n<p>&nbsp;</p>\\n\",\n                \"status\": \"open\",\n                \"total_rooms\": 0,\n                \"transfer_detail\": \"\",\n                \"type\": \"multiple\"\n            },\n            {\n                \"able_check_in\": \"2018-12-12T00:00:00\",\n                \"able_check_out\": \"2018-12-13T00:00:00\",\n                \"account_holder\": \"Singapore Hotel\",\n                \"account_holder_id\": \"5bc3590396db8a1b5134f1f4\",\n                \"block_url\": \"http://app.localhost:5001/blocks/5c10ecd396db8a2241ad5d85/view\",\n                \"closeable_at\": \"2018-12-14T00:00:00\",\n                \"closeable_res_at\": null,\n                \"code\": \"codehotelid\",\n                \"company_name\": \"Freelance\",\n                \"contracted_from_date\": \"2018-12-12T00:00:00\",\n                \"contracted_to_date\": \"2018-12-13T00:00:00\",\n                \"created_at\": \"2018-12-12T11:11:15.237000\",\n                \"description\": null,\n                \"editing_reservations\": 0,\n                \"ep_email\": \"fuongit@gmail.com\",\n                \"ep_id\": \"5bcfee4e96db8a2d633beef1\",\n                \"ep_name\": \"Phuong Ngo\",\n                \"event_id\": \"5c10ecd396db8a2241ad5d84\",\n                \"has_fees\": true,\n                \"id\": \"5c10ecd396db8a2241ad5d85\",\n                \"is_upsell\": true,\n                \"name\": \"Test Hotel ID\",\n                \"night_count\": 1,\n                \"pending_reservations\": 0,\n                \"post_event_days\": 0,\n                \"pre_event_days\": 0,\n                \"reservation_url\": \"http://www.localhost:5001/r/test-hotel-id-5c10ecd3\",\n                \"reserved_rooms\": 0,\n                \"revenue_download_url\": \"http://hotel.localhost:5001/blocks/5c10ecd396db8a2241ad5d85/export-rooming-list?type=revenue\",\n                \"room_inclusion\": \"\",\n                \"room_policy\": \"<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\\n<p>&nbsp;</p>\\n\",\n                \"status\": \"closed\",\n                \"total_rooms\": 0,\n                \"transfer_detail\": \"\",\n                \"type\": \"single\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"46d4ca3e-3608-4aa0-b634-6a1d289ef15e"},{"name":"Get Single Block Detail","id":"b3dd7027-0361-4010-949c-f5d5b03f8d16","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/blocks/{{block_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks","{{block_id}}"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"e322cd45-3be6-4146-b897-e871d694b033","name":"Get Single Block Detail","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/blocks/{{block_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Content-Length","value":"3814","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 20 Sep 2018 03:13:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"session=.eJyVj0FrhDAUhP9KyXkpTRovQg-FqFhIQkokvHeRLbqrUZeyKhqX_e91b3vtdYb5ZuZGytO1HhsSn479WB9I2VYkvpGXHxITtQFXtlvBnxk6WMFWXrEiyMy8K2tWJWCRFludAQWWeikMhQFWHAoqneHod90lFK3kWiRB-YTqLG3Af3sUnwtsOQeXdnLrgmTAJEsWleURDnlQtghafHVqM1SL3utH95ZH4LHfN1AU553ZtFpUg8yKD3I_kLaqL1M7hdfjPDXlFH5rEl_mvn9ynt-5nOusCOC7CG3H0AJHh40cgIM3bw_iPNbX8l-Z-x8-4m5m.DoShyg.93Akih4dzzw-2nkdSiiwYFQdapw; HttpOnly; Path=/","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Vary","value":"Cookie","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"hotel.localhost","path":"/","secure":false,"value":".eJyVj0FrhDAUhP9KyXkpTRovQg-FqFhIQkokvHeRLbqrUZeyKhqX_e91b3vtdYb5ZuZGytO1HhsSn479WB9I2VYkvpGXHxITtQFXtlvBnxk6WMFWXrEiyMy8K2tWJWCRFludAQWWeikMhQFWHAoqneHod90lFK3kWiRB-YTqLG3Af3sUnwtsOQeXdnLrgmTAJEsWleURDnlQtghafHVqM1SL3utH95ZH4LHfN1AU553ZtFpUg8yKD3I_kLaqL1M7hdfjPDXlFH5rEl_mvn9ynt-5nOusCOC7CG3H0AJHh40cgIM3bw_iPNbX8l-Z-x8-4m5m.DoShyg.93Akih4dzzw-2nkdSiiwYFQdapw","key":"session"}],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"able_check_in\": \"2019-12-05T00:00:00\",\n        \"able_check_out\": \"2019-12-08T00:00:00\",\n        \"account_holder\": \"Singapore Hotel\",\n        \"account_holder_id\": \"5bc3590396db8a1b5134f1f4\",\n        \"attachments\": [\n            {\n                \"created_at\": \"2018-12-04T04:24:25.331000\",\n                \"file_type\": \"others\",\n                \"id\": \"5c06017996db8a0d869c4d0c\",\n                \"name\": \"0PL1UX33-Rooming-List-Template-NEW.xlsx\",\n                \"size\": 29806,\n                \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5bc3590396db8a1b5134f1f3/OG4T909C-0PL1UX33-Rooming-List-Template-NEW.xlsx\"\n            },\n            {\n                \"created_at\": \"2018-12-04T04:24:25.454000\",\n                \"file_type\": \"others\",\n                \"id\": \"5c06017996db8a0d869c4d0d\",\n                \"name\": \"0U2TUAJH-Rooming_List_Template.xlsx\",\n                \"size\": 25177,\n                \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5bc3590396db8a1b5134f1f3/B9ZYO8X7-0U2TUAJH-Rooming_List_Template.xlsx\"\n            }\n        ],\n        \"block_url\": \"http://hotel.localhost:5001/blocks/5c4b30121c91572f73342513/view\",\n        \"brief\": [\n            {\n                \"description\": \"$0 USD\",\n                \"price\": \"$0 USD\",\n                \"title\": \"Total Rm/Nts Sold\",\n                \"total_price\": \"$9,000 USD\",\n                \"type\": \"all\",\n                \"value\": \"0/60\"\n            },\n            {\n                \"description\": \"$0 USD\",\n                \"price\": \"$0 USD\",\n                \"title\": \"Contracted Rm/Nts Total\",\n                \"total_price\": \"$9,000 USD\",\n                \"type\": \"contracted\",\n                \"value\": \"0/60\"\n            },\n            {\n                \"description\": \"$0 USD\",\n                \"price\": \"$0 USD\",\n                \"title\": \"Pre & Post Rm/Nts Sold\",\n                \"total_price\": \"$0 USD\",\n                \"type\": \"noncontracted\",\n                \"value\": \"0/0\"\n            },\n            {\n                \"description\": \"$0 USD\",\n                \"title\": \"Total Nights Lost\",\n                \"type\": \"released\",\n                \"value\": \"0\"\n            },\n            {\n                \"description\": \"10 Dec 2019\",\n                \"title\": \"Days Until Cutoff Date\",\n                \"type\": \"cutoffdate\",\n                \"value\": 318\n            },\n            {\n                \"description\": \"06 Dec 2019\",\n                \"title\": \"Days Until Event\",\n                \"type\": \"untilevent\",\n                \"value\": 314\n            }\n        ],\n        \"closeable_at\": \"2019-12-10T00:00:00\",\n        \"closeable_res_at\": \"2019-12-08T00:00:00\",\n        \"code\": \"code1122\",\n        \"company_name\": \"IDEM\",\n        \"contracted_from_date\": \"2019-12-06T00:00:00\",\n        \"contracted_to_date\": \"2019-12-07T00:00:00\",\n        \"created_at\": \"2019-01-25T15:49:38.385000\",\n        \"description\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson &amp; Johnson, IBM, Google, and MailChimp.\",\n        \"ep\": {\n            \"account_status\": 0,\n            \"block_count\": 34,\n            \"created_at\": \"2018-12-04T04:40:27.263000\",\n            \"deleted_at\": null,\n            \"email\": \"firstplanner.idem@mailinator.com\",\n            \"first_name\": \"First\",\n            \"hotel_id\": null,\n            \"id\": \"5c06053b96db8a0d869c4d16\",\n            \"last_name\": \"Planner\",\n            \"name\": \"First Planner\",\n            \"phone_contact\": \"93 987654321\",\n            \"role\": null,\n            \"type\": 2\n        },\n        \"ep_email\": \"firstplanner.idem@mailinator.com\",\n        \"ep_id\": \"5c06053b96db8a0d869c4d16\",\n        \"ep_name\": \"First Planner\",\n        \"event\": {\n            \"dates\": [\n                {\n                    \"end\": \"2019-12-06T00:00:00\",\n                    \"start\": \"2019-12-06T00:00:00\"\n                },\n                {\n                    \"end\": \"2019-12-07T00:00:00\",\n                    \"start\": \"2019-12-07T00:00:00\"\n                }\n            ],\n            \"dates_time\": false,\n            \"id\": \"5c4b30121c91572f73342512\",\n            \"logo\": {\n                \"created_at\": \"2018-12-04T04:24:25.331000\",\n                \"file_type\": \"others\",\n                \"id\": \"5c06017996db8a0d869c4d0c\",\n                \"name\": \"0PL1UX33-Rooming-List-Template-NEW.xlsx\",\n                \"size\": 29806,\n                \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5bc3590396db8a1b5134f1f3/OG4T909C-0PL1UX33-Rooming-List-Template-NEW.xlsx\"\n            }\n        },\n        \"event_id\": \"5c4b30121c91572f73342512\",\n        \"has_fees\": true,\n        \"id\": \"5c4b30121c91572f73342513\",\n        \"is_upsell\": true,\n        \"name\": \"Awesomeeeee\",\n        \"night_count\": 1,\n        \"photos\": [\n            {\n                \"created_at\": \"2018-12-04T04:24:25.331000\",\n                \"file_type\": \"others\",\n                \"id\": \"5c06017996db8a0d869c4d0c\",\n                \"name\": \"0PL1UX33-Rooming-List-Template-NEW.xlsx\",\n                \"size\": 29806,\n                \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5bc3590396db8a1b5134f1f3/OG4T909C-0PL1UX33-Rooming-List-Template-NEW.xlsx\"\n            },\n            {\n                \"created_at\": \"2018-12-04T04:24:25.454000\",\n                \"file_type\": \"others\",\n                \"id\": \"5c06017996db8a0d869c4d0d\",\n                \"name\": \"0U2TUAJH-Rooming_List_Template.xlsx\",\n                \"size\": 25177,\n                \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5bc3590396db8a1b5134f1f3/B9ZYO8X7-0U2TUAJH-Rooming_List_Template.xlsx\"\n            }\n        ],\n        \"post_event_days\": 1,\n        \"pre_event_days\": 1,\n        \"reservation_url\": \"http://www.localhost:5001/r/awesomeeeee-5c4b3012\",\n        \"revenue_download_url\": \"http://hotel.localhost:5001/blocks/5c4b30121c91572f73342513/export-rooming-list?type=revenue\",\n        \"room_inclusion\": \"<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum</p>\\n\",\n        \"room_policy\": \"<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\\n\\n<p>&nbsp;</p>\\n\",\n        \"status\": \"open\",\n        \"sub_blocks\": [\n            {\n                \"block_id\": \"5c4b30121c91572f73342513\",\n                \"created_at\": \"2019-01-25T15:50:05.781000\",\n                \"description\": \"Sub-Block 1\",\n                \"end_date\": \"2019-12-08T00:00:00\",\n                \"id\": \"5c4b302d1c91572f73342514\",\n                \"name\": \"Sub-Block 1\",\n                \"rooms\": [\n                    {\n                        \"capacity\": 4,\n                        \"created_at\": \"2019-01-25T15:50:05.783000\",\n                        \"end_date\": \"2019-12-08T00:00:00\",\n                        \"id\": \"5c4b302d1c91572f73342515\",\n                        \"name\": \"Standard\",\n                        \"rate_plans\": [\n                            {\n                                \"billing\": [\n                                    \"MASTER_BILLING\",\n                                    \"CREDIT_CARD\"\n                                ],\n                                \"closeable_at\": \"2019-12-09T00:00:00\",\n                                \"code\": \"RATE12\",\n                                \"created_at\": \"2019-01-25T15:50:05.786000\",\n                                \"display_sequence\": 0,\n                                \"end_date\": \"2019-12-08T00:00:00\",\n                                \"id\": \"5c4b302d1c91572f73342516\",\n                                \"market_code\": null,\n                                \"min_night\": 1,\n                                \"occupancy_rates\": [\n                                    0,\n                                    10,\n                                    10,\n                                    10\n                                ],\n                                \"room_dates\": [\n                                    {\n                                        \"date\": \"2019-12-05T00:00:00\",\n                                        \"id\": \"5c4b302d1c91572f73342517\",\n                                        \"is_contracted\": true,\n                                        \"quantity\": 10,\n                                        \"rate\": 100,\n                                        \"rate_plan_id\": \"5c4b302d1c91572f73342516\",\n                                        \"remain\": 10,\n                                        \"room_class_id\": null,\n                                        \"status\": \"available\"\n                                    },\n                                    {\n                                        \"date\": \"2019-12-06T00:00:00\",\n                                        \"id\": \"5c4b302d1c91572f73342518\",\n                                        \"is_contracted\": true,\n                                        \"quantity\": 10,\n                                        \"rate\": 100,\n                                        \"rate_plan_id\": \"5c4b302d1c91572f73342516\",\n                                        \"remain\": 10,\n                                        \"room_class_id\": null,\n                                        \"status\": \"available\"\n                                    },\n                                    {\n                                        \"date\": \"2019-12-07T00:00:00\",\n                                        \"id\": \"5c4b302d1c91572f73342519\",\n                                        \"is_contracted\": true,\n                                        \"quantity\": 10,\n                                        \"rate\": 100,\n                                        \"rate_plan_id\": \"5c4b302d1c91572f73342516\",\n                                        \"remain\": 10,\n                                        \"room_class_id\": null,\n                                        \"status\": \"available\"\n                                    }\n                                ],\n                                \"room_id\": \"5c4b302d1c91572f73342515\",\n                                \"room_inclusion\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson &amp; Johnson, IBM, Google, and MailChimp. All that on top of coordinating 20 other InVision events happening over just the next 3 months.\",\n                                \"sell_end_date\": null,\n                                \"sell_start_date\": null,\n                                \"source_code\": null,\n                                \"start_date\": \"2019-12-05T00:00:00\"\n                            }\n                        ],\n                        \"start_date\": \"2019-12-05T00:00:00\",\n                        \"sub_block_id\": \"5c4b302d1c91572f73342514\",\n                        \"type\": \"5bc4060c96db8a0c0dbb47e9\"\n                    }\n                ],\n                \"start_date\": \"2019-12-05T00:00:00\"\n            },\n            {\n                \"block_id\": \"5c4b30121c91572f73342513\",\n                \"created_at\": \"2019-01-25T15:50:05.803000\",\n                \"description\": \"Sub-Block 2\",\n                \"end_date\": \"2019-12-08T00:00:00\",\n                \"id\": \"5c4b302d1c91572f7334251a\",\n                \"name\": \"Sub-Block 2\",\n                \"rooms\": [\n                    {\n                        \"capacity\": 4,\n                        \"created_at\": \"2019-01-25T15:50:05.805000\",\n                        \"end_date\": \"2019-12-08T00:00:00\",\n                        \"id\": \"5c4b302d1c91572f7334251b\",\n                        \"name\": \"Executive\",\n                        \"rate_plans\": [\n                            {\n                                \"billing\": [\n                                    \"MASTER_BILLING\",\n                                    \"CREDIT_CARD\"\n                                ],\n                                \"closeable_at\": \"2019-12-09T00:00:00\",\n                                \"code\": \"RATE12\",\n                                \"created_at\": \"2019-01-25T15:50:05.808000\",\n                                \"display_sequence\": 0,\n                                \"end_date\": \"2019-12-08T00:00:00\",\n                                \"id\": \"5c4b302d1c91572f7334251c\",\n                                \"market_code\": null,\n                                \"min_night\": 1,\n                                \"occupancy_rates\": [\n                                    0,\n                                    10,\n                                    10,\n                                    10\n                                ],\n                                \"room_dates\": [\n                                    {\n                                        \"date\": \"2019-12-05T00:00:00\",\n                                        \"id\": \"5c4b302d1c91572f7334251d\",\n                                        \"is_contracted\": true,\n                                        \"quantity\": 10,\n                                        \"rate\": 200,\n                                        \"rate_plan_id\": \"5c4b302d1c91572f7334251c\",\n                                        \"remain\": 10,\n                                        \"room_class_id\": null,\n                                        \"status\": \"available\"\n                                    },\n                                    {\n                                        \"date\": \"2019-12-06T00:00:00\",\n                                        \"id\": \"5c4b302d1c91572f7334251e\",\n                                        \"is_contracted\": true,\n                                        \"quantity\": 10,\n                                        \"rate\": 200,\n                                        \"rate_plan_id\": \"5c4b302d1c91572f7334251c\",\n                                        \"remain\": 10,\n                                        \"room_class_id\": null,\n                                        \"status\": \"available\"\n                                    },\n                                    {\n                                        \"date\": \"2019-12-07T00:00:00\",\n                                        \"id\": \"5c4b302d1c91572f7334251f\",\n                                        \"is_contracted\": true,\n                                        \"quantity\": 10,\n                                        \"rate\": 200,\n                                        \"rate_plan_id\": \"5c4b302d1c91572f7334251c\",\n                                        \"remain\": 10,\n                                        \"room_class_id\": null,\n                                        \"status\": \"available\"\n                                    }\n                                ],\n                                \"room_id\": \"5c4b302d1c91572f7334251b\",\n                                \"room_inclusion\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson &amp; Johnson, IBM, Google, and MailChimp. All that on top of coordinating 20 other InVision events happening over just the next 3 months.\",\n                                \"sell_end_date\": null,\n                                \"sell_start_date\": null,\n                                \"source_code\": null,\n                                \"start_date\": \"2019-12-05T00:00:00\"\n                            }\n                        ],\n                        \"start_date\": \"2019-12-05T00:00:00\",\n                        \"sub_block_id\": \"5c4b302d1c91572f7334251a\",\n                        \"type\": \"5bc4060c96db8a0c0dbb47ea\"\n                    }\n                ],\n                \"start_date\": \"2019-12-05T00:00:00\"\n            }\n        ],\n        \"transfer_detail\": null,\n        \"type\": \"single\",\n        \"user\": {\n            \"account_status\": 1,\n            \"block_count\": 55,\n            \"created_at\": \"2018-10-14T14:56:03.353000\",\n            \"deleted_at\": null,\n            \"email\": \"henry@idemlabs.com\",\n            \"first_name\": \"Singapore\",\n            \"hotel_id\": \"5bc3590396db8a1b5134f1f3\",\n            \"id\": \"5bc3590396db8a1b5134f1f4\",\n            \"last_name\": \"Hotel\",\n            \"name\": \"Singapore Hotel\",\n            \"phone_contact\": \" \",\n            \"role\": \"admin\",\n            \"type\": 1\n        }\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"b3dd7027-0361-4010-949c-f5d5b03f8d16"},{"name":"Add Multi Block","event":[{"listen":"test","script":{"id":"60be7b4f-7cb7-4ecc-a62b-f7fcd2ea7f7e","exec":["var jsonData = pm.response.json();","if (pm.response.to.have.status(200)) {","    pm.environment.set(\"multi_block_id\", jsonData.data.id);","}"],"type":"text/javascript"}}],"id":"9e12dcb5-3055-46a1-98cb-7d65ce6a30af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"room_block\": {\n        \"name\": \"Awesomeeeee\",\n        \"description\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson & Johnson, IBM, Google, and MailChimp.\",\n        \"pre_event_days\": 1,\n        \"post_event_days\": 1,\n        \"closeable_at\": \"10 Dec 2019\",\n        \"closeable_res_at\": \"10 Dec 2019\",\n        \"contracted_from_date\": \"6 Dec 2019\",\n        \"contracted_to_date\": \"7 Dec 2019\",\n        \"booking_policy\": {\n            \"name\": \"\",\n            \"description\": \"\",\n            \"cancellation_days\": 0\n        },\n        \"attachment_ids\": [\n            \"5c06017996db8a0d869c4d0c\",\n            \"5c06017996db8a0d869c4d0d\"\n        ],\n        \"photos\": [\n            \"5c06017996db8a0d869c4d0c\",\n            \"5c06017996db8a0d869c4d0d\"\n        ],\n        \"hotels\": [\n            {\n                \"name\": \"Kingsmen Hotel\",\n                \"id\": \"5bc3590396db8a1b5134f1f3\",\n                \"provider\": \"idem\",\n                \"account_manager_name\": \"Henry\",\n                \"account_manager_email\": \"henry@idemlabs.com\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"city\": \"Singapore\",\n                \"sub_name\": \"string(default='')\",\n                \"sub_descriptions\": [\n                    \"Lorem Ipsum is simply dummy text of the printing and typesetting industry\",\n                    \"Lorem Ipsum is simply dummy text of the printing and typesetting industry\",\n                    \"Lorem Ipsum is simply dummy text of the printing and typesetting industry\"\n                ]\n            },\n            {\n                \"id\": \"5bc3590396db8a1b5134f1f4\",\n                \"name\": \"HOTEL TRANSYLVANIA\",\n                \"provider\": \"external\",\n                \"account_manager_name\": \"Dracula\",\n                \"account_manager_email\": \"doctoracula.hts@mailinator.com\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"city\": \"Singapore\",\n                \"sub_name\": \"string(default='')\",\n                \"sub_descriptions\": [\n                    \"Lorem Ipsum is simply dummy text of the printing and typesetting industry\",\n                    \"Lorem Ipsum is simply dummy text of the printing and typesetting industry\",\n                    \"Lorem Ipsum is simply dummy text of the printing and typesetting industry\"\n                ]\n            }\n        ]\n    },\n    \"event\": {\n        \"dates\": [\n            \"14 Feb 2019\",\n            \"15 Feb 2019\"\n        ],\n        \"time_from\": [\n            \"12:0 AM\",\n            \"12:0 AM\"\n        ],\n        \"time_to\": [\n            \"12:0 AM\",\n            \"12:0 AM\"\n        ],\n        \"dates_time\": false,\n        \"logo_image\": \"5c06017996db8a0d869c4d0d\",\n        \"type\": \"string\",\n        \"venue\": {\n            \"name\": \"\",\n            \"description\": \"Suntec Singapore is the World’s Leading Meetings & Conference Centre, located at the heart of Asia's most integrated meetings, conventions and exhibitions hub. With great versatility featuring 42,000m2 of flexible customisable space, free WiFi, digital signage, an excellent range of culinary choices and a dedicated team of service experts, our award-winning facility can cater to events from 10 to 10,000 persons. Only 20 minutes from Changi International Airport, Suntec Singapore is conveniently located in the Central Business District and just minutes from the city's entertainment and cultural attractions. Suntec Singapore offers direct access to 5,200 hotel rooms, 1,000 retail outlets, 300 restaurants, 6 museums and Esplanade - Theatres on the Bay.\",\n            \"address\": {\n                \"address_1\": \"string\",\n                \"address_2\": \"string\",\n                \"city\": \"string\",\n                \"country\": \"string\",\n                \"postalcode\": \"string\",\n                \"state\": \"string\"\n            },\n            \"maps_url\": \"https://www.google.com/maps/place/Suntec+Singapore+Convention+%26+Exhibition+Centre/ @1.29369,103.8550453,17z/data=!3m1!4b1!4m5!3m4! 1s0x31da19af38dd2bf3:0xd63e8cb2dacf54c7!8m2!3d1.2936846!4d103.857234\",\n            \"phone\": {\n                \"cc\": \"+65\",\n                \"contact\": \"65749865\"\n            },\n            \"fax\": {\n                \"cc\": \"+65\",\n                \"contact\": \"88889653\"\n            },\n            \"email\": \"\",\n            \"website\": \"https://www.suntecsingapore.com\",\n            \"location\": {\n                \"lat\": \"float\",\n                \"lng\": \"float\"\n            }\n        }\n    }\n}"},"url":"{{endpoint}}/api/v1/multi-blocks","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","multi-blocks"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"0c6e5441-148c-4fd4-933a-193bb2d3c455","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"room_block\": {\n    \t\"name\": \"Awesomeeeee\",\n    \t\"description\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson & Johnson, IBM, Google, and MailChimp.\",\n        \"pre_event_days\": 1,\n        \"post_event_days\": 1,\n        \"closeable_at\": \"10 Dec 2019\",\n        \"closeable_res_at\": \"10 Dec 2019\",\n        \"contracted_from_date\": \"6 Dec 2019\",\n        \"contracted_to_date\": \"7 Dec 2019\",\n        \"booking_policy\": {\n        \t\"name\": \"\",\n        \t\"description\": \"\",\n        \t\"cancellation_days\": 0\n        },\n        \"attachment_ids\": [\n            \"5c06017996db8a0d869c4d0c\",\n            \"5c06017996db8a0d869c4d0d\"\n        ],\n        \"photos\": [\n            \"5c06017996db8a0d869c4d0c\",\n            \"5c06017996db8a0d869c4d0d\"\n        ],\n\t    \"hotels\": [\n\t    \t{\n\t    \t\t\"name\": \"Kingsmen Hotel\",\n\t    \t\t\"id\": \"5bc3590396db8a1b5134f1f3\",\n\t    \t\t\"provider\": \"idem\",\n\t    \t\t\"account_manager_name\": \"Henry\",\n\t    \t\t\"account_manager_email\": \"henry@idemlabs.com\",\n\t    \t\t\"phone\": {\"cc\": \"65\", \"contact\": \"987654321\"},\n\t    \t\t\"city\": \"Singapore\"\n\t    \t},\n\t    \t{\n\t    \t\t\"id\": \"5bc3590396db8a1b5134f1f4\",\n\t    \t\t\"name\": \"HOTEL TRANSYLVANIA\",\n\t    \t\t\"provider\": \"external\",\n\t    \t\t\"account_manager_name\": \"Dracula\",\n\t    \t\t\"account_manager_email\": \"doctoracula.hts@mailinator.com\",\n\t    \t\t\"phone\": {\"cc\": \"65\", \"contact\": \"987654321\"},\n\t    \t\t\"city\": \"Singapore\"\n\t    \t}\n\t    ]\n    },\n    \"event\": {\n        \"dates\": [\n            \"14 Feb 2019\",\n            \"15 Feb 2019\"\n        ],\n        \"time_from\": [\n            \"12:0 AM\",\n            \"12:0 AM\"\n        ],\n        \"time_to\": [\n            \"12:0 AM\",\n            \"12:0 AM\"\n        ],\n        \"dates_time\": false,\n        \"logo_image\": \"5c06017996db8a0d869c4d0d\",\n\t    \"venue\": {\n\t    \t\"name\": \"Suntec Singapore\",\n\t    \t\"description\": \"Suntec Singapore is the World’s Leading Meetings & Conference Centre, located at the heart of Asia's most integrated meetings, conventions and exhibitions hub. With great versatility featuring 42,000m2 of flexible customisable space, free WiFi, digital signage, an excellent range of culinary choices and a dedicated team of service experts, our award-winning facility can cater to events from 10 to 10,000 persons. Only 20 minutes from Changi International Airport, Suntec Singapore is conveniently located in the Central Business District and just minutes from the city's entertainment and cultural attractions. Suntec Singapore offers direct access to 5,200 hotel rooms, 1,000 retail outlets, 300 restaurants, 6 museums and Esplanade - Theatres on the Bay.\",\n\t    \t\"address\": \"80 Robinson Road, Singapore 454543\",\n\t    \t\"maps_url\": \"https://www.google.com/maps/place/Suntec+Singapore+Convention+%26+Exhibition+Centre/ @1.29369,103.8550453,17z/data=!3m1!4b1!4m5!3m4! 1s0x31da19af38dd2bf3:0xd63e8cb2dacf54c7!8m2!3d1.2936846!4d103.857234\",\n\t    \t\"phone\": {\n\t    \t\t\"cc\": \"+65\",\n\t    \t\t\"contact\": \"65749865\"\n\t    \t},\n\t    \t\"fax\": {\n\t    \t\t\"cc\": \"+65\",\n\t    \t\t\"contact\": \"88889653\"\n\t    \t},\n\t    \t\"email\": \"suntec@idemventures.com\",\n\t    \t\"website\": \"https://www.suntecsingapore.com\"\n\t    }\n    }\n}"},"url":"{{endpoint}}/api/v1/multi-blocks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1873"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkM1uwjAQhF-l8hlVwZBLJG4OEZG8UZCJtb5EUEIS_9CKBEGMePe6PVRce92ZnZ1vH6Q-XZqhI8lpb4dmRur-SJIHeTuQhBSinXNaGSVwKljecZ3eODsalJVBjQvIyogLs1SMU2DggK0Nz3iMFDQ65bjfUPSVKVh7A5l68CYCt4vBV67IQhbdai7WPeqSgm8jLjcTz3aTYp0OvgkynIOwQedeiUoDS-OQukQf5m7dK8nvKMMtWq7Ic0Y-hsupHj9Nc_5DCNU9UNUpnXqku0UR7ODLCOTWgTAxMGuUUzZUWHKW9yjaCW-r37j-2JzHfpze99exq8fpqyHJ-Wrti_LyLJC5Vq6ykAVAt-0DYABBz2lulcT7T-J1aC71v3ae33G0im0.XENCdg.yS_W5Fvnbi63tD0nB6pG77wORCM; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Sat, 19 Jan 2019 15:29:58 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5c457be196db8a207d185664\",\n        \"type\": \"multiple\"\n    },\n    \"status\": \"success\"\n}"},{"id":"6a12f30a-e26f-43ad-b897-2e87e952f9b4","name":"Failure","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"room_block\": {\n    \t\"name\": \"Awesomeeeee\",\n    \t\"description\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson & Johnson, IBM, Google, and MailChimp.\",\n        \"pre_event_days\": 1,\n        \"post_event_days\": 1,\n        \"closeable_at\": \"10 Dec 2019\",\n        \"closeable_res_at\": \"10 Dec 2019\",\n        \"contracted_from_date\": \"6 Dec 2019\",\n        \"contracted_to_date\": \"7 Dec 2019\",\n        \"booking_policy\": {\n        \t\"name\": \"\",\n        \t\"description\": \"\",\n        \t\"cancellation_days\": 0\n        },\n        \"attachment_ids\": [\n            \"5c06017996db8a0d869c4d0c\",\n            \"5c06017996db8a0d869c4d0d\"\n        ],\n        \"photos\": [\n            \"5c06017996db8a0d869c4d0c\",\n            \"5c06017996db8a0d869c4d0d\"\n        ],\n\t    \"hotels\": [\n\t    \t{\n\t    \t\t\"name\": \"Kingsmen Hotel\",\n\t    \t\t\"id\": \"5bc3590396db8a1b5134f1f3\",\n\t    \t\t\"provider\": \"idem\",\n\t    \t\t\"account_manager_name\": \"Henry\",\n\t    \t\t\"account_manager_email\": \"henry@idemlabs.com\",\n\t    \t\t\"phone\": {\"cc\": \"65\", \"contact\": \"987654321\"},\n\t    \t\t\"city\": \"Singapore\"\n\t    \t},\n\t    \t{\n\t    \t\t\"id\": \"5bc3590396db8a1b5134f1f4\",\n\t    \t\t\"name\": \"HOTEL TRANSYLVANIA\",\n\t    \t\t\"provider\": \"external\",\n\t    \t\t\"account_manager_name\": \"Dracula\",\n\t    \t\t\"account_manager_email\": \"doctoracula.hts@mailinator.com\",\n\t    \t\t\"phone\": {\"cc\": \"65\", \"contact\": \"987654321\"},\n\t    \t\t\"city\": \"Singapore\"\n\t    \t}\n\t    ]\n    },\n    \"event\": {\n        \"dates\": [\n            \"14 Feb 2019\",\n            \"15 Feb 2019\"\n        ],\n        \"time_from\": [\n            \"12:0 AM\",\n            \"12:0 AM\"\n        ],\n        \"time_to\": [\n            \"12:0 AM\",\n            \"12:0 AM\"\n        ],\n        \"dates_time\": false,\n        \"logo_image\": \"5c06017996db8a0d869c4d0d\",\n\t    \"venue\": {\n\t    \t\"name\": \"Suntec Singapore\",\n\t    \t\"description\": \"Suntec Singapore is the World’s Leading Meetings & Conference Centre, located at the heart of Asia's most integrated meetings, conventions and exhibitions hub. With great versatility featuring 42,000m2 of flexible customisable space, free WiFi, digital signage, an excellent range of culinary choices and a dedicated team of service experts, our award-winning facility can cater to events from 10 to 10,000 persons. Only 20 minutes from Changi International Airport, Suntec Singapore is conveniently located in the Central Business District and just minutes from the city's entertainment and cultural attractions. Suntec Singapore offers direct access to 5,200 hotel rooms, 1,000 retail outlets, 300 restaurants, 6 museums and Esplanade - Theatres on the Bay.\",\n\t    \t\"address\": \"80 Robinson Road, Singapore 454543\",\n\t    \t\"maps_url\": \"https://www.google.com/maps/place/Suntec+Singapore+Convention+%26+Exhibition+Centre/ @1.29369,103.8550453,17z/data=!3m1!4b1!4m5!3m4! 1s0x31da19af38dd2bf3:0xd63e8cb2dacf54c7!8m2!3d1.2936846!4d103.857234\",\n\t    \t\"phone\": {\n\t    \t\t\"cc\": \"+65\",\n\t    \t\t\"contact\": \"65749865\"\n\t    \t},\n\t    \t\"fax\": {\n\t    \t\t\"cc\": \"+65\",\n\t    \t\t\"contact\": \"88889653\"\n\t    \t},\n\t    \t\"email\": \"suntec@idemventures.com\",\n\t    \t\"website\": \"https://www.suntecsingapore.com\"\n\t    }\n    }\n}"},"url":"{{endpoint}}/api/v1/multi-blocks"},"status":"BAD REQUEST","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"280"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkM1uwjAQhF-l8hlVwZBLJG4OEZG8UZCJtb5EUEIS_9CKBEGMePe6PVRce92ZnZ1vH6Q-XZqhI8lpb4dmRur-SJIHeTuQhBSinXNaGSVwKljecZ3eODsalJVBjQvIyogLs1SMU2DggK0Nz3iMFDQ65bjfUPSVKVh7A5l68CYCt4vBV67IQhbdai7WPeqSgm8jLjcTz3aTYp0OvgkynIOwQedeiUoDS-OQukQf5m7dK8nvKMMtWq7Ic0Y-hsupHj9Nc_5DCNU9UNUpnXqku0UR7ODLCOTWgTAxMGuUUzZUWHKW9yjaCW-r37j-2JzHfpze99exq8fpqyHJ-Wrti_LyLJC5Vq6ykAVAt-0DYABBz2lulcT7T-J1aC71v3ae33G0im0.XENCAA.GeLFb2bhYysS3VqN2wleniO9u_8; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Sat, 19 Jan 2019 15:28:00 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"ValidationError\",\n    \"errors\": [\n        {\n            \"field\": \"hotels\",\n            \"message\": \"The name field is required.\"\n        }\n    ],\n    \"http_status\": 400,\n    \"message\": \"Sorry, something went wrong! Please try again.\",\n    \"status\": \"failure\"\n}"}],"_postman_id":"9e12dcb5-3055-46a1-98cb-7d65ce6a30af"},{"name":"Edit Multi Block","id":"8341e78e-3e91-4754-b821-792c157a297b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{endpoint}}/api/v1/multi-blocks/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","multi-blocks",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"description":{"content":"<p>The ObjectId of a multiple block</p>\n","type":"text/plain"},"type":"any","value":"5c6bc77096db8ab7558def2b","key":"id"}]}},"response":[],"_postman_id":"8341e78e-3e91-4754-b821-792c157a297b"},{"name":"Add Sub-Block","id":"6ad50185-e96b-488d-a3c0-f333b48a9dfc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sub_blocks\": [\n        {\n            \"name\": \"Sub-Block 1\",\n            \"description\": \"Sub-Block 1\",\n            \"start_date\": \"05 Dec 2019\",\n            \"end_date\": \"08 Dec 2019\",\n            \"rooms\": [\n                {\n                    \"name\": \"\",\n                    \"type\": \"5bc4060c96db8a0c0dbb47e9\",\n                    \"hotel_id\": \"5bc3590396db8a1b5134f1f3\",\n                    \"hotel_name\": \"Kingsmen Hotel\",\n                    \"start_date\": \"05 Dec 2019\",\n                    \"end_date\": \"08 Dec 2019\",\n                    \"is_room_class\": true,\n                    \"room_inventories\": [\n                        {\n                            \"date\": \"05 Dec 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": [\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \"quantity\": 5\n                                },\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \"quantity\": 5\n                                }\n                            ]\n                        },\n                        {\n                            \"date\": \"06 Dec 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": [\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \"quantity\": 5\n                                },\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \"quantity\": 5\n                                }\n                            ]\n                        },\n                        {\n                            \"date\": \"07 Dec 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": [\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \"quantity\": 5\n                                },\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \"quantity\": 5\n                                }\n                            ]\n                        }\n                    ],\n                    \"rate_plans\": [\n                        {\n                            \"name\": \"Rate Plan 1\",\n                            \"description\": \"Rate Plan 1\",\n                            \"is_room_class\": true,\n                            \"code\": \"RATE12\",\n                            \"start_date\": \"05 Dec 2019\",\n                            \"end_date\": \"08 Dec 2019\",\n                            \"sell_start_date\": \"01 Jan 2019\",\n                            \"sell_end_date\": \"04 Dec 2019\",\n                            \"closeable_at\": \"09 Dec 2019\",\n                            \"occupancy_rates\": [\n                                0,\n                                10.0,\n                                10.0,\n                                10.0\n                            ],\n                            \"min_night\": 1,\n                            \"billing\": [\n                                \"MASTER_BILLING\",\n                                \"CREDIT_CARD\"\n                            ],\n                            \"use_block_policy\": true,\n                            \"booking_policy\": {\n                            \t\"name\": \"\",\n                            \t\"description\": \"\",\n                            \t\"cancellation_days\": 0\n                            },\n                            \"room_inclusion\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson & Johnson, IBM, Google, and MailChimp. All that on top of coordinating 20 other InVision events happening over just the next 3 months.\",\n                            \"room_dates\": [\n                                {\n                                    \"date\": \"05 Dec 2019\",\n                                    \"rate\": 100.0,\n                                    \"room_classes\": [\n                                    \t{\n                                    \t\t\"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \t\t\"rate\": 100.0\n                                    \t},\n                                    \t{\n                                    \t\t\"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \t\t\"rate\": 100.0\n                                    \t}\n                                    ]\n                                },\n                                {\n                                    \"date\": \"06 Dec 2019\",\n                                    \"rate\": 100.0,\n                                    \"room_classes\": [\n                                    \t{\n                                    \t\t\"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \t\t\"rate\": 100.0\n                                    \t},\n                                    \t{\n                                    \t\t\"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \t\t\"rate\": 100.0\n                                    \t}\n                                    ]\n                                },\n                                {\n                                    \"date\": \"07 Dec 2019\",\n                                    \"rate\": 100.0,\n                                    \"room_classes\": [\n                                    \t{\n                                    \t\t\"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \t\t\"rate\": 100.0\n                                    \t},\n                                    \t{\n                                    \t\t\"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \t\t\"rate\": 100.0\n                                    \t}\n                                    ]\n                                }\n                            ]\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"name\": \"Sub-Block 2\",\n            \"description\": \"Sub-Block 2\",\n            \"start_date\": \"05 Dec 2019\",\n            \"end_date\": \"08 Dec 2019\",\n            \"rooms\": [\n                {\n                    \"name\": \"\",\n                    \"type\": \"5bc4060c96db8a0c0dbb47ea\",\n                    \"hotel_id\": \"5bc3590396db8a1b5134f1f3\",\n                    \"hotel_name\": \"Kingsmen Hotel\",\n                    \"start_date\": \"05 Dec 2019\",\n                    \"end_date\": \"08 Dec 2019\",\n                    \"is_room_class\": true,\n                    \"room_inventories\": [\n                        {\n                            \"date\": \"05 Dec 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": [\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \"quantity\": 5\n                                },\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \"quantity\": 5\n                                }\n                            ]\n                        },\n                        {\n                            \"date\": \"06 Dec 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": [\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \"quantity\": 5\n                                },\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \"quantity\": 5\n                                }\n                            ]\n                        },\n                        {\n                            \"date\": \"07 Dec 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": [\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \"quantity\": 5\n                                },\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \"quantity\": 5\n                                }\n                            ]\n                        }\n                    ],\n                    \"rate_plans\": [\n                        {\n                            \"name\": \"Rate Plan 1\",\n                            \"description\": \"Rate Plan 1\",\n                            \"is_room_class\": true,\n                            \"code\": \"RATE20\",\n                            \"start_date\": \"05 Dec 2019\",\n                            \"end_date\": \"08 Dec 2019\",\n                            \"sell_start_date\": \"01 Jan 2019\",\n                            \"sell_end_date\": \"04 Dec 2019\",\n                            \"closeable_at\": \"09 Dec 2019\",\n                            \"occupancy_rates\": [\n                                0,\n                                10.0,\n                                10.0,\n                                10.0\n                            ],\n                            \"min_night\": 1,\n                            \"billing\": [\n                                \"MASTER_BILLING\",\n                                \"CREDIT_CARD\"\n                            ],\n                            \"use_block_policy\": true,\n                            \"booking_policy\": {\n                            \t\"name\": \"\",\n                            \t\"description\": \"\",\n                            \t\"cancellation_days\": 0\n                            },\n                            \"room_inclusion\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson & Johnson, IBM, Google, and MailChimp. All that on top of coordinating 20 other InVision events happening over just the next 3 months.\",\n                            \"room_dates\": [\n                                {\n                                    \"date\": \"05 Dec 2019\",\n                                    \"rate\": 200.0,\n                                    \"room_classes\": [\n                                    \t{\n                                    \t\t\"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \t\t\"rate\": 200.0\n                                    \t},\n                                    \t{\n                                    \t\t\"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \t\t\"rate\": 200.0\n                                    \t}\n                                    ]\n                                },\n                                {\n                                    \"date\": \"06 Dec 2019\",\n                                    \"rate\": 200.0,\n                                    \"room_classes\": [\n                                    \t{\n                                    \t\t\"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \t\t\"rate\": 200.0\n                                    \t},\n                                    \t{\n                                    \t\t\"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \t\t\"rate\": 200.0\n                                    \t}\n                                    ]\n                                },\n                                {\n                                    \"date\": \"07 Dec 2019\",\n                                    \"rate\": 200.0,\n                                    \"room_classes\": [\n                                    \t{\n                                    \t\t\"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \t\t\"rate\": 200.0\n                                    \t},\n                                    \t{\n                                    \t\t\"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \t\t\"rate\": 200.0\n                                    \t}\n                                    ]\n                                }\n                            ]\n                        }\n                    ]\n                }\n            ]\n        }\n    ]\n}"},"url":"{{endpoint}}/api/v1/multi-blocks/{{multi_block_id}}/sub-blocks","description":"<p>Add Sub-Block to Multi Block</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","multi-blocks","{{multi_block_id}}","sub-blocks"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6ad50185-e96b-488d-a3c0-f333b48a9dfc"},{"name":"Edit Sub-Block","id":"eaaad2e8-6ff7-4503-a6c5-74bb0c91029f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{endpoint}}/api/v1/multi-blocks/{{block_id}}/sub-blocks","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","multi-blocks","{{block_id}}","sub-blocks"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"eaaad2e8-6ff7-4503-a6c5-74bb0c91029f"},{"name":"Get Multi Block Detail","id":"cea5e928-d1f9-4e12-bcda-3ccd4222905b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/blocks/{{multi_block_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks","{{multi_block_id}}"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"a88d9bf4-f954-4e0e-bddb-db72448483b4","name":"Get Multi Block Detail","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/blocks/{{multi_block_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"36141"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkM1uwjAQhF-l8hlVwZBLJG4OEZG8UZCJtb5EUEIS_9CKBEGMePe6PVRce92ZnZ1vH6Q-XZqhI8lpb4dmRur-SJIHeTuQhBSinXNaGSVwKljecZ3eODsalJVBjQvIyogLs1SMU2DggK0Nz3iMFDQ65bjfUPSVKVh7A5l68CYCt4vBV67IQhbdai7WPeqSgm8jLjcTz3aTYp0OvgkynIOwQedeiUoDS-OQukQf5m7dK8nvKMMtWq7Ic0Y-hsupHj9Nc_5DCNU9UNUpnXqku0UR7ODLCOTWgTAxMGuUUzZUWHKW9yjaCW-r37j-2JzHfpze99exq8fpqyHJ-Wrti_LyLJC5Vq6ykAVAt-0DYABBz2lulcT7T-J1aC71v3ae33G0im0.XHLR1w.M-6HOb9V2Syo9XOOs1lincUPFCY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Sun, 24 Feb 2019 17:18:15 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"able_check_in\": \"2019-12-05T00:00:00\",\n        \"able_check_out\": \"2019-12-08T00:00:00\",\n        \"account_holder\": \"Phuong Ngo\",\n        \"account_holder_id\": \"5bcfee4e96db8a2d633beef1\",\n        \"attachments\": [\n            {\n                \"created_at\": \"2019-02-24T04:59:19.760000\",\n                \"file_type\": \"others\",\n                \"hotel_name\": null,\n                \"id\": \"5c72247996db8a64fb02a047\",\n                \"name\": \"attachment_1.txt\",\n                \"size\": 12,\n                \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/default/blocks/5c6bc77096db8ab7558def2b/1AD98B16-attachment_1.txt\",\n                \"user_type\": 2\n            }\n        ],\n        \"block_url\": \"http://app.localhost:5001/blocks/5c6bc77096db8ab7558def2b/view\",\n        \"booking_policy\": {\n            \"cancellation_days\": 0,\n            \"description\": \"\",\n            \"name\": \"\"\n        },\n        \"closeable_at\": \"2019-12-08T00:00:00\",\n        \"closeable_res_at\": \"2019-12-10T00:00:00\",\n        \"code\": null,\n        \"company_name\": \"\",\n        \"contracted_from_date\": \"2019-12-06T00:00:00\",\n        \"contracted_to_date\": \"2019-12-07T00:00:00\",\n        \"created_at\": \"2019-02-19T09:08:00.212000\",\n        \"cutoffdate_brief\": {\n            \"description\": \"08 Dec 2019\",\n            \"title\": \"Days Until Cutoff Date\",\n            \"type\": \"cutoffdate\",\n            \"value\": 286\n        },\n        \"description\": \"Skill oh oh according draw situation. Kitchen score stay morning. Memory fear key wall reveal so building. Least key policy military end private top. Trouble miss future camera responsibility particular capital. Nation bar message moment age record myself mission. Computer condition loss and hit around discussion culture. Message election audience even. Political you east. President avoid season lead environment. Prove write teach table.\",\n        \"ep\": {\n            \"account_status\": 1,\n            \"block_count\": 28,\n            \"created_at\": \"2018-10-24T04:00:14.175000\",\n            \"deleted_at\": null,\n            \"email\": \"fuongit@gmail.com\",\n            \"first_name\": \"Phuong\",\n            \"hotel_id\": null,\n            \"id\": \"5bcfee4e96db8a2d633beef1\",\n            \"last_name\": \"Ngo\",\n            \"name\": \"Phuong Ngo\",\n            \"phone\": {\n                \"cc\": \"65\",\n                \"contact\": \"987654321\"\n            },\n            \"phone_contact\": \"65 987654321\",\n            \"role\": null,\n            \"type\": 2\n        },\n        \"ep_email\": \"fuongit@gmail.com\",\n        \"ep_id\": \"5bcfee4e96db8a2d633beef1\",\n        \"ep_name\": \"Phuong Ngo\",\n        \"ep_prepost_enabled\": true,\n        \"event\": {\n            \"dates\": [\n                {\n                    \"end\": \"2019-02-14T00:00:00\",\n                    \"start\": \"2019-02-14T00:00:00\"\n                },\n                {\n                    \"end\": \"2019-02-15T00:00:00\",\n                    \"start\": \"2019-02-15T00:00:00\"\n                }\n            ],\n            \"dates_time\": false,\n            \"id\": \"5c6bc77096db8ab7558def2a\",\n            \"logo\": {\n                \"created_at\": \"2019-02-24T05:00:49.824000\",\n                \"file_type\": \"img\",\n                \"id\": \"5c72250196db8a64fb02a048\",\n                \"name\": \"HIGHLIGHTS-v3-480x251.jpg\",\n                \"size\": 21438,\n                \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/ep/5bcfee4e96db8a2d633beef1/GQ7OTKYF-HIGHLIGHTS-v3-480x251.jpg\",\n                \"user_type\": 2\n            },\n            \"venue\": {\n                \"address\": \"80 Robinson Road, Singapore 454543\",\n                \"description\": \"Suntec Singapore is the World’s Leading Meetings &amp; Conference Centre, located at the heart of Asia's most integrated meetings, conventions and exhibitions hub. With great versatility featuring 42,000m2 of flexible customisable space, free WiFi, digital signage, an excellent range of culinary choices and a dedicated team of service experts, our award-winning facility can cater to events from 10 to 10,000 persons. Only 20 minutes from Changi International Airport, Suntec Singapore is conveniently located in the Central Business District and just minutes from the city's entertainment and cultural attractions. Suntec Singapore offers direct access to 5,200 hotel rooms, 1,000 retail outlets, 300 restaurants, 6 museums and Esplanade - Theatres on the Bay.\",\n                \"email\": \"venue.idem@mailinator.com\",\n                \"fax\": {\n                    \"cc\": \"+65\",\n                    \"contact\": \"88889653\"\n                },\n                \"id\": \"5c6bc77096db8ab7558def2c\",\n                \"location\": {\n                    \"lat\": 1.2453,\n                    \"lng\": 103.82758\n                },\n                \"maps_url\": \"https://www.google.com/maps/place/Suntec+Singapore+Convention+%26+Exhibition+Centre/ @1.29369,103.8550453,17z/data=!3m1!4b1!4m5!3m4! 1s0x31da19af38dd2bf3:0xd63e8cb2dacf54c7!8m2!3d1.2936846!4d103.857234\",\n                \"name\": \"Suntec Singapore\",\n                \"phone\": {\n                    \"cc\": \"+65\",\n                    \"contact\": \"65749865\"\n                },\n                \"website\": \"https://www.suntecsingapore.com\"\n            }\n        },\n        \"event_banner_enabled\": true,\n        \"event_id\": \"5c6bc77096db8ab7558def2a\",\n        \"has_fees\": false,\n        \"hotels\": [\n            {\n                \"accommodations\": [\n                    {\n                        \"description\": \"<p>Smile site during very character fine increase. Answer quickly friend community box. Control be pretty guy consider. Admit suffer evening today board agent. Strong subject seek later direction. Camera think space. Result positive evening he effort huge mean. Place management send until. Decision somebody better drop enough decision. Speech culture state myself. Upon them science product cancer group my.</p>\\n\",\n                        \"details\": \"<p>High cultural court himself air receive heart into. Six able short. Product section catch nature. Mr find improve staff. Success hope walk source away key modern. Dream television sometimes difficult scene road. Conference week either office statement no college cause. Reason investment such point. Cup Democrat both popular. Love member trouble worker finish. Turn even make across. Agent citizen ready significant concern civil.</p>\\n\",\n                        \"hotel_id\": \"5bc3590396db8a1b5134f1f3\",\n                        \"id\": \"5bc4060c96db8a0c0dbb47e8\",\n                        \"image_url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5bc3590396db8a1b5134f1f3/EVAAJ18S-4PRUQICE-5KELCHQW-hotel-room.png\",\n                        \"max_guests\": 2,\n                        \"name\": \"Clubhouse\",\n                        \"room_classes\": []\n                    },\n                    {\n                        \"description\": \"<p>Skill oh oh according draw situation. Kitchen score stay morning. Memory fear key wall reveal so building. Least key policy military end private top. Trouble miss future camera responsibility particular capital. Nation bar message moment age record myself mission. Computer condition loss and hit around discussion culture. Message election audience even. Political you east. President avoid season lead environment. Prove write teach table.</p>\\n\",\n                        \"details\": \"<p>Lot pattern probably part require fast. Down edge cost last prove. Set nothing size of miss catch. Affect would real. Fight side south up. Writer majority leave tax there affect. Where before happy main PM. Behind budget once head. Nearly game million. Agency control tree responsibility policy small matter. Have in increase ever child official across myself. Opportunity yard statement generation. Run avoid sit moment know at service. Enter foot prevent certainly.</p>\\n\",\n                        \"hotel_id\": \"5bc3590396db8a1b5134f1f3\",\n                        \"id\": \"5bc4060c96db8a0c0dbb47e9\",\n                        \"image_url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5bc3590396db8a1b5134f1f3/Z8L6AMNN-4PRUQICE-5KELCHQW-hotel-room.png\",\n                        \"max_guests\": 4,\n                        \"name\": \"Standard\",\n                        \"room_classes\": [\n                            {\n                                \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                \"name\": \"King Bed\"\n                            },\n                            {\n                                \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                \"name\": \"Queen Bed\"\n                            }\n                        ]\n                    },\n                    {\n                        \"description\": \"<p>Evidence sort within worker economic Congress include. Possible decade sure yes season. Enter director may certainly sport pick. Fast organization design period die cancer buy. Machine student environment light. Federal seat order gas room. Group sign born mean debate garden. You affect as agree cancer. Foot victim help enjoy movement administration range accept. Discover how especially woman something someone always.</p>\\n\",\n                        \"details\": \"<p>Among ground pass large woman come. Voice manage cultural check draw fight. Process arm determine writer old analysis too. Theory tough protect make. Traditional blue whom him. During herself bill order suddenly fail. Under everybody capital small remember whose. Our blue remember try try. Soldier let article. Figure explain them himself anything rate must. Enjoy staff fact take wind interest. Ahead wind leave year remain magazine painting. Material social dinner patient.</p>\\n\",\n                        \"hotel_id\": \"5bc3590396db8a1b5134f1f3\",\n                        \"id\": \"5bc4060c96db8a0c0dbb47ea\",\n                        \"image_url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5bc3590396db8a1b5134f1f3/IIBF1KP2-4PRUQICE-5KELCHQW-hotel-room.png\",\n                        \"max_guests\": 4,\n                        \"name\": \"Executive\",\n                        \"room_classes\": [\n                            {\n                                \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                \"name\": \"King Bed\"\n                            },\n                            {\n                                \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                \"name\": \"Queen Bed\"\n                            }\n                        ]\n                    },\n                    {\n                        \"description\": \"<p>Until cover phone impact rate because realize. You lose professional catch either race oil. Body reveal yeah agent not kid. Tax off despite up. Team fund where water likely guess another. Computer guy degree paper with. Pass blue green protect value. Under really sort management break still. Turn read let cup try price camera. Position first pretty little way the. Stand sure laugh recent live. Idea save practice because.</p>\\n\",\n                        \"details\": \"<p>House question speak century position imagine audience. Music feeling private cultural. Democrat finger control time opportunity every media lawyer. Work later enjoy who democratic analysis ok. Treatment executive stand how movement price. Dinner person ten able maintain. Report imagine series point. Section kind ten order course arm. Rest century suddenly could realize capital. Cultural give case return. Talk vote victim weapon involve avoid.</p>\\n\",\n                        \"hotel_id\": \"5bc3590396db8a1b5134f1f3\",\n                        \"id\": \"5bc4060c96db8a0c0dbb47eb\",\n                        \"image_url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5bc3590396db8a1b5134f1f3/8I31CMQG-4PRUQICE-5KELCHQW-hotel-room.png\",\n                        \"max_guests\": 4,\n                        \"name\": \"Deluxe\",\n                        \"room_classes\": []\n                    },\n                    {\n                        \"description\": \"\",\n                        \"details\": \"\",\n                        \"hotel_id\": \"5bc3590396db8a1b5134f1f3\",\n                        \"id\": \"5c0a4d5496db8a20a89ad223\",\n                        \"image_url\": \"\",\n                        \"max_guests\": 4,\n                        \"name\": \"King\",\n                        \"room_classes\": []\n                    }\n                ],\n                \"account_manager_email\": \"henry@idemlabs.com\",\n                \"account_manager_name\": \"Henry\",\n                \"block_id\": \"5c6e22c696db8a2af38c92b6\",\n                \"city\": \"Singapore\",\n                \"id\": \"5bc3590396db8a1b5134f1f3\",\n                \"name\": \"Kingsmen Hotel\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"preferred\": false,\n                \"promoted\": false,\n                \"provider\": \"idem\",\n                \"status\": \"pending\"\n            },\n            {\n                \"accommodations\": [],\n                \"account_manager_email\": \"doctoracula.hts@mailinator.com\",\n                \"account_manager_name\": \"Dracula\",\n                \"block_id\": null,\n                \"city\": \"Singapore\",\n                \"id\": \"5bc3590396db8a1b5134f1f4\",\n                \"name\": \"HOTEL TRANSYLVANIA\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"preferred\": false,\n                \"promoted\": false,\n                \"provider\": \"external\",\n                \"status\": \"unassigned\"\n            }\n        ],\n        \"id\": \"5c6bc77096db8ab7558def2b\",\n        \"is_upsell\": true,\n        \"name\": \"Awesomeeeee\",\n        \"night_count\": 1,\n        \"photos\": [\n            {\n                \"created_at\": \"2018-12-04T04:24:25.331000\",\n                \"file_type\": \"others\",\n                \"id\": \"5c06017996db8a0d869c4d0c\",\n                \"name\": \"0PL1UX33-Rooming-List-Template-NEW.xlsx\",\n                \"size\": 29806,\n                \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5bc3590396db8a1b5134f1f3/OG4T909C-0PL1UX33-Rooming-List-Template-NEW.xlsx\",\n                \"user_type\": 1\n            },\n            {\n                \"created_at\": \"2018-12-04T04:24:25.454000\",\n                \"file_type\": \"others\",\n                \"id\": \"5c06017996db8a0d869c4d0d\",\n                \"name\": \"0U2TUAJH-Rooming_List_Template.xlsx\",\n                \"size\": 25177,\n                \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5bc3590396db8a1b5134f1f3/B9ZYO8X7-0U2TUAJH-Rooming_List_Template.xlsx\",\n                \"user_type\": 1\n            }\n        ],\n        \"post_event_days\": 1,\n        \"pre_event_days\": 1,\n        \"reservation_url\": \"http://www.localhost:5001/r/awesomeeeee-5c6bc770\",\n        \"reservation_urls\": [\n            \"http://www.localhost:5001/r/sub-block-1-5c6e22c6\",\n            \"http://www.localhost:5001/r/sub-block-2-5c6e22c6\"\n        ],\n        \"revenue_download_url\": \"http://hotel.localhost:5001/blocks/5c6bc77096db8ab7558def2b/export-rooming-list?type=revenue\",\n        \"room_inclusion\": null,\n        \"room_policy\": null,\n        \"status\": \"open\",\n        \"sub_blocks\": [\n            {\n                \"block_id\": \"5c6bc77096db8ab7558def2b\",\n                \"created_at\": \"2019-02-21T04:02:14.240000\",\n                \"description\": \"Sub-Block 1\",\n                \"end_date\": \"2019-12-08T00:00:00\",\n                \"id\": \"5c6e22c696db8a2af38c92b4\",\n                \"name\": \"Sub-Block 1\",\n                \"rooms\": [\n                    {\n                        \"capacity\": 4,\n                        \"created_at\": \"2019-02-21T04:02:14.321000\",\n                        \"end_date\": \"2019-12-08T00:00:00\",\n                        \"hotel_id\": \"5bc3590396db8a1b5134f1f3\",\n                        \"hotel_name\": \"Kingsmen Hotels and Resorts\",\n                        \"id\": \"5c6e22c696db8a2af38c92b8\",\n                        \"is_room_class\": true,\n                        \"name\": \"Standard\",\n                        \"rate_plans\": [\n                            {\n                                \"billing\": [\n                                    \"MASTER_BILLING\",\n                                    \"CREDIT_CARD\"\n                                ],\n                                \"booking_policy\": {\n                                    \"cancellation_days\": 0,\n                                    \"description\": null,\n                                    \"name\": null\n                                },\n                                \"child_policy\": [],\n                                \"closeable_at\": \"2019-12-09T00:00:00\",\n                                \"code\": \"RATE12\",\n                                \"created_at\": \"2019-02-21T04:02:14.334000\",\n                                \"description\": \"Rate Plan 1\",\n                                \"display_sequence\": 0,\n                                \"end_date\": \"2019-12-08T00:00:00\",\n                                \"id\": \"5c6e22c696db8a2af38c92bc\",\n                                \"market_code\": null,\n                                \"min_night\": 1,\n                                \"name\": \"Rate Plan 1\",\n                                \"occupancy_rates\": [\n                                    0,\n                                    10,\n                                    10,\n                                    10\n                                ],\n                                \"release_rules\": [],\n                                \"room_dates\": [\n                                    {\n                                        \"date\": \"2019-12-05T00:00:00\",\n                                        \"id\": \"5c6e22c696db8a2af38c92bd\",\n                                        \"is_contracted\": false,\n                                        \"rate\": 100,\n                                        \"rate_plan_id\": \"5c6e22c696db8a2af38c92bc\",\n                                        \"room_classes\": [\n                                            {\n                                                \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                                \"name\": \"King Bed\",\n                                                \"rate\": 100\n                                            },\n                                            {\n                                                \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                                \"name\": \"Queen Bed\",\n                                                \"rate\": 100\n                                            }\n                                        ]\n                                    },\n                                    {\n                                        \"date\": \"2019-12-06T00:00:00\",\n                                        \"id\": \"5c6e22c696db8a2af38c92be\",\n                                        \"is_contracted\": true,\n                                        \"rate\": 100,\n                                        \"rate_plan_id\": \"5c6e22c696db8a2af38c92bc\",\n                                        \"room_classes\": [\n                                            {\n                                                \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                                \"name\": \"King Bed\",\n                                                \"rate\": 100\n                                            },\n                                            {\n                                                \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                                \"name\": \"Queen Bed\",\n                                                \"rate\": 100\n                                            }\n                                        ]\n                                    },\n                                    {\n                                        \"date\": \"2019-12-07T00:00:00\",\n                                        \"id\": \"5c6e22c696db8a2af38c92bf\",\n                                        \"is_contracted\": false,\n                                        \"rate\": 100,\n                                        \"rate_plan_id\": \"5c6e22c696db8a2af38c92bc\",\n                                        \"room_classes\": [\n                                            {\n                                                \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                                \"name\": \"King Bed\",\n                                                \"rate\": 100\n                                            },\n                                            {\n                                                \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                                \"name\": \"Queen Bed\",\n                                                \"rate\": 100\n                                            }\n                                        ]\n                                    }\n                                ],\n                                \"room_id\": \"5c6e22c696db8a2af38c92b8\",\n                                \"room_inclusion\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson &amp; Johnson, IBM, Google, and MailChimp. All that on top of coordinating 20 other InVision events happening over just the next 3 months.\",\n                                \"sell_end_date\": \"2019-12-04T00:00:00\",\n                                \"sell_start_date\": \"2019-01-01T00:00:00\",\n                                \"source_code\": null,\n                                \"start_date\": \"2019-12-05T00:00:00\",\n                                \"use_block_policy\": true\n                            }\n                        ],\n                        \"room_inventories\": [\n                            {\n                                \"date\": \"2019-12-05T00:00:00\",\n                                \"id\": \"5c6e22c696db8a2af38c92b9\",\n                                \"is_contracted\": false,\n                                \"quantity\": 10,\n                                \"remain\": 10,\n                                \"room_classes\": [\n                                    {\n                                        \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                        \"name\": \"King Bed\",\n                                        \"quantity\": 5\n                                    },\n                                    {\n                                        \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                        \"name\": \"Queen Bed\",\n                                        \"quantity\": 5\n                                    }\n                                ]\n                            },\n                            {\n                                \"date\": \"2019-12-06T00:00:00\",\n                                \"id\": \"5c6e22c696db8a2af38c92ba\",\n                                \"is_contracted\": true,\n                                \"quantity\": 10,\n                                \"remain\": 10,\n                                \"room_classes\": [\n                                    {\n                                        \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                        \"name\": \"King Bed\",\n                                        \"quantity\": 5\n                                    },\n                                    {\n                                        \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                        \"name\": \"Queen Bed\",\n                                        \"quantity\": 5\n                                    }\n                                ]\n                            },\n                            {\n                                \"date\": \"2019-12-07T00:00:00\",\n                                \"id\": \"5c6e22c696db8a2af38c92bb\",\n                                \"is_contracted\": false,\n                                \"quantity\": 10,\n                                \"remain\": 10,\n                                \"room_classes\": [\n                                    {\n                                        \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                        \"name\": \"King Bed\",\n                                        \"quantity\": 5\n                                    },\n                                    {\n                                        \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                        \"name\": \"Queen Bed\",\n                                        \"quantity\": 5\n                                    }\n                                ]\n                            }\n                        ],\n                        \"start_date\": \"2019-12-05T00:00:00\",\n                        \"sub_block_id\": \"5c6e22c696db8a2af38c92b7\",\n                        \"type\": \"5bc4060c96db8a0c0dbb47e9\"\n                    }\n                ],\n                \"start_date\": \"2019-12-05T00:00:00\"\n            },\n            {\n                \"block_id\": \"5c6bc77096db8ab7558def2b\",\n                \"created_at\": \"2019-02-21T04:02:14.274000\",\n                \"description\": \"Sub-Block 2\",\n                \"end_date\": \"2019-12-08T00:00:00\",\n                \"id\": \"5c6e22c696db8a2af38c92b5\",\n                \"name\": \"Sub-Block 2\",\n                \"rooms\": [\n                    {\n                        \"capacity\": 4,\n                        \"created_at\": \"2019-02-21T04:02:14.413000\",\n                        \"end_date\": \"2019-12-08T00:00:00\",\n                        \"hotel_id\": \"5bc3590396db8a1b5134f1f3\",\n                        \"hotel_name\": \"Kingsmen Hotels and Resorts\",\n                        \"id\": \"5c6e22c696db8a2af38c92c1\",\n                        \"is_room_class\": true,\n                        \"name\": \"Executive\",\n                        \"rate_plans\": [\n                            {\n                                \"billing\": [\n                                    \"MASTER_BILLING\",\n                                    \"CREDIT_CARD\"\n                                ],\n                                \"booking_policy\": {\n                                    \"cancellation_days\": 0,\n                                    \"description\": null,\n                                    \"name\": null\n                                },\n                                \"child_policy\": [],\n                                \"closeable_at\": \"2019-12-09T00:00:00\",\n                                \"code\": \"RATE20\",\n                                \"created_at\": \"2019-02-21T04:02:14.426000\",\n                                \"description\": \"Rate Plan 1\",\n                                \"display_sequence\": 0,\n                                \"end_date\": \"2019-12-08T00:00:00\",\n                                \"id\": \"5c6e22c696db8a2af38c92c5\",\n                                \"market_code\": null,\n                                \"min_night\": 1,\n                                \"name\": \"Rate Plan 1\",\n                                \"occupancy_rates\": [\n                                    0,\n                                    10,\n                                    10,\n                                    10\n                                ],\n                                \"release_rules\": [],\n                                \"room_dates\": [\n                                    {\n                                        \"date\": \"2019-12-05T00:00:00\",\n                                        \"id\": \"5c6e22c696db8a2af38c92c6\",\n                                        \"is_contracted\": false,\n                                        \"rate\": 200,\n                                        \"rate_plan_id\": \"5c6e22c696db8a2af38c92c5\",\n                                        \"room_classes\": [\n                                            {\n                                                \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                                \"name\": \"King Bed\",\n                                                \"rate\": 200\n                                            },\n                                            {\n                                                \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                                \"name\": \"Queen Bed\",\n                                                \"rate\": 200\n                                            }\n                                        ]\n                                    },\n                                    {\n                                        \"date\": \"2019-12-06T00:00:00\",\n                                        \"id\": \"5c6e22c696db8a2af38c92c7\",\n                                        \"is_contracted\": true,\n                                        \"rate\": 200,\n                                        \"rate_plan_id\": \"5c6e22c696db8a2af38c92c5\",\n                                        \"room_classes\": [\n                                            {\n                                                \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                                \"name\": \"King Bed\",\n                                                \"rate\": 200\n                                            },\n                                            {\n                                                \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                                \"name\": \"Queen Bed\",\n                                                \"rate\": 200\n                                            }\n                                        ]\n                                    },\n                                    {\n                                        \"date\": \"2019-12-07T00:00:00\",\n                                        \"id\": \"5c6e22c696db8a2af38c92c8\",\n                                        \"is_contracted\": false,\n                                        \"rate\": 200,\n                                        \"rate_plan_id\": \"5c6e22c696db8a2af38c92c5\",\n                                        \"room_classes\": [\n                                            {\n                                                \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                                \"name\": \"King Bed\",\n                                                \"rate\": 200\n                                            },\n                                            {\n                                                \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                                \"name\": \"Queen Bed\",\n                                                \"rate\": 200\n                                            }\n                                        ]\n                                    }\n                                ],\n                                \"room_id\": \"5c6e22c696db8a2af38c92c1\",\n                                \"room_inclusion\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson &amp; Johnson, IBM, Google, and MailChimp. All that on top of coordinating 20 other InVision events happening over just the next 3 months.\",\n                                \"sell_end_date\": \"2019-12-04T00:00:00\",\n                                \"sell_start_date\": \"2019-01-01T00:00:00\",\n                                \"source_code\": null,\n                                \"start_date\": \"2019-12-05T00:00:00\",\n                                \"use_block_policy\": true\n                            }\n                        ],\n                        \"room_inventories\": [\n                            {\n                                \"date\": \"2019-12-05T00:00:00\",\n                                \"id\": \"5c6e22c696db8a2af38c92c2\",\n                                \"is_contracted\": false,\n                                \"quantity\": 10,\n                                \"remain\": 10,\n                                \"room_classes\": [\n                                    {\n                                        \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                        \"name\": \"King Bed\",\n                                        \"quantity\": 5\n                                    },\n                                    {\n                                        \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                        \"name\": \"Queen Bed\",\n                                        \"quantity\": 5\n                                    }\n                                ]\n                            },\n                            {\n                                \"date\": \"2019-12-06T00:00:00\",\n                                \"id\": \"5c6e22c696db8a2af38c92c3\",\n                                \"is_contracted\": true,\n                                \"quantity\": 10,\n                                \"remain\": 10,\n                                \"room_classes\": [\n                                    {\n                                        \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                        \"name\": \"King Bed\",\n                                        \"quantity\": 5\n                                    },\n                                    {\n                                        \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                        \"name\": \"Queen Bed\",\n                                        \"quantity\": 5\n                                    }\n                                ]\n                            },\n                            {\n                                \"date\": \"2019-12-07T00:00:00\",\n                                \"id\": \"5c6e22c696db8a2af38c92c4\",\n                                \"is_contracted\": false,\n                                \"quantity\": 10,\n                                \"remain\": 10,\n                                \"room_classes\": [\n                                    {\n                                        \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                        \"name\": \"King Bed\",\n                                        \"quantity\": 5\n                                    },\n                                    {\n                                        \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                        \"name\": \"Queen Bed\",\n                                        \"quantity\": 5\n                                    }\n                                ]\n                            }\n                        ],\n                        \"start_date\": \"2019-12-05T00:00:00\",\n                        \"sub_block_id\": \"5c6e22c696db8a2af38c92c0\",\n                        \"type\": \"5bc4060c96db8a0c0dbb47ea\"\n                    }\n                ],\n                \"start_date\": \"2019-12-05T00:00:00\"\n            }\n        ],\n        \"transfer_detail\": \"\",\n        \"type\": \"multiple\",\n        \"untilevent_brief\": {\n            \"description\": \"06 Dec 2019\",\n            \"title\": \"Days Until Event\",\n            \"type\": \"untilevent\",\n            \"value\": 284\n        },\n        \"user\": {\n            \"account_status\": 1,\n            \"block_count\": 28,\n            \"created_at\": \"2018-10-24T04:00:14.175000\",\n            \"deleted_at\": null,\n            \"email\": \"fuongit@gmail.com\",\n            \"first_name\": \"Phuong\",\n            \"hotel_id\": null,\n            \"id\": \"5bcfee4e96db8a2d633beef1\",\n            \"last_name\": \"Ngo\",\n            \"name\": \"Phuong Ngo\",\n            \"phone\": {\n                \"cc\": \"65\",\n                \"contact\": \"987654321\"\n            },\n            \"phone_contact\": \"65 987654321\",\n            \"role\": null,\n            \"type\": 2\n        },\n        \"access_permissions\": [\n        \t\"block.edit\", \"block.add\", \"block.cancel\"\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"cea5e928-d1f9-4e12-bcda-3ccd4222905b"},{"name":"Search Hotels","id":"ccc15f18-b44a-4f62-b37b-7b254e4baf24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/search?q=Hotel","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels","search"],"host":["{{endpoint}}"],"query":[{"key":"q","value":"Hotel"}],"variable":[]}},"response":[{"id":"652592e7-5724-49ff-be01-78ecc81dff2d","name":"Search Hotels","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/hotels/search?q=Hotel","host":["{{endpoint}}"],"path":["api","v1","hotels","search"],"query":[{"key":"q","value":"Hotel"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"7660"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkM1uwjAQhF-l8hlVwZBLJG4OEZG8UZCJtb5EUEIS_9CKBEGMePe6PVRce92ZnZ1vH6Q-XZqhI8lpb4dmRur-SJIHeTuQhBSinXNaGSVwKljecZ3eODsalJVBjQvIyogLs1SMU2DggK0Nz3iMFDQ65bjfUPSVKVh7A5l68CYCt4vBV67IQhbdai7WPeqSgm8jLjcTz3aTYp0OvgkynIOwQedeiUoDS-OQukQf5m7dK8nvKMMtWq7Ic0Y-hsupHj9Nc_5DCNU9UNUpnXqku0UR7ODLCOTWgTAxMGuUUzZUWHKW9yjaCW-r37j-2JzHfpze99exq8fpqyHJ-Wrti_LyLJC5Vq6ykAVAt-0DYABBz2lulcT7T-J1aC71v3ae33G0im0.XGpYww.YMhvBEb5Szj9ncmKWIsm38jOwCM; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Mon, 18 Feb 2019 07:03:31 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 3,\n        \"results\": [\n            {\n                \"accommodations\": [\n                    {\n                        \"description\": \"<p>Smile site during very character fine increase. Answer quickly friend community box. Control be pretty guy consider. Admit suffer evening today board agent. Strong subject seek later direction. Camera think space. Result positive evening he effort huge mean. Place management send until. Decision somebody better drop enough decision. Speech culture state myself. Upon them science product cancer group my.</p>\\n\",\n                        \"details\": \"<p>High cultural court himself air receive heart into. Six able short. Product section catch nature. Mr find improve staff. Success hope walk source away key modern. Dream television sometimes difficult scene road. Conference week either office statement no college cause. Reason investment such point. Cup Democrat both popular. Love member trouble worker finish. Turn even make across. Agent citizen ready significant concern civil.</p>\\n\",\n                        \"hotel_id\": \"5bc3590396db8a1b5134f1f3\",\n                        \"id\": \"5bc4060c96db8a0c0dbb47e8\",\n                        \"image_url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5bc3590396db8a1b5134f1f3/EVAAJ18S-4PRUQICE-5KELCHQW-hotel-room.png\",\n                        \"max_guests\": 2,\n                        \"name\": \"Clubhouse\",\n                        \"room_classes\": []\n                    },\n                    {\n                        \"description\": \"<p>Skill oh oh according draw situation. Kitchen score stay morning. Memory fear key wall reveal so building. Least key policy military end private top. Trouble miss future camera responsibility particular capital. Nation bar message moment age record myself mission. Computer condition loss and hit around discussion culture. Message election audience even. Political you east. President avoid season lead environment. Prove write teach table.</p>\\n\",\n                        \"details\": \"<p>Lot pattern probably part require fast. Down edge cost last prove. Set nothing size of miss catch. Affect would real. Fight side south up. Writer majority leave tax there affect. Where before happy main PM. Behind budget once head. Nearly game million. Agency control tree responsibility policy small matter. Have in increase ever child official across myself. Opportunity yard statement generation. Run avoid sit moment know at service. Enter foot prevent certainly.</p>\\n\",\n                        \"hotel_id\": \"5bc3590396db8a1b5134f1f3\",\n                        \"id\": \"5bc4060c96db8a0c0dbb47e9\",\n                        \"image_url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5bc3590396db8a1b5134f1f3/Z8L6AMNN-4PRUQICE-5KELCHQW-hotel-room.png\",\n                        \"max_guests\": 4,\n                        \"name\": \"Standard\",\n                        \"room_classes\": [\n                            {\n                                \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                \"name\": \"King Bed\"\n                            },\n                            {\n                                \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                \"name\": \"Queen Bed\"\n                            }\n                        ]\n                    },\n                    {\n                        \"description\": \"<p>Evidence sort within worker economic Congress include. Possible decade sure yes season. Enter director may certainly sport pick. Fast organization design period die cancer buy. Machine student environment light. Federal seat order gas room. Group sign born mean debate garden. You affect as agree cancer. Foot victim help enjoy movement administration range accept. Discover how especially woman something someone always.</p>\\n\",\n                        \"details\": \"<p>Among ground pass large woman come. Voice manage cultural check draw fight. Process arm determine writer old analysis too. Theory tough protect make. Traditional blue whom him. During herself bill order suddenly fail. Under everybody capital small remember whose. Our blue remember try try. Soldier let article. Figure explain them himself anything rate must. Enjoy staff fact take wind interest. Ahead wind leave year remain magazine painting. Material social dinner patient.</p>\\n\",\n                        \"hotel_id\": \"5bc3590396db8a1b5134f1f3\",\n                        \"id\": \"5bc4060c96db8a0c0dbb47ea\",\n                        \"image_url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5bc3590396db8a1b5134f1f3/IIBF1KP2-4PRUQICE-5KELCHQW-hotel-room.png\",\n                        \"max_guests\": 4,\n                        \"name\": \"Executive\",\n                        \"room_classes\": [\n                            {\n                                \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                \"name\": \"King Bed\"\n                            },\n                            {\n                                \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                \"name\": \"Queen Bed\"\n                            }\n                        ]\n                    },\n                    {\n                        \"description\": \"<p>Until cover phone impact rate because realize. You lose professional catch either race oil. Body reveal yeah agent not kid. Tax off despite up. Team fund where water likely guess another. Computer guy degree paper with. Pass blue green protect value. Under really sort management break still. Turn read let cup try price camera. Position first pretty little way the. Stand sure laugh recent live. Idea save practice because.</p>\\n\",\n                        \"details\": \"<p>House question speak century position imagine audience. Music feeling private cultural. Democrat finger control time opportunity every media lawyer. Work later enjoy who democratic analysis ok. Treatment executive stand how movement price. Dinner person ten able maintain. Report imagine series point. Section kind ten order course arm. Rest century suddenly could realize capital. Cultural give case return. Talk vote victim weapon involve avoid.</p>\\n\",\n                        \"hotel_id\": \"5bc3590396db8a1b5134f1f3\",\n                        \"id\": \"5bc4060c96db8a0c0dbb47eb\",\n                        \"image_url\": \"https://d30qdklwrf4p1t.cloudfront.net/hotels/5bc3590396db8a1b5134f1f3/8I31CMQG-4PRUQICE-5KELCHQW-hotel-room.png\",\n                        \"max_guests\": 4,\n                        \"name\": \"Deluxe\",\n                        \"room_classes\": []\n                    },\n                    {\n                        \"description\": \"\",\n                        \"details\": \"\",\n                        \"hotel_id\": \"5bc3590396db8a1b5134f1f3\",\n                        \"id\": \"5c0a4d5496db8a20a89ad223\",\n                        \"image_url\": \"\",\n                        \"max_guests\": 4,\n                        \"name\": \"King\",\n                        \"room_classes\": []\n                    }\n                ],\n                \"id\": \"5bc3590396db8a1b5134f1f3\",\n                \"name\": \"Kingsmen Hotels and Resorts\",\n                \"provider\": \"idem\"\n            },\n            {\n                \"accommodations\": [],\n                \"id\": \"5bee7ab91c9157a7f114bc82\",\n                \"name\": \"Hotel Berlin\",\n                \"provider\": \"idem\"\n            },\n            {\n                \"accommodations\": [],\n                \"id\": \"5bee7aba1c9157a7f114bc8a\",\n                \"name\": \"Hotel Munich\",\n                \"provider\": \"idem\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"ccc15f18-b44a-4f62-b37b-7b254e4baf24"},{"name":"Get Multi Block Hotels","id":"2ec77d09-051e-4bf5-84de-8a29ad352792","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"2ec77d09-051e-4bf5-84de-8a29ad352792"},{"name":"Add Hotels","id":"15688172-1785-4e13-84b9-f981069876ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"hotels\": [\n        {\n            \"name\": \"Kingsmen Hotel\",\n            \"id\": \"5bc3590396db8a1b5134f1f3\",\n            \"provider\": \"idem\",\n            \"account_manager_name\": \"Henry\",\n            \"account_manager_email\": \"henry@idemlabs.com\",\n            \"phone\": {\n                \"cc\": \"65\",\n                \"contact\": \"987654321\"\n            },\n            \"city\": \"Singapore\"\n        },\n        {\n            \"id\": \"5bc3590396db8a1b5134f1f4\",\n            \"name\": \"HOTEL TRANSYLVANIA\",\n            \"provider\": \"external\",\n            \"account_manager_name\": \"Dracula\",\n            \"account_manager_email\": \"doctoracula.hts@mailinator.com\",\n            \"phone\": {\n                \"cc\": \"65\",\n                \"contact\": \"987654321\"\n            },\n            \"city\": \"Singapore\"\n        }\n    ]\n}"},"url":"{{endpoint}}/api/v1/multi-blocks/add-hotels","description":"<p>Add list of hotels to a multi event and create new hotel with information and accommodations in case that hotel dose not exist in idemsystem.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","multi-blocks","add-hotels"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"15688172-1785-4e13-84b9-f981069876ac"},{"name":"Get Hotels","id":"739b6b86-fbab-4934-ab30-96271951b06a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels?id=5bc3590396db8a1b5134f1f3&id=5c653eb796db8a2945edbfa5","description":"<p>Get list of hotels with specified id list.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels"],"host":["{{endpoint}}"],"query":[{"key":"id","value":"5bc3590396db8a1b5134f1f3"},{"key":"id","value":"5c653eb796db8a2945edbfa5"}],"variable":[]}},"response":[],"_postman_id":"739b6b86-fbab-4934-ab30-96271951b06a"}],"id":"9d6dd18d-7aee-4966-a00d-ade23192a870","_postman_id":"9d6dd18d-7aee-4966-a00d-ade23192a870","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Sub-Block","item":[{"name":"Add Sub-Block","id":"466c6c1b-a426-4b69-a331-b7af82394579","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sub_blocks\": [\n        {\n            \"name\": \"Sub-Block 1\",\n            \"description\": \"Sub-Block 1\",\n            \"start_date\": \"05 Dec 2019\",\n            \"end_date\": \"08 Dec 2019\",\n            \"rooms\": [\n                {\n                    \"name\": \"\",\n                    \"type\": \"5bc4060c96db8a0c0dbb47e9\",\n                    \"start_date\": \"05 Dec 2019\",\n                    \"end_date\": \"08 Dec 2019\",\n                    \"check_in\": \"05 Dec 2019\",\n                    \"check_out\": \"08 Dec 2019\",\n                    \"pre\": 2,\n                    \"post\": 2,\n                    \"hotel_id\": \"5bc4060c96db8a0c0dbb47e2\",\n                    \"hotel_check_in\": \"05 Dec 2019\",\n                    \"hotel_check_out\": \"08 Dec 2019\",\n                    \"hotel_pre\": 2,\n                    \"hotel_post\": 2,\n                    \"is_room_class\": true,\n                    \"room_inventories\": [\n                        {\n                            \"date\": \"05 Dec 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": [\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \"quantity\": 5\n                                },\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \"quantity\": 5\n                                }\n                            ]\n                        },\n                        {\n                            \"date\": \"06 Dec 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": [\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \"quantity\": 5\n                                },\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \"quantity\": 5\n                                }\n                            ]\n                        },\n                        {\n                            \"date\": \"07 Dec 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": [\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \"quantity\": 5\n                                },\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \"quantity\": 5\n                                }\n                            ]\n                        }\n                    ],\n                    \"rate_plans\": [\n                        {\n                            \"name\": \"Rate Plan 1\",\n                            \"description\": \"Rate Plan 1\",\n                            \"is_room_class\": true,\n                            \"code\": \"RATE12\",\n                            \"start_date\": \"05 Dec 2019\",\n                            \"end_date\": \"08 Dec 2019\",\n                            \"sell_start_date\": \"01 Jan 2019\",\n                            \"sell_end_date\": \"04 Dec 2019\",\n                            \"closeable_at\": \"09 Dec 2019\",\n                            \"occupancy_rates\": [\n                                0,\n                                10,\n                                10,\n                                10\n                            ],\n                            \"min_night\": 1,\n                            \"billing\": [\n                                \"MASTER_BILLING\",\n                                \"CREDIT_CARD\",\n                                \"DIRECT_PAYMENT\",\n                                \"NO_CC_GUARANTEE\"\n                            ],\n                            \"payment_setting\": {\n                            \t\"period\": {\n                            \t\t\"type\": \"string({'direct', 'days', 'fixed'})\",\n                            \t\t\"value\": \"null|int|date\"\n                            \t},\n                            \t\"amount\": {\n                            \t\t\"type\": \"string({'total', 'percent', 'night'})\",\n                            \t\t\"value\": \"null|int\"\n                            \t}\n                            },\n                            \"use_block_policy\": true,\n                            \"booking_policy\": {\n                                \"name\": \"Lorem Ipsum is simply dummy\",\n                                \"description\": \"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.\",\n                                \"cancellation_days\": 0\n                            },\n                            \"child_policy\": [\n                                {\n                                    \"max_age\": 5,\n                                    \"rate\": 5\n                                },\n                                {\n                                    \"max_age\": 12,\n                                    \"rate\": 7\n                                }\n                            ],\n                            \"room_inclusion\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson & Johnson, IBM, Google, and MailChimp. All that on top of coordinating 20 other InVision events happening over just the next 3 months.\",\n                            \"room_dates\": [\n                                {\n                                    \"date\": \"05 Dec 2019\",\n                                    \"rate\": 100,\n                                    \"room_classes\": [\n                                        {\n                                            \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                            \"rate\": 100\n                                        },\n                                        {\n                                            \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                            \"rate\": 100\n                                        }\n                                    ]\n                                },\n                                {\n                                    \"date\": \"06 Dec 2019\",\n                                    \"rate\": 100,\n                                    \"room_classes\": [\n                                        {\n                                            \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                            \"rate\": 100\n                                        },\n                                        {\n                                            \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                            \"rate\": 100\n                                        }\n                                    ]\n                                },\n                                {\n                                    \"date\": \"07 Dec 2019\",\n                                    \"rate\": 100,\n                                    \"room_classes\": [\n                                        {\n                                            \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                            \"rate\": 100\n                                        },\n                                        {\n                                            \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                            \"rate\": 100\n                                        }\n                                    ]\n                                }\n                            ]\n                        }\n                    ],\n                    \"release_rules\": []\n                }\n            ]\n        },\n        {\n            \"name\": \"Sub-Block 2\",\n            \"description\": \"Sub-Block 2\",\n            \"start_date\": \"05 Dec 2019\",\n            \"end_date\": \"08 Dec 2019\",\n            \"rooms\": [\n                {\n                    \"name\": \"\",\n                    \"type\": \"5bc4060c96db8a0c0dbb47ea\",\n                    \"start_date\": \"05 Dec 2019\",\n                    \"end_date\": \"08 Dec 2019\",\n                    \"check_in\": \"05 Dec 2019\",\n                    \"check_out\": \"08 Dec 2019\",\n                    \"pre\": 2,\n                    \"post\": 2,\n                    \"hotel_id\": \"5bc4060c96db8a0c0dbb47e2\",\n                    \"hotel_check_in\": \"05 Dec 2019\",\n                    \"hotel_check_out\": \"08 Dec 2019\",\n                    \"hotel_pre\": 2,\n                    \"hotel_post\": 2,\n                    \"is_room_class\": true,\n                    \"room_inventories\": [\n                        {\n                            \"date\": \"05 Dec 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": [\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \"quantity\": 5\n                                },\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \"quantity\": 5\n                                }\n                            ]\n                        },\n                        {\n                            \"date\": \"06 Dec 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": [\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \"quantity\": 5\n                                },\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \"quantity\": 5\n                                }\n                            ]\n                        },\n                        {\n                            \"date\": \"07 Dec 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": [\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \"quantity\": 5\n                                },\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \"quantity\": 5\n                                }\n                            ]\n                        }\n                    ],\n                    \"rate_plans\": [\n                        {\n                            \"name\": \"Rate Plan 1\",\n                            \"description\": \"Rate Plan 1\",\n                            \"is_room_class\": true,\n                            \"code\": \"RATE20\",\n                            \"start_date\": \"05 Dec 2019\",\n                            \"end_date\": \"08 Dec 2019\",\n                            \"sell_start_date\": \"01 Jan 2019\",\n                            \"sell_end_date\": \"04 Dec 2019\",\n                            \"closeable_at\": \"09 Dec 2019\",\n                            \"occupancy_rates\": [\n                                0,\n                                10,\n                                10,\n                                10\n                            ],\n                            \"min_night\": 1,\n                            \"billing\": [\n                                \"MASTER_BILLING\",\n                                \"CREDIT_CARD\"\n                            ],\n                            \"payment_setting\": {\n                            \t\"period\": {\n                            \t\t\"type\": \"string({'direct', 'days', 'fixed'})\",\n                            \t\t\"value\": \"null|int|date\"\n                            \t},\n                            \t\"amount\": {\n                            \t\t\"type\": \"string({'total', 'percent', 'night'})\",\n                            \t\t\"value\": \"null|int\"\n                            \t}\n                            },\n                            \"use_block_policy\": true,\n                            \"booking_policy\": {\n                                \"name\": \"Lorem Ipsum is simply dummy\",\n                                \"description\": \"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.\",\n                                \"cancellation_days\": 0\n                            },\n                            \"room_inclusion\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson & Johnson, IBM, Google, and MailChimp. All that on top of coordinating 20 other InVision events happening over just the next 3 months.\",\n                            \"room_dates\": [\n                                {\n                                    \"date\": \"05 Dec 2019\",\n                                    \"rate\": 200,\n                                    \"room_classes\": [\n                                        {\n                                            \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                            \"rate\": 200\n                                        },\n                                        {\n                                            \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                            \"rate\": 200\n                                        }\n                                    ]\n                                },\n                                {\n                                    \"date\": \"06 Dec 2019\",\n                                    \"rate\": 200,\n                                    \"room_classes\": [\n                                        {\n                                            \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                            \"rate\": 200\n                                        },\n                                        {\n                                            \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                            \"rate\": 200\n                                        }\n                                    ]\n                                },\n                                {\n                                    \"date\": \"07 Dec 2019\",\n                                    \"rate\": 200,\n                                    \"room_classes\": [\n                                        {\n                                            \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                            \"rate\": 200\n                                        },\n                                        {\n                                            \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                            \"rate\": 200\n                                        }\n                                    ]\n                                }\n                            ]\n                        }\n                    ],\n                    \"release_rules\": []\n                }\n            ]\n        }\n    ]\n}"},"url":"{{base_url}}/blocks/{{block_id}}/sub-blocks","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["blocks","{{block_id}}","sub-blocks"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"6386a00b-c6c4-49d4-9321-70037a747656","name":"Add Sub-Block","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sub_blocks\": [\n        {\n            \"name\": \"Sub-Block 1\",\n            \"description\": \"Sub-Block 1\",\n            \"start_date\": \"05 Dec 2019\",\n            \"end_date\": \"08 Dec 2019\",\n            \"rooms\": [\n                {\n                    \"name\": \"\",\n                    \"type\": \"5bc4060c96db8a0c0dbb47e9\",\n                    \"start_date\": \"05 Dec 2019\",\n                    \"end_date\": \"08 Dec 2019\",\n                    \"is_room_class\": true,\n                    \"room_inventories\": [\n                        {\n                            \"date\": \"05 Dec 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": [\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \"quantity\": 5\n                                },\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \"quantity\": 5\n                                }\n                            ]\n                        },\n                        {\n                            \"date\": \"06 Dec 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": [\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \"quantity\": 5\n                                },\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \"quantity\": 5\n                                }\n                            ]\n                        },\n                        {\n                            \"date\": \"07 Dec 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": [\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \"quantity\": 5\n                                },\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \"quantity\": 5\n                                }\n                            ]\n                        }\n                    ],\n                    \"rate_plans\": [\n                        {\n                            \"name\": \"Rate Plan 1\",\n                            \"description\": \"Rate Plan 1\",\n                            \"is_room_class\": true,\n                            \"code\": \"RATE12\",\n                            \"start_date\": \"05 Dec 2019\",\n                            \"end_date\": \"08 Dec 2019\",\n                            \"sell_start_date\": \"01 Jan 2019\",\n                            \"sell_end_date\": \"04 Dec 2019\",\n                            \"closeable_at\": \"09 Dec 2019\",\n                            \"occupancy_rates\": [\n                                0,\n                                10.0,\n                                10.0,\n                                10.0\n                            ],\n                            \"min_night\": 1,\n                            \"billing\": [\n                                \"MASTER_BILLING\",\n                                \"CREDIT_CARD\"\n                            ],\n                            \"use_block_policy\": true,\n                            \"booking_policy\": {\n                            \t\"name\": \"\",\n                            \t\"description\": \"\",\n                            \t\"cancellation_days\": 0\n                            },\n                            \"room_inclusion\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson & Johnson, IBM, Google, and MailChimp. All that on top of coordinating 20 other InVision events happening over just the next 3 months.\",\n                            \"room_dates\": [\n                                {\n                                    \"date\": \"05 Dec 2019\",\n                                    \"rate\": 100.0,\n                                    \"room_classes\": [\n                                    \t{\n                                    \t\t\"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \t\t\"rate\": 100.0\n                                    \t},\n                                    \t{\n                                    \t\t\"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \t\t\"rate\": 100.0\n                                    \t}\n                                    ]\n                                },\n                                {\n                                    \"date\": \"06 Dec 2019\",\n                                    \"rate\": 100.0,\n                                    \"room_classes\": [\n                                    \t{\n                                    \t\t\"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \t\t\"rate\": 100.0\n                                    \t},\n                                    \t{\n                                    \t\t\"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \t\t\"rate\": 100.0\n                                    \t}\n                                    ]\n                                },\n                                {\n                                    \"date\": \"07 Dec 2019\",\n                                    \"rate\": 100.0,\n                                    \"room_classes\": [\n                                    \t{\n                                    \t\t\"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \t\t\"rate\": 100.0\n                                    \t},\n                                    \t{\n                                    \t\t\"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \t\t\"rate\": 100.0\n                                    \t}\n                                    ]\n                                }\n                            ]\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"name\": \"Sub-Block 2\",\n            \"description\": \"Sub-Block 2\",\n            \"start_date\": \"05 Dec 2019\",\n            \"end_date\": \"08 Dec 2019\",\n            \"rooms\": [\n                {\n                    \"name\": \"\",\n                    \"type\": \"5bc4060c96db8a0c0dbb47ea\",\n                    \"start_date\": \"05 Dec 2019\",\n                    \"end_date\": \"08 Dec 2019\",\n                    \"is_room_class\": true,\n                    \"room_inventories\": [\n                        {\n                            \"date\": \"05 Dec 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": [\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \"quantity\": 5\n                                },\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \"quantity\": 5\n                                }\n                            ]\n                        },\n                        {\n                            \"date\": \"06 Dec 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": [\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \"quantity\": 5\n                                },\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \"quantity\": 5\n                                }\n                            ]\n                        },\n                        {\n                            \"date\": \"07 Dec 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": [\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \"quantity\": 5\n                                },\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \"quantity\": 5\n                                }\n                            ]\n                        }\n                    ],\n                    \"rate_plans\": [\n                        {\n                            \"name\": \"Rate Plan 1\",\n                            \"description\": \"Rate Plan 1\",\n                            \"is_room_class\": true,\n                            \"code\": \"RATE20\",\n                            \"start_date\": \"05 Dec 2019\",\n                            \"end_date\": \"08 Dec 2019\",\n                            \"sell_start_date\": \"01 Jan 2019\",\n                            \"sell_end_date\": \"04 Dec 2019\",\n                            \"closeable_at\": \"09 Dec 2019\",\n                            \"occupancy_rates\": [\n                                0,\n                                10.0,\n                                10.0,\n                                10.0\n                            ],\n                            \"min_night\": 1,\n                            \"billing\": [\n                                \"MASTER_BILLING\",\n                                \"CREDIT_CARD\"\n                            ],\n                            \"use_block_policy\": true,\n                            \"booking_policy\": {\n                            \t\"name\": \"\",\n                            \t\"description\": \"\",\n                            \t\"cancellation_days\": 0\n                            },\n                            \"room_inclusion\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson & Johnson, IBM, Google, and MailChimp. All that on top of coordinating 20 other InVision events happening over just the next 3 months.\",\n                            \"room_dates\": [\n                                {\n                                    \"date\": \"05 Dec 2019\",\n                                    \"rate\": 200.0,\n                                    \"room_classes\": [\n                                    \t{\n                                    \t\t\"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \t\t\"rate\": 200.0\n                                    \t},\n                                    \t{\n                                    \t\t\"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \t\t\"rate\": 200.0\n                                    \t}\n                                    ]\n                                },\n                                {\n                                    \"date\": \"06 Dec 2019\",\n                                    \"rate\": 200.0,\n                                    \"room_classes\": [\n                                    \t{\n                                    \t\t\"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \t\t\"rate\": 200.0\n                                    \t},\n                                    \t{\n                                    \t\t\"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \t\t\"rate\": 200.0\n                                    \t}\n                                    ]\n                                },\n                                {\n                                    \"date\": \"07 Dec 2019\",\n                                    \"rate\": 200.0,\n                                    \"room_classes\": [\n                                    \t{\n                                    \t\t\"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \t\t\"rate\": 200.0\n                                    \t},\n                                    \t{\n                                    \t\t\"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \t\t\"rate\": 200.0\n                                    \t}\n                                    ]\n                                }\n                            ]\n                        }\n                    ]\n                }\n            ]\n        }\n    ]\n}"},"url":"{{endpoint}}/api/v1/blocks/{{block_id}}/sub-blocks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"256"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkE9rg0AQxb9K2XMoautFyMGyKgZmJbJGdi-SRhP3X1qiQd2Q795NDyXXHoeZ95v33g01x0s39Cg67vXQrVAjWhTd0MsnihCxsBSYqwKrCcxOFjVMUFcBz_KJ1bkHtlo4hYBjLcGwGeSHALMNubshOJkYTRZiTwsJYC6yUjGaamJ7zWi8gEk1x63TbSRQNhNZSpKBD5T3jG59nm16ZuOQP2YbzyzYCLCt4vQUgik1oalwuqnAVUhwtUb3FToMl2Mzfqnu_BeBUfXmUIqZxAO5c6_zGTLwgJ4mkId3Xue-s-tz6WzL0gCOJ4jXvzjRdudRjMvr_jr2zbh8dyg6X7V-2jyXVbsgtgoBQ0hMKYosmZmsZrCOWjPvQbwO3aX5l-b-A9r3iqo.XGK8mw.ssgMLMrZVehDL39Oq8ZxpOP46E4; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Tue, 12 Feb 2019 12:31:23 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"results\": [\n            {\n                \"id\": \"5c62bc9b1c91571f6ee941a2\"\n            },\n            {\n                \"id\": \"5c62bc9b1c91571f6ee941ab\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"},{"id":"f2acc044-49d2-454d-90a3-3bf26189a779","name":"Add Sub-Block Included Upsell","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sub_blocks\": [\n        {\n            \"name\": \"Sub-Block 1\",\n            \"description\": \"Sub-Block 1\",\n            \"start_date\": \"05 Dec 2019\",\n            \"end_date\": \"08 Dec 2019\",\n            \"rooms\": [\n                {\n                    \"name\": \"\",\n                    \"type\": \"5bc4060c96db8a0c0dbb47e9\",\n                    \"start_date\": \"05 Dec 2019\",\n                    \"end_date\": \"08 Dec 2019\",\n                    \"is_room_class\": true,\n                    \"room_inventories\": [\n                        {\n                            \"date\": \"05 Dec 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": [\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \"quantity\": 5\n                                },\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \"quantity\": 5\n                                }\n                            ]\n                        },\n                        {\n                            \"date\": \"06 Dec 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": [\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \"quantity\": 5\n                                },\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \"quantity\": 5\n                                }\n                            ]\n                        },\n                        {\n                            \"date\": \"07 Dec 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": [\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \"quantity\": 5\n                                },\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \"quantity\": 5\n                                }\n                            ]\n                        }\n                    ],\n                    \"rate_plans\": [\n                        {\n                            \"name\": \"Rate Plan 1\",\n                            \"description\": \"Rate Plan 1\",\n                            \"is_room_class\": true,\n                            \"code\": \"RATE12\",\n                            \"start_date\": \"05 Dec 2019\",\n                            \"end_date\": \"08 Dec 2019\",\n                            \"sell_start_date\": \"01 Jan 2019\",\n                            \"sell_end_date\": \"04 Dec 2019\",\n                            \"closeable_at\": \"09 Dec 2019\",\n                            \"occupancy_rates\": [\n                                0,\n                                10.0,\n                                10.0,\n                                10.0\n                            ],\n                            \"min_night\": 1,\n                            \"billing\": [\n                                \"MASTER_BILLING\",\n                                \"CREDIT_CARD\"\n                            ],\n                            \"use_block_policy\": true,\n                            \"booking_policy\": {\n                                \"name\": \"\",\n                                \"description\": \"\",\n                                \"cancellation_days\": 0\n                            },\n                            \"room_inclusion\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson & Johnson, IBM, Google, and MailChimp. All that on top of coordinating 20 other InVision events happening over just the next 3 months.\",\n                            \"room_dates\": [\n                                {\n                                    \"date\": \"05 Dec 2019\",\n                                    \"rate\": 100.0,\n                                    \"room_classes\": [\n                                        {\n                                            \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                            \"rate\": 100.0\n                                        },\n                                        {\n                                            \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                            \"rate\": 100.0\n                                        }\n                                    ]\n                                },\n                                {\n                                    \"date\": \"06 Dec 2019\",\n                                    \"rate\": 100.0,\n                                    \"room_classes\": [\n                                        {\n                                            \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                            \"rate\": 100.0\n                                        },\n                                        {\n                                            \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                            \"rate\": 100.0\n                                        }\n                                    ]\n                                },\n                                {\n                                    \"date\": \"07 Dec 2019\",\n                                    \"rate\": 100.0,\n                                    \"room_classes\": [\n                                        {\n                                            \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                            \"rate\": 100.0\n                                        },\n                                        {\n                                            \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                            \"rate\": 100.0\n                                        }\n                                    ]\n                                }\n                            ]\n                        }\n                    ]\n                },\n                {\n                    \"name\": \"\",\n                    \"type\": \"5bc4060c96db8a0c0dbb47ea\",\n                    \"start_date\": \"05 Dec 2019\",\n                    \"end_date\": \"08 Dec 2019\",\n                    \"is_room_class\": true,\n                    \"room_inventories\": [\n                        {\n                            \"date\": \"05 Dec 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": [\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \"quantity\": 5\n                                },\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \"quantity\": 5\n                                }\n                            ]\n                        },\n                        {\n                            \"date\": \"06 Dec 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": [\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \"quantity\": 5\n                                },\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \"quantity\": 5\n                                }\n                            ]\n                        },\n                        {\n                            \"date\": \"07 Dec 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": [\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                    \"quantity\": 5\n                                },\n                                {\n                                    \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                    \"quantity\": 5\n                                }\n                            ]\n                        }\n                    ],\n                    \"rate_plans\": [\n                        {\n                            \"name\": \"Rate Plan 1\",\n                            \"description\": \"Rate Plan 1\",\n                            \"is_room_class\": true,\n                            \"code\": \"RATE20\",\n                            \"start_date\": \"05 Dec 2019\",\n                            \"end_date\": \"08 Dec 2019\",\n                            \"sell_start_date\": \"01 Jan 2019\",\n                            \"sell_end_date\": \"04 Dec 2019\",\n                            \"closeable_at\": \"09 Dec 2019\",\n                            \"occupancy_rates\": [\n                                0,\n                                10.0,\n                                10.0,\n                                10.0\n                            ],\n                            \"min_night\": 1,\n                            \"billing\": [\n                                \"CREDIT_CARD\"\n                            ],\n                            \"use_block_policy\": true,\n                            \"booking_policy\": {\n                                \"name\": \"\",\n                                \"description\": \"\",\n                                \"cancellation_days\": 0\n                            },\n                            \"room_inclusion\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson & Johnson, IBM, Google, and MailChimp. All that on top of coordinating 20 other InVision events happening over just the next 3 months.\",\n                            \"room_dates\": [\n                                {\n                                    \"date\": \"05 Dec 2019\",\n                                    \"rate\": 200.0,\n                                    \"room_classes\": [\n                                        {\n                                            \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                            \"rate\": 200.0\n                                        },\n                                        {\n                                            \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                            \"rate\": 200.0\n                                        }\n                                    ]\n                                },\n                                {\n                                    \"date\": \"06 Dec 2019\",\n                                    \"rate\": 200.0,\n                                    \"room_classes\": [\n                                        {\n                                            \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                            \"rate\": 200.0\n                                        },\n                                        {\n                                            \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                            \"rate\": 200.0\n                                        }\n                                    ]\n                                },\n                                {\n                                    \"date\": \"07 Dec 2019\",\n                                    \"rate\": 200.0,\n                                    \"room_classes\": [\n                                        {\n                                            \"id\": \"5c404f9e96db8ac1a5edf489\",\n                                            \"rate\": 200.0\n                                        },\n                                        {\n                                            \"id\": \"5c404f9e96db8ac1a5edf48c\",\n                                            \"rate\": 200.0\n                                        }\n                                    ]\n                                }\n                            ]\n                        }\n                    ]\n                }\n            ]\n        }\n    ]\n}"},"url":"{{endpoint}}/api/v1/blocks/{{block_id}}/sub-blocks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"177"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkE9rg0AQxb9K2XMoautFyMGyKgZmJbJGdi-SRhP3X1qiQd2Q795NDyXXHoeZ95v33g01x0s39Cg67vXQrVAjWhTd0MsnihCxsBSYqwKrCcxOFjVMUFcBz_KJ1bkHtlo4hYBjLcGwGeSHALMNubshOJkYTRZiTwsJYC6yUjGaamJ7zWi8gEk1x63TbSRQNhNZSpKBD5T3jG59nm16ZuOQP2YbzyzYCLCt4vQUgik1oalwuqnAVUhwtUb3FToMl2Mzfqnu_BeBUfXmUIqZxAO5c6_zGTLwgJ4mkId3Xue-s-tz6WzL0gCOJ4jXvzjRdudRjMvr_jr2zbh8dyg6X7V-2jyXVbsgtgoBQ0hMKYosmZmsZrCOWjPvQbwO3aX5l-b-A9r3iqo.XGlkjg.rjjMqzRJmo4hgh3IiDtpfmzmeFk; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Sun, 17 Feb 2019 13:41:34 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"results\": [\n            {\n                \"id\": \"5c69648e1c9157456b1d9bd0\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"466c6c1b-a426-4b69-a331-b7af82394579"},{"name":"Edit Sub-Block","id":"47de76de-d939-463b-8094-c18e44dbab52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sub_blocks\": [\n        {\n            \"block_id\": \"5c4b30121c91572f73342513\",\n            \"created_at\": \"2019-01-25T15:50:05.781000\",\n            \"description\": \"Sub-Block 1\",\n            \"end_date\": \"08 Dec 2019\",\n            \"id\": \"5c4b302d1c91572f73342514\",\n            \"name\": \"Sub-Block 1\",\n            \"rooms\": [\n                {\n                    \"capacity\": 4,\n                    \"created_at\": \"2019-01-25T15:50:05.783000\",\n                    \"end_date\": \"08 Dec 2019\",\n                    \"id\": \"5c4b302d1c91572f73342515\",\n                    \"name\": \"Standard\",\n                    \"rate_plans\": [\n                        {\n                        \t\"name\": \"Rate Plan 1\",\n                            \"billing\": [\n                                \"MASTER_BILLING\",\n                                \"CREDIT_CARD\"\n                            ],\n                            \"closeable_at\": \"09 Dec 2019\",\n                            \"code\": \"RATE12\",\n                            \"created_at\": \"2019-01-25T15:50:05.786000\",\n                            \"display_sequence\": 0,\n                            \"end_date\": \"08 Dec 2019\",\n                            \"id\": \"5c4b302d1c91572f73342516\",\n                            \"market_code\": null,\n                            \"min_night\": 1,\n                            \"occupancy_rates\": [\n                                0,\n                                10,\n                                10,\n                                10\n                            ],\n                            \"room_dates\": [\n                                {\n                                    \"date\": \"05 Dec 2019\",\n                                    \"id\": \"5c4b302d1c91572f73342517\",\n                                    \"is_contracted\": true,\n                                    \"quantity\": 10,\n                                    \"rate\": 100,\n                                    \"rate_plan_id\": \"5c4b302d1c91572f73342516\",\n                                    \"remain\": 10,\n                                    \"room_class_id\": null,\n                                    \"status\": \"available\"\n                                },\n                                {\n                                    \"date\": \"06 Dec 2019\",\n                                    \"id\": \"5c4b302d1c91572f73342518\",\n                                    \"is_contracted\": true,\n                                    \"quantity\": 10,\n                                    \"rate\": 100,\n                                    \"rate_plan_id\": \"5c4b302d1c91572f73342516\",\n                                    \"remain\": 10,\n                                    \"room_class_id\": null,\n                                    \"status\": \"available\"\n                                },\n                                {\n                                    \"date\": \"07 Dec 2019\",\n                                    \"id\": \"5c4b302d1c91572f73342519\",\n                                    \"is_contracted\": true,\n                                    \"quantity\": 10,\n                                    \"rate\": 100,\n                                    \"rate_plan_id\": \"5c4b302d1c91572f73342516\",\n                                    \"remain\": 10,\n                                    \"room_class_id\": null,\n                                    \"status\": \"available\"\n                                }\n                            ],\n                            \"room_id\": \"5c4b302d1c91572f73342515\",\n                            \"room_inclusion\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson &amp; Johnson, IBM, Google, and MailChimp. All that on top of coordinating 20 other InVision events happening over just the next 3 months.\",\n                            \"sell_end_date\": null,\n                            \"sell_start_date\": null,\n                            \"source_code\": null,\n                            \"start_date\": \"05 Dec 2019\"\n                        }\n                    ],\n                    \"start_date\": \"05 Dec 2019\",\n                    \"sub_block_id\": \"5c4b302d1c91572f73342514\",\n                    \"type\": \"5bc4060c96db8a0c0dbb47e9\"\n                }\n            ],\n            \"start_date\": \"05 Dec 2019\"\n        },\n        {\n            \"block_id\": \"5c4b30121c91572f73342513\",\n            \"created_at\": \"2019-01-25T15:50:05.803000\",\n            \"description\": \"Sub-Block 2\",\n            \"end_date\": \"08 Dec 2019\",\n            \"id\": \"5c4b302d1c91572f7334251a\",\n            \"name\": \"Sub-Block 2\",\n            \"rooms\": [\n                {\n                    \"capacity\": 4,\n                    \"created_at\": \"2019-01-25T15:50:05.805000\",\n                    \"end_date\": \"08 Dec 2019\",\n                    \"id\": \"5c4b302d1c91572f7334251b\",\n                    \"name\": \"Executive\",\n                    \"rate_plans\": [\n                        {\n                        \t\"name\": \"Rate Plan 1\",\n                            \"billing\": [\n                                \"MASTER_BILLING\",\n                                \"CREDIT_CARD\"\n                            ],\n                            \"closeable_at\": \"09 Dec 2019\",\n                            \"code\": \"RATE12\",\n                            \"created_at\": \"2019-01-25T15:50:05.808000\",\n                            \"display_sequence\": 0,\n                            \"end_date\": \"08 Dec 2019\",\n                            \"id\": \"5c4b302d1c91572f7334251c\",\n                            \"market_code\": null,\n                            \"min_night\": 1,\n                            \"occupancy_rates\": [\n                                0,\n                                10,\n                                10,\n                                10\n                            ],\n                            \"room_dates\": [\n                                {\n                                    \"date\": \"05 Dec 2019\",\n                                    \"id\": \"5c4b302d1c91572f7334251d\",\n                                    \"is_contracted\": true,\n                                    \"quantity\": 10,\n                                    \"rate\": 200,\n                                    \"rate_plan_id\": \"5c4b302d1c91572f7334251c\",\n                                    \"remain\": 10,\n                                    \"room_class_id\": null,\n                                    \"status\": \"available\"\n                                },\n                                {\n                                    \"date\": \"06 Dec 2019\",\n                                    \"id\": \"5c4b302d1c91572f7334251e\",\n                                    \"is_contracted\": true,\n                                    \"quantity\": 10,\n                                    \"rate\": 200,\n                                    \"rate_plan_id\": \"5c4b302d1c91572f7334251c\",\n                                    \"remain\": 10,\n                                    \"room_class_id\": null,\n                                    \"status\": \"available\"\n                                },\n                                {\n                                    \"date\": \"07 Dec 2019\",\n                                    \"id\": \"5c4b302d1c91572f7334251f\",\n                                    \"is_contracted\": true,\n                                    \"quantity\": 10,\n                                    \"rate\": 200,\n                                    \"rate_plan_id\": \"5c4b302d1c91572f7334251c\",\n                                    \"remain\": 10,\n                                    \"room_class_id\": null,\n                                    \"status\": \"available\"\n                                }\n                            ],\n                            \"room_id\": \"5c4b302d1c91572f7334251b\",\n                            \"room_inclusion\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson &amp; Johnson, IBM, Google, and MailChimp. All that on top of coordinating 20 other InVision events happening over just the next 3 months.\",\n                            \"sell_end_date\": null,\n                            \"sell_start_date\": null,\n                            \"source_code\": null,\n                            \"start_date\": \"05 Dec 2019\"\n                        }\n                    ],\n                    \"start_date\": \"05 Dec 2019\",\n                    \"sub_block_id\": \"5c4b302d1c91572f7334251a\",\n                    \"type\": \"5bc4060c96db8a0c0dbb47ea\"\n                }\n            ],\n            \"start_date\": \"05 Dec 2019\"\n        }\n    ]\n}"},"url":"{{endpoint}}/api/v1/blocks/{{block_id}}/sub-blocks","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks","{{block_id}}","sub-blocks"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"ef7014a4-9b09-4184-9b2f-c9942967f0b2","name":"Edit Sub-Block","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sub_blocks\": [\n        {\n            \"block_id\": \"5c4b30121c91572f73342513\",\n            \"created_at\": \"2019-01-25T15:50:05.781000\",\n            \"description\": \"Sub-Block 1\",\n            \"end_date\": \"08 Dec 2019\",\n            \"id\": \"5c4b302d1c91572f73342514\",\n            \"name\": \"Sub-Block 1\",\n            \"rooms\": [\n                {\n                    \"capacity\": 4,\n                    \"created_at\": \"2019-01-25T15:50:05.783000\",\n                    \"end_date\": \"08 Dec 2019\",\n                    \"id\": \"5c4b302d1c91572f73342515\",\n                    \"name\": \"Standard\",\n                    \"rate_plans\": [\n                        {\n                        \t\"name\": \"Rate Plan 1\",\n                            \"billing\": [\n                                \"MASTER_BILLING\",\n                                \"CREDIT_CARD\"\n                            ],\n                            \"closeable_at\": \"09 Dec 2019\",\n                            \"code\": \"RATE12\",\n                            \"created_at\": \"2019-01-25T15:50:05.786000\",\n                            \"display_sequence\": 0,\n                            \"end_date\": \"08 Dec 2019\",\n                            \"id\": \"5c4b302d1c91572f73342516\",\n                            \"market_code\": null,\n                            \"min_night\": 1,\n                            \"occupancy_rates\": [\n                                0,\n                                10,\n                                10,\n                                10\n                            ],\n                            \"room_dates\": [\n                                {\n                                    \"date\": \"05 Dec 2019\",\n                                    \"id\": \"5c4b302d1c91572f73342517\",\n                                    \"is_contracted\": true,\n                                    \"quantity\": 10,\n                                    \"rate\": 100,\n                                    \"rate_plan_id\": \"5c4b302d1c91572f73342516\",\n                                    \"remain\": 10,\n                                    \"room_class_id\": null,\n                                    \"status\": \"available\"\n                                },\n                                {\n                                    \"date\": \"06 Dec 2019\",\n                                    \"id\": \"5c4b302d1c91572f73342518\",\n                                    \"is_contracted\": true,\n                                    \"quantity\": 10,\n                                    \"rate\": 100,\n                                    \"rate_plan_id\": \"5c4b302d1c91572f73342516\",\n                                    \"remain\": 10,\n                                    \"room_class_id\": null,\n                                    \"status\": \"available\"\n                                },\n                                {\n                                    \"date\": \"07 Dec 2019\",\n                                    \"id\": \"5c4b302d1c91572f73342519\",\n                                    \"is_contracted\": true,\n                                    \"quantity\": 10,\n                                    \"rate\": 100,\n                                    \"rate_plan_id\": \"5c4b302d1c91572f73342516\",\n                                    \"remain\": 10,\n                                    \"room_class_id\": null,\n                                    \"status\": \"available\"\n                                }\n                            ],\n                            \"room_id\": \"5c4b302d1c91572f73342515\",\n                            \"room_inclusion\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson &amp; Johnson, IBM, Google, and MailChimp. All that on top of coordinating 20 other InVision events happening over just the next 3 months.\",\n                            \"sell_end_date\": null,\n                            \"sell_start_date\": null,\n                            \"source_code\": null,\n                            \"start_date\": \"05 Dec 2019\"\n                        }\n                    ],\n                    \"start_date\": \"05 Dec 2019\",\n                    \"sub_block_id\": \"5c4b302d1c91572f73342514\",\n                    \"type\": \"5bc4060c96db8a0c0dbb47e9\"\n                }\n            ],\n            \"start_date\": \"05 Dec 2019\"\n        },\n        {\n            \"block_id\": \"5c4b30121c91572f73342513\",\n            \"created_at\": \"2019-01-25T15:50:05.803000\",\n            \"description\": \"Sub-Block 2\",\n            \"end_date\": \"08 Dec 2019\",\n            \"id\": \"5c4b302d1c91572f7334251a\",\n            \"name\": \"Sub-Block 2\",\n            \"rooms\": [\n                {\n                    \"capacity\": 4,\n                    \"created_at\": \"2019-01-25T15:50:05.805000\",\n                    \"end_date\": \"08 Dec 2019\",\n                    \"id\": \"5c4b302d1c91572f7334251b\",\n                    \"name\": \"Executive\",\n                    \"rate_plans\": [\n                        {\n                        \t\"name\": \"Rate Plan 1\",\n                            \"billing\": [\n                                \"MASTER_BILLING\",\n                                \"CREDIT_CARD\"\n                            ],\n                            \"closeable_at\": \"09 Dec 2019\",\n                            \"code\": \"RATE12\",\n                            \"created_at\": \"2019-01-25T15:50:05.808000\",\n                            \"display_sequence\": 0,\n                            \"end_date\": \"08 Dec 2019\",\n                            \"id\": \"5c4b302d1c91572f7334251c\",\n                            \"market_code\": null,\n                            \"min_night\": 1,\n                            \"occupancy_rates\": [\n                                0,\n                                10,\n                                10,\n                                10\n                            ],\n                            \"room_dates\": [\n                                {\n                                    \"date\": \"05 Dec 2019\",\n                                    \"id\": \"5c4b302d1c91572f7334251d\",\n                                    \"is_contracted\": true,\n                                    \"quantity\": 10,\n                                    \"rate\": 200,\n                                    \"rate_plan_id\": \"5c4b302d1c91572f7334251c\",\n                                    \"remain\": 10,\n                                    \"room_class_id\": null,\n                                    \"status\": \"available\"\n                                },\n                                {\n                                    \"date\": \"06 Dec 2019\",\n                                    \"id\": \"5c4b302d1c91572f7334251e\",\n                                    \"is_contracted\": true,\n                                    \"quantity\": 10,\n                                    \"rate\": 200,\n                                    \"rate_plan_id\": \"5c4b302d1c91572f7334251c\",\n                                    \"remain\": 10,\n                                    \"room_class_id\": null,\n                                    \"status\": \"available\"\n                                },\n                                {\n                                    \"date\": \"07 Dec 2019\",\n                                    \"id\": \"5c4b302d1c91572f7334251f\",\n                                    \"is_contracted\": true,\n                                    \"quantity\": 10,\n                                    \"rate\": 200,\n                                    \"rate_plan_id\": \"5c4b302d1c91572f7334251c\",\n                                    \"remain\": 10,\n                                    \"room_class_id\": null,\n                                    \"status\": \"available\"\n                                }\n                            ],\n                            \"room_id\": \"5c4b302d1c91572f7334251b\",\n                            \"room_inclusion\": \"Since late June, InVision’s events team has produced or helped facilitate more than 200 DESIGN DISRUPTORS screenings all over the world—not only at theaters, but at the offices of companies like NBC Universal, Johnson &amp; Johnson, IBM, Google, and MailChimp. All that on top of coordinating 20 other InVision events happening over just the next 3 months.\",\n                            \"sell_end_date\": null,\n                            \"sell_start_date\": null,\n                            \"source_code\": null,\n                            \"start_date\": \"05 Dec 2019\"\n                        }\n                    ],\n                    \"start_date\": \"05 Dec 2019\",\n                    \"sub_block_id\": \"5c4b302d1c91572f7334251a\",\n                    \"type\": \"5bc4060c96db8a0c0dbb47ea\"\n                }\n            ],\n            \"start_date\": \"05 Dec 2019\"\n        }\n    ]\n}"},"url":"{{endpoint}}/api/v1/blocks/{{block_id}}/sub-blocks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"256"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkE9rg0AQxb9K2XMoautFyMGyKgZmJbJGdi-SRhP3X1qiQd2Q795NDyXXHoeZ95v33g01x0s39Cg67vXQrVAjWhTd0MsnihCxsBSYqwKrCcxOFjVMUFcBz_KJ1bkHtlo4hYBjLcGwGeSHALMNubshOJkYTRZiTwsJYC6yUjGaamJ7zWi8gEk1x63TbSRQNhNZSpKBD5T3jG59nm16ZuOQP2YbzyzYCLCt4vQUgik1oalwuqnAVUhwtUb3FToMl2Mzfqnu_BeBUfXmUIqZxAO5c6_zGTLwgJ4mkId3Xue-s-tz6WzL0gCOJ4jXvzjRdudRjMvr_jr2zbh8dyg6X7V-2jyXVbsgtgoBQ0hMKYosmZmsZrCOWjPvQbwO3aX5l-b-A9r3iqo.XEvPgQ.oguk3tOTEednbxLPEHe-DO5X1dM; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Sat, 26 Jan 2019 03:09:53 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"results\": [\n            {\n                \"id\": \"5c4b302d1c91572f73342514\"\n            },\n            {\n                \"id\": \"5c4b302d1c91572f7334251a\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"47de76de-d939-463b-8094-c18e44dbab52"},{"name":"Delete Sub-Block","id":"d99bd5dd-e38c-441b-879e-f48c0f0021e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{endpoint}}/api/v1/blocks/:block_id/sub-blocks/:subblock_id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":block_id","sub-blocks",":subblock_id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"{{block_id}}","key":"block_id"},{"type":"any","value":"{{subblock_id}}","key":"subblock_id"}]}},"response":[],"_postman_id":"d99bd5dd-e38c-441b-879e-f48c0f0021e7"},{"name":"Save Citiwide Sub-Blocks","id":"36361f83-51f8-4d0a-935d-8574634a23e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sub_blocks\": [\n        {\n            \"block_id\": \"5d5a2668b8b7e6020e419309\",\n            \"description\": \"\",\n            \"display_sequence\": 0,\n            \"name\": \"Sub-Block 1\",\n            \"code\": \"CODECITIWIDE5\",\n            \"rooms\": [\n                {\n                    \"check_in\": \"25 Aug 2019\",\n                    \"check_out\": \"28 Aug 2019\",\n                    \"pre\": 2,\n                    \"post\": 2,\n                    \"hotel_check_in\": \"25 Aug 2019\",\n                    \"hotel_check_out\": \"28 Aug 2019\",\n                    \"hotel_pre\": 2,\n                    \"hotel_post\": 2,\n                    \"capacity\": 0,\n                    \"id\": \"0\",\n                    \"sub_block_id\": \"0\",\n                    \"hotel_id\": \"5b64304986819e07d8fd6d4a\",\n                    \"hotel_name\": \"Sofitel Singapore Sentosa Resorts and Spa\",\n                    \"type\": \"5bdc15845045ad0f4f1eb610\",\n                    \"name\": \"BOTANICA STUDIO\",\n                    \"is_room_class\": false,\n                    \"rate_plans\": [\n                        {\n                            \"billing\": [\n                                \"MASTER_BILLING\",\n                                \"CREDIT_CARD\",\n                                \"NO_CC_GUARANTEE\"\n                            ],\n                            \"code\": \"\",\n                            \"description\": \"<p>Rate Code 1</p>\\n\",\n                            \"id\": \"0\",\n                            \"min_night\": 1,\n                            \"name\": \"Rate Code 1\",\n                            \"occupancy_rates\": [\n                                {\n                                    \"master_billing\": true,\n                                    \"rate\": 0\n                                },\n                                {\n                                    \"master_billing\": true,\n                                    \"rate\": 10\n                                },\n                                {\n                                    \"master_billing\": false,\n                                    \"rate\": 20\n                                },\n                                {\n                                    \"master_billing\": false,\n                                    \"rate\": 30\n                                }\n                            ],\n                            \"room_dates\": [\n                                {\n                                    \"date\": \"23 Aug 2019\",\n                                    \"id\": \"0\",\n                                    \"is_contracted\": false,\n                                    \"quantity\": 0,\n                                    \"rate\": 100,\n                                    \"rate_plan_id\": \"0\",\n                                    \"room_classes\": []\n                                },\n                                {\n                                    \"date\": \"24 Aug 2019\",\n                                    \"id\": \"1\",\n                                    \"is_contracted\": false,\n                                    \"quantity\": 0,\n                                    \"rate\": 100,\n                                    \"rate_plan_id\": \"0\",\n                                    \"room_classes\": []\n                                },\n                                {\n                                    \"date\": \"25 Aug 2019\",\n                                    \"id\": \"2\",\n                                    \"is_contracted\": true,\n                                    \"quantity\": 0,\n                                    \"rate\": 100,\n                                    \"rate_plan_id\": \"0\",\n                                    \"room_classes\": []\n                                },\n                                {\n                                    \"date\": \"26 Aug 2019\",\n                                    \"id\": \"3\",\n                                    \"is_contracted\": true,\n                                    \"quantity\": 0,\n                                    \"rate\": 100,\n                                    \"rate_plan_id\": \"0\",\n                                    \"room_classes\": []\n                                },\n                                {\n                                    \"date\": \"27 Aug 2019\",\n                                    \"id\": \"4\",\n                                    \"is_contracted\": true,\n                                    \"quantity\": 0,\n                                    \"rate\": 100,\n                                    \"rate_plan_id\": \"0\",\n                                    \"room_classes\": []\n                                },\n                                {\n                                    \"date\": \"28 Aug 2019\",\n                                    \"id\": \"5\",\n                                    \"is_contracted\": false,\n                                    \"quantity\": 0,\n                                    \"rate\": 100,\n                                    \"rate_plan_id\": \"0\",\n                                    \"room_classes\": []\n                                },\n                                {\n                                    \"date\": \"29 Aug 2019\",\n                                    \"id\": \"6\",\n                                    \"is_contracted\": false,\n                                    \"quantity\": 0,\n                                    \"rate\": 100,\n                                    \"rate_plan_id\": \"0\",\n                                    \"room_classes\": []\n                                }\n                            ],\n                            \"use_block_policy\": false,\n                            \"booking_policy\": {\n                                \"name\": \"Enter New Policy Manually\",\n                                \"description\": \"<p>Enter New Policy Manually</p>\\n\",\n                                \"cancellation_days\": 10\n                            },\n                            \"room_id\": \"0\",\n                            \"room_inclusion\": \"<p>Applies to this particular room only. Visible on reservations booking website.</p>\\n\",\n                            \"sell_end_date\": \"30 Aug 2019\",\n                            \"sell_start_date\": \"17 Aug 2019\",\n                            \"capacity_number\": 4,\n                            \"payment_setting\": null,\n                            \"is_pms\": false,\n                            \"is_default\": false,\n                            \"ref_name\": \"\"\n                        }\n                    ],\n                    \"room_inventories\": [\n                        {\n                            \"date\": \"23 Aug 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": []\n                        },\n                        {\n                            \"date\": \"24 Aug 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": []\n                        },\n                        {\n                            \"date\": \"25 Aug 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": []\n                        },\n                        {\n                            \"date\": \"26 Aug 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": []\n                        },\n                        {\n                            \"date\": \"27 Aug 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": []\n                        },\n                        {\n                            \"date\": \"28 Aug 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": []\n                        },\n                        {\n                            \"date\": \"29 Aug 2019\",\n                            \"quantity\": 10,\n                            \"room_classes\": []\n                        }\n                    ],\n                    \"release_rules\": [\n                        {\n                            \"auto\": false,\n                            \"date\": \"23 Aug 2019\",\n                            \"days\": 0,\n                            \"id\": \"0\",\n                            \"release_in\": 2,\n                            \"release_in_description\": \"\",\n                            \"release_in_display\": \"\",\n                            \"status\": \"unprocessed\",\n                            \"rules\": [\n                                {\n                                    \"amount\": 50,\n                                    \"is_applied\": true,\n                                    \"is_contracted\": true,\n                                    \"unit\": \"%\",\n                                    \"uuid\": \"1be3c24d-ece9-2226-c411-529756d4ee19\",\n                                    \"percent_type\": \"unconsumed\"\n                                },\n                                {\n                                    \"amount\": 50,\n                                    \"is_applied\": true,\n                                    \"is_contracted\": false,\n                                    \"unit\": \"%\",\n                                    \"uuid\": \"2c84e4f1-8124-16a4-a8b0-2a25070071c7\",\n                                    \"percent_type\": \"unconsumed\"\n                                }\n                            ]\n                        }\n                    ],\n                    \"room_code\": \"\"\n                },\n                {\n                    \"check_in\": \"25 Aug 2019\",\n                    \"check_out\": \"28 Aug 2019\",\n                    \"pre\": 2,\n                    \"post\": 2,\n                    \"hotel_check_in\": \"25 Aug 2019\",\n                    \"hotel_check_out\": \"28 Aug 2019\",\n                    \"hotel_pre\": 2,\n                    \"hotel_post\": 2,\n                    \"capacity\": 0,\n                    \"id\": \"0\",\n                    \"sub_block_id\": \"0\",\n                    \"hotel_id\": \"5c748e6c5045ad7950026d7c\",\n                    \"hotel_name\": \"Novotel Singapore Clarke Quay\",\n                    \"type\": \"5c74914c5045ad7950026d8b\",\n                    \"name\": \"SUPERIOR ROOM\",\n                    \"is_room_class\": false,\n                    \"rate_plans\": [\n                        {\n                            \"billing\": [\n                                \"MASTER_BILLING\",\n                                \"CREDIT_CARD\",\n                                \"NO_CC_GUARANTEE\"\n                            ],\n                            \"code\": \"\",\n                            \"description\": \"<p>Enter Rate Code Manually</p>\\n\",\n                            \"id\": \"0\",\n                            \"min_night\": 1,\n                            \"name\": \"Enter Rate Code Manually\",\n                            \"occupancy_rates\": [\n                                {\n                                    \"master_billing\": true,\n                                    \"rate\": 0\n                                },\n                                {\n                                    \"master_billing\": false,\n                                    \"rate\": 10\n                                }\n                            ],\n                            \"room_dates\": [\n                                {\n                                    \"date\": \"23 Aug 2019\",\n                                    \"id\": \"0\",\n                                    \"is_contracted\": false,\n                                    \"quantity\": 0,\n                                    \"rate\": 120,\n                                    \"rate_plan_id\": \"0\",\n                                    \"room_classes\": []\n                                },\n                                {\n                                    \"date\": \"24 Aug 2019\",\n                                    \"id\": \"1\",\n                                    \"is_contracted\": false,\n                                    \"quantity\": 0,\n                                    \"rate\": 120,\n                                    \"rate_plan_id\": \"0\",\n                                    \"room_classes\": []\n                                },\n                                {\n                                    \"date\": \"25 Aug 2019\",\n                                    \"id\": \"2\",\n                                    \"is_contracted\": true,\n                                    \"quantity\": 0,\n                                    \"rate\": 120,\n                                    \"rate_plan_id\": \"0\",\n                                    \"room_classes\": []\n                                },\n                                {\n                                    \"date\": \"26 Aug 2019\",\n                                    \"id\": \"3\",\n                                    \"is_contracted\": true,\n                                    \"quantity\": 0,\n                                    \"rate\": 120,\n                                    \"rate_plan_id\": \"0\",\n                                    \"room_classes\": []\n                                },\n                                {\n                                    \"date\": \"27 Aug 2019\",\n                                    \"id\": \"4\",\n                                    \"is_contracted\": true,\n                                    \"quantity\": 0,\n                                    \"rate\": 120,\n                                    \"rate_plan_id\": \"0\",\n                                    \"room_classes\": []\n                                },\n                                {\n                                    \"date\": \"28 Aug 2019\",\n                                    \"id\": \"5\",\n                                    \"is_contracted\": false,\n                                    \"quantity\": 0,\n                                    \"rate\": 120,\n                                    \"rate_plan_id\": \"0\",\n                                    \"room_classes\": []\n                                },\n                                {\n                                    \"date\": \"29 Aug 2019\",\n                                    \"id\": \"6\",\n                                    \"is_contracted\": false,\n                                    \"quantity\": 0,\n                                    \"rate\": 120,\n                                    \"rate_plan_id\": \"0\",\n                                    \"room_classes\": []\n                                }\n                            ],\n                            \"use_block_policy\": true,\n                            \"booking_policy\": {\n                                \"name\": \"\",\n                                \"description\": \"\",\n                                \"cancellation_days\": 0\n                            },\n                            \"room_id\": \"0\",\n                            \"room_inclusion\": \"<p>Applies to this particular room only. Visible on reservations booking website.</p>\\n\",\n                            \"sell_end_date\": \"17 Aug 2019\",\n                            \"sell_start_date\": \"17 Aug 2019\",\n                            \"capacity_number\": 2,\n                            \"payment_setting\": null,\n                            \"is_pms\": false,\n                            \"is_default\": false,\n                            \"ref_name\": \"\"\n                        }\n                    ],\n                    \"room_inventories\": [\n                        {\n                            \"date\": \"23 Aug 2019\",\n                            \"quantity\": 12,\n                            \"room_classes\": []\n                        },\n                        {\n                            \"date\": \"24 Aug 2019\",\n                            \"quantity\": 12,\n                            \"room_classes\": []\n                        },\n                        {\n                            \"date\": \"25 Aug 2019\",\n                            \"quantity\": 12,\n                            \"room_classes\": []\n                        },\n                        {\n                            \"date\": \"26 Aug 2019\",\n                            \"quantity\": 12,\n                            \"room_classes\": []\n                        },\n                        {\n                            \"date\": \"27 Aug 2019\",\n                            \"quantity\": 12,\n                            \"room_classes\": []\n                        },\n                        {\n                            \"date\": \"28 Aug 2019\",\n                            \"quantity\": 12,\n                            \"room_classes\": []\n                        },\n                        {\n                            \"date\": \"29 Aug 2019\",\n                            \"quantity\": 12,\n                            \"room_classes\": []\n                        }\n                    ],\n                    \"release_rules\": [\n                        {\n                            \"auto\": false,\n                            \"date\": \"23 Aug 2019\",\n                            \"days\": 0,\n                            \"id\": \"0\",\n                            \"release_in\": 2,\n                            \"release_in_description\": \"\",\n                            \"release_in_display\": \"\",\n                            \"status\": \"unprocessed\",\n                            \"rules\": [\n                                {\n                                    \"amount\": 50,\n                                    \"is_applied\": true,\n                                    \"is_contracted\": true,\n                                    \"unit\": \"%\",\n                                    \"uuid\": \"bb97e135-ca0f-aacd-2d45-e1916806d65e\",\n                                    \"percent_type\": \"unconsumed\"\n                                },\n                                {\n                                    \"amount\": 50,\n                                    \"is_applied\": true,\n                                    \"is_contracted\": false,\n                                    \"unit\": \"%\",\n                                    \"uuid\": \"2fdeaef0-cba3-851d-0955-a85e51c5ce5c\",\n                                    \"percent_type\": \"unconsumed\"\n                                }\n                            ]\n                        }\n                    ],\n                    \"room_code\": \"\"\n                }\n            ],\n            \"linked_to_id\": \"\",\n            \"is_pms\": false,\n            \"is_elastic\": true\n        }\n    ]\n}"},"url":"{{endpoint}}/api/v1/multi-blocks/:id/sub-blocks","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","multi-blocks",":id","sub-blocks"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"5d5a2668b8b7e6020e419309","key":"id"}]}},"response":[],"_postman_id":"36361f83-51f8-4d0a-935d-8574634a23e9"}],"id":"20eb31b0-0470-4952-8917-1a1a755f6e7d","_postman_id":"20eb31b0-0470-4952-8917-1a1a755f6e7d","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Booking Policy","item":[{"name":"Get List","id":"188f71ba-62b0-432e-9bf3-01f859292cbb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://hotel.localhost:5001/api/v1/hotels/:id/booking-policies","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"protocol":"http","port":"5001","path":["api","v1","hotels",":id","booking-policies"],"host":["hotel","localhost"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"f691ac92-eb3c-4d30-84bf-719ee4687158","name":"Get List","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/current/booking-policies"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1105"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkE9rg0AQxb9K2XMoautFyMGyKgZmJbJGdi-SRhP3X1qiQd2Q795NDyXXHoeZ95v33g01x0s39Cg67vXQrVAjWhTd0MsnihCxsBSYqwKrCcxOFjVMUFcBz_KJ1bkHtlo4hYBjLcGwGeSHALMNubshOJkYTRZiTwsJYC6yUjGaamJ7zWi8gEk1x63TbSRQNhNZSpKBD5T3jG59nm16ZuOQP2YbzyzYCLCt4vQUgik1oalwuqnAVUhwtUb3FToMl2Mzfqnu_BeBUfXmUIqZxAO5c6_zGTLwgJ4mkId3Xue-s-tz6WzL0gCOJ4jXvzjRdudRjMvr_jr2zbh8dyg6X7V-2jyXVbsgtgoBQ0hMKYosmZmsZrCOWjPvQbwO3aX5l-b-A9r3iqo.XFAD5g.Knlwvhwl5hAz0OhUZCx1uD1CnNk; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Tue, 29 Jan 2019 07:42:30 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 2,\n        \"filter\": {\n            \"limit\": 10,\n            \"order\": \"desc\",\n            \"page\": 1,\n            \"sort\": \"created_at\"\n        },\n        \"results\": [\n            {\n                \"cancellation_days\": 10,\n                \"created_at\": \"2019-01-29T07:42:18.815000\",\n                \"description\": \"The two-child policy was a population control measure introduced by the Singapore government during the 1970s to encourage couples to have no more than two children.\",\n                \"id\": \"5c5003da96db8a37b9dadbee\",\n                \"name\": \"Stop At 2\"\n            },\n            {\n                \"cancellation_days\": 2,\n                \"created_at\": \"2019-01-29T07:41:13.910000\",\n                \"description\": \"A top secret order identifying all Jedi as traitors to the Galactic Republic and, therefore, subject to summary execution by the Grand Army of the Republic.\",\n                \"id\": \"5c50039996db8a3230fc2ff1\",\n                \"name\": \"Executive Order 66\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"188f71ba-62b0-432e-9bf3-01f859292cbb"},{"name":"Get Detail","id":"5920186c-24ff-41c1-8591-de29a32ad515","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/:id/booking-policies/{{booking_policy_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","booking-policies","{{booking_policy_id}}"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"0c17abfe-5e89-4897-a7e5-b44f5dff32c5","name":"Get Detail","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/current/booking-policies/{{booking_policy_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"420"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkE9rg0AQxb9K2XMoautFyMGyKgZmJbJGdi-SRhP3X1qiQd2Q795NDyXXHoeZ95v33g01x0s39Cg67vXQrVAjWhTd0MsnihCxsBSYqwKrCcxOFjVMUFcBz_KJ1bkHtlo4hYBjLcGwGeSHALMNubshOJkYTRZiTwsJYC6yUjGaamJ7zWi8gEk1x63TbSRQNhNZSpKBD5T3jG59nm16ZuOQP2YbzyzYCLCt4vQUgik1oalwuqnAVUhwtUb3FToMl2Mzfqnu_BeBUfXmUIqZxAO5c6_zGTLwgJ4mkId3Xue-s-tz6WzL0gCOJ4jXvzjRdudRjMvr_jr2zbh8dyg6X7V-2jyXVbsgtgoBQ0hMKYosmZmsZrCOWjPvQbwO3aX5l-b-A9r3iqo.XFAEjQ.5vUFyGDY4jwdHWcSiSkAcv3tv5o; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Tue, 29 Jan 2019 07:45:17 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"cancellation_days\": 10,\n        \"created_at\": \"2019-01-29T07:42:18.815000\",\n        \"description\": \"The two-child policy was a population control measure introduced by the Singapore government during the 1970s to encourage couples to have no more than two children.\",\n        \"id\": \"5c5003da96db8a37b9dadbee\",\n        \"name\": \"Stop At 2\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"5920186c-24ff-41c1-8591-de29a32ad515"},{"name":"Add Booking Policy","id":"3eb000bf-d231-4204-a0e0-ac63bbb1f08c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Executive Order 66\",\n\t\"description\": \"A top secret order identifying all Jedi as traitors to the Galactic Republic and, therefore, subject to summary execution by the Grand Army of the Republic.\",\n\t\"cancellation_days\": 2\n}"},"url":"http://hotel.localhost:5001/api/v1/hotels/:id/booking-policies","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"protocol":"http","port":"5001","path":["api","v1","hotels",":id","booking-policies"],"host":["hotel","localhost"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"7462dee1-333b-444f-8a7d-e8cad0ec1e58","name":"Add Booking Policy","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Stop At 2\",\n\t\"description\": \"The two-child policy was a population control measure introduced by the Singapore government during the 1970s to encourage couples to have no more than two children.\",\n\t\"cancellation_days\": 10\n}"},"url":"{{endpoint}}/api/v1/hotels/current/booking-policies"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkE9rg0AQxb9K2XMoautFyMGyKgZmJbJGdi-SRhP3X1qiQd2Q795NDyXXHoeZ95v33g01x0s39Cg67vXQrVAjWhTd0MsnihCxsBSYqwKrCcxOFjVMUFcBz_KJ1bkHtlo4hYBjLcGwGeSHALMNubshOJkYTRZiTwsJYC6yUjGaamJ7zWi8gEk1x63TbSRQNhNZSpKBD5T3jG59nm16ZuOQP2YbzyzYCLCt4vQUgik1oalwuqnAVUhwtUb3FToMl2Mzfqnu_BeBUfXmUIqZxAO5c6_zGTLwgJ4mkId3Xue-s-tz6WzL0gCOJ4jXvzjRdudRjMvr_jr2zbh8dyg6X7V-2jyXVbsgtgoBQ0hMKYosmZmsZrCOWjPvQbwO3aX5l-b-A9r3iqo.XFAD2g.9LUnuLghE9NALdwbgXAKzHC1Cjg; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Tue, 29 Jan 2019 07:42:18 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5c5003da96db8a37b9dadbee\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"3eb000bf-d231-4204-a0e0-ac63bbb1f08c"},{"name":"Edit Booking Policy","id":"08a8694d-d190-4dfa-88dd-a3eb5cad07bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"cancellation_days\": 5,\n    \"description\": \"The two-child policy was a population control measure introduced by the Singapore government during the 1970s to encourage couples to have no more than two children.\",\n    \"name\": \"Stop At 2\"\n}"},"url":"{{endpoint}}/api/v1/hotels/:id/booking-policies/{{booking_policy_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","booking-policies","{{booking_policy_id}}"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"b8085fef-b0c7-46c4-b697-f7f40ea49c8e","name":"Edit Booking Policy","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"cancellation_days\": 5,\n    \"description\": \"The two-child policy was a population control measure introduced by the Singapore government during the 1970s to encourage couples to have no more than two children.\",\n    \"name\": \"Stop At 2\"\n}"},"url":"{{endpoint}}/api/v1/hotels/current/booking-policies/{{booking_policy_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkE9rg0AQxb9K2XMoautFyMGyKgZmJbJGdi-SRhP3X1qiQd2Q795NDyXXHoeZ95v33g01x0s39Cg67vXQrVAjWhTd0MsnihCxsBSYqwKrCcxOFjVMUFcBz_KJ1bkHtlo4hYBjLcGwGeSHALMNubshOJkYTRZiTwsJYC6yUjGaamJ7zWi8gEk1x63TbSRQNhNZSpKBD5T3jG59nm16ZuOQP2YbzyzYCLCt4vQUgik1oalwuqnAVUhwtUb3FToMl2Mzfqnu_BeBUfXmUIqZxAO5c6_zGTLwgJ4mkId3Xue-s-tz6WzL0gCOJ4jXvzjRdudRjMvr_jr2zbh8dyg6X7V-2jyXVbsgtgoBQ0hMKYosmZmsZrCOWjPvQbwO3aX5l-b-A9r3iqo.XFAFTw.zskPG7hiOXA7WldoOA2t_cXOQ8U; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Tue, 29 Jan 2019 07:48:31 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5c5003da96db8a37b9dadbee\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"08a8694d-d190-4dfa-88dd-a3eb5cad07bb"},{"name":"Delete Booking Policy","id":"51feadd3-a061-4db4-b5f2-2e80dc4fb1c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{endpoint}}/api/v1/hotels/:id/booking-policies/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","booking-policies",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"5c86359896db8ab6bf9e8f52","key":"id"}]}},"response":[{"id":"f8ac9a4b-38a3-4863-be20-e800c4170970","name":"Delete Booking Policy","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{endpoint}}/api/v1/hotels/current/booking-policies/:id","host":["{{endpoint}}"],"path":["api","v1","hotels","current","booking-policies",":id"],"variable":[{"key":"id","value":"5c86359896db8ab6bf9e8f52"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"111"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UMtugzAQ_JXK56gKD6ctUg6NwIjDOkpkipYLSoHUGJNWgQhwlH-vm0PVU48zuzM7s1dSHM91L0lwPOi-XpCiqUhwJQ_vJCC5YHor3lquUgdCLSF8HXOBzjasFHaJhwJH3jGdh5s2j1mDIrIYPYgjB8zOQdH6FvtcsRZVOWOX-mjaiauqwyydIEtn7iZ-Hu88y1Mu0hEymLjZNzwELw_3GkxkQHxM0IEP2c7YO9LmoZBxhQqXVj9hh2tyW5CyPx-L4bOtT78VeJeaXDFrs5E8ZhoNk5AlExgcrXwEsZHbLKE2MgXFGlDRCOP6btdU9WlohvnxcBlkMcxfNQlOF63_TH6eRWjpLJ_cyqFLnx4qrypX7rPrrF7Iglz6-lz8v3T7Bk6RfXI.XIY39Q.YGrkxGg-xlastakLbpMkN4Bh1uM; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Mon, 11 Mar 2019 10:27:01 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"message\": \"The policy booking was deleted successfully.\",\n    \"status\": \"success\"\n}"}],"_postman_id":"51feadd3-a061-4db4-b5f2-2e80dc4fb1c0"}],"id":"523727d4-77db-4d4f-b281-a3372127e42a","_postman_id":"523727d4-77db-4d4f-b281-a3372127e42a","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Booking Rules","item":[{"name":"Save booking rules","id":"ce1ed4cc-85dd-4619-ac72-7744d532f497","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"max_room_quantity\": 9,\n    \"fields\": [\n        {\n            \"name\": \"primary_guest.first_name\",\n            \"required\": false\n        },\n        {\n            \"name\": \"primary_guest.last_name\",\n            \"required\": false\n        },\n        {\n            \"name\": \"booker.first_name\",\n            \"required\": true\n        },\n        {\n            \"name\": \"booker.last_name\",\n            \"required\": true\n        },\n        {\n            \"name\": \"booker.email\",\n            \"required\": true\n        },\n        {\n            \"name\": \"booker.phone_number\",\n            \"required\": false\n        },\n        {\n            \"name\": \"booker.address.country\",\n            \"required\": true\n        },\n        {\n            \"name\": \"booker.job_title\",\n            \"required\": false\n        },\n        {\n            \"name\": \"booker.company\",\n            \"required\": false\n        },\n        {\n            \"name\": \"booker.address.city\",\n            \"required\": false\n        },\n        {\n            \"name\": \"est_arrival\",\n            \"required\": false\n        },\n        {\n            \"name\": \"est_departure\",\n            \"required\": false\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api-hotel/v2/hotels/:property_guid/booking-rules","description":"<p>Save booking settings for multi-room feature at a specific hotel.</p>\n<h2 id=\"url-variable\">URL Variable:</h2>\n<ul>\n<li><strong>property_guid</strong> (guid, required) - The property's GUID.</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<ul>\n<li><strong>max_room_quantity</strong> (Integer, required): set max quantity of room in one booking</li>\n<li><strong>fields</strong> (array[object]): A list of field requirement objects<ul>\n<li><strong>name</strong> (string): name of the target field</li>\n<li><strong>required</strong> (boolean): <code>true</code> if the target field is required; <code>false</code> otherwise.</li>\n</ul>\n</li>\n</ul>\n<h2 id=\"return-schema\">Return Schema:</h2>\n<ul>\n<li><strong>status</strong> (string): \"success\" if operation is successful. Otherwise, this field contains some failure status.</li>\n<li><strong>code</strong> (string): \"OK\" if successful. Otherwise, this field contains error code.</li>\n<li><strong>data</strong> (object): Data container object<ul>\n<li><strong>id</strong> (guid): The booking-rule's GUID.</li>\n<li><strong>max_room_quantity</strong> (Integer): self-explained</li>\n<li><strong>fields</strong> (array[object]): A list of field requirement objects<ul>\n<li><strong>name</strong> (string): name of the target field</li>\n<li><strong>required</strong> (boolean): <code>true</code> if the target field is required; <code>false</code> otherwise.</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api-hotel","v2","hotels",":property_guid","booking-rules"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"{{property_guid}}","key":"property_guid"}]}},"response":[{"id":"5abe259e-d8df-4f30-ab83-953679c0dab3","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"max_room_quantity\": 9,\n    \"fields\": [\n        {\n            \"name\": \"primary_guest.first_name\",\n            \"required\": false\n        },\n        {\n            \"name\": \"primary_guest.last_name\",\n            \"required\": false\n        },\n        {\n            \"name\": \"booker.first_name\",\n            \"required\": true\n        },\n        {\n            \"name\": \"booker.last_name\",\n            \"required\": true\n        },\n        {\n            \"name\": \"booker.email\",\n            \"required\": true\n        },\n        {\n            \"name\": \"booker.phone_number\",\n            \"required\": false\n        },\n        {\n            \"name\": \"booker.address.country\",\n            \"required\": true\n        },\n        {\n            \"name\": \"booker.job_title\",\n            \"required\": false\n        },\n        {\n            \"name\": \"booker.company\",\n            \"required\": false\n        },\n        {\n            \"name\": \"booker.address.city\",\n            \"required\": false\n        },\n        {\n            \"name\": \"est_arrival\",\n            \"required\": false\n        },\n        {\n            \"name\": \"est_departure\",\n            \"required\": false\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api-hotel/v2/hotels/:property_guid/booking-rules","host":["{{endpoint}}"],"path":["api-hotel","v2","hotels",":property_guid","booking-rules"],"variable":[{"key":"property_guid","value":"{{property_guid}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1503"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImI5MTU4MjE5YWY5ZWJiOTVlNTBjMGRkY2FkMTA2MDVmODA4ZTlmNTki.Y3b7IA.AKIItqzjpQ8FLpHFl399_eN0T4o"},{"key":"Set-Cookie","value":"session=99fd7b85-9b06-4ef7-b2ec-bb90f796d306.L4yD_zFLOqKj3FcurEMlpyYPeWs; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Fri, 18 Nov 2022 03:25:20 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"fields\": [\n            {\n                \"name\": \"primary_guest.first_name\",\n                \"required\": false\n            },\n            {\n                \"name\": \"primary_guest.last_name\",\n                \"required\": false\n            },\n            {\n                \"name\": \"booker.first_name\",\n                \"required\": true\n            },\n            {\n                \"name\": \"booker.last_name\",\n                \"required\": true\n            },\n            {\n                \"name\": \"booker.email\",\n                \"required\": true\n            },\n            {\n                \"name\": \"booker.phone_number\",\n                \"required\": false\n            },\n            {\n                \"name\": \"booker.address.country\",\n                \"required\": true\n            },\n            {\n                \"name\": \"booker.job_title\",\n                \"required\": false\n            },\n            {\n                \"name\": \"booker.company\",\n                \"required\": false\n            },\n            {\n                \"name\": \"booker.address.city\",\n                \"required\": false\n            },\n            {\n                \"name\": \"est_arrival\",\n                \"required\": false\n            },\n            {\n                \"name\": \"est_departure\",\n                \"required\": false\n            }\n        ],\n        \"id\": \"d94f022e-b465-4189-a83c-38aee800aeb3\",\n        \"max_room_quantity\": 9\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"ce1ed4cc-85dd-4619-ac72-7744d532f497"},{"name":"Retrieve booking rules","id":"dcef2366-18bf-4f3f-b0f9-9b596b75d85f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api-hotel/v2/hotels/:property_guid/booking-rules","description":"<p>Get the booking rules for multi-room feature from a specific hotel.</p>\n<h2 id=\"url-variable\">URL Variable:</h2>\n<ul>\n<li><strong>property_guid</strong> (guid, required) - The property's GUID.</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<ul>\n<li><strong>status</strong> (string): \"success\" if operation is successful. Otherwise, this field contains some failure status.</li>\n<li><strong>code</strong> (string): \"OK\" if successful. Otherwise, this field contains error code.</li>\n<li><strong>data</strong> (object): Data container object<ul>\n<li><strong>id</strong> (guid): The booking-rule's GUID.</li>\n<li><strong>max_room_quantity</strong> (Integer): self-explained</li>\n<li><strong>fields</strong> (array[object]): A list of field requirement objects<ul>\n<li><strong>name</strong> (string): name of the target field</li>\n<li><strong>required</strong> (boolean): <code>true</code> if the target field is required; <code>false</code> otherwise.</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api-hotel","v2","hotels",":property_guid","booking-rules"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"{{property_guid}}","key":"property_guid"}]}},"response":[{"id":"ceed78b3-4d3e-4714-8448-7690f394f4e7","name":"OK","originalRequest":{"method":"GET","header":[{"key":"","value":"","type":"text","disabled":true}],"url":{"raw":"{{endpoint}}/api-hotel/v2/hotels/:property_guid/booking-rules","host":["{{endpoint}}"],"path":["api-hotel","v2","hotels",":property_guid","booking-rules"],"variable":[{"key":"property_guid","value":"{{property_guid}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1503"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImI5MTU4MjE5YWY5ZWJiOTVlNTBjMGRkY2FkMTA2MDVmODA4ZTlmNTki.Y3b63g.7XBcCo_RivJFZeZ24FfAIdPaPro"},{"key":"Set-Cookie","value":"session=99fd7b85-9b06-4ef7-b2ec-bb90f796d306.L4yD_zFLOqKj3FcurEMlpyYPeWs; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Fri, 18 Nov 2022 03:24:14 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"fields\": [\n            {\n                \"name\": \"primary_guest.first_name\",\n                \"required\": false\n            },\n            {\n                \"name\": \"primary_guest.last_name\",\n                \"required\": false\n            },\n            {\n                \"name\": \"booker.first_name\",\n                \"required\": true\n            },\n            {\n                \"name\": \"booker.last_name\",\n                \"required\": true\n            },\n            {\n                \"name\": \"booker.email\",\n                \"required\": true\n            },\n            {\n                \"name\": \"booker.phone_number\",\n                \"required\": false\n            },\n            {\n                \"name\": \"booker.address.country\",\n                \"required\": true\n            },\n            {\n                \"name\": \"booker.job_title\",\n                \"required\": false\n            },\n            {\n                \"name\": \"booker.company\",\n                \"required\": false\n            },\n            {\n                \"name\": \"booker.address.city\",\n                \"required\": false\n            },\n            {\n                \"name\": \"est_arrival\",\n                \"required\": false\n            },\n            {\n                \"name\": \"est_departure\",\n                \"required\": false\n            }\n        ],\n        \"id\": \"d94f022e-b465-4189-a83c-38aee800aeb3\",\n        \"max_room_quantity\": 6\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"dcef2366-18bf-4f3f-b0f9-9b596b75d85f"},{"name":"[Portal] Retrieve booking rules","id":"1e2ecd4d-fdad-4667-a3cd-d687ad1034f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{endpoint}}/api-portal/v2/hotels/:property_guid/booking-rules","description":"<p>Get the booking rules for multi-room feature from a specific hotel.</p>\n<h2 id=\"url-variable\">URL Variable:</h2>\n<ul>\n<li><strong>property_guid</strong> (guid, required) - The property's GUID.</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<ul>\n<li><strong>status</strong> (string): \"success\" if operation is successful. Otherwise, this field contains some failure status.</li>\n<li><strong>code</strong> (string): \"OK\" if successful. Otherwise, this field contains error code.</li>\n<li><strong>data</strong> (object): Data container object<ul>\n<li><strong>id</strong> (guid): The booking-rule's GUID.</li>\n<li><strong>max_room_quantity</strong> (Integer): self-explained</li>\n<li><strong>fields</strong> (array[object]): A list of field requirement objects<ul>\n<li><strong>name</strong> (string): name of the target field</li>\n<li><strong>required</strong> (boolean): <code>true</code> if the target field is required; <code>false</code> otherwise.</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["api-portal","v2","hotels",":property_guid","booking-rules"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"{{property_guid}}","key":"property_guid"}]}},"response":[{"id":"af909865-d58f-4779-91d8-85d541710833","name":"OK","originalRequest":{"method":"GET","header":[{"key":"","value":"","type":"text","disabled":true}],"url":{"raw":"{{endpoint}}/api-portal/v2/hotels/:property_guid/booking-rules","host":["{{endpoint}}"],"path":["api-portal","v2","hotels",":property_guid","booking-rules"],"variable":[{"key":"property_guid","value":"{{property_guid}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1503"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjNjZjE4MzVkZjY0NmFlYjFhN2EzMTg3MTBkOWNjYjRlZGM3NzMwNWYi.Y3yK2A.pWxf4eptultbF_f59zmfuG09wj4"},{"key":"Set-Cookie","value":"session=81992558-b12f-40fc-a36a-695c4147d811.yDpZr4mOLlpOCVboGoRoPaDKP6U; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Tue, 22 Nov 2022 08:39:52 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"fields\": [\n            {\n                \"name\": \"primary_guest.first_name\",\n                \"required\": false\n            },\n            {\n                \"name\": \"primary_guest.last_name\",\n                \"required\": false\n            },\n            {\n                \"name\": \"booker.first_name\",\n                \"required\": true\n            },\n            {\n                \"name\": \"booker.last_name\",\n                \"required\": true\n            },\n            {\n                \"name\": \"booker.email\",\n                \"required\": true\n            },\n            {\n                \"name\": \"booker.phone_number\",\n                \"required\": false\n            },\n            {\n                \"name\": \"booker.address.country\",\n                \"required\": true\n            },\n            {\n                \"name\": \"booker.job_title\",\n                \"required\": false\n            },\n            {\n                \"name\": \"booker.company\",\n                \"required\": false\n            },\n            {\n                \"name\": \"booker.address.city\",\n                \"required\": false\n            },\n            {\n                \"name\": \"est_arrival\",\n                \"required\": true\n            },\n            {\n                \"name\": \"est_departure\",\n                \"required\": false\n            }\n        ],\n        \"id\": \"ea7582a5-6004-437f-9f66-0d0f599a0ff5\",\n        \"max_room_quantity\": 10\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"1e2ecd4d-fdad-4667-a3cd-d687ad1034f8"}],"id":"85323842-7222-492c-b521-2d20c24baf3a","_postman_id":"85323842-7222-492c-b521-2d20c24baf3a","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Common","item":[{"name":"Upload Media","id":"96654239-2831-480c-b8b3-b338134fe828","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Idem-Context-Type","value":"RoomBlock","description":"<p>Context type (optional) is model class name e.g: Hotel, RoomBlock, Event, User</p>\n","type":"text"},{"key":"Idem-Context-Id","value":"{{block_id}}","description":"<p>Context id (optional) is a specificed ObjectId</p>\n","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","value":null}]},"url":"{{endpoint}}/api/v1/upload","description":"<p>The API to upload files and can use both <code>/api/v1/upload</code> and <code>/upload</code> (old platform) router.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","upload"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"c8ed809c-5d77-4e26-b5f2-af3bba2e0ac1","name":"Upload Media","originalRequest":{"method":"POST","header":[{"key":"Idem-Context-Type","value":"RoomBlock","description":"Context type (optional) is model class name e.g: RoomBlock, Event, User","type":"text","disabled":true},{"key":"Idem-Context-Id","value":"{{multi_block_id}}","description":"Context id (optional) is a specificed ObjectId","type":"text","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file"}]},"url":"{{endpoint}}/api/v1/upload"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"563"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJyVkM1uwjAQhF-l8hlVwZBLJG4OEZG8UZCJtb5EUEIS_9CKBEGMePe6PVRce92ZnZ1vH6Q-XZqhI8lpb4dmRur-SJIHeTuQhBSinXNaGSVwKljecZ3eODsalJVBjQvIyogLs1SMU2DggK0Nz3iMFDQ65bjfUPSVKVh7A5l68CYCt4vBV67IQhbdai7WPeqSgm8jLjcTz3aTYp0OvgkynIOwQedeiUoDS-OQukQf5m7dK8nvKMMtWq7Ic0Y-hsupHj9Nc_5DCNU9UNUpnXqku0UR7ODLCOTWgTAxMGuUUzZUWHKW9yjaCW-r37j-2JzHfpze99exq8fpqyHJ-Wrti_LyLJC5Vq6ykAVAt-0DYABBz2lulcT7T-J1aC71v3ae33G0im0.XHIlAQ.wBj6wPjEJG36N0h7a-XCDB5-J2c; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Sun, 24 Feb 2019 05:00:49 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"media_ids\": [\n            \"5c72250196db8a64fb02a048\"\n        ],\n        \"results\": [\n            {\n                \"created_at\": \"2019-02-24T05:00:49.824318\",\n                \"file_type\": \"img\",\n                \"id\": \"5c72250196db8a64fb02a048\",\n                \"name\": \"HIGHLIGHTS-v3-480x251.jpg\",\n                \"size\": 21438,\n                \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/ep/5bcfee4e96db8a2d633beef1/GQ7OTKYF-HIGHLIGHTS-v3-480x251.jpg\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"96654239-2831-480c-b8b3-b338134fe828"},{"name":"Retrieve general data","event":[{"listen":"test","script":{"id":"37384818-b942-4491-b028-abb92d4de5b1","exec":["pm.test(\"Retrieve general data\", function () {","    pm.response.to.have.status(200);","    var jsonData = pm.response.json();","});"],"type":"text/javascript"}}],"id":"f5a1e93d-9f3a-4339-8316-2248bbb0b68c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/general?hotel_id={{hotel_id}}","urlObject":{"path":["general"],"host":["{{base_url}}"],"query":[{"key":"hotel_id","value":"{{hotel_id}}"}],"variable":[]}},"response":[{"id":"fca0a112-ff48-4da3-9c52-009c4f7b3f28","name":"OK - Successful retrieve general data","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/general?hotel_id={{hotel_id}}","host":["{{base_url}}"],"path":["general"],"query":[{"key":"hotel_id","value":"{{hotel_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2536"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjYxZTAxMWQ3NjBiNjEyNWU1NDI3OTE1MGZiNjRkNGZkM2JkODU2YzMi.YJtPAg.mKHtYrESF1y0Nm79S2lJsNIhDRM"},{"key":"Set-Cookie","value":"session=2bd4a0f9-46f6-42e7-a5e3-675f06d67990.aSf24x7KMGvvrq6ov3CsEt6dWXA; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Wed, 12 May 2021 03:44:02 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"adyen\": {\n            \"loading_context\": null\n        },\n        \"apaleo\": {\n            \"client_id\": \"IdemConnectDev\",\n            \"scopes\": [\n                \"offline_access\",\n                \"properties.read\",\n                \"unitgroups.read\",\n                \"offers.read\",\n                \"services.read\",\n                \"rateplans.read\",\n                \"rateplans.read-corporate\",\n                \"rates.read\",\n                \"groups.read\",\n                \"groups.create\",\n                \"groups.manage\",\n                \"blocks.read\",\n                \"blocks.create\",\n                \"blocks.manage\",\n                \"reservations.read\",\n                \"reservations.create\",\n                \"reservations.manage\",\n                \"account.read\",\n                \"notifications:subscriptions.manage\"\n            ]\n        },\n        \"currency_support\": [\n            \"USD\",\n            \"SGD\",\n            \"THB\",\n            \"EUR\",\n            \"JPY\",\n            \"GBP\",\n            \"AUD\",\n            \"CAD\",\n            \"CHF\",\n            \"CNY\",\n            \"VND\",\n            \"NOK\",\n            \"HKD\",\n            \"IDR\",\n            \"CNY\",\n            \"AED\",\n            \"MYR\",\n            \"NZD\"\n        ],\n        \"emails\": {\n            \"default_contact_email\": \"hello@idemlabs.com\"\n        },\n        \"google\": {\n            \"maps_api_url\": \"https://maps.googleapis.com/maps/api/js?key=AIzaSyBYjwKvyWxWcoC5DUhoXixCAywLju9T560\"\n        },\n        \"hotel\": {\n            \"default_base_rate_enabled\": true,\n            \"default_guest_edit_days_before\": 2,\n            \"default_guest_edit_enabled\": true,\n            \"default_payment_enabled\": true,\n            \"default_promo_setup\": \"before_tax\",\n            \"default_tax_setup\": \"excluded\",\n            \"default_upsell\": true,\n            \"payment_portal\": {\n                \"view_mode\": false\n            },\n            \"tax_ids\": [\n                \"5f083ec5363f5089abe7300f\",\n                \"5f51c0797bb424f6e32b3def\",\n                \"5f083ec5363f5089abe73011\",\n                \"5f083ec5363f5089abe73010\"\n            ],\n            \"voucher\": {\n                \"enabled\": true\n            }\n        },\n        \"intercom\": {\n            \"app_id\": \"cgplpqhy\",\n            \"user_hash\": \"f187037ef797e16573edbc3e6a0ba860b990334cfd6389aab205ded2433a5e1f\",\n            \"user_id\": \"henry@idemlabs.com\"\n        },\n        \"links\": {\n            \"help_center\": \"http://www.localhost:5001/help\",\n            \"idem_web\": \"https://www.idemhospitality.com/\",\n            \"privacy_url\": \"https://legal.idemlabs.com/index.php/privacy-policy\",\n            \"static_path\": \"http://static.localhost:5001\",\n            \"tou_url\": \"https://legal.idemlabs.com/index.php/terms-of-use\"\n        },\n        \"merchantwarrior\": {\n            \"api_key\": \"0sadcezw\",\n            \"client_id\": \"5e4bda26814ed\",\n            \"endpoint\": \"https://base.merchantwarrior.com/\",\n            \"secure_endpoint\": \"https://securetest.merchantwarrior.com/\"\n        },\n        \"stripe\": {\n            \"publish_key\": \"pk_test_reB5ZKzkgXv58KSZFYO279bG\"\n        },\n        \"last_contents\": [\n            {\n                \"id\": \"609b52a924657e26f55b43c5\",\n                \"type\": \"Block\"\n            },\n            {\n                \"id\": \"609b52a924657e26f55b43c5\",\n                \"type\": \"Reservation\"\n            },\n            {\n                \"id\": \"609b52a924657e26f55b43c5\",\n                \"type\": \"TransactionGroup\"\n            },\n            {\n                \"id\": \"609b52a924657e26f55b43c5\",\n                \"type\": \"Promo\"\n            },\n            {\n                \"id\": \"609b52a924657e26f55b43c5\",\n                \"type\": \"Package\"\n            },\n            {\n                \"id\": \"609b52a924657e26f55b43c5\",\n                \"type\": \"Order\"\n            },\n            {\n                \"id\": \"609b52a924657e26f55b43c5\",\n                \"type\": \"Accommodation\"\n            },\n            {\n                \"id\": \"609b52a924657e26f55b43c5\",\n                \"type\": \"BookingPolicy\"\n            },\n            {\n                \"id\": \"609b52a924657e26f55b43c5\",\n                \"type\": \"HotelRatePlan\"\n            },\n            {\n                \"id\": \"609b52a924657e26f55b43c5\",\n                \"type\": \"Venue\"\n            },\n            {\n                \"id\": \"609b52a924657e26f55b43c5\",\n                \"type\": \"Vendor\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"f5a1e93d-9f3a-4339-8316-2248bbb0b68c"}],"id":"90654c9a-c099-49d2-ab0e-f596bb81d4b4","_postman_id":"90654c9a-c099-49d2-ab0e-f596bb81d4b4","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Team","item":[{"name":"Team List","id":"b652f2d9-4663-4bfd-9fcc-ac3d3f8be92d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/teams","urlObject":{"path":["teams"],"host":["{{base_url}}"],"query":[{"disabled":true,"key":"search","value":"{{search}}"},{"disabled":true,"key":"limit","value":"{{limit}}"},{"disabled":true,"key":"page","value":"{{page}}"},{"disabled":true,"key":"order","value":"{{order}}"},{"disabled":true,"key":"sort","value":"{{sort}}"}],"variable":[]}},"response":[{"id":"b51660ce-077c-4032-b601-3788d91e3bcc","name":"Team List","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/teams"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"9632"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9kDFvgzAUhP9K5TmqggkNRcrQCoSI9GwROUH2goAQwMZpFYgIjvrf63Rppw5vuqe77-6O8tOlHloUnIp-qBco744ouKOnEgWI69QDDRhw4ok4comsXGL4JLLEcNZ4JNsqyEjHdeKS8L0VcYIh3inBDoqyBoM8dDTeuzSLDJeVRzNwIUwdwZobYL4ETRSYyggGK8oqe9uWstQhDDBlbUtDvhQZTICjiUuiRZxaz2gGeZTc9IqGreZyJ0W236CvBaqGyykfP1R9_q1g9jNnqRHaIrC3pUWd4REVc1tNWFShITwoYHADpiYwFrvZ_Nh1x_o8duP8XFzHNh_nzxoF52vf_1EeYyGvXDteWaz9F995rd2idJ2Vv_Z8tEDXob7k_z99fQNS0nwI.XIoifQ.ivNBLKs2E7o-Xnx2BcUbyTBlYYw; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Thu, 14 Mar 2019 09:44:29 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"results\": [\n            {\n                \"created_at\": \"2019-02-28T21:52:44\",\n                \"description\": \"Research more red research. Get little while laugh same message drive learn. Star network camera capital newspaper.\\nRed smile capital shot western. Voice great big magazine different. Myself more produce. Notice six north way side.\\nWriter return worry player smile. Avoid vote Congress politics subject together.\\nCall prepare state democratic go mean problem. Rule green soon know I performance cultural. Question growth compare set.\",\n                \"id\": \"7kz8bdbma06w53u48jjvz8ko\",\n                \"is_primary\": true,\n                \"name\": \"Turn serious sign.\",\n                \"updated_at\": \"2019-02-21T15:56:26\",\n                \"user_count\": 17\n            },\n            {\n                \"created_at\": \"2019-03-03T15:16:49\",\n                \"description\": \"Born all violence I mention simply ok. Front speak can chance.\\nAttention forget list war describe check test. Practice remain itself day. Often three success message friend see sure. Doctor what laugh senior enough car.\\nEmployee everybody center cancer. Cancer under sport someone she quality.\\nPhone four another production choice particularly. Cup top operation early soon similar season. Cut our use financial political.\",\n                \"id\": \"w3kwfhyjkfg9us03mjs6z082\",\n                \"is_primary\": false,\n                \"name\": \"Time wait than.\",\n                \"updated_at\": \"2019-03-03T21:48:45\",\n                \"user_count\": 15\n            },\n            {\n                \"created_at\": \"2019-02-18T04:01:05\",\n                \"description\": \"Story moment another I staff some be. Interest their throw write and.\\nRemain medical in agency world federal draw. Someone short stand hair such.\\nTurn range effect blue. Heavy international place poor religious. Official sell economy put grow.\\nEvening die here speak enough large body.\\nSection door view. Enjoy provide focus itself. State society name almost shot teach color energy.\\nRead article address find way more oh. First serve capital adult long expect. Bar bad into nothing.\",\n                \"id\": \"yb4xftxh2rdixuezvosql69s\",\n                \"is_primary\": false,\n                \"name\": \"Level soldier when.\",\n                \"updated_at\": \"2019-02-21T19:49:23\",\n                \"user_count\": 5\n            },\n            {\n                \"created_at\": \"2019-03-02T08:27:38\",\n                \"description\": \"Memory best building alone decision red. Pass wind member violence. Friend dinner PM place.\\nSystem question commercial ask my. Sex suggest fact million. Social cost scene act such believe.\\nAgain magazine budget forward. Nor this clear compare fire.\\nProve tax popular remove establish forget seat. But total community key direction either. Level these report record sing.\\nPattern table perform great theory sea. Require culture live message green value.\",\n                \"id\": \"oqxbgrwudp23oq9vak4g50uv\",\n                \"is_primary\": false,\n                \"name\": \"Should face eye.\",\n                \"updated_at\": \"2019-03-13T07:48:26\",\n                \"user_count\": 17\n            },\n            {\n                \"created_at\": \"2019-03-02T04:37:32\",\n                \"description\": \"Shoot large pass die. His blood blood senior.\\nThe team effort question. Executive develop marriage purpose night agency man.\\nThroughout true although girl recent. Issue wait age audience through magazine. Professional involve among method step.\\nProfessor probably story practice house. Effort word sound imagine allow nation my owner. Son dream begin year foreign.\\nHelp upon all follow even memory realize can. Yourself hear class threat else good.\",\n                \"id\": \"8nk6finjk92jsx9d49r9b00n\",\n                \"is_primary\": false,\n                \"name\": \"Six offer daughter.\",\n                \"updated_at\": \"2019-02-24T06:23:52\",\n                \"user_count\": 6\n            },\n            {\n                \"created_at\": \"2019-02-13T04:54:26\",\n                \"description\": \"Look none spring my learn. Company see only girl relate stop clear Republican. Deal person candidate arrive.\\nTest even life close happen find effort friend. Soldier type economy too himself sort project. List well shoot victim.\\nKeep off nor life want common recognize.\\nOwner love minute suffer compare less. Yet discussion death bed worry. Because left into crime sort off history.\\nEnvironmental material finger. None point somebody hospital either. Policy drop the any.\",\n                \"id\": \"ym5q07smmclrq1vhztic63n7\",\n                \"is_primary\": false,\n                \"name\": \"Arm weight meet.\",\n                \"updated_at\": \"2019-03-04T03:07:36\",\n                \"user_count\": 11\n            },\n            {\n                \"created_at\": \"2019-02-14T09:20:29\",\n                \"description\": \"President fall wrong conference like. Raise eight of political season occur something. Toward across third particular put.\\nAttention system enough why. Require nature among still general thought. Firm energy stage Mr live enjoy.\\nAuthority practice protect collection Mrs. Yeah because find seven ball as indeed.\\nThird industry price weight. Amount building allow front. Compare boy other sing.\",\n                \"id\": \"unj049gxtlnlotxuro4f87rh\",\n                \"is_primary\": false,\n                \"name\": \"Card trade.\",\n                \"updated_at\": \"2019-03-11T15:34:34\",\n                \"user_count\": 17\n            },\n            {\n                \"created_at\": \"2019-03-06T20:36:37\",\n                \"description\": \"The staff discuss stay. Only adult at run.\\nBook between letter budget small then death. Similar final interview discover single. Democrat while heart to cup group report. Head international indeed live difficult itself with.\\nEconomic tough spring above old new arrive employee.\\nResearch account eight good them wind. Knowledge wrong road yeah series there.\\nDirection condition over type art own public ground. Conference play although west.\\nManagement anyone never group. Middle marriage computer.\",\n                \"id\": \"0rszgcyx8ib52lglxm61vqmn\",\n                \"is_primary\": false,\n                \"name\": \"Hear bag love.\",\n                \"updated_at\": \"2019-03-06T02:21:05\",\n                \"user_count\": 10\n            },\n            {\n                \"created_at\": \"2019-02-21T06:45:25\",\n                \"description\": \"Because might sign. Apply fish space far education everything skill.\\nSimple pain example the among happy. Perform hundred run security movie item.\\nSex minute choose might because lie draw. Out rock last carry senior know both. General cancer peace process past last least.\\nRole well problem everyone treatment state everybody crime. Body forget spend see field nothing over.\\nSoon miss evening cup. Father of whole various you.\",\n                \"id\": \"902u5onam6ge05h6ecn49ilx\",\n                \"is_primary\": false,\n                \"name\": \"Court four paper.\",\n                \"updated_at\": \"2019-03-07T10:07:34\",\n                \"user_count\": 19\n            },\n            {\n                \"created_at\": \"2019-03-03T05:30:05\",\n                \"description\": \"Fall modern election along mention sometimes choose. Lay statement must mean time those. East resource address take loss cover tend. Key Mr love toward story.\\nHeat system never. Wait add policy. Difference blue outside practice attack senior.\\nContinue alone matter action network center soon.\\nThan choose against thus matter wife during. Question across whatever its air. Defense second task perhaps shoulder nature. Smile suddenly huge dinner piece physical.\",\n                \"id\": \"nq1xhctsbnhd7wsp2675iujs\",\n                \"is_primary\": false,\n                \"name\": \"Cause prove minute.\",\n                \"updated_at\": \"2019-03-04T09:39:52\",\n                \"user_count\": 19\n            },\n            {\n                \"created_at\": \"2019-03-12T00:14:32\",\n                \"description\": \"From democratic arm clear. Effort avoid join window.\\nGood strong economy least. Share while stage both dream audience candidate. Raise financial become may building period. Product base pull dog make.\\nAsk maybe occur sport campaign tonight. Never of free generation. Listen offer problem Mrs speak series reason national.\\nGlass across allow why state see. Ok example wife set south method their. Other problem interview win perhaps believe yard.\",\n                \"id\": \"6k6bvfome6plhsck3rm6alwp\",\n                \"is_primary\": false,\n                \"name\": \"Anyone over you.\",\n                \"updated_at\": \"2019-02-15T14:46:24\",\n                \"user_count\": 17\n            },\n            {\n                \"created_at\": \"2019-02-22T19:35:39\",\n                \"description\": \"Recognize collection sister sport gas. Then region pass. Thought group involve yes popular.\\nFind include idea fill opportunity. Often stay artist his young public.\\nAble improve responsibility beyond fall color. Less way her main.\\nAlso sister begin pain decide system. Walk important enjoy stay charge level garden. Present situation moment somebody buy happen.\\nUnit reason woman agreement design popular vote. Learn opportunity friend chair official month. Edge period alone.\",\n                \"id\": \"svyeplmr3lxfwjy2w0lsfw8i\",\n                \"is_primary\": false,\n                \"name\": \"Turn team.\",\n                \"updated_at\": \"2019-02-22T17:24:53\",\n                \"user_count\": 9\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"b652f2d9-4663-4bfd-9fcc-ac3d3f8be92d"},{"name":"Team Detail","id":"8029dde2-e17b-4e0a-8518-4348358e8e6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/teams/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","teams",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"5c8e41761c9157babc8f5f49","key":"id"}]}},"response":[{"id":"77be2ceb-c039-4fd7-8e70-82a722070465","name":"Team Detail","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/teams/:id","host":["{{endpoint}}"],"path":["api","v1","teams",":id"],"variable":[{"key":"id","value":"5c8e41761c9157babc8f5f49"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"906"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9kDFvgzAUhP9K5TmqggkNRcrQCoSI9GwROUH2goAQwMZpFYgIjvrf63Rppw5vuqe77-6O8tOlHloUnIp-qBco744ouKOnEgWI69QDDRhw4ok4comsXGL4JLLEcNZ4JNsqyEjHdeKS8L0VcYIh3inBDoqyBoM8dDTeuzSLDJeVRzNwIUwdwZobYL4ETRSYyggGK8oqe9uWstQhDDBlbUtDvhQZTICjiUuiRZxaz2gGeZTc9IqGreZyJ0W236CvBaqGyykfP1R9_q1g9jNnqRHaIrC3pUWd4REVc1tNWFShITwoYHADpiYwFrvZ_Nh1x_o8duP8XFzHNh_nzxoF52vf_1EeYyGvXDteWaz9F995rd2idJ2Vv_Z8tEDXob7k_z99fQNS0nwI.XI-Dug.q_nqgdEE94RsBhr81eCKz09qwnY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Mon, 18 Mar 2019 11:40:42 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"created_at\": \"2019-03-17T12:45:42.746000\",\n        \"description\": \"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.\",\n        \"id\": \"5c8e41761c9157babc8f5f49\",\n        \"is_primary\": false,\n        \"name\": \"Lorem Ipsum\",\n        \"updated_at\": \"2019-03-17T12:45:42.747000\",\n        \"user_count\": 0\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"8029dde2-e17b-4e0a-8518-4348358e8e6d"},{"name":"Team User List","id":"5af79879-33f6-4151-913f-9ff581b4399e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/teams/:id/users","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","teams",":id","users"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"5c8e41761c9157babc8f5f49","key":"id"}]}},"response":[{"id":"cd9e0f67-1b72-4930-8919-6b60142dc555","name":"Team User List","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/teams/:id/users","host":["{{endpoint}}"],"path":["api","v1","teams",":id","users"],"variable":[{"key":"id","value":"xkqms01zu2yf6unuqll68jwc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"15824"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9kDFvgzAUhP9K5TmqggkNRcrQCoSI9GwROUH2goAQwMZpFYgIjvrf63Rppw5vuqe77-6O8tOlHloUnIp-qBco744ouKOnEgWI69QDDRhw4ok4comsXGL4JLLEcNZ4JNsqyEjHdeKS8L0VcYIh3inBDoqyBoM8dDTeuzSLDJeVRzNwIUwdwZobYL4ETRSYyggGK8oqe9uWstQhDDBlbUtDvhQZTICjiUuiRZxaz2gGeZTc9IqGreZyJ0W236CvBaqGyykfP1R9_q1g9jNnqRHaIrC3pUWd4REVc1tNWFShITwoYHADpiYwFrvZ_Nh1x_o8duP8XFzHNh_nzxoF52vf_1EeYyGvXDteWaz9F995rd2idJ2Vv_Z8tEDXob7k_z99fQNS0nwI.XIogjQ.xCbrewaMY3vdW8v00pCzNamX-dI; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Thu, 14 Mar 2019 09:36:13 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"results\": [\n            {\n                \"account_status\": 1,\n                \"block_count\": 5,\n                \"created_at\": \"2019-03-02T07:50:09\",\n                \"deleted_at\": null,\n                \"email\": \"brownjonathon@bean.com\",\n                \"first_name\": \"Jonathan\",\n                \"id\": \"a4qe6kzjrcd2lcc8gql5fdl9\",\n                \"last_name\": \"Garcia\",\n                \"name\": \"Gabriela Watts\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"phone_contact\": \"65 987654321\",\n                \"role\": \"owner\",\n                \"type\": 2\n            },\n            {\n                \"account_status\": 1,\n                \"block_count\": 10,\n                \"created_at\": \"2019-03-02T16:08:15\",\n                \"deleted_at\": null,\n                \"email\": \"olewis@griffin-roach.biz\",\n                \"first_name\": \"Alexandra\",\n                \"id\": \"637wynehq8v4noth137p7wos\",\n                \"last_name\": \"Wu\",\n                \"name\": \"Meghan Brown\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"phone_contact\": \"65 987654321\",\n                \"role\": \"user\",\n                \"type\": 2\n            },\n            {\n                \"account_status\": 1,\n                \"block_count\": 7,\n                \"created_at\": \"2019-02-12T17:30:34\",\n                \"deleted_at\": null,\n                \"email\": \"rebecca32@parker-daniels.info\",\n                \"first_name\": \"Dawn\",\n                \"id\": \"rj0q4vfq8aw4ci2vex4stx0e\",\n                \"last_name\": \"Riley\",\n                \"name\": \"Marissa Serrano\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"phone_contact\": \"65 987654321\",\n                \"role\": \"admin\",\n                \"type\": 2\n            },\n            {\n                \"account_status\": 1,\n                \"block_count\": 17,\n                \"created_at\": \"2019-03-05T06:03:54\",\n                \"deleted_at\": null,\n                \"email\": \"zachary77@coleman.org\",\n                \"first_name\": \"Henry\",\n                \"id\": \"xhrht5gkomoni2vsbk5psxwt\",\n                \"last_name\": \"Rivers\",\n                \"name\": \"Sandra Davis\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"phone_contact\": \"65 987654321\",\n                \"role\": \"user\",\n                \"type\": 2\n            },\n            {\n                \"account_status\": 1,\n                \"block_count\": 12,\n                \"created_at\": \"2019-02-13T13:17:07\",\n                \"deleted_at\": null,\n                \"email\": \"urogers@chang.com\",\n                \"first_name\": \"Gabriel\",\n                \"id\": \"hy33izvnu46hpo1a2lxrmi5n\",\n                \"last_name\": \"Mitchell\",\n                \"name\": \"Mary Smith\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"phone_contact\": \"65 987654321\",\n                \"role\": \"manager\",\n                \"type\": 2\n            },\n            {\n                \"account_status\": 1,\n                \"block_count\": 14,\n                \"created_at\": \"2019-02-15T21:03:08\",\n                \"deleted_at\": null,\n                \"email\": \"justinwilliams@grant-huber.info\",\n                \"first_name\": \"Denise\",\n                \"id\": \"ow3byjnh51mfd0h8glw43hlo\",\n                \"last_name\": \"Hayes\",\n                \"name\": \"Elizabeth Clark\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"phone_contact\": \"65 987654321\",\n                \"role\": \"manager\",\n                \"type\": 2\n            },\n            {\n                \"account_status\": 1,\n                \"block_count\": 10,\n                \"created_at\": \"2019-02-16T22:15:36\",\n                \"deleted_at\": null,\n                \"email\": \"morrisscott@decker.com\",\n                \"first_name\": \"Dylan\",\n                \"id\": \"0jzv8k0gmu9dn7rmfkzdkm04\",\n                \"last_name\": \"Walker\",\n                \"name\": \"Ashley Harris\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"phone_contact\": \"65 987654321\",\n                \"role\": \"manager\",\n                \"type\": 2\n            },\n            {\n                \"account_status\": 1,\n                \"block_count\": 13,\n                \"created_at\": \"2019-03-05T06:53:05\",\n                \"deleted_at\": null,\n                \"email\": \"ocarter@yahoo.com\",\n                \"first_name\": \"Anna\",\n                \"id\": \"nu6ccgp98tcqf5a9truj6h30\",\n                \"last_name\": \"King\",\n                \"name\": \"Amy Johnson\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"phone_contact\": \"65 987654321\",\n                \"role\": \"user\",\n                \"type\": 2\n            },\n            {\n                \"account_status\": 1,\n                \"block_count\": 0,\n                \"created_at\": \"2019-02-23T22:38:39\",\n                \"deleted_at\": null,\n                \"email\": \"katrinasmith@yahoo.com\",\n                \"first_name\": \"Jessica\",\n                \"id\": \"1iapdyedzz140tcyzb1ozymz\",\n                \"last_name\": \"Butler\",\n                \"name\": \"Molly Pacheco\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"phone_contact\": \"65 987654321\",\n                \"role\": \"user\",\n                \"type\": 2\n            },\n            {\n                \"account_status\": 1,\n                \"block_count\": 9,\n                \"created_at\": \"2019-02-13T05:28:44\",\n                \"deleted_at\": null,\n                \"email\": \"karenwilson@foster.com\",\n                \"first_name\": \"John\",\n                \"id\": \"c7yecbjhmnbqrm3ib5yssll3\",\n                \"last_name\": \"Benson\",\n                \"name\": \"Kelly Williams\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"phone_contact\": \"65 987654321\",\n                \"role\": \"user\",\n                \"type\": 2\n            },\n            {\n                \"account_status\": 1,\n                \"block_count\": 2,\n                \"created_at\": \"2019-03-04T03:29:09\",\n                \"deleted_at\": null,\n                \"email\": \"lawrencehowell@wagner.com\",\n                \"first_name\": \"Ashley\",\n                \"id\": \"wgak99yd7uutm6u6kgkjhwau\",\n                \"last_name\": \"Jones\",\n                \"name\": \"Miss Angela Carter\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"phone_contact\": \"65 987654321\",\n                \"role\": \"admin\",\n                \"type\": 2\n            },\n            {\n                \"account_status\": 1,\n                \"block_count\": 1,\n                \"created_at\": \"2019-03-06T00:28:08\",\n                \"deleted_at\": null,\n                \"email\": \"michael43@gallagher-gutierrez.biz\",\n                \"first_name\": \"Margaret\",\n                \"id\": \"6sd835lzwp3pr7jn2sp8ju0u\",\n                \"last_name\": \"Adams\",\n                \"name\": \"Brenda Goodwin\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"phone_contact\": \"65 987654321\",\n                \"role\": \"admin\",\n                \"type\": 2\n            },\n            {\n                \"account_status\": 1,\n                \"block_count\": 18,\n                \"created_at\": \"2019-03-02T16:19:03\",\n                \"deleted_at\": null,\n                \"email\": \"dpeters@hartman-guzman.com\",\n                \"first_name\": \"Matthew\",\n                \"id\": \"fvo5avawmoszsza697cokac6\",\n                \"last_name\": \"Walker\",\n                \"name\": \"Jennifer Guerrero\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"phone_contact\": \"65 987654321\",\n                \"role\": \"admin\",\n                \"type\": 2\n            },\n            {\n                \"account_status\": 1,\n                \"block_count\": 6,\n                \"created_at\": \"2019-03-05T18:23:03\",\n                \"deleted_at\": null,\n                \"email\": \"martinsanders@briggs.com\",\n                \"first_name\": \"Henry\",\n                \"id\": \"yn8thwewur3rsdnivgpsot83\",\n                \"last_name\": \"Soto\",\n                \"name\": \"Rhonda Roberts\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"phone_contact\": \"65 987654321\",\n                \"role\": \"user\",\n                \"type\": 2\n            },\n            {\n                \"account_status\": 1,\n                \"block_count\": 12,\n                \"created_at\": \"2019-03-10T16:44:32\",\n                \"deleted_at\": null,\n                \"email\": \"deanna88@martinez-moore.com\",\n                \"first_name\": \"Wayne\",\n                \"id\": \"w8jclnn19prfdvrnxsw7ejm7\",\n                \"last_name\": \"Scott\",\n                \"name\": \"Catherine Holmes\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"phone_contact\": \"65 987654321\",\n                \"role\": \"admin\",\n                \"type\": 2\n            },\n            {\n                \"account_status\": 1,\n                \"block_count\": 11,\n                \"created_at\": \"2019-02-21T14:42:21\",\n                \"deleted_at\": null,\n                \"email\": \"codyjames@hotmail.com\",\n                \"first_name\": \"Scott\",\n                \"id\": \"li0z2sxkxky6bqol2b2bhagx\",\n                \"last_name\": \"Larson\",\n                \"name\": \"Lisa Glover\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"phone_contact\": \"65 987654321\",\n                \"role\": \"manager\",\n                \"type\": 2\n            },\n            {\n                \"account_status\": 1,\n                \"block_count\": 3,\n                \"created_at\": \"2019-02-22T19:52:41\",\n                \"deleted_at\": null,\n                \"email\": \"nedwards@avery.biz\",\n                \"first_name\": \"John\",\n                \"id\": \"3bamfw5yowm5afhaosze9ysa\",\n                \"last_name\": \"Freeman\",\n                \"name\": \"Melissa Jones\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"phone_contact\": \"65 987654321\",\n                \"role\": \"manager\",\n                \"type\": 2\n            },\n            {\n                \"account_status\": 1,\n                \"block_count\": 8,\n                \"created_at\": \"2019-03-05T23:33:34\",\n                \"deleted_at\": null,\n                \"email\": \"mrodriguez@king.com\",\n                \"first_name\": \"Mariah\",\n                \"id\": \"ktgjdbyzlj8gafaavk1hnoih\",\n                \"last_name\": \"Russell\",\n                \"name\": \"Monica Fitzpatrick\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"phone_contact\": \"65 987654321\",\n                \"role\": \"user\",\n                \"type\": 2\n            },\n            {\n                \"account_status\": 1,\n                \"block_count\": 14,\n                \"created_at\": \"2019-02-15T06:06:29\",\n                \"deleted_at\": null,\n                \"email\": \"jmorris@parrish-henderson.org\",\n                \"first_name\": \"Jeanette\",\n                \"id\": \"yirapvkf3jvnegw4nx8a1rm3\",\n                \"last_name\": \"Martin\",\n                \"name\": \"Jessica Smith\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"phone_contact\": \"65 987654321\",\n                \"role\": \"manager\",\n                \"type\": 2\n            },\n            {\n                \"account_status\": 1,\n                \"block_count\": 9,\n                \"created_at\": \"2019-03-07T15:19:28\",\n                \"deleted_at\": null,\n                \"email\": \"hmcdonald@gmail.com\",\n                \"first_name\": \"Jonathan\",\n                \"id\": \"fcsyo8ncksulhexap7bo20ts\",\n                \"last_name\": \"Frank\",\n                \"name\": \"Shannon Henry\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"phone_contact\": \"65 987654321\",\n                \"role\": \"manager\",\n                \"type\": 2\n            },\n            {\n                \"account_status\": 1,\n                \"block_count\": 4,\n                \"created_at\": \"2019-03-01T21:07:40\",\n                \"deleted_at\": null,\n                \"email\": \"brownjessica@alvarez.com\",\n                \"first_name\": \"Dennis\",\n                \"id\": \"mrr601v602cuj7b7vs6iwl10\",\n                \"last_name\": \"Ross\",\n                \"name\": \"Emily Cortez\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"phone_contact\": \"65 987654321\",\n                \"role\": \"manager\",\n                \"type\": 2\n            },\n            {\n                \"account_status\": 1,\n                \"block_count\": 5,\n                \"created_at\": \"2019-02-20T02:25:06\",\n                \"deleted_at\": null,\n                \"email\": \"heatherwillis@hotmail.com\",\n                \"first_name\": \"Joshua\",\n                \"id\": \"myuldzr3pbt064ewb6gy61st\",\n                \"last_name\": \"Ward\",\n                \"name\": \"Dana Edwards\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"phone_contact\": \"65 987654321\",\n                \"role\": \"manager\",\n                \"type\": 2\n            },\n            {\n                \"account_status\": 1,\n                \"block_count\": 10,\n                \"created_at\": \"2019-03-08T18:01:37\",\n                \"deleted_at\": null,\n                \"email\": \"danajohnson@gmail.com\",\n                \"first_name\": \"James\",\n                \"id\": \"ud79nly18ir3cfuk75v2qrx1\",\n                \"last_name\": \"Martinez\",\n                \"name\": \"Monica Avila\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"phone_contact\": \"65 987654321\",\n                \"role\": \"manager\",\n                \"type\": 2\n            },\n            {\n                \"account_status\": 1,\n                \"block_count\": 20,\n                \"created_at\": \"2019-02-24T17:15:26\",\n                \"deleted_at\": null,\n                \"email\": \"xshaw@yahoo.com\",\n                \"first_name\": \"Taylor\",\n                \"id\": \"1fq4amtyotlqlr7op8uqnmr2\",\n                \"last_name\": \"Hansen\",\n                \"name\": \"Denise Pittman\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"987654321\"\n                },\n                \"phone_contact\": \"65 987654321\",\n                \"role\": \"manager\",\n                \"type\": 2\n            }\n        ],\n        \"scope_permissions\": [\"user.add\", \"user.delete\"]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"5af79879-33f6-4151-913f-9ff581b4399e"},{"name":"Create Team","id":"af59ffe1-e286-45ad-9bdf-d5a60abc6355","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"required:string\",\n\t\"description\": \"required:string\",\n\t\"is_primary\": \"boolean(default=false)\"\n}"},"url":"{{endpoint}}/api/v1/teams","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","teams"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"7c1ceb21-aebf-4eaa-8990-777f2599eda8","name":"Create Team","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Lorem Ipsum\",\n\t\"description\": \"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.\"\n}"},"url":"{{endpoint}}/api/v1/teams"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9kDFvgzAUhP9K5TmqggkNRcrQCoSI9GwROUH2goAQwMZpFYgIjvrf63Rppw5vuqe77-6O8tOlHloUnIp-qBco744ouKOnEgWI69QDDRhw4ok4comsXGL4JLLEcNZ4JNsqyEjHdeKS8L0VcYIh3inBDoqyBoM8dDTeuzSLDJeVRzNwIUwdwZobYL4ETRSYyggGK8oqe9uWstQhDDBlbUtDvhQZTICjiUuiRZxaz2gGeZTc9IqGreZyJ0W236CvBaqGyykfP1R9_q1g9jNnqRHaIrC3pUWd4REVc1tNWFShITwoYHADpiYwFrvZ_Nh1x_o8duP8XFzHNh_nzxoF52vf_1EeYyGvXDteWaz9F995rd2idJ2Vv_Z8tEDXob7k_z99fQNS0nwI.XIts2A.ZnI_KfVOl06HOKin6Zb__Uo0QHY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Fri, 15 Mar 2019 09:14:00 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5c8b6cd896db8acec664bbf6\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"af59ffe1-e286-45ad-9bdf-d5a60abc6355"},{"name":"Edit Team","id":"f4510da6-f8ea-4b88-8267-4af1d59f2d89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Henry Team\",\n\t\"description\": \"Henry Team\"\n}"},"url":"{{base_url}}/teams/:id","urlObject":{"path":["teams",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"5d4402055045ad1c0c93a251","key":"id"}]}},"response":[],"_postman_id":"f4510da6-f8ea-4b88-8267-4af1d59f2d89"},{"name":"Add/Invites User","id":"e836a675-32d6-43fe-969d-34cc37625fe3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"required:string\",\n\t\"last_name\": \"required:string\",\n\t\"email\": \"required:string\",\n\t\"role\": \"required:string({admin,manager,user})\"\n}"},"url":"{{endpoint}}/api/v1/teams/:id/users","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","teams",":id","users"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"5c8e41761c9157babc8f5f49","key":"id"}]}},"response":[{"id":"413b2a97-18a6-47f7-8615-84998e83e58b","name":"Add/Invites User","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"Van\",\n\t\"last_name\": \"Lee\",\n\t\"email\": \"vanlee.idem@mailinator.com\",\n\t\"role\": \"user\"\n}"},"url":{"raw":"{{endpoint}}/api/v1/teams/:id/users","host":["{{endpoint}}"],"path":["api","v1","teams",":id","users"],"variable":[{"key":"id","value":"5c8e41761c9157babc8f5f49"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"188"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9kDFvgzAUhP9K5TmqggkNRcrQCoSI9GwROUH2goAQwMZpFYgIjvrf63Rppw5vuqe77-6O8tOlHloUnIp-qBco744ouKOnEgWI69QDDRhw4ok4comsXGL4JLLEcNZ4JNsqyEjHdeKS8L0VcYIh3inBDoqyBoM8dDTeuzSLDJeVRzNwIUwdwZobYL4ETRSYyggGK8oqe9uWstQhDDBlbUtDvhQZTICjiUuiRZxaz2gGeZTc9IqGreZyJ0W236CvBaqGyykfP1R9_q1g9jNnqRHaIrC3pUWd4REVc1tNWFShITwoYHADpiYwFrvZ_Nh1x_o8duP8XFzHNh_nzxoF52vf_1EeYyGvXDteWaz9F995rd2idJ2Vv_Z8tEDXob7k_z99fQNS0nwI.XI-DjA.RTykZC3CeJUKTVoQSQyQODd2T4Y; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Mon, 18 Mar 2019 11:39:56 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"role\": \"user\",\n        \"team_id\": \"5c8e41761c9157babc8f5f49\",\n        \"user_id\": \"5c8f838c96db8a546c8b135a\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"e836a675-32d6-43fe-969d-34cc37625fe3"},{"name":"Set Primary Team","id":"99b823db-5b9a-4ff4-bcb9-260ef0f358e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{endpoint}}/api/v1/teams/:id/primary","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","teams",":id","primary"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"5c8b71ad96db8adea4b11083","key":"id"}]}},"response":[],"_postman_id":"99b823db-5b9a-4ff4-bcb9-260ef0f358e3"},{"name":"Delete Team Member","id":"0301959c-42f2-4b7d-9065-db6ba1e1a5c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{endpoint}}/api/v1/teams/:id/users/:user_id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","teams",":id","users",":user_id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"5c905cbe96db8a29935651d6","key":"id"},{"type":"any","value":"5c9202c896db8a6bb1d3cd9b","key":"user_id"}]}},"response":[{"id":"4d441449-03a4-4f52-98a0-6ca124e276ef","name":"Delete Team Member","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{endpoint}}/api/v1/teams/:id/users/:user_id","host":["{{endpoint}}"],"path":["api","v1","teams",":id","users",":user_id"],"variable":[{"key":"id","value":"5c905cbe96db8a29935651d6"},{"key":"user_id","value":"5c9202c896db8a6bb1d3cd9b"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"217"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9kDFvgzAUhP9K5TmqggkNRcrQCoSI9GwROUH2goAQwMZpFYgIjvrf63Rppw5vuqe77-6O8tOlHloUnIp-qBco744ouKOnEgWI69QDDRhw4ok4comsXGL4JLLEcNZ4JNsqyEjHdeKS8L0VcYIh3inBDoqyBoM8dDTeuzSLDJeVRzNwIUwdwZobYL4ETRSYyggGK8oqe9uWstQhDDBlbUtDvhQZTICjiUuiRZxaz2gGeZTc9IqGreZyJ0W236CvBaqGyykfP1R9_q1g9jNnqRHaIrC3pUWd4REVc1tNWFShITwoYHADpiYwFrvZ_Nh1x_o8duP8XFzHNh_nzxoF52vf_1EeYyGvXDteWaz9F995rd2idJ2Vv_Z8tEDXob7k_z99fQNS0nwI.XJSZ_Q.3_iBKhibYVxr1bh-Jy0FYVqxTSM; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Fri, 22 Mar 2019 08:17:01 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"team_id\": \"5c905cbe96db8a29935651d6\",\n        \"user_id\": \"5c9202c896db8a6bb1d3cd9b\"\n    },\n    \"message\": \"The user was deleted successfully.\",\n    \"status\": \"success\"\n}"}],"_postman_id":"0301959c-42f2-4b7d-9065-db6ba1e1a5c8"},{"name":"Resend Team Invitation","id":"42b00a88-6b91-4700-859d-008b24081b02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{endpoint}}/api/v1/teams/:id/users/:user_id/resend-invite","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","teams",":id","users",":user_id","resend-invite"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"","key":"id"},{"type":"any","value":"","key":"user_id"}]}},"response":[],"_postman_id":"42b00a88-6b91-4700-859d-008b24081b02"},{"name":"Restore Team Member","id":"09a0a4fd-faaa-470f-97ee-c597c959579e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{endpoint}}/api/v1/teams/:id/users/:user_id/restore","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","teams",":id","users",":user_id","restore"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"","key":"id"},{"type":"any","value":"","key":"user_id"}]}},"response":[],"_postman_id":"09a0a4fd-faaa-470f-97ee-c597c959579e"},{"name":"Check Deletable Team","id":"c832e87a-6d5a-4bbd-ad48-fc4155339ade","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-length":true,"host":true,"user-agent":true,"accept-encoding":true,"connection":true,"accept":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{base_url}}/teams/:id/deletable","urlObject":{"path":["teams",":id","deletable"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"600a65abe7c3257997391d5c","key":"id"}]}},"response":[{"id":"199cc4ae-cf5a-460b-b3d9-87d55e3a7e4e","name":"Forbidden - Could not delete a team","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json","disabled":true}],"url":{"raw":"{{base_url}}/teams/:id/deletable","host":["{{base_url}}"],"path":["teams",":id","deletable"],"variable":[{"key":"id","value":"600a65abe7c3257997391d5c"}]}},"status":"FORBIDDEN","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"188"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjhmZjQ5NDQ2ZmVjY2M4YWVkNWI0OGIzMjIwNjQ2OTMzYzA3YmQ4OWUi.YAqJYw.7CLKvnfJIE2UumlC5SdOkHiG9QA"},{"key":"Set-Cookie","value":"session=0242c3d2-3dbb-476f-b61a-aad6b25f98a9.hFeh4iyujZDOqb8DmVMpEo7XzS8; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 22 Jan 2021 08:14:27 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"ERROR\",\n    \"http_status\": 403,\n    \"message\": \"There was an error deleting team. This team has been assigned to an open block \\\"EVENTTEAM\\\".\",\n    \"status\": \"failure\"\n}"},{"id":"de3a2dc5-e19f-46a6-9901-e0200ea1d62c","name":"Ok - Successful checked deletable team","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json","disabled":true}],"url":{"raw":"{{base_url}}/teams/:id/deletable","host":["{{base_url}}"],"path":["teams",":id","deletable"],"variable":[{"key":"id","value":"600a65abe7c3257997391d5c"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"128"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjhmZjQ5NDQ2ZmVjY2M4YWVkNWI0OGIzMjIwNjQ2OTMzYzA3YmQ4OWUi.YAp5XQ.FzBuG8OEW8NvrlFMDOYKGJUaY_Q"},{"key":"Set-Cookie","value":"session=0242c3d2-3dbb-476f-b61a-aad6b25f98a9.hFeh4iyujZDOqb8DmVMpEo7XzS8; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 22 Jan 2021 07:06:05 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"block_names\": [\n            \"EVENTTEAM\"\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"c832e87a-6d5a-4bbd-ad48-fc4155339ade"},{"name":"Delete Team","id":"b1f693ea-65a9-409b-97a1-441d2f4aa173","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{endpoint}}/api/v1/teams/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","teams",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"5c8e41761c9157babc8f5f49","key":"id"}]}},"response":[],"_postman_id":"b1f693ea-65a9-409b-97a1-441d2f4aa173"},{"name":"Team Matrix","id":"2e6c19af-4a20-481b-a324-b2faaf89a13f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/teams/:id/roles","urlObject":{"path":["teams",":id","roles"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"5ffbd1bde739d70adb981e28","key":"id"}]}},"response":[{"id":"27272025-35f7-45ec-abb0-668c165a0bf1","name":"Team Matrix","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/teams/:id/roles","host":["{{endpoint}}"],"path":["api","v1","teams",":id","roles"],"variable":[{"key":"id","value":"5c905cbe96db8a29935651d6"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"11709"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9kDFvgzAUhP9K5TmqggkNRcrQCoSI9GwROUH2goAQwMZpFYgIjvrf63Rppw5vuqe77-6O8tOlHloUnIp-qBco744ouKOnEgWI69QDDRhw4ok4comsXGL4JLLEcNZ4JNsqyEjHdeKS8L0VcYIh3inBDoqyBoM8dDTeuzSLDJeVRzNwIUwdwZobYL4ETRSYyggGK8oqe9uWstQhDDBlbUtDvhQZTICjiUuiRZxaz2gGeZTc9IqGreZyJ0W236CvBaqGyykfP1R9_q1g9jNnqRHaIrC3pUWd4REVc1tNWFShITwoYHADpiYwFrvZ_Nh1x_o8duP8XFzHNh_nzxoF52vf_1EeYyGvXDteWaz9F995rd2idJ2Vv_Z8tEDXob7k_z99fQNS0nwI.XKbedg.BAPBmYZccuj-IPe9XulBOkTF8E0; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Fri, 05 Apr 2019 04:49:58 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": [\n        {\n            \"description\": \"Owner\",\n            \"name\": \"owner\",\n            \"permissions\": [\n                {\n                    \"group\": \"Reservations\",\n                    \"items\": [\n                        {\n                            \"description\": \"Add Reservation\",\n                            \"name\": \"reservation.add\"\n                        },\n                        {\n                            \"description\": \"Cancel Reservation\",\n                            \"name\": \"reservation.cancel\"\n                        },\n                        {\n                            \"description\": \"Edit Reservation\",\n                            \"name\": \"reservation.edit\"\n                        },\n                        {\n                            \"description\": \"View Reservations\",\n                            \"name\": \"reservation.view\"\n                        }\n                    ]\n                },\n                {\n                    \"group\": \"Blocks\",\n                    \"items\": [\n                        {\n                            \"description\": \"Cancel Block\",\n                            \"name\": \"block.cancel\"\n                        },\n                        {\n                            \"description\": \"User can close reservations website\",\n                            \"name\": \"block.close_res\"\n                        },\n                        {\n                            \"description\": \"View Blocks\",\n                            \"name\": \"block.view\"\n                        }\n                    ]\n                },\n                {\n                    \"group\": \"User Access Interface\",\n                    \"items\": [\n                        {\n                            \"description\": \"Add Admins\",\n                            \"name\": \"admin.add\"\n                        },\n                        {\n                            \"description\": \"Delete Admins\",\n                            \"name\": \"admin.delete\"\n                        },\n                        {\n                            \"description\": \"View Admins\",\n                            \"name\": \"admin.view\"\n                        },\n                        {\n                            \"description\": \"Add Manager\",\n                            \"name\": \"manager.add\"\n                        },\n                        {\n                            \"description\": \"Delete Manager\",\n                            \"name\": \"manager.delete\"\n                        },\n                        {\n                            \"description\": \"View Managers\",\n                            \"name\": \"manager.view\"\n                        },\n                        {\n                            \"description\": \"Add User\",\n                            \"name\": \"user.add\"\n                        },\n                        {\n                            \"description\": \"Delete User\",\n                            \"name\": \"user.delete\"\n                        },\n                        {\n                            \"description\": \"View Users\",\n                            \"name\": \"user.view\"\n                        }\n                    ]\n                },\n                {\n                    \"group\": \"Teams\",\n                    \"items\": [\n                        {\n                            \"description\": \"Add Teams\",\n                            \"name\": \"team.add\"\n                        },\n                        {\n                            \"description\": \"Assign Teams\",\n                            \"name\": \"team.assign\"\n                        },\n                        {\n                            \"description\": \"Delete Teams\",\n                            \"name\": \"team.delete\"\n                        },\n                        {\n                            \"description\": \"Edit Teams\",\n                            \"name\": \"team.edit\"\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"description\": \"Admin\",\n            \"name\": \"admin\",\n            \"permissions\": [\n                {\n                    \"group\": \"Reservations\",\n                    \"items\": [\n                        {\n                            \"description\": \"Add Reservation\",\n                            \"name\": \"reservation.add\"\n                        },\n                        {\n                            \"description\": \"Cancel Reservation\",\n                            \"name\": \"reservation.cancel\"\n                        },\n                        {\n                            \"description\": \"Edit Reservation\",\n                            \"name\": \"reservation.edit\"\n                        },\n                        {\n                            \"description\": \"View Reservations\",\n                            \"name\": \"reservation.view\"\n                        }\n                    ]\n                },\n                {\n                    \"group\": \"Blocks\",\n                    \"items\": [\n                        {\n                            \"description\": \"Cancel Block\",\n                            \"name\": \"block.cancel\"\n                        },\n                        {\n                            \"description\": \"User can close reservations website\",\n                            \"name\": \"block.close_res\"\n                        },\n                        {\n                            \"description\": \"View Blocks\",\n                            \"name\": \"block.view\"\n                        }\n                    ]\n                },\n                {\n                    \"group\": \"User Access Interface\",\n                    \"items\": [\n                        {\n                            \"description\": \"Add Admins\",\n                            \"name\": \"admin.add\"\n                        },\n                        {\n                            \"description\": \"Delete Admins\",\n                            \"name\": \"admin.delete\"\n                        },\n                        {\n                            \"description\": \"View Admins\",\n                            \"name\": \"admin.view\"\n                        },\n                        {\n                            \"description\": \"Add Manager\",\n                            \"name\": \"manager.add\"\n                        },\n                        {\n                            \"description\": \"Delete Manager\",\n                            \"name\": \"manager.delete\"\n                        },\n                        {\n                            \"description\": \"View Managers\",\n                            \"name\": \"manager.view\"\n                        },\n                        {\n                            \"description\": \"Add User\",\n                            \"name\": \"user.add\"\n                        },\n                        {\n                            \"description\": \"Delete User\",\n                            \"name\": \"user.delete\"\n                        },\n                        {\n                            \"description\": \"View Users\",\n                            \"name\": \"user.view\"\n                        }\n                    ]\n                },\n                {\n                    \"group\": \"Teams\",\n                    \"items\": [\n                        {\n                            \"description\": \"Assign Teams\",\n                            \"name\": \"team.assign\"\n                        },\n                        {\n                            \"description\": \"Edit Teams\",\n                            \"name\": \"team.edit\"\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"description\": \"Manager\",\n            \"name\": \"manager\",\n            \"permissions\": [\n                {\n                    \"group\": \"Reservations\",\n                    \"items\": [\n                        {\n                            \"description\": \"Add Reservation\",\n                            \"name\": \"reservation.add\"\n                        },\n                        {\n                            \"description\": \"Cancel Reservation\",\n                            \"name\": \"reservation.cancel\"\n                        },\n                        {\n                            \"description\": \"Edit Reservation\",\n                            \"name\": \"reservation.edit\"\n                        },\n                        {\n                            \"description\": \"View Reservations\",\n                            \"name\": \"reservation.view\"\n                        }\n                    ]\n                },\n                {\n                    \"group\": \"Blocks\",\n                    \"items\": [\n                        {\n                            \"description\": \"Cancel Block\",\n                            \"name\": \"block.cancel\"\n                        },\n                        {\n                            \"description\": \"User can close reservations website\",\n                            \"name\": \"block.close_res\"\n                        },\n                        {\n                            \"description\": \"View Blocks\",\n                            \"name\": \"block.view\"\n                        }\n                    ]\n                },\n                {\n                    \"group\": \"User Access Interface\",\n                    \"items\": [\n                        {\n                            \"description\": \"Add Manager\",\n                            \"name\": \"manager.add\"\n                        },\n                        {\n                            \"description\": \"Delete Manager\",\n                            \"name\": \"manager.delete\"\n                        },\n                        {\n                            \"description\": \"View Managers\",\n                            \"name\": \"manager.view\"\n                        },\n                        {\n                            \"description\": \"Add User\",\n                            \"name\": \"user.add\"\n                        },\n                        {\n                            \"description\": \"Delete User\",\n                            \"name\": \"user.delete\"\n                        },\n                        {\n                            \"description\": \"View Users\",\n                            \"name\": \"user.view\"\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"description\": \"User\",\n            \"name\": \"user\",\n            \"permissions\": [\n                {\n                    \"group\": \"Reservations\",\n                    \"items\": [\n                        {\n                            \"description\": \"Add Reservation\",\n                            \"name\": \"reservation.add\"\n                        },\n                        {\n                            \"description\": \"Cancel Reservation\",\n                            \"name\": \"reservation.cancel\"\n                        },\n                        {\n                            \"description\": \"Edit Reservation\",\n                            \"name\": \"reservation.edit\"\n                        },\n                        {\n                            \"description\": \"View Reservations\",\n                            \"name\": \"reservation.view\"\n                        }\n                    ]\n                },\n                {\n                    \"group\": \"Blocks\",\n                    \"items\": [\n                        {\n                            \"description\": \"View Blocks\",\n                            \"name\": \"block.view\"\n                        }\n                    ]\n                }\n            ]\n        }\n    ],\n    \"status\": \"success\"\n}"}],"_postman_id":"2e6c19af-4a20-481b-a324-b2faaf89a13f"},{"name":"Change Team User Role","id":"c2a2ee9f-12ec-495f-b038-7ca9417d67b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"role\": \"required:string\"\n}"},"url":"{{endpoint}}/api/v1/teams/:id/users/:user_id/change-role","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","teams",":id","users",":user_id","change-role"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"},{"type":"string","value":"","key":"user_id"}]}},"response":[{"id":"b4e4bc25-9c2f-4116-a82c-3a92b482026a","name":"Change Team User Role","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"role\": \"admin\"\n}"},"url":"{{endpoint}}/api/v1/teams/5cb7dfe75045ad4f497b5d0d/users/5b65677086819e07fc99b153/change_role"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"227"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UFFrgzAY_Csjz2XMVW0V-lBQg4UvYomT5EXaGKsxdqNarCn976t7GHva091xx8HdHRXVRfY18quD7uUCFU2J_Dt6OSIfgWLLJBAWUanFKdEQwMi7zBBatgkOnyhGlvMWVOaAilquMpsHmQ0mnhiNFNCoAxParIsdCMqa49QCtb1xCiOYfZfgqCZmOzHDNXvPRsDhk4cOV_s6mXtpPBG86wiNWjC6AyqmBKcTKGHzPHSYiRTPs5HReIMeCyT6S1UMn608_05gRizBgAU0tAndKU7TZ3zWuiFBe-MYloyeHKZODslji-APzU-bn7qmlOehGabXw3Woi2H6ksg_X7X-48xnIeforuTac9fu2vLk26oSnne03BIt0LWXl-L_0OMbbDh9wQ.XL7Chw.x_s1-5vOXH7yIUYrEFoHOeHmEV8; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Tue, 23 Apr 2019 07:45:11 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"team_id\": \"5cb7dfe75045ad4f497b5d0d\",\n        \"user_id\": \"5b65677086819e07fc99b153\"\n    },\n    \"message\": \"The user role has been changed successfully.\",\n    \"status\": \"success\"\n}"}],"_postman_id":"c2a2ee9f-12ec-495f-b038-7ca9417d67b2"}],"id":"d033e26b-5ced-46bd-a854-e0b92253da8c","_postman_id":"d033e26b-5ced-46bd-a854-e0b92253da8c","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Property","item":[{"name":"Get Block by Code","id":"c54ba329-44c5-4872-97c1-bfba37df2116","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/pms/hotels/:id/blocks/:code","urlObject":{"path":["pms","hotels",":id","blocks",":code"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"},{"type":"string","value":"2110MEETIN","key":"code"}]}},"response":[{"id":"63ee4b80-e8e8-4054-9a6f-53011150d023","name":"Hapi Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/pms/hotels/current/blocks/:code","host":["{{endpoint}}"],"path":["api","v1","pms","hotels","current","blocks",":code"],"variable":[{"key":"code","value":"IDEM1903"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"606"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UMtugzAQ_JXK56gKD6ctUg6NwIjDOkpkipYLSoHUGJNWgQhwlH-vm0PVU48zuzM7s1dSHM91L0lwPOi-XpCiqUhwJQ_vJCC5YHor3lquUgdCLSF8HXOBzjasFHaJhwJH3jGdh5s2j1mDIrIYPYgjB8zOQdH6FvtcsRZVOWOX-mjaiauqwyydIEtn7iZ-Hu88y1Mu0hEymLjZNzwELw_3GkxkQHxM0IEP2c7YO9LmoZBxhQqXVj9hh2tyW5CyPx-L4bOtT78VeJeaXDFrs5E8ZhoNk5AlExgcrXwEsZHbLKE2MgXFGlDRCOP6btdU9WlohvnxcBlkMcxfNQlOF63_TH6eRWjpLJ_cyqFLnx4qrypX7rPrrF7Iglz6-lz8v3T7Bk6RfXI.XK2Z5A.J46tJqYp1_ztTBUH26DgvJxM99Y; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Wed, 10 Apr 2019 07:23:16 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"able_check_in\": \"2019-09-16T00:00:00\",\n        \"able_check_out\": \"2019-09-20T00:00:00\",\n        \"closeable_at\": null,\n        \"closeable_res_at\": null,\n        \"code\": \"1909IDEMTE\",\n        \"contracted_from_date\": \"2019-09-16T00:00:00\",\n        \"contracted_to_date\": \"2019-09-20T00:00:00\",\n        \"description\": null,\n        \"last_booked_at\": null,\n        \"name\": \"IDEM Test June\",\n        \"night_count\": 4,\n        \"post_event_days\": 0,\n        \"pre_event_days\": 0,\n        \"rooms\": [\n            {\n                \"check_in\": \"2019-09-16T00:00:00\",\n                \"check_out\": \"2019-09-20T00:00:00\",\n                \"hotel_check_in\": \"2019-09-16T00:00:00\",\n                \"hotel_check_out\": \"2019-09-20T00:00:00\",\n                \"hotel_post\": 0,\n                \"hotel_pre\": 0,\n                \"name\": \"DELUXE KING\",\n                \"post\": 0,\n                \"pre\": 0,\n                \"rate_plans\": [\n                    {\n                        \"capacity_number\": 4,\n                        \"code\": \"\",\n                        \"description\": \"\",\n                        \"market_code\": \"\",\n                        \"min_night\": 1,\n                        \"name\": \"\",\n                        \"occupancy_rates\": [\n                            {\n                                \"master_billing\": false,\n                                \"rate\": 0\n                            },\n                            {\n                                \"master_billing\": false,\n                                \"rate\": 0\n                            },\n                            {\n                                \"master_billing\": false,\n                                \"rate\": 0\n                            },\n                            {\n                                \"master_billing\": false,\n                                \"rate\": 0\n                            }\n                        ],\n                        \"room_dates\": [\n                            {\n                                \"date\": \"2019-09-16T00:00:00\",\n                                \"is_contracted\": true,\n                                \"rate\": 200,\n                                \"room_classes\": []\n                            },\n                            {\n                                \"date\": \"2019-09-17T00:00:00\",\n                                \"is_contracted\": true,\n                                \"rate\": 200,\n                                \"room_classes\": []\n                            },\n                            {\n                                \"date\": \"2019-09-18T00:00:00\",\n                                \"is_contracted\": true,\n                                \"rate\": 200,\n                                \"room_classes\": []\n                            },\n                            {\n                                \"date\": \"2019-09-19T00:00:00\",\n                                \"is_contracted\": true,\n                                \"rate\": 200,\n                                \"room_classes\": []\n                            }\n                        ],\n                        \"sell_end_date\": \"2019-09-20T00:00:00\",\n                        \"sell_start_date\": \"2019-06-25T23:01:07.693612+07:00\",\n                        \"source_code\": \"\"\n                    }\n                ],\n                \"room_code\": \"DLK\",\n                \"room_inventories\": [\n                    {\n                        \"date\": \"2019-09-16T00:00:00\",\n                        \"is_contracted\": true,\n                        \"quantity\": 20,\n                        \"room_classes\": []\n                    },\n                    {\n                        \"date\": \"2019-09-17T00:00:00\",\n                        \"is_contracted\": true,\n                        \"quantity\": 20,\n                        \"room_classes\": []\n                    },\n                    {\n                        \"date\": \"2019-09-18T00:00:00\",\n                        \"is_contracted\": true,\n                        \"quantity\": 20,\n                        \"room_classes\": []\n                    },\n                    {\n                        \"date\": \"2019-09-19T00:00:00\",\n                        \"is_contracted\": true,\n                        \"quantity\": 20,\n                        \"room_classes\": []\n                    }\n                ],\n                \"type\": \"5cadb5e496db8a23bc9a571c\"\n            },\n            {\n                \"check_in\": \"2019-09-16T00:00:00\",\n                \"check_out\": \"2019-09-20T00:00:00\",\n                \"hotel_check_in\": \"2019-09-16T00:00:00\",\n                \"hotel_check_out\": \"2019-09-20T00:00:00\",\n                \"hotel_post\": 0,\n                \"hotel_pre\": 0,\n                \"name\": \"KING ROOM\",\n                \"post\": 0,\n                \"pre\": 0,\n                \"rate_plans\": [\n                    {\n                        \"capacity_number\": 4,\n                        \"code\": \"\",\n                        \"description\": \"\",\n                        \"market_code\": \"\",\n                        \"min_night\": 1,\n                        \"name\": \"\",\n                        \"occupancy_rates\": [\n                            {\n                                \"master_billing\": false,\n                                \"rate\": 0\n                            },\n                            {\n                                \"master_billing\": false,\n                                \"rate\": 0\n                            },\n                            {\n                                \"master_billing\": false,\n                                \"rate\": 0\n                            },\n                            {\n                                \"master_billing\": false,\n                                \"rate\": 0\n                            }\n                        ],\n                        \"room_dates\": [\n                            {\n                                \"date\": \"2019-09-16T00:00:00\",\n                                \"is_contracted\": true,\n                                \"rate\": 150,\n                                \"room_classes\": []\n                            },\n                            {\n                                \"date\": \"2019-09-17T00:00:00\",\n                                \"is_contracted\": true,\n                                \"rate\": 150,\n                                \"room_classes\": []\n                            },\n                            {\n                                \"date\": \"2019-09-18T00:00:00\",\n                                \"is_contracted\": true,\n                                \"rate\": 150,\n                                \"room_classes\": []\n                            },\n                            {\n                                \"date\": \"2019-09-19T00:00:00\",\n                                \"is_contracted\": true,\n                                \"rate\": 150,\n                                \"room_classes\": []\n                            }\n                        ],\n                        \"sell_end_date\": \"2019-09-20T00:00:00\",\n                        \"sell_start_date\": \"2019-06-25T23:01:07.694542+07:00\",\n                        \"source_code\": \"\"\n                    }\n                ],\n                \"room_code\": \"KNG\",\n                \"room_inventories\": [\n                    {\n                        \"date\": \"2019-09-16T00:00:00\",\n                        \"is_contracted\": true,\n                        \"quantity\": 20,\n                        \"room_classes\": []\n                    },\n                    {\n                        \"date\": \"2019-09-17T00:00:00\",\n                        \"is_contracted\": true,\n                        \"quantity\": 20,\n                        \"room_classes\": []\n                    },\n                    {\n                        \"date\": \"2019-09-18T00:00:00\",\n                        \"is_contracted\": true,\n                        \"quantity\": 20,\n                        \"room_classes\": []\n                    },\n                    {\n                        \"date\": \"2019-09-19T00:00:00\",\n                        \"is_contracted\": true,\n                        \"quantity\": 20,\n                        \"room_classes\": []\n                    }\n                ],\n                \"type\": \"5cadb52a96db8a23bc9a571a\"\n            },\n            {\n                \"check_in\": \"2019-09-16T00:00:00\",\n                \"check_out\": \"2019-09-20T00:00:00\",\n                \"hotel_check_in\": \"2019-09-16T00:00:00\",\n                \"hotel_check_out\": \"2019-09-20T00:00:00\",\n                \"hotel_post\": 0,\n                \"hotel_pre\": 0,\n                \"name\": \"DELUXE DOUBLE\",\n                \"post\": 0,\n                \"pre\": 0,\n                \"rate_plans\": [\n                    {\n                        \"capacity_number\": 4,\n                        \"code\": \"\",\n                        \"description\": \"\",\n                        \"market_code\": \"\",\n                        \"min_night\": 1,\n                        \"name\": \"\",\n                        \"occupancy_rates\": [\n                            {\n                                \"master_billing\": false,\n                                \"rate\": 0\n                            },\n                            {\n                                \"master_billing\": false,\n                                \"rate\": 0\n                            },\n                            {\n                                \"master_billing\": false,\n                                \"rate\": 50\n                            },\n                            {\n                                \"master_billing\": false,\n                                \"rate\": 100\n                            }\n                        ],\n                        \"room_dates\": [\n                            {\n                                \"date\": \"2019-09-16T00:00:00\",\n                                \"is_contracted\": true,\n                                \"rate\": 200,\n                                \"room_classes\": []\n                            },\n                            {\n                                \"date\": \"2019-09-17T00:00:00\",\n                                \"is_contracted\": true,\n                                \"rate\": 200,\n                                \"room_classes\": []\n                            },\n                            {\n                                \"date\": \"2019-09-18T00:00:00\",\n                                \"is_contracted\": true,\n                                \"rate\": 200,\n                                \"room_classes\": []\n                            },\n                            {\n                                \"date\": \"2019-09-19T00:00:00\",\n                                \"is_contracted\": true,\n                                \"rate\": 200,\n                                \"room_classes\": []\n                            }\n                        ],\n                        \"sell_end_date\": \"2019-09-20T00:00:00\",\n                        \"sell_start_date\": \"2019-06-25T23:01:07.695363+07:00\",\n                        \"source_code\": \"\"\n                    }\n                ],\n                \"room_code\": \"DLX\",\n                \"room_inventories\": [\n                    {\n                        \"date\": \"2019-09-16T00:00:00\",\n                        \"is_contracted\": true,\n                        \"quantity\": 20,\n                        \"room_classes\": []\n                    },\n                    {\n                        \"date\": \"2019-09-17T00:00:00\",\n                        \"is_contracted\": true,\n                        \"quantity\": 20,\n                        \"room_classes\": []\n                    },\n                    {\n                        \"date\": \"2019-09-18T00:00:00\",\n                        \"is_contracted\": true,\n                        \"quantity\": 20,\n                        \"room_classes\": []\n                    },\n                    {\n                        \"date\": \"2019-09-19T00:00:00\",\n                        \"is_contracted\": true,\n                        \"quantity\": 20,\n                        \"room_classes\": []\n                    }\n                ],\n                \"type\": \"5cadb5af96db8a23bc9a571b\"\n            },\n            {\n                \"check_in\": \"2019-09-16T00:00:00\",\n                \"check_out\": \"2019-09-20T00:00:00\",\n                \"hotel_check_in\": \"2019-09-16T00:00:00\",\n                \"hotel_check_out\": \"2019-09-20T00:00:00\",\n                \"hotel_post\": 0,\n                \"hotel_pre\": 0,\n                \"name\": \"DELUXE ROOM\",\n                \"post\": 0,\n                \"pre\": 0,\n                \"rate_plans\": [\n                    {\n                        \"capacity_number\": 4,\n                        \"code\": \"\",\n                        \"description\": \"\",\n                        \"market_code\": \"\",\n                        \"min_night\": 1,\n                        \"name\": \"\",\n                        \"occupancy_rates\": [\n                            {\n                                \"master_billing\": false,\n                                \"rate\": 0\n                            },\n                            {\n                                \"master_billing\": false,\n                                \"rate\": 0\n                            },\n                            {\n                                \"master_billing\": false,\n                                \"rate\": 30\n                            },\n                            {\n                                \"master_billing\": false,\n                                \"rate\": 70\n                            }\n                        ],\n                        \"room_dates\": [\n                            {\n                                \"date\": \"2019-09-16T00:00:00\",\n                                \"is_contracted\": true,\n                                \"rate\": 150,\n                                \"room_classes\": []\n                            },\n                            {\n                                \"date\": \"2019-09-17T00:00:00\",\n                                \"is_contracted\": true,\n                                \"rate\": 150,\n                                \"room_classes\": []\n                            },\n                            {\n                                \"date\": \"2019-09-18T00:00:00\",\n                                \"is_contracted\": true,\n                                \"rate\": 150,\n                                \"room_classes\": []\n                            },\n                            {\n                                \"date\": \"2019-09-19T00:00:00\",\n                                \"is_contracted\": true,\n                                \"rate\": 150,\n                                \"room_classes\": []\n                            }\n                        ],\n                        \"sell_end_date\": \"2019-09-20T00:00:00\",\n                        \"sell_start_date\": \"2019-06-25T23:01:07.696662+07:00\",\n                        \"source_code\": \"\"\n                    }\n                ],\n                \"room_code\": \"DBL\",\n                \"room_inventories\": [\n                    {\n                        \"date\": \"2019-09-16T00:00:00\",\n                        \"is_contracted\": true,\n                        \"quantity\": 20,\n                        \"room_classes\": []\n                    },\n                    {\n                        \"date\": \"2019-09-17T00:00:00\",\n                        \"is_contracted\": true,\n                        \"quantity\": 20,\n                        \"room_classes\": []\n                    },\n                    {\n                        \"date\": \"2019-09-18T00:00:00\",\n                        \"is_contracted\": true,\n                        \"quantity\": 20,\n                        \"room_classes\": []\n                    },\n                    {\n                        \"date\": \"2019-09-19T00:00:00\",\n                        \"is_contracted\": true,\n                        \"quantity\": 20,\n                        \"room_classes\": []\n                    }\n                ],\n                \"type\": \"5b655c8f86819e07fc99b13e\"\n            }\n        ],\n        \"status\": \"open\",\n        \"type\": \"single\"\n    },\n    \"status\": \"success\"\n}"},{"id":"71302fb1-c0c6-491c-a44e-2c3082ac4833","name":"Apaleo Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/pms/hotels/current/blocks/:code","host":["{{endpoint}}"],"path":["api","v1","pms","hotels","current","blocks",":code"],"variable":[{"key":"code","value":"PRSFIHPU"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"9270"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UMtugzAQ_JXK56gKD6ctUg6NwIjDOkpkipYLSoHUGJNWgQhwlH-vm0PVU48zuzM7s1dSHM91L0lwPOi-XpCiqUhwJQ_vJCC5YHor3lquUgdCLSF8HXOBzjasFHaJhwJH3jGdh5s2j1mDIrIYPYgjB8zOQdH6FvtcsRZVOWOX-mjaiauqwyydIEtn7iZ-Hu88y1Mu0hEymLjZNzwELw_3GkxkQHxM0IEP2c7YO9LmoZBxhQqXVj9hh2tyW5CyPx-L4bOtT78VeJeaXDFrs5E8ZhoNk5AlExgcrXwEsZHbLKE2MgXFGlDRCOP6btdU9WlohvnxcBlkMcxfNQlOF63_TH6eRWjpLJ_cyqFLnx4qrypX7rPrrF7Iglz6-lz8v3T7Bk6RfXI.XS2-og.ybxfIqxyMgm-qpz11_5op4Ldxik; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Tue, 16 Jul 2019 12:10:10 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"able_check_in\": \"2019-07-20T11:00:00+00:00\",\n        \"able_check_out\": \"2019-07-25T09:00:00+00:00\",\n        \"closeable_at\": null,\n        \"closeable_res_at\": null,\n        \"code\": \"PRSFIHPU\",\n        \"contracted_from_date\": \"2019-07-20T11:00:00+00:00\",\n        \"contracted_to_date\": \"2019-07-25T09:00:00+00:00\",\n        \"description\": \"\",\n        \"ep\": {\n            \"company_name\": \"IDEM\",\n            \"email\": \"henry@idemlabs.com\",\n            \"first_name\": \"Henry\",\n            \"last_name\": \"Ngo\",\n            \"phone\": {\n                \"cc\": \"1\",\n                \"contact\": \"615-833-1162\",\n                \"country_code\": \"US\"\n            },\n            \"phone_contact\": \"1 615-833-1162\"\n        },\n        \"is_elastic\": false,\n        \"last_booked_at\": null,\n        \"name\": \"First block\",\n        \"night_count\": 4,\n        \"post_event_days\": 0,\n        \"pre_event_days\": 0,\n        \"rooms\": [\n            {\n                \"check_in\": \"2019-07-20T14:00:00+03:00\",\n                \"check_out\": \"2019-07-25T12:00:00+03:00\",\n                \"hotel_check_in\": \"2019-07-20T14:00:00+03:00\",\n                \"hotel_check_out\": \"2019-07-25T12:00:00+03:00\",\n                \"hotel_post\": 0,\n                \"hotel_pre\": 0,\n                \"name\": \"DELUXE DOUBLE\",\n                \"post\": 0,\n                \"pre\": 0,\n                \"rate_plans\": [\n                    {\n                        \"capacity_number\": 4,\n                        \"code\": \"DEMO\",\n                        \"description\": \"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.\\n\",\n                        \"is_default\": true,\n                        \"market_code\": \"\",\n                        \"min_night\": 1,\n                        \"name\": \"\",\n                        \"occupancy_rates\": [],\n                        \"room_dates\": [\n                            {\n                                \"date\": \"2019-07-20T14:00:00+03:00\",\n                                \"is_contracted\": true,\n                                \"rate\": 130,\n                                \"room_classes\": []\n                            },\n                            {\n                                \"date\": \"2019-07-21T14:00:00+03:00\",\n                                \"is_contracted\": true,\n                                \"rate\": 130,\n                                \"room_classes\": []\n                            },\n                            {\n                                \"date\": \"2019-07-22T14:00:00+03:00\",\n                                \"is_contracted\": true,\n                                \"rate\": 130,\n                                \"room_classes\": []\n                            },\n                            {\n                                \"date\": \"2019-07-23T14:00:00+03:00\",\n                                \"is_contracted\": true,\n                                \"rate\": 130,\n                                \"room_classes\": []\n                            }\n                        ],\n                        \"sell_end_date\": \"2019-07-25T09:00:00+00:00\",\n                        \"sell_start_date\": \"2019-07-16T19:10:10.886074+07:00\",\n                        \"source_code\": \"\"\n                    }\n                ],\n                \"room_code\": \"DLX\",\n                \"room_inventories\": [\n                    [\n                        {\n                            \"date\": \"2019-07-20T14:00:00+03:00\",\n                            \"is_contracted\": true,\n                            \"quantity\": 2,\n                            \"room_classes\": []\n                        },\n                        {\n                            \"date\": \"2019-07-21T14:00:00+03:00\",\n                            \"is_contracted\": true,\n                            \"quantity\": 2,\n                            \"room_classes\": []\n                        },\n                        {\n                            \"date\": \"2019-07-22T14:00:00+03:00\",\n                            \"is_contracted\": true,\n                            \"quantity\": 2,\n                            \"room_classes\": []\n                        },\n                        {\n                            \"date\": \"2019-07-23T14:00:00+03:00\",\n                            \"is_contracted\": true,\n                            \"quantity\": 2,\n                            \"room_classes\": []\n                        }\n                    ]\n                ],\n                \"type\": \"5cadb5af96db8a23bc9a571b\"\n            },\n            {\n                \"check_in\": \"2019-07-20T14:00:00+03:00\",\n                \"check_out\": \"2019-07-25T12:00:00+03:00\",\n                \"hotel_check_in\": \"2019-07-20T14:00:00+03:00\",\n                \"hotel_check_out\": \"2019-07-25T12:00:00+03:00\",\n                \"hotel_post\": 0,\n                \"hotel_pre\": 0,\n                \"name\": \"DELUXE ROOM\",\n                \"post\": 0,\n                \"pre\": 0,\n                \"rate_plans\": [\n                    {\n                        \"capacity_number\": 4,\n                        \"code\": \"LOREM\",\n                        \"description\": \"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.\",\n                        \"is_default\": true,\n                        \"market_code\": \"\",\n                        \"min_night\": 1,\n                        \"name\": \"\",\n                        \"occupancy_rates\": [],\n                        \"room_dates\": [\n                            {\n                                \"date\": \"2019-07-20T14:00:00+03:00\",\n                                \"is_contracted\": true,\n                                \"rate\": 100,\n                                \"room_classes\": []\n                            },\n                            {\n                                \"date\": \"2019-07-21T14:00:00+03:00\",\n                                \"is_contracted\": true,\n                                \"rate\": 100,\n                                \"room_classes\": []\n                            },\n                            {\n                                \"date\": \"2019-07-22T14:00:00+03:00\",\n                                \"is_contracted\": true,\n                                \"rate\": 100,\n                                \"room_classes\": []\n                            },\n                            {\n                                \"date\": \"2019-07-23T14:00:00+03:00\",\n                                \"is_contracted\": true,\n                                \"rate\": 100,\n                                \"room_classes\": []\n                            }\n                        ],\n                        \"sell_end_date\": \"2019-07-25T09:00:00+00:00\",\n                        \"sell_start_date\": \"2019-07-16T19:10:10.887651+07:00\",\n                        \"source_code\": \"\"\n                    }\n                ],\n                \"room_code\": \"DBL\",\n                \"room_inventories\": [\n                    [\n                        {\n                            \"date\": \"2019-07-20T14:00:00+03:00\",\n                            \"is_contracted\": true,\n                            \"quantity\": 2,\n                            \"room_classes\": []\n                        },\n                        {\n                            \"date\": \"2019-07-21T14:00:00+03:00\",\n                            \"is_contracted\": true,\n                            \"quantity\": 2,\n                            \"room_classes\": []\n                        },\n                        {\n                            \"date\": \"2019-07-22T14:00:00+03:00\",\n                            \"is_contracted\": true,\n                            \"quantity\": 2,\n                            \"room_classes\": []\n                        },\n                        {\n                            \"date\": \"2019-07-23T14:00:00+03:00\",\n                            \"is_contracted\": true,\n                            \"quantity\": 2,\n                            \"room_classes\": []\n                        }\n                    ]\n                ],\n                \"type\": \"5b655c8f86819e07fc99b13e\"\n            }\n        ],\n        \"status\": \"open\",\n        \"type\": \"single\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"c54ba329-44c5-4872-97c1-bfba37df2116"},{"name":"Get Rate by Code","id":"fd63195d-5477-4407-a295-4f0c4c5259aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/pms/hotels/:id/rates/:code","urlObject":{"path":["pms","hotels",":id","rates",":code"],"host":["{{base_url}}"],"query":[{"disabled":true,"key":"room_code","value":"DBL"},{"disabled":true,"key":"start","value":"2019-05-01"},{"disabled":true,"key":"end","value":"2019-05-03"}],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"},{"type":"string","value":"RACK","key":"code"}]}},"response":[{"id":"520b75ce-bdc0-4dfe-967a-248bd7c2cd99","name":"Get Rate by Code","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/pms/hotels/current/rates/:code?room_code=DBL&start=2019-05-01&end=2019-05-03","host":["{{endpoint}}"],"path":["api","v1","pms","hotels","current","rates",":code"],"query":[{"key":"room_code","value":"DBL"},{"key":"start","value":"2019-05-01"},{"key":"end","value":"2019-05-03"}],"variable":[{"key":"code","value":"FIDM"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"3294"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UMtugzAQ_JXK56gKD6ctUg6NwIjDOkpkipYLSoHUGJNWgQhwlH-vm0PVU48zuzM7s1dSHM91L0lwPOi-XpCiqUhwJQ_vJCC5YHor3lquUgdCLSF8HXOBzjasFHaJhwJH3jGdh5s2j1mDIrIYPYgjB8zOQdH6FvtcsRZVOWOX-mjaiauqwyydIEtn7iZ-Hu88y1Mu0hEymLjZNzwELw_3GkxkQHxM0IEP2c7YO9LmoZBxhQqXVj9hh2tyW5CyPx-L4bOtT78VeJeaXDFrs5E8ZhoNk5AlExgcrXwEsZHbLKE2MgXFGlDRCOP6btdU9WlohvnxcBlkMcxfNQlOF63_TH6eRWjpLJ_cyqFLnx4qrypX7rPrrF7Iglz6-lz8v3T7Bk6RfXI.XK68LQ.3YN8vfqYCWNlh3566tkZRVuG_qY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Thu, 11 Apr 2019 04:01:49 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"billing\": [],\n        \"booking_policy\": null,\n        \"capacity_number\": 5,\n        \"child_policy\": [],\n        \"closeable_at\": null,\n        \"code\": \"FIDM\",\n        \"created_at\": null,\n        \"description\": \"First Demo\",\n        \"display_sequence\": 1,\n        \"end_date\": null,\n        \"market_code\": \"GROUP\",\n        \"min_night\": 1,\n        \"name\": \"FIDM\",\n        \"occupancy_rates\": [\n            {\n                \"master_billing\": false,\n                \"rate\": 0\n            },\n            {\n                \"master_billing\": false,\n                \"rate\": 20\n            },\n            {\n                \"master_billing\": false,\n                \"rate\": 30\n            },\n            {\n                \"master_billing\": false,\n                \"rate\": 40\n            },\n            {\n                \"master_billing\": false,\n                \"rate\": 50\n            }\n        ],\n        \"room_dates\": [\n            {\n                \"date\": \"2019-05-01T00:00:00\",\n                \"is_contracted\": true,\n                \"occupancy\": 5,\n                \"occupancy_rates\": [\n                    {\n                        \"master_billing\": false,\n                        \"rate\": 0\n                    },\n                    {\n                        \"master_billing\": false,\n                        \"rate\": 20\n                    },\n                    {\n                        \"master_billing\": false,\n                        \"rate\": 30\n                    },\n                    {\n                        \"master_billing\": false,\n                        \"rate\": 40\n                    },\n                    {\n                        \"master_billing\": false,\n                        \"rate\": 50\n                    }\n                ],\n                \"rate\": 100,\n                \"room_codes\": [\n                    \"DBL\",\n                    \"DLK\",\n                    \"DLX\",\n                    \"KNG\"\n                ]\n            },\n            {\n                \"date\": \"2019-05-02T00:00:00\",\n                \"is_contracted\": true,\n                \"occupancy\": 5,\n                \"occupancy_rates\": [\n                    {\n                        \"master_billing\": false,\n                        \"rate\": 0\n                    },\n                    {\n                        \"master_billing\": false,\n                        \"rate\": 0\n                    },\n                    {\n                        \"master_billing\": false,\n                        \"rate\": 100\n                    },\n                    {\n                        \"master_billing\": false,\n                        \"rate\": 150\n                    },\n                    {\n                        \"master_billing\": false,\n                        \"rate\": 200\n                    }\n                ],\n                \"rate\": 200,\n                \"room_codes\": [\n                    \"DBL\"\n                ]\n            }\n        ],\n        \"room_inclusion\": \"\",\n        \"sell_end_date\": \"2019-05-30T00:00:00\",\n        \"sell_start_date\": \"2018-03-28T00:00:00\",\n        \"source_code\": null,\n        \"start_date\": null,\n        \"use_block_policy\": false\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"fd63195d-5477-4407-a295-4f0c4c5259aa"},{"name":"Authorization","id":"28a50ab9-3693-41fc-8273-ea2ff125374f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"code\": \"01da89dc9112b2059d78d5653af6fb37d93ef53903e5246a098c38fb38a3b167\",\n\t\"hotel_id\": \"req:string(objectid)\"\n}"},"url":"{{endpoint}}/api/v1/pms/:provider/token","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","pms",":provider","token"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"apaleo","key":"provider"}]}},"response":[],"_postman_id":"28a50ab9-3693-41fc-8273-ea2ff125374f"},{"name":"Property List","id":"2127361b-b064-46ce-913b-d05ea50451f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/pms/hotels/:id/properties","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","pms","hotels",":id","properties"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"1f73c91f-643e-4f51-bfca-a3cc298682e3","name":"Property List","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/pms/hotels/current/properties"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"5418"},{"key":"X-Idem-CSRF-Token","value":"IjhhMzg5MThhZGMyZDZlMzcwYjQ2N2NjMTM3OTY0MTZkZThkNzliZTki.XVu0kg.oapVsSTB7pD5RwG1x2w4vAgrAbU"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UU1vozAQ_Ssrn6MVmJItkXpYZEISZcymdULsCyKGLB92FgVowFX_-9IcdnvqYaTRvDfvvdG8oeR8zdsCLc6pavMZSsoMLd7QtxNaoCiGgbKspOagOQOHM18DqwdR_bQo29QRWeqI8QcwawswtymZigW20HwEIg2P96MggQ1MlDT-mMMYkawWVXAT8c4CkxVQBQ7VOwfiQ0HDTUlDcKe-gooWwNY3Onlxk9UUrx1eqULoaTdcu4LwkernKdfd4wm9z5Bsr-ek-1Pnl_8nhIGJSD1E4bLmZlNTvTfU-OUU1eEYBjDSpdVumKRUFO6cKN6oaPd0l_ut06ZNqjZtyqS_qn-a6erZkiuYb0ev40ffbHX2esJZK-LlLT1Cz7HXbbFdTJzXCW-2uDG_cKdyZvsvx6bYO8rPDorJ47JjpChl4MELblaAxRgTQQSrLSC-K3Wxl6q-Zymz_NKV3fg97bsi6cYmR4tLr9Qn5ONxyD1558fT3Pkxf_CsFOf2o_RkLl00Q32bX5OvSe9_AfnqrCM.XVu0kg.r4f8S5Q4cnwORwhccN_er-T6Cng; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.15.5 Python/2.7.10"},{"key":"Date","value":"Tue, 20 Aug 2019 08:51:30 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"results\": [\n            {\n                \"address\": {\n                    \"address_1\": \"Friedrichstraße 79-80\",\n                    \"address_2\": \"\",\n                    \"city\": \"Berlin\",\n                    \"country\": \"Germany\",\n                    \"country_code\": \"DE\",\n                    \"postalcode\": \"10117\"\n                },\n                \"code\": \"BER\",\n                \"description\": \"Explore the important places of recent history or simply enjoy the view over the rooftops of Berlin Mitte on our roof terrace.\",\n                \"name\": \"Hotel Berlin\",\n                \"reservation_setting\": {\n                    \"age_of_child\": [\n                        0,\n                        12\n                    ],\n                    \"currency\": \"EUR\",\n                    \"direct_payment_enabled\": false,\n                    \"fees\": [],\n                    \"include_taxes_fees\": false,\n                    \"is_upsell\": true,\n                    \"payment_provider\": \"stripe\",\n                    \"room_policy\": \"\"\n                },\n                \"timezone\": \"Europe/Berlin\"\n            },\n            {\n                \"address\": {\n                    \"address_1\": \"33 Maude Road\",\n                    \"address_2\": \"\",\n                    \"city\": \"Singapore\",\n                    \"country\": \"Singapore\",\n                    \"country_code\": \"SG\",\n                    \"postalcode\": \"208344\"\n                },\n                \"code\": \"IDEM\",\n                \"description\": \"\",\n                \"name\": \"Idem Test Property (OLD)\",\n                \"reservation_setting\": {\n                    \"age_of_child\": [\n                        0,\n                        12\n                    ],\n                    \"currency\": \"SGD\",\n                    \"direct_payment_enabled\": false,\n                    \"fees\": [],\n                    \"include_taxes_fees\": false,\n                    \"is_upsell\": true,\n                    \"payment_provider\": \"stripe\",\n                    \"room_policy\": \"\"\n                },\n                \"timezone\": \"Asia/Singapore\"\n            },\n            {\n                \"address\": {\n                    \"address_1\": \"Tarvantie 3\",\n                    \"address_2\": \"\",\n                    \"city\": \"Rovaniemi\",\n                    \"country\": \"Finland\",\n                    \"country_code\": \"FI\",\n                    \"postalcode\": \"96910\"\n                },\n                \"code\": \"IDEM1\",\n                \"description\": \"\",\n                \"name\": \"IDEM Test Property\",\n                \"reservation_setting\": {\n                    \"age_of_child\": [\n                        0,\n                        12\n                    ],\n                    \"currency\": \"EUR\",\n                    \"direct_payment_enabled\": false,\n                    \"fees\": [],\n                    \"include_taxes_fees\": false,\n                    \"is_upsell\": true,\n                    \"payment_provider\": \"stripe\",\n                    \"room_policy\": \"\"\n                },\n                \"timezone\": \"Europe/Helsinki\"\n            },\n            {\n                \"address\": {\n                    \"address_1\": \"James Street 5\",\n                    \"address_2\": \"\",\n                    \"city\": \"London\",\n                    \"country\": \"United Kingdom\",\n                    \"country_code\": \"GB\",\n                    \"postalcode\": \"WC2E 8NS\"\n                },\n                \"code\": \"LND\",\n                \"description\": \"Located in a quiet side street with a beautiful garden in the backyard, Hotel London is prefect for relaxing after a day of shopping or a night of partying.\",\n                \"name\": \"Hotel London\",\n                \"reservation_setting\": {\n                    \"age_of_child\": [\n                        0,\n                        12\n                    ],\n                    \"currency\": \"GBP\",\n                    \"direct_payment_enabled\": false,\n                    \"fees\": [],\n                    \"include_taxes_fees\": false,\n                    \"is_upsell\": true,\n                    \"payment_provider\": \"stripe\",\n                    \"room_policy\": \"\"\n                },\n                \"timezone\": \"Europe/London\"\n            },\n            {\n                \"address\": {\n                    \"address_1\": \"Leopoldstraße 8-10\",\n                    \"address_2\": \"\",\n                    \"city\": \"Munich\",\n                    \"country\": \"Germany\",\n                    \"country_code\": \"DE\",\n                    \"postalcode\": \"80802\"\n                },\n                \"code\": \"MUC\",\n                \"description\": \"This new cozy hotel is located in the heart of Schwabing and is walking distance from the historical city center.\",\n                \"name\": \"Hotel Munich\",\n                \"reservation_setting\": {\n                    \"age_of_child\": [\n                        0,\n                        12\n                    ],\n                    \"currency\": \"EUR\",\n                    \"direct_payment_enabled\": false,\n                    \"fees\": [],\n                    \"include_taxes_fees\": false,\n                    \"is_upsell\": true,\n                    \"payment_provider\": \"stripe\",\n                    \"room_policy\": \"\"\n                },\n                \"timezone\": \"Europe/Berlin\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"2127361b-b064-46ce-913b-d05ea50451f5"}],"id":"db143b98-68fa-4e90-bf0a-321d5aab4ee7","_postman_id":"db143b98-68fa-4e90-bf0a-321d5aab4ee7","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Payment","item":[{"name":"Legacy","item":[{"name":"Create a transaction group","event":[{"listen":"test","script":{"id":"faf50b12-8251-431b-b3bd-3023033ad15a","exec":["pm.test(\"Create a transaction group\", function () {","    pm.response.to.have.status(200);","    var jsonData = pm.response.json();","    pm.environment.set(\"transaction_group_id\", jsonData.data.id);","});"],"type":"text/javascript"}}],"id":"1b7f9a1b-043f-4232-ad86-b01a3634a834","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Human applications Mall\",\n    \"description\": \"Practical application Creative integrate\",\n    \"currency\": \"USD\",\n    \"total_amount\": 1995.0,\n    \"target_type\": \"Order\",\n    \"target_id\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/hotels/:id/transaction-groups","urlObject":{"path":["hotels",":id","transaction-groups"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"any","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"8708ec1d-6c02-4d9f-a969-1737fc6dd304","name":"200 OK - Successful created new transaction group","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"array Knolls intermediate\",\n    \"description\": \"monetize Vista\",\n    \"currency\": \"USD\",\n    \"total_amount\": 1995.0,\n    \"target_type\": \"Order\",\n    \"target_id\": null\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/hotels/:id/transaction-groups","host":["{{base_url}}"],"path":["hotels",":id","transaction-groups"],"variable":[{"key":"id","value":"{{hotel_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImQ1NDZhOTYwOTgyNjcxMWMwMDE3NWU0NzNmMWE5ODBhNGU3M2NjNDgi.Y6Up1w.aih_1duo78-CbCybyyhtPlJbGc4"},{"key":"Set-Cookie","value":"session=fe83629e-ad0c-42cb-9ba3-d1cd9c3a70b0.JuYxB943fpvUkkd_z4TQFlHdLXY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Fri, 23 Dec 2022 04:08:55 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"63a529d7127c85abb619f124\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"1b7f9a1b-043f-4232-ad86-b01a3634a834"},{"name":"Create a pre-payment","id":"de75584a-8ac9-441a-a350-97a83e6219ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"payment_type\": \"full_payment\",\n    \"description\": \"optical override\",\n    \"amount\": 40.00,\n    \"payment_method\": {\n        \"type\": \"encrypted_card\",\n        \"name\": \"Ms. Bert Predovic\",\n        \"number\": \"adyenjs_0_1_18$aB7l9573aM/ckPvuv5j8WbQbO83vNAwOzxpybAbTuWKpFib/JaTvWtOhOgnV0UH30k3ebYqccRtAE8z6gx0bgMF1hULXv/yUTa+M7My30oS5Fs/QbUUOi+4/fDdgGysXKR3njysRquasRS0CxGoAPXVUU8w1aKBbm0f3AzsLaJfgg5rYUDlisT4y0tZHt0XKRGKrkrFeT0B5rXpQp4vQ90rPWHcS9dZ5evjrho4EN49RcsiwEV0QKEyAw7O74DohcGE320q9tc4OQtimZsYIEekO/MCbGygws62g3ZWXnBDu+qTwn7Aj727kgQ3t84ixOx2s/zrfvqDsPsvD6MY3Ag==$pJqMaQGmjzGplEn4Hy7zIuSDsA1W5OrTT+AkTJey6AHdWw50eHVzyWebNClQs1wAGlob0uw2LP4NhfB5GrHtQkWUpYMxEyLlLrCvEGuRIMEq6h+lF7nDxQJ3fZkuSJMxOyNPbIuNXnKAX6L9hWngRICgq6BoXoQQs02O3vHfpDbClEOjDJY4sN1DUCUAw92vL75BOE6iMm+tUuHsKVTtpsqqk2IL+TUrGbAz2Shiirg3MKohVCAeKc6YLMoMCdyQ4iFYQ2ZoJO9/0ngbD+fT6EyN2PBAzQL7m9JsuFbyOHY8PsTHwZyiHrKEwNK4GO468nKbujI7Knhqt/LhLv2REjOaAP5/XKANFGFsk+VzLeA/1UpRX3jBKUtfT1qsFAxA5mBzdBlkv06d7UUT60lTk3ld28FxhJBuPK5ZznSHqaaf/pXeSGTXDNRake94pzwTr229I5gDpzFK2esfFQ==\",\n        \"exp_month\": \"adyenjs_0_1_18$brobrYdFLYbhRUmnm3U0kKDm4wgxKe/LoqAIQlKmO7JAwAJqPKtvpb2GEtQccduN11AB1D3t/sQPya+Wjepl1UR1QTlIOUWhb/axsoTTkqG60t0Tfc7/0UKU3DxNTtTDMh146TCjrHcROrwMbC9H9vUtOgm0juAXgTh9D1ughZXAR7Kxwfp8LtPwtVbk+0oOqfM8Ptw0nxRqhQJnhPqDlLhzkmPvsiuN+m6DVQpJRRD6gvZgkNe8idv5tWtw2m9RUCDTD0tn3DFcEgR16Yxw/qYIWc9H7k0HGtb0w6lLRX+O3bCdEE2zOw6IVkGbrQmHQUqmEfrN97olzy3WK15G/A==$fPa8ManXahFwyGwzA0WErM58KpOYsjquV14iDg6bN8aZqeDKRNtvq9bkjNA9cnlUFMwHqXjKwxbW61PtsAPlY23gl0lg0B1imkL+pgQ0q8a647n5G9FRmRvxTNiZGfZp1WwwD7jgYtyDo1C4ocJLMCIORSOYNVL4nXv/h/v8kLilwieBjRrRMiGMhKy5c5uAqjD5NolwNitf0iPxd2B/Jwef6NgC7u4o9Vz11ZkpohaCSKcYOqdbHJOVa/2zi7jtgnrRhSzYC8DTtz0Oj4bMCoqQOHoG/eMGgSdCYhytY8OVcjM5C24s9IoQ5bCJ4KK6vTDuF3dNeGohEaEGjimLIjJM3YgxJ1qYlO/f5NU87Pcccw==\",\n        \"exp_year\": \"adyenjs_0_1_18$tcrdenxko/S+dKjW3bR4riy9sbgNrRxZ/cBeO+G4TJzLHR8sXgCceJiPkvQA7yU4OX5dvGn8ixGZxGW63M49hc4mGKo14JAyb7ks0PJTNS8sDhydw8ajCa64eM5wY4ZQfdA5HSC5s7sgczbuBvysHnTtZLPiSXMtq6JJ8JyLPxXjvBOGXrKZOnBoNd6HozE/bpOPPpBYvQgHzu3dc7g+B8xcS+HMe1N8f8hkRQlvYut3q7EmmFQ1UvTnr7TOK3l/uK9glNrxU7eT8pe69Ui4yrvH5pMv6sA0ua+8iMnYac9GvdgsUW3feIIcl2i3RuoHmf+Ho1nDygpuPuqhxvr0rQ==$9PUIHUtOMsNCRgLPiiK+x0M5p/LU4049Ar30phHEZ9ypDb//j47OFj6d0/wZMQsl6Vp3tjsWpgNxJnW5IWVgRKnH5WVWF9BT6IkyLXn9qLLfMCMjpE6ZXP8lbjJ8rXhb9mj+RDyGKZJTe61fssj5CPH95Y3a6Y6xWNkeRWy1iyhNeUWrk2ztWKfMfoGl0IOsJmYKU4gWYgrkz6mWMQrFVr0ERwDjdBK3nXteSoz/F5cQkfVMzMY6+J2BHeDrYglfYJ4XzFR8HufjwcsI+ArFfQDz73Mr1In+kANwgf6Ex1lgfyS//wbtj4mmQ5U7JFbPiTELKqlh/ph/pPFQUTK5ywPlrCE7pZpa8Clssy8CYdJLGxw=\",\n        \"cvc\": \"adyenjs_0_1_18$OdDg5uNNGMDgHDWkZjPrMhNmVs2UmMwoDf3B5LMpdllsNtPntaJ8GiPtL9qdA5yxmy4UHNp3EOdyspcW9WFz9BuTYc4tgCtVQtJiRlkNjRwzaZ6pMpV5z+2ZUZ536ZUMTgk/kufrq+W9nr5gHwgn6SlcPQeTf80+3t9Z++VY5hO9sjWGRdfjSD2HbW2SMuTfZ8qUT61jfg7+/Qf6pFxBingFDiNZOK5F9ZSln7lt1fMcn3LeCcC2/5cvy3L3H8ziXXtgxywtG3xwiF5aQ5OnAAPhtexDsUcaKU5g/nmha1fl/sws6OpXTVOK/0JZkvUAQFIZVFA9aeWvqGI0RzBBfA==$pPe3St/nV6Q7DQRs6V68X62OMxBwryG8oJQdsZ1KgvytbJj5OmXF6KbqpA3B43EB3kORpgo3GdUeAFKvvpo4ItWkSK0h814jDkeRqD3uIXSFHIKjWvd8TOjrH52RX6E3PvqzzzIwU0SNErf4zUj5vxaVTzBY0ufvN6bdUAGmdUxi8gqnMj52c8a3Su55J0oQpBS1Ce3CfQQE9WqW4hejZ0uLgWbVAtwf93YDePfx8PubeZXMZ8ascFlWvDnfWO4FfwJ1aYHF4rOpZXVWk1IA9mhDZMZK9cJ2ayjg77NuOIF0Zq1gg9FZxWT8YD/YVXS6YUG253/bd6cDviTi7bY2JtiNW6CEYpIqMjfn\"\n    },\n    \"metadata\": {\n        \"return_url\": \"http://localhost:5001\",\n        \"origin\": \"string\",\n        \"channel\": \"string\",\n        \"billing_address\": {\n            \"email\": \"Jess_Harber@gmail.com\",\n            \"phone_number\": \"+12146825714\",\n            \"first_name\": \"Hazle\",\n            \"last_name\": \"Dooley\",\n            \"line1\": \"4600  Carolyns Circle\",\n            \"city\": \"Dallas\",\n            \"postal_code\": \"75234\",\n            \"state\": \"TX\",\n            \"country\": \"us\"\n        },\n        \"browser_info\": {\n            \"userAgent\": \"Mozilla\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/70.0.3538.110 Safari\\/537.36\",\n            \"acceptHeader\": \"text\\/html,application\\/xhtml+xml,application\\/xml;q=0.9,image\\/webp,image\\/apng,*\\/*;q=0.8\",\n            \"language\": \"nl-NL\",\n            \"colorDepth\": 24,\n            \"screenHeight\": 723,\n            \"screenWidth\": 1536,\n            \"timeZoneOffset\": 0,\n            \"javaEnabled\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/transaction-groups/:id/pre-payments","urlObject":{"path":["transaction-groups",":id","pre-payments"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"any","value":"{{transaction_group_id}}","key":"id"}]}},"response":[{"id":"2dce666d-6129-42e0-98bc-11cc5cd38f1b","name":"200 OK  - Successful created a pre-payment waiting for 3DS authentication","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"payment_type\": \"full_payment\",\n    \"description\": \"Implementation Buckinghamshire structure\",\n    \"amount\": 40.00,\n    \"payment_method\": {\n        \"type\": \"encrypted_card\",\n        \"name\": \"Henry Ngo\",\n        \"number\": \"adyenjs_0_1_25$DmmsQdKaWguTXdyRDtbjvxgfo9UfmSyZ1uEe8rNRMqygeaQ+tJ13PSwJFDD72rk5NCUWDIEPZcIZb8rXZau3Fw1D9eGNEWA7MHeIbXWkYEYVolM4g24tWTx+F0oTg3fvJ9W00FsZ+to9MspcrVI8t2l21La853Ada1qYtW/o/524Ve0MF9jofy/P0hya3iEPxxMw91XIwBRkVeQhoJaLKiO319as2rYs3NpNJipRJ5BMJVi0xrcpqLsH3ZC5IznHoUa5QYkjH6M9g+dCUCxU1XyZcOL1bZ/6+OCvbjuekdQCL73wsFH1A2HN83EVWig1OyIiXVYYim7hYZVTj4s65A==$ORE71GzfT/nrKyNh5eMQx5U69KMQYQIuX+oFZ0D5NvwAPsD3x4Hps/7Wci0USoLqleSp0S0aQF/8LJh+m+Si3d31tZ7u1f19Ai4frYSYUiEg9YXOHdzZrPLxj4zCXFkJXacbyzsy+k0CdpV6dAuB6vz2Z2ZScV3oWHH91f+Js0DbTg5KrPgYEpo2NJsiSyMc6vxKhHuf4dJpJjYdjbcfSk+Uhlixt0n4SyMKMl9jdBiU8u1BOmzylGL8PI0FwlDwcOR977rQYR06T8CxTZ3ryeEG6N4F+uJfOJf8pqzktaKB+PtAVyUG0cvJJM1GR+ZV+6Sj1wvFZJRvuN2s9nxrJZY3oQbtMlVs3hJVEPQGESvpMwEvrvcRDWlFhJ2bk9ndkaK3LfkuF1MunECqKK2lbQRaPW4Lg1kfwgM0JvvdrHe8Tv+/BY6W7zRDHKx1p6pDosPrmHGU0fKqvxdh6yOtMjJ8UpEHxR6eNVqUNVP2aOIQzfgoQSElCHP4W51BNrbLSMnGEjJBHZtLabPkyI1yIpVqczmFk8XP59Qi24k0prwMow1ND4Ed7272x+5yiTdEtCqZbd5hpljbVsmTEjEN2Hvk7qJA1SdesgBj6FzRhd+y0GdEM1r1LI6VgKX2qwWlSdZr5wZDZ49d60AcCweldCAfRO2eqyIlm+WEwLY8g+s0Bk2htYX5omzE1rziWE2Q0+nBKKMyA7A=\",\n        \"exp_month\": \"adyenjs_0_1_25$kVQkFyUun+RGf9za0OJBbrTURCypckFR7cA0audBlYm/0x80IjdPI8MVrNHFVXpNh5tgb5BAIa7BkiQocx6ZhRk0+cwF/sbTuRvUOz8w1z2sXAiN227P4YleBOFeSuach0s5R/8ZochB+Xa5dHGq8x8PzyB8qIkdz5c3kgxWnczKamguIcRpOLz+LTjCXNSkhALhmCxicCmtdDJmtxp54AgI2kVFtZcWzspOc8hESKx/Cl3D3VJfsTq2MMQi6REyuxQ/oLTvX42nQ0MKyH8dg5QdZAds/pq7hJYY8nO5AWmZywUaNbct4HhWUSmC0gd22C0hxr+7z6cWwOpNeb8fCA==$LNJTjbZSHMWoXEsyQDVIY8cR/bD50tXqyKUUyxtPG0wZ9LfMuYphEy0oYSEtq5okcE7r/x7HPMFX7uCPrk4vfBRyqYdbq81o1WCSiRh6tnzdZYDgJjS6kZN14/xZsAS7X1RFUGdZnMrxh8nH3RG/lV4vcYmQpvvln5+DrjsiDdkQ6S0oVffce9+97rspn1FBM3ORTy3/c1wCdT1CDti/IQqfss4EAOWCJVHTouk0Uks/M5GBlQT16e/NpxRQgpaDsYuFot17kMAEwQI4mnlJeW0ELLk0ZAzHpQbOXe6at/NWRW4adajJIkV9Jwpob5W/aigi1pXqb2RS0AIuy+pF1RGN8GbsQkyN+KyW6de/9tvdsjrBS3ppPBZmeiWT8KH2XjrSG4yvxWk/urmsYBa9bX6BPl6LIr+BWxG0sZ83CbU5Onc//Yv54r9yMA==\",\n        \"exp_year\": \"adyenjs_0_1_25$cO8nLIYU15/hbbySxwuhLfC9x1XheeX6qOK7wWpZwqqflYb6Z15sAlPo/CqqA5bONmbMGg0Gh1OanlWZBR3VIquYpSCZy+bwY2j9VHKNEQq+ksbvgVpuhdHxps4O04VqiiV3gs54e8iOBAj+d9xChRGKjSnn7ZlKrtKT0CFziUXrxlIL5h24n8nMGT27kbd3OFrwPBIv2/IX3A1xE4CmppMqOpFf9ixXDH3elLPb+uPm7datS1fOKM4Urc+++4QZfhsr79F5Kzyyx+3CTnQICNfl3VYhyKEOjeWX0LIi3F/CbLbcApnu4gAowLbVvSV+r/eYEB7/9XH4OGWjJB+YsQ==$5OTtIKZRsBR0kT+fZfKfSj3LY7wGi8grbhxlZvPkjsQqWUagn4bFCAMHLJZ4pkpH8zTtxOyBCXue/ayw+i4Q2Axnz6f/s21IIRHZev9tcmlVY6IpOE0gB0l+vAPtmf0AK+2905U3cKCY48usYzUFkZCT2xONu4IKRb/mVJ+OLzmKFAQAAmTCGMuyTeZ8UAa2BaoO3/hmgaOLa91R2gzb/TMSDMFCUs9dIwLqgaCAH/Ba9TNM535dJVPGk3rJ8CkSb18MlOw0QmNmVfGd8RlD6J1O5t2ZM7680yGOyI7D1ziXT/tRCSibOnvJrJf2dLrkkREnyZOP5dvFmDA0znBgHjZfGWpaNgzpg3kR5V2bdJ4W5M7Cr9Dt/fwopCvbR0TMS63FrbLrHeNA6A/WBWntPoJYyORRnng7QiB4qb3PaLyH9ZK+/MZJUutEMRE=\",\n        \"cvc\": \"adyenjs_0_1_25$pvT9xMkhGqb9LQAhur5VuzQljH9vA3SlP6avVhKb4sZaSEHQqmYGr4BwKAGqjsMyVFD+zWn9KQtlUk7HrNnmBB8C7dmhXw0PTTlYrXa5ZnnnTsQddYPPXJCDUP0AvOz2c+AlBt529HVSD7yl7dxGe4mG9XbvwPA/lHhJ/+NTYSMOfAKDVZvoxqRtLDNsLGNhv8WaSkKuPqfEXV1NwU7pLtIfNJgm622Qo/VYSOuRXgqT2lOyiVbcHbxjNGCDNUpxqMFEzi4hFXszULl3TWBoSrncHQ+2ZhtzlheA/Ko4bBMfArvqmoeo+/Gl12n45s8GGWLaAUmJxQcw9BbYzE09jg==$i1SiyImFa2lf5sefDEz8aCVLSF4DXtqmz1gqwozSjIHLUtCt/2TSzoC4siOAvbiMuY6PdMO28sGPGc/7F65xunXiJFWVD92/BdIlOZ+2HR/Yhcni0Axq6VfeR5TCYUZTs/aH9ovnioqEW1gHNWarxULKRAQChHOJEwFXUe9iDUjbHtLNmvvcjhlKjl1WpkRXumxEtbsV8AFr0aJeAJlmW5lzmTNTB+GC5yzCRHQ5t6xh7RywpqatSPLc5BReXvf4n1q+fMtykwUsNibvm+tQyfpQZkrZhlr/NiiZKI/k9S7JvUtGw4mw+0GRyghmKzMjzGH+7G0HTZnJpbmhiDNtayhUNPZZfw5lbldURCqHdPVHxGN+um7YjNqggZTQ88YuslxwBdIwa8G+3MqXaEJetm2QVo7/U97EgaoA5W0OZn66y3XXxJUEX9hlfgE+GvNb+9Dtg579N46s8IL+IjlydbD4CTITJOjWmqqFT2Ib44y+Ms5An+nJSBMJS155mdGJMOoxpub2nHDmMWztMeNawUKKDDvfpxWh8a3JNyc8GmnkrTtUgztsLcUvtOOOdw==\"\n    },\n    \"metadata\": {\n        \"return_url\": \"http://localhost:5001\",\n        \"origin\": \"http://localhost:5001\",\n        \"channel\": \"web\",\n        \"billing_address\": {\n            \"email\": \"Magali13@hotmail.com\",\n            \"phone_number\": \"+12146825714\",\n            \"first_name\": \"Lorenz\",\n            \"last_name\": \"Sanford\",\n            \"line1\": \"4600  Carolyns Circle\",\n            \"city\": \"Dallas\",\n            \"postal_code\": \"75234\",\n            \"state\": \"TX\",\n            \"country\": \"us\"\n        },\n        \"browser_info\": {\n            \"userAgent\": \"Mozilla\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/70.0.3538.110 Safari\\/537.36\",\n            \"acceptHeader\": \"text\\/html,application\\/xhtml+xml,application\\/xml;q=0.9,image\\/webp,image\\/apng,*\\/*;q=0.8\",\n            \"language\": \"nl-NL\",\n            \"colorDepth\": 24,\n            \"screenHeight\": 723,\n            \"screenWidth\": 1536,\n            \"timeZoneOffset\": 0,\n            \"javaEnabled\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/transaction-groups/:id/pre-payments","host":["{{base_url}}"],"path":["transaction-groups",":id","pre-payments"],"variable":[{"key":"id","value":"{{transaction_group_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"16216"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImQ1NDZhOTYwOTgyNjcxMWMwMDE3NWU0NzNmMWE5ODBhNGU3M2NjNDgi.Y6VqHQ.3KvVQjRUXHRK6NgwM8OXWdZfHZs"},{"key":"Set-Cookie","value":"session=fe83629e-ad0c-42cb-9ba3-d1cd9c3a70b0.JuYxB943fpvUkkd_z4TQFlHdLXY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Fri, 23 Dec 2022 08:43:09 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"customer_id\": null,\n        \"metadata\": {\n            \"action\": {\n                \"authorisationToken\": \"Ab02b4c0!BQABAgBURTxUN0ySmJn0wYJQac9JL46MyinpGrZ+13nOa8xtetvptw+kZjjzqxu4aP4Dk9M9HCAQlCtNKWWr4TJU+EArU7CLpFJqXv3IPG+MR7rQGsddHPDUQM7kXjj/hhSrVP5OQdJzmnFpycEMJ/6LsGLJSOKfQgah8UHUgCFOQuoDMRq3CCKmII82cd/7riIAu+iTQp3kyN2YFcm+Rbe7Qj6aTodAI8bmA9CnhMEIXBBC1UfJtKxsw493Spv8ilnCFlol5st5KXrP35epWXmoX/8VdJ241arXQaQoDVTFP5w0ljyU3d7zd7fZo/Q6CjeiyD6wTrTkS8CLmgRQlw3HStK8TXeIGPuxHMvZuPEG+U6pPbZuE2ePANGbsIBQ12lAZGvdokra38O4YkHHgXYQWEmLJLDZyv80BmnL7XQt4TDlRXHR+Ec7SkuSKilUUO77W881xuWUsFadBhmzqIhKQ7/6DZj6wVI9q04UI7LD1O8wB6T048OV0BrPjK/j39cgX1zDOnOpPtA+HBs9++t6rZHC0PALCFRJnMxWrWDzw3ozKuAnYVp2SZHOGlAuqx99SKqU261GIzcd9UDYhywy4tkM92DJpozN4YpaTNKzp2fKoa9TmWf6gASgozvSzGtN6aUISJXQIEFruL5RDqunGf+f/ayS89kpeHBAPrBUHxOi7BCMVIfvzy5pKNj338wvptcmAEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifSpZEjArP3KpCTq5ZKo00pGg9yAUrDE4bxaegA6CpHcit6uaPRwqyptBAuhhuW4rP0oSE9D6CErHe7XJ4w0OTXojD9jgiVm5EgBO2zUKCcqWVtyf6J4PWO5mQv537Gdg1Iusa+62pri3JMUty5zaUanTUt1CMIxx23bJ7m9fsQd0ufazLZ5WaG9C+mz/YQQ0QQhvdBD3jwpKTYsOYgnzHmecq/1m0VSUaOaoO/ecj3ypIFg0uXr9insF1pasE6ahxgIib/dZulZ05K+U2gvX8+t2/RXbudi4tP6GHuYkndzkogOQzelrcNl59bMJ10sAtGHxQWWeMLh5ciTnbWDnDnIV5C/ujkQ5MFi+ysbuRZfZuztaRPnUz+cH7kutPakl1MhgedfpWnrOzjrWRpjP/OCgV0E6t7adPpHzP5gb8JLRTkzbhYV2PsQmpElJAvYuPC1Rf9yXUdluzjG9bdFH4uYU9Ny3pmwVpSKSK81xvuE8Wp+FtOelAGjK6QX1M8eeIzCOPGBKzJpM3z/2vZ/9Wqwl9hIF4SkUiVXUJDFt2sly6IptLlUCGiWmZOuR6Ir+65NoM6gzoImhUYnNHi5gux70xNFt2o70CqDuaZRE6UuP4N1bu6lPx1tfO7chs9tWWPndwic53YuRiULZt5SqFS8WSlb/0mvPDjZAxgtMs2HsjjJGr+C+5ixNVXmGoas2yulVEFYd5fKHXUVK6ggE/krNdQ0BABDNRF5MYkRKVDqaD5Q2OkElzEI/PtOBBBQyut6hr/coX3EyYD2eO+WPnE00rCD+Z7LjKk3qh39Xc+tWydy5/WFquoIJjBYSAO/xUus2H5hQl7Wd/l3HuKILgchGAehg0TaweXq5kflQxdeAekEoUi51UujIXMwLXD/Qa4I+gNadmwv8XPk3qGb8uurCvQ+W0s4gAx9o1/lR1sclXmBGTHql2OK3c5C1U0uNaMk/mK+yosle1/n6RQNJL4HUnnAtq4iHAVstxlaFAOGkCcd+ZhSlRpN8q7kPtfGKfrmLbGN+DW7pO5H7vrtKMhloE7R7rFY+bIlahfHzm9nD+jQs++jTkEJ52XcLay3pauGj0FqPNhrRBld2xRXBTbn8YG7brY7BQ6csfg8ERyNKGqafDJx9tfCeIP5MMxwRXIfIo9il9EWDxUan/4Hgfsy8DMvieh3JXVWechc1STZ2zUyHHGtl312I2hJda4xvNBmIaGGEAVAIIyeqVPPR3U4pEOXRxEz5FIXpVDo/UacT/yU/39N92LE1VBflLU2uuGWqR7PaW19CPBcLNqISgTrqiUjvWm3sg+hj3VtnM3Eb6aL4v94ZB+1VGTYrZc/HV1tIDvupxONKNUqfa9Hb3EsTsJFiztSHqYsjA4s0YSLEcXTT5OQ/RZvNLMkq0xCp+PRQIAHwrzOGtu+y0JiRjCq7Oiqw9CTcF+yUP12YLkkIDXk2qagAXiJ9C+j1Y6f91HwLUqIHAcY64AdCl1K8vf4F/hamj28dy0O1No919Z+Sx19a+9yb2nXAUzyQKDR1+MtisHz20n2U6n43u3fLnOYlut1W502O6NHofXxGuLTNJzwlWUv5NdzbF0L+aMgGAajp5n8G6Z6vqW8LY3OvR+2lsh4yTXHHky1mDGCXHxbtrbcvy1Nc04PKvMxF+ckWxTr362fB23S3byCrnhJkA7VOxo4MEpwUjdPCIyXdANunVY9SR9VRD+BiesWm3XC/90RfbpmA6RgSbvcw5/cp65hHJM9+SPa8qJqsVsNU+wpkPuAT+CsScnJZ5GxWfuRU39iE9KOnIRUtcKGjgJWdGfpEEKXrsNhzfGfLMWSoHmOok+KCUw91HuvdEempjx4Fq/vmP6fm12IJQlvUnrZ6zg6TDsVjD8OzEEBfly2JKCviI/gxSV/xDaH7F6mmRkuJHI8BA2pdxmiBEQur9OnYL+CI56jrAOBADkEHW8YhqdIfN3cmKq6aLdT8G4N1dTCUvzZ9Ed0Er+r71QMmMkT2K7Tz5BxQuACRrzGs5MEHzBCDGjWMm1OTh+R7GFJsUK55KG/dVz9ng2Ng+mzFMyRKQEd8/qwgg5Yy+8ZGZy0BkDNXIFFq3LosEH71dzfexcOQTaRQ6ieuELVrCHtOxO+N7UoevbCWSspXX9MMXQHqDvtnPwUw52Ame6jf0FLWvpRWqyky3qwpj/1RtE7nwvh7KNUbNjsTIS0Wdatk/wdiL9CQh44quz9nM3XTAe/yn6MTfQ+hbrxEv1y+Z8jXamYqWUwDejFRnKXokpmOwc0tUAbVZ4A5s7+hUQzLwR1BCfWOy/h5DxRm1dF/wtuNpoIZaUjiydgHckdVFpzhGsOeAcGGa9nlPe1Z9Cfpac2fnIlHCVa7b2lV8Q3uWHvGWBrMV/dCA0zNWB8WCFUfJSbZIuLeYdENjrg1uh3E+UckN58fD7Vu5+gqy4YAJHm9Wmlr75El2zS3EDIgpdytwj5PihnI+9dbRCCCjuxPd/EHC8j0bAdYrjKzhxZZR08k2YE7O3DEVlNZo2tgxEVwlFFJSs/dnOO8iQKE2ABdMF3rxifRUUJx8xci1d0LLelCjAKzKYPqvEgvET2lKuYcyFueRjBo4XZBZoEpQwZ4EhjqSfuTPIfgaGaOpRnCMdOXjbBsTMDDIr0MTYEWFmdscbT1jf63LUS3ZMwNk/j6jrI/DAAJ5kPbd4KXLNVJHHc2A5ZW65DWwADU9PXnVa2wPc+6goTOCKdXBBWeDYkut9Kum8j/iND7YAbI8MqfVFvXYFF9qrz35Rdq/hbv879w14LqMH/gPcH2j5eb2OQ5hsWeUIqi/cNi9PbIZo1ldqWjzZPKV2WxQs5DtFP+hjJdCMQjHm/5AW6govd+kgNfkya1pXjv/Pn/XDmHLYjRNzOq+FMLrFcRWkMt7VSxJ+zSWxfKCccIkPabSSLwPuwPcjOH30MgEE46whQIOIZvaCxOWqN18SJqqVTzoE5fZ1ZD02kuW14yijXm4d90sdMki7ojL4NcbM47znEFbYfu48kipBUWft7CF7XM+VIEiKLGKSN7qrJOibchR1jTgwHaGesRPjDfZIS7HtMenfSVMupooi/GbYeiONb+FEpU6sUTYSUSIXoDXnU4lxm7fIDOz03ebn2iVVc7XWvTAv9zwgNhSaWu/P9LlXHAUmSC3aZDofgQ+gEGZFPh+MIwiS/8umg2Cal1s+XTpB/d5DWEf4sEsYib1xBNcalvEHZnu9hR+k9iEMH/ENQkfapH5LwoRqjBHlf0Bzx3Zm/wdueTtsPur48USf+jKnvpmbqefW54uagtDrfqN+mIeYtTgU460UpTzR3rEzx6lXKNz1VID260Kl3tCLjqo6trh06c6v05cSd5JO01u4c3lrmeLIPravJl8rgmrkqRIjV19Qqmr1AjN9F8rs2D4VBI0h9Ftv3aWp2pVS8gxVpub8gHFUEiNu77rtsV/vHTqGD5CAeZI/Rk37gtxWQtSx5fZKDd/Q5GRbLLJjV66Nkq7hRAHcVdYXXnNhIlRsZoiZQ8TQ0UO7lEmwEQ4TEh1ZZyZOeVZGliA11O7oEBrO9RQ5fOgyYCa0V/bx+EadPg4xB31BwYC0muC+F3ZT6qPs2b0Erm307yBWCK2z2Vc3gBn5YYwqYcxz8vXy2R4JjZLCE0di1dk5XQ6h2kLKWvmn7CRFZKwg==\",\n                \"paymentData\": \"Ab02b4c0!BQABAgCT+FSDLCXzDfaKocQYbM6HkgQnH2SCm/8bROucPvbKW87znDIf2UoXEMiTOj3Ki1b4wNkO7YNjaaeyL0LNMKPHVbVIPOcN8iG9uS72J5KuhJMYej1BmLaix8+ouhwnaj8Pc/cfRJRVSxai11buAUjy116iNpAFfsxFTx274XGdePDwKcw7cWnHaeRMd+8ULV0M1HxYb+b2/UrHfopssuZDPKGWxc82WibNje1oAUi92r7KnCNnRhU/OnQANtfvOxdSppIrAjoy4jS/vyOYNcHnOcKjp8sdWBLWAKAIp3SQ/Gkv0QW+o5aEhGzSnNspRYZDVQYStTw9/A46luasoE0uN3+kiiLD3KyDMrYLHhcW6XfwkYIz0rT0SJRjuwQGS5vrbJNnhuHZDvJj/AAv31FBSIqUYcZRnDIvFl3l3i7stcAZpsHNNHt3lsxjM8eeziIU6Ed4l8L/cYJBkAn5XGN2q1vnWeXqVusi8lua1QXC+wSm9pgM9NCvZ3NxkGqpj+KgMKXSQLy05hXFeJTAKNqB0uf7DhoYmN8dycY1S4IikTyQWO88d6tV2SW2HsjdH4tWY3p6BPnZ5PtLa8pvtIVA6K5ps4he5UV9LbAlFTfSY9AkiEWm1Ux6OoxiTOAOEQsYtPbgL2KfqSVxuQJRF6MyTmIIw/MSu0/sdmi01npT4BCvc66Of6VjDTrpHmRXCO8zAEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifQFXbhApQj3u6ybSrhQMAe3XcfDtEZX4s5zKZB8DcOFXcI4wJykpYO0Ym6U+FLE2Sfggu1gfQFJ96C123PZ3vPxAydn3n6hBPKHLzW1rWPXV8MS9KwU1RleaBMsL4ZUxEAcNkYRKM15LSOvyIcZmVqh16E5aAB7O5wFHRG/0ZhwjzFZ77K60pMEeqrOQNqJar+Q2lUc1bh+fTLqX8p2qsPMz6o4F3KCHnUda+FTaZyN0BtjGO2BRpqCsBdfXH1BzqNy8gyC7YwH7NQWF0kYoHzqqiwEV9dFSTkmvUYuNh9/re/lfeYB+iDkwZN6/AOGDyZQbCeWSIE6Fq/40hchjgZCFrtzPKcdgjR8U1fqEG05uCLMpGd4iNbjph2xdGsznd2HTzJhr7En2Ss4Dg8u1sk8ctYNZ2OWMqZyh8SNJiilad1NEwP7ArwASMW+s2lILvyLhxtK/1FJyXtoOzWpqw/Spq7nEwMJXbYXjdtYtY6l8aTemQvaU/8OvDf0+LVdGeaERBBbQN/tlSTWAC+dIWHqj7r5h0XeaCdsROuiA7gnwzuq4Li+2z4JYYdp3dzyIwlazNhE5cl8DK1Cd3Xb5x0SBsO+L2y0h6sk/NVB2puqWlMGLwYc70xszWE34XwaE1XktIqrqqlexypHtqc8QViGceavAZbwncAjB0g7C8ALuq0cAoKEMHG5wR8YhMVJevBeAGJeSG8xVaflQPK/R8OAu06WfWp6D/XE3WYDqyBd1XafxPJhQInPVgrMMGFtDcoOV/fPcSesVDi5osb6Ko6557GgCNcCa2jiCNiEitf9Bf5/GVICK9kDYzmhqfEHV3ufZUmSvCDkB3twyoRXYB1X/JCQoRvbV2KqWLfwixXHGwtjw5MBhdzG3+FCcnL42rvAv/Wm7j7e2WUAlmjlbox13ZdSLKwO/JzuYs4EhbSf/t3ESWw8LqoNgS+1zJZ3IEeW33o1DFqE+FaMGzq1FDHY+Mxh8tQ4AB96NhYIFTErxuFA1ekilG/XADG8KlkHgA2iU3WmwQNOmJHyui40ebPz6RB+qBfnk3b5vW1ZNjtcSGqS9n3/FZKlXmjwY0rHMhlm9rXKQrtiT8o6viZ8nixCKxTm81LB5ErKhW1cS/ZO/yQWfcWKeca1yG4F7s5VTwsV1KG2+NMXoyL1PgfWfS87yHTvDNWycBJ1+DnCxfrLR5axfS2dwy3n4lSY7oJBEiNq9Ya5nHkg2/JtSR4DmrRLrkFq1JbokBInXPy9tDDFR8ewoeK+kHBP1BzbDhN8kpRck5vpYVrdKsZRjGjh8RivEpPZUtICGsHseQADg7vkYkRA2IUMWrQAC4gvx4DoSzN8VAEdtkDiuQ8VVWiU27YXAqd5VDINNIbLybHX4r6e7rF8vB9twolmdC8LeyqnO1K673VwNWrYPxKSlYC33diw//gbbLdO6eOTxhoP/JpWAdkM/IblGyUXJicX30XbpoUqqWr6M8LOtNSOi6CGdbSJYA0iyiJjYk8q+Jfga5+cEDw72p3OqUO5l6RqClyLnGczX2fWx599HbyW/uzpvxyKvJY3tSVeLIRqteAs2FshMX7TLhHXe52YtKHyasX3DO5Cz5+bOo/gByfj4zyDdb6cDdO0/O6ZAGBJeoi6pT8MNJtLFz7OVgWbNHHOSmM6WYRGX+XeN5CX1RjSOH8VX59oR1AgvEljcfwgsg80t9ymXg+EaHEz1lDy7RWAM3ynAczQgrRVp5UK/JsdTNI5Iwxr4x2U55LxKvDJ+nnN8pPS64PFujHiHuNZY9vKH6JHGZ7S16dxhgJJbSU79/CL8qSbKce8DgSzDk7wdfIZshF4mkmEUcKVlo3+GoBXKOj+pWsJXs6erKxqV/BsCL9QsCmSkFa4Eh0FUpQX1qyrYgzfTRE1CszRJJukHImibCeRFkU8/THyEIuO8NVVRf821wppjdOXeqZyT4KPzldsB8NjhQXm0l3ZSO38fkCFyyp13wzqMzPsa5OEF1uKNSWu4sLALtLASuE291DzoAD2hfNs7bHbJ8LjuH+r8bmZvMx4UoRufiIM5moVSF3oKmZQZnVyjXrOTu6uaPHSPSCO9KDN99h/EV6wLsEFp8uGkO5F/YcAdxzb+Iu4BRePtk1rR64702Zf+udlRBnn3fBEsOdujHzHv3NVCYKx2b0e+pgmxqMjy60yxd5pyaTNU+EO7Zj0QXSrBVDZ1B0kaqJpQ7XSg1Uipu1QpcBX5ArDuJDi9owAKdDx7plGx3esUikmlGd0CkD++wwCHFlFxT63EmWjFJKgAxDRxHWovPkFbRyVpiXn2cVfv2/YlKxtaBBpVRwUYkym1Wr2yS44WaoMxAYrj5M2ZKwsOAtSnpmrO/WJxOxkswgVBHCOdDl6daoIdMXg05r3vH1WQvoasCj6ry9ulEh/KatbpJ9iEqNGzVVqpj7UnfmABbVkGAyWKOziGergVPRNkv38DPD+AVECE2Y4lp7a06ZYeaTm1igu6mZWwyt+1QW+Q4sGQ/JR4UXJyHoUQtmclEzy9SsJcIxxD4xsCgMabMbVweS7pjrThF3Y+wYlpHTMYV7qCrIWTEpmI0t8+a5P0xnvwAbfOCu649YWERszxP0s5hTDgf+5t/Pz08gIwmeF4wfdMS50OBphXcK+pRGq9yHes9bCWpmOyTP//pPojSmuLH6mntgB/u4TlPw7ptT6jQS6OT1svj8RWlLzCg8VrrHhElQrzt/4x7CA3xNdH8YyMlBKQes8nG6jX6zl2r2CVa3HKQN3rQpMhxjypCcsWzOU5YK3tPdEttE81JuAPVY3LSLI/eCDB6dPOT6/Was9afSskmHI8I/3RyK6Q9NCo7mTVB/c1VV2BCgmXm+0N0yVmTEa7VqO4bIUd+56Q0d7+dq8wjFZRj4O02j8z6LdoW7M468IYdwxdOUYlklzlEDo1KaWo47n2JLEl38z3HwUTocE9V8+hTeLb4PIFGSk+u9K7cIGQGF33igBLsd2jj9FauLLOh/obOm+hh2sS6wW/wdEbBDkqdSajr28K2U9gG6PU2mRzKM5bHC3ZnfKEAAlzG970rJA+NFc9DpXzq5mRWEdKht8TvXC1ZhbZnlWY83HxOA+WUqTG7bUNfYuUaa6cQCnOFyP1/hqxDLCWOjfQVF+lmbNXjiFFJzSikxtIPD979TW6P1MNnadNUVrDQKPNJzuPO73SRwt9a3tCYgNGnjJZyq+Dbs/eN41M7IZFliyCVRUGnecGBxMJFaHHOM6Af2T5Rtt4RJkGOP8MNts9RgOBbhcOluxbTg9+G/1Z/ng1HrdiT9aNPA2z3GiuH8ubgXY1Y7GsNkBMlH7j5CxcxslXMYb+IQf5BATC4DW+nBXrC6LWmHazTJFyfCpHe3M08TmBrsjD8i30Hkb4viKnqi1sNxIIDP4se9nySi/dUd7L8U+IrAvJjBWLd7iNk7H0udFefWwqmVpVAgdpwZ+IAzjhcFWc5K7wJKo66ov+/bwdKjQW5jXBKwc6BqmfesQ9kA/e1LCtGohHXL9zxiWRgR6PYmcpkKxNuDGJLdCErERB6kKxvJjR1cgbhFzNqjBwjrDyIOOQLIX7IMgBUz65Sa0gu8AjO7toFekD4H/e0fNy0qX3vhn5cWkgdnLNDGzs8SBHe78o2S1n3H9n8K8+hpdndLzgvJQpBJCQmbt/wSOrfplTuENHDMUABe2Zxg7eQDaEQi80QGIEu5WzI/3FwE/0R+1g1tSZF1Ll0rk9iT5GiynjFLvj5vkz0sFVB48Hn9njzfnUP1EZHZUhCTx0jxeL9pa83NlvyEseeerGxwOPh1KeTZJbaw6fQKz8Gll4YoL6/3tivIym92SXsClBb+9lplnkvzh9p9xNlzoTNHZVf/R8HtUErv1AdwY1WzxKuWvJts0d74t8EEhjhyMb/+0WFhf9WjSSBJgo0Nxjpb//cOYZ22fIB9YWlzy51Pivg7jSvrJaQbfCNlcUYtpwx5q4xKa0SUpVchfaYX/6f/uT7HRk9LalJi3PJ1tDhoAmA4W3CQSP3blfvNcnhDnWl6xIA6M5kQGeLpBlSmqwzB4P3zBMGaXyDvQasWK4tIWMiCbDaQOL0ULxUPtH79U6X+A2NZl9swv4OwcKhHl/XY7SK/b6Qi20G4efLz/JWnHGY7E1grNv7GL+3RMcKrZtOusvC+e+IhwUYSu8DyvYhK3Kfm/EPOUNcitfTLEj4ig72dt5t5Yvy7J3lhAcBCiPI/NAWarLpfpZP1q92VOHcetci5G9mVrbcvdyGADap48Z1e0DGYK1R3x0ZkJuA4D+1gpomO56YMqVZT66IiK1NWJA3gXQ3EXMTQmrTmj7LmbS7KNXbbja/KWtcQYGp4nGyNYKA1fQbiF1xyiUXl5HFNVLjWZLGxSue48/xQoNKA7HxAxlT/CwpS4RL5ijqJ6b/MgMvlKITfnDW5eq+9AShv7irXR2VBxppcUsYuioVa3rnh8BatI/Y/gSpaTRO268vHHfvTSexd5Sj39mPRKAIC2/vmhR8qnpIPeKB39JEyO3yXsp0KRCcyqsZ62x4gtY5O5ZyHhYW1RhAG0qyuKN8I6neupqBewnmGBS1FlK6icpq3gadjHQ4UMLtSbldr6DkSZgZ7RFOCXXH98KokjLY+7jb4tJQ0YGPUsxwGSDjeWCoHiIlc4VZ+Qo2siAwXvwSMDcMUCmSs910SgvqgE2Bvby6IOy2jabODFQNQvIj8r8qIrItoUvtRC5QvjtwShCgmiC0OVxkTU8t4yyEWvBRnJfT5Inhxa/KeVraimTEEgmJsUHNMrHFL+QCKI52bF6ljztGj+N67leJesJVUAkH1y/tNLay8GxKLHF2in38Tvz6tAxchD5wz5frJPswR7tHDcvDtyERuUQ68fEfifcLNaVj60nEBdMxVH62nOnosUBZly2xhLbFoYn4+c54gWsnkmpavC+vx71ZUXpUQQmb+zacf6iPDAcdMhhXeR1BD9Bujlm4ywUJenat647fAqm/ugGZru198GW6D3Jkw1OHVvoGg0tgspU36n3B2wW99m6LAGisLU7Nqirhay5+NsDSje3hE8VcVewpUPotWBPYbds36Oui/blefqOpZTd4VtrACLtaY4TZ8zwUaUllEKxsqMRcUOWHbWsU4Q14vYGw6UX5XlXEhKlvSxoBWAdG8EIfDl+1/IYHfCL9lb1668tjmfiaswsVBx76tN2KCBxWnxT+KX9UlIEZmPLcQB+W79kMu4I/Acj+Rm8cRNuQnmquD7itZob9j9YlbA36dt0ENcqjOGnxW1OUYO7D4rQqJCq2mw0i/3TT+bhYW81Kc41BL0pYckdE869+xS6Z0eip1/zAeURbiUz5pbRk/nRGNrpZFbLYlA4tuuehdY93j+N5vrtoxeQR/89RPSx1Yfvyp9luUK8FT5bo0AbPy4V7hxi+z7MkM1nK8pQ21ZDPp8CwEuLYcJqEXmaPLJ6p9qnyFhiV9h9+Sonmc2p8+zneJgmlrDvSwW438AJGfRD2ei4ow8IvQtADzM7GlFBEk1cDumx4U9zJzNAEpLJIBYyCsgfOHZeLqWEOOlFaJSzHAjmjIWFo9C0SfL2JLCuOSB28uxlWQjEWE/Hjw1FBMKApoI8N6cvVs5FODA7z71AR/Fgj/8jkMY0kNRY8lE6LNfdOArYnZwm5zlR8hxqrHQVlkbRFuG9eAqwj85bZKArm4U3y7LtyF8yECRA0aCiS+tE6vqCk1UQZd2RTX78/fkCtOMwm/T0DjlI3toDTMq7SfzPNH6r4XEapbi1MRnw7GZTc3TPJgBlCsysYFdl1S4Iaun1jaLXP7hSuJhiDFitswKXZ0rLo3fJreQK4hF0Mn2YsYDaJ7f1/EJro04vr0SaQKLVDDZTKgTctBit1oeEP8U9Lyu0MqjP/R0TaR7NVHdMLBD/qUSPSp9LXyzkeALSy5WuXSotWdP5WFc0kgQh9I9aHrCad7k/CQzz9z62mCPVg0Oe+6wHWAp3TLh4bmP3qel4+pA8M5q2h4ZvC+D1pwvZ0QFy16mWEwMKiEBXbf/vy8zQ6sZqfbl/HT5TUsLE/oQrjuS8hQyRdING7+y5Y6PgfE/vsSTVC3Uc0ZgoEh+HeeYTP3H5YNoGuagCplHOvTZMlyB8IE9qvRFHRUp49PRB9n9dKLiwzgCbwJelOng0a1l0Fmm2ii7qo5LEHtw4QQa/9CRkqhe6N4DgQ5CvY/qTl7Lv9L6iw5b1JD195gZ0AB/sxgrZ5WpJnmP2Efj7/WOIRoOFf7WPKFEP4RgUd5fl2s+D0+iN8iGldsGtUFRot+lmeUPwGKB6j7odgb19f/HxfNer79NuRGR5cekUDMA7kBRSbgqSy/Dj8uChod+pUkQZ5xoKEWGCxD0rBzw0lkP6HyEhjNW/Y8meXsb8C6+UnaWhuj7HXplVKJoSHU3HUy+f5DalDAnArsuHPm6oFdGyFfMMcZTSE5hZPVrijRxbMPTbBpYfTB84+7ZAtKc6N4FM/V0trmRRmzo/o83A3lavyEVqeb7hWlLlCf0CQeI0F1BBCUqI9Q+sPL9IgbV3JPPnDqMXGkQSbdpCk9oEteVMtMq4Uwa28ZanbcVobrh4uSiqC5O09zRSFPZGdfYVmvVjY8kPLJb5t34Hy4m+lqJBEMU9sEFVLLoy9UcruNMkdbA1JL8N6/a73EACMYNNLIU2+SsgtY8H/DHOjvURnRKUq2UJ2ZtFO/AhA0kPnHE2sW/BMLghdy/v2pIqlQ1i10mJw0xNcXb5ubnMfJxjXlLsmwuefDTWT7imB3FeqSx4fxChSIyrVL8vKhjsSwvx0R9N04Rl8Hu+fyw1ZC83PKf5artsaHAwHdRHLyRLSpfo/ugkmYfnLvum6DBFxY+GvHil9n4T0c0ldrFTmlmpwYNvMJfMYJUK56/lbn0W8MHuwjBnqlalLbpihaiuFaTZ6j6O6qEEgfUW31cKksJW6hP/0VDKv2Oa3bAOenPHABYYhPXQqNuCZYWDun255qjf5BNTyuIHbixQFl3cuwtfj8qMX4Jr31nQqjCwkjd2UOabxTX3nKt1DZKufLfXSyg//JvfhlDBcCio/P1tDBGIxhfapOhn+RflMb77kUy4VU+wB7g93RIc1aOM6L5AQiIV95CoJTAJIhzW0doQ9klQETxGcgWmNHMwHlo6yeqEChRwBDtwG/vvmW0ILjK80OHw1pTLNg9T8FIFOR7AInYcfbDkTuF3c62bIpugo5ME5jM1gOpJZb5y+ZlzIyTUVNIwJdnmRNfQ68KA6g14cuIxWexHETFbH3XMOXgAbSdX3010zvbWHQEW8xwckZU24OO8v8FWkasfePBLDQz34cycG57Jp0/t6pacDlIk1IKt6aMokk5h71eyglVxckfUA/NkYrVYS/+yw+lDmeQRLAWr2VesGpHfYGQT4Lh8PGKG11JRHT0nko8qM9YkP6a4JUOx74M0W+1acYQYWhx/oKMWDtwKqeSVIMFnyqiqZY+f9oQDXgjmikvSu76HMDcD1kDkbVZy3oDsCvwGCReGkVxbNipWt+FjrybyAtccODvq6LT1Cisj0K5SMiq0P+lMn1QFFPpzRPyno7saN2ZDxmamsiqAaI0yYaVXKMajqOR8E4C7xpCM5p5TghblKFN8M/8tlln83A6VJorTqUDyhsquw0+gup9X98eGxsqkIhyDCBUdh4dZXIl1FxsGrl0lPJ+qj8E2PeJgtXBVceLIBTaG2wtxsvN6mO7HMWsFlT1CktCWlTDeBzz2eA6diR9TLlBDPDAH00BtTYI9AamFUmxH0DrPzMQOKF9NXhk/MzXOK2y+RJ/oY3KrVsUZs51TeUbFpY+CfmK9xtQ3qFhgFyCSYroI9XyW0sncudCW+MnmpCU1cIxbhcX+Y3WH+ap+LN7NKCFrNMVNcsxYlZ0XNqPHeduhUBvVVfX3QriV9zdpzNU8ekkbi6Mh9bofuTRfwT5HhBW4C4mGyovv80nRC1/1KtnWiZpxto3tlWW/3upR8c1D97V10Razo2AZTogatDfgXOcExJoRHW0rcPtN3YxBtVKpmNXwXM+fbRPm3q/0djWVN/OuHURmI9oPfScV4S1ipkKarYC1pCoZM3+UVUhBlWqLkjNhMyT7x/rZ+mEySsGh/4T7rs6mhrEEE9VySxV0Au3lrRDIOB8TMRX1fEQf8Fu0MLqI1+/nLJQdS4erHdzM7QAwDC72TOP0k0i24p3XMxffgzIl1c4EzIhlPLy3K22SKqcI0r4Ok622e+hIRcxUph+5xssCfV9P7wKILG7W8pCDiAlC4s0aF1XrqQZhXvLKamrSqxDi0GZzMjDPkS1sqfDXPjHZp7MXBnHFNDcLvFVyJIhRzqRc4PyOV11y9exUyhIiETbCVhekpuma1u8eCEstVbwT+1BRrfPbpPU8vs3t86+IOXUwQGw7XzgMiAd1ppHsJfBpz3w/t3KQ3Xt6hIfMIaGSrFsAsD6/FO+cG/C3JRxr9fP3v1nxDEdotdnov6mhKf08PIYTh3SpPGDUsu6yaBkZsHwjrN0bkJot8L3auQ+elyPt3NDXhzp6wocBrlCSspdiVHAqsMqS0tBGTtb3l+m360cgia9s1ZtOzqkd81OMKKkEwVUiI300kTM7wQ+j+2JpxdUWU/6mOFvA/h8fgXwHMsjcMg2uVz0C64oQG7oM2+Jbpvl/yZ3pKEVpzLogjhsycv8dNENUwvlU+rSIO47LT93O3cbMh9MlsctSfGPsgLST0DV855sYKQZNQccNNw2pqtCwGGPuVG2g1l0QxoaIT5IKrb1MfltLeqRSGA7X1KDIcJm46na3P2ZTo355vKauvhFyb55AQ7HCNwDyXTgbYXRndTuOtRQQ8nbItD6csTw90TKh4pEeQY63SUrUYR458pcjzAuPvDbv38qkFZieGAjfvxRdMZTf8j/Q+QxqBM4KXT0jYbLc+ve1JByE4PXpLLZ6Hvpz5C5k9WoumOFdBJPxsKmMGKf9m4Zufk8YlGHF70DlHChzfrXKdXUosJAIqOQqx/eoQbRKE2nRIIKWME4gquw6oXL3n3wVwZG8+W1CBe9nQx9GIHCwv7LRABirjXJcq30BPoNTlzd1xv7R6OBQrl8gL3C357Ed3uCUFhmrjF1mks/Wvev1Ej6JWPdJSG+vSMKZd3ZPeJXb2bYh4vjAQmPMazdsB+2ZcmpPsuK7pJX7eogJyhdsAF+6eeuZX9QxKkHr0hOm+lmXT+8nhB1MKT/hrfnknEP0pH+eGXSHYNoc+wLjLwtHEVHVeEnlwohjyDiWLqG+JHbbTciJ9Nrpx5KUwqLiEbSq6nA4imMOo5mfC+eGwv7Wyww8VSOpJvm9ZqrPqAT0iymtE5JEkz/HXNS/PYU0Mfz/bpL/br6vG2tGWfyZ5X2GSqr6xhZxXhyMRvbIUdl28n3bb47Uq5sF4j41Vxd9idVt5EWQFvocXSmdbgec2K3j2g3vIzGcfKo36ojF+oPWUKTOVwUU8CgSjW/PfbF3DO8ImH6HzqoXjVHQmtEYosDY6BM5E/+i4Ev+R/QItnWDgN6ARNAAYyosGUOfuLLFtTAVOLsDQicm/CbNOf85doBWKrI4pk4jCOUWKC65XtQvfPw1vE2MqYLquUjxl3yTA9J+Y5vJhRJL\",\n                \"paymentMethodType\": \"scheme\",\n                \"subtype\": \"challenge\",\n                \"token\": \"eyJhY3NSZWZlcmVuY2VOdW1iZXIiOiJBRFlFTi1BQ1MtU0lNVUxBVE9SIiwiYWNzVHJhbnNJRCI6IjdkYTcyYzc3LTU5ZjYtNDU4Zi1iNzRhLTE3NDdhMDM2MTJkNCIsImFjc1VSTCI6Imh0dHBzOlwvXC9wYWwtdGVzdC5hZHllbi5jb21cL3RocmVlZHMyc2ltdWxhdG9yXC9hY3NcL2NoYWxsZW5nZS5zaHRtbCIsIm1lc3NhZ2VWZXJzaW9uIjoiMi4xLjAiLCJ0aHJlZURTTm90aWZpY2F0aW9uVVJMIjoiaHR0cHM6XC9cL2NoZWNrb3V0c2hvcHBlci10ZXN0LmFkeWVuLmNvbVwvY2hlY2tvdXRzaG9wcGVyXC8zZG5vdGlmLnNodG1sP29yaWdpbktleT1wdWIudjIuODAxNTQ4OTM1NjQ1MzEyOC5hSFIwY0RvdkwyeHZZMkZzYUc5emREbzFNREF4LlFvMEc1OUpIUDIwcjR6bzNDLV9hWGJiUS1xMGtoSGxEZ0tJYy1rNjVIWWciLCJ0aHJlZURTUmVxdWVzdG9yQXBwVVJMIjoiaHR0cDpcL1wvbG9jYWxob3N0OjUwMDEiLCJ0aHJlZURTU2VydmVyVHJhbnNJRCI6ImJlNTc5YTEzLTliZjUtNDYzNC04M2YyLWIwNTU2YjRiYjk3YyJ9\",\n                \"type\": \"threeDS2\"\n            }\n        },\n        \"ref_status\": \"ChallengeShopper\",\n        \"status\": \"pending\",\n        \"token\": null,\n        \"transaction_id\": \"63a56a1da79257b810308a5d\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"de75584a-8ac9-441a-a350-97a83e6219ea"},{"name":"Confirm a payment transaction (submit Adyen auth result)","id":"e45de7b4-8a29-405b-b9e2-e305be04728c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"details\": {\n            \"threeDSResult\": \"eyJ0cmFuc1N0YXR1cyI6IlkiLCJhdXRob3Jpc2F0aW9uVG9rZW4iOiJBYjAyYjRjMCFCUUFCQWdBd3IrQ3dieXFSdmxZcGhTNE15OVh1a1MxOURTcW9nY2JBODJRMkM2d0xoRTV2cC9uWWJJbmEvOWZLaDhJVnhSUHVzT3lJdHR3NGIxY1hHOHpVaDRIbVB5eEo4RnZXYU9YRHhxZjd0QXBwTG5MTFlvYm0vdU1ZNHMrRC95NVJvS1ZlbDU1OExFQkNVUFVKMEh5Z2tBWUkxUDN0bmJLZkpEVUlGRE4waFcyWER6d0tMb3p0Yms2K3cxU1BuaWtaSys4UWdKRVhzL1FtUzl0Y1hudWJod0pKQkFOUHhoSmFtSmcyVVdlclRCOTRGcUhZQ2M5TXR0VXN2VXJYeE8zZmVLclRFdC80cy81OE5XelpmQ0dScjU5SDdCUkFGZTkrcWI1V3VicURDSXZWR3kzMXBtTkdOUGVoelN2dmx4amM4cGlXTSsvTjdoTDg2RndlbmNmYWxMOG9tTFB2VlViNUt2Qk5XVzdWZUlhNG1ZejFIdERlVEhFZ1JHano1a3RaL0tVdFg2K3o3RXRYR2dsb1dGNmdzM2FWallLRFo4anlwOHV2UUJTZnFETTc5dHFuSFlDT0pRcGRJbTRmL1dDWkQ3Y1VYS255UG5tVHphMW51ODNUUzZzYnptaVpSQWpBQitmbXY0OVBuRmhyNklZZ3ZNeitGSDN3YThrRC9VYlhzcE91S2Jzam8ybDdqV2hPYjdiMERGOEJzQjZEelpzMC8yNzBMRzArL1EwMG1hSnpPRjExc05BdmpvbnBhcGFYQU9BS3BzTXFENEpwV3dOdzJ5NjkyNC9RK2ZhSHN4MVN2Yll4ajFPaDdveTA1Vld5alM2YkVrN0d2ZVBONTdVbWVNbVVEc3JybEpLWjNTV1ZmSHRrV1lVVmxzV00rdlY3cmhmTXBOTmhUbXZuM0JERlN2Q0dmaFhOeHhvSkNEMXVYNW85QUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZmcHdvQWNaN2o4UzIwUHJNM2p5U2F1YnFGUFhqR0FqdVV5NW9CMHlDYkc2d0Zpak5Ranp0WXg4UEN6eksvNXovQ3hRbGxYZmRibThKUS9FcEZ3NU9NY1Q5OHhZdXJUY0R5bm1Ob2xDWHgrVWtCYVhUY3MzazFickJvTHhoSURzN2dlUWZ2ZzJjK2JmYXl6dklvbXJKcXlXYVI3SjZ3NnFVNjduL2pyRVc5T3p3T1hYemt6cWRFOElsUVdNa09CWFI3bFlJcnlaNlhFdGZJTTBxZXRhVXp3azcyY2hHaU5Eck54MmRxUXZ3TFdWSkVZMTZtSUJsaFp5QmN6V1BOWitBTWVQWi9zaWp3TzNOdUprQVlNOVpoNVBhUFBiYzkxd3VtMW52S0ppTERTWWVaMUR6MGU0ZllHSHdCdFRjaWxnTEpOMHRkK0tCZjlSTC9VTWRZbHd4RmpSbnhyNDFxV2JpcmQraEFEMmFYY1hCT3Z0VGJJa3ZQNEo4THhJbEFra0gvbWhiMjQ5RVlkTUVRUW95bm96OWQwU2IwaE5jNzMyekwzYUdiaHMzaS9nMFJSajNCeXhqYTR0S09oM0g2djRoTEFHaGMyUUtPek9qVHpNZlY0VVc5WjFIbTVDV3VjQkcwR0tCOE5OL3hZclQ3ZkMwbXl5M2F2SDYzNUxCcHR0QUtJZmJHSHdPZWVIVWVjU3Z5ZFhEYjFyTlRnN2hNNGpnZG9NZnZudjMvQStsVlFERUVNN0tFSDU1bisxUWlFa3B6OE94bW1qMlU1bjZHamU2VkhCUEhZR0REUFNJWHJlU2ZpSU9CM3B2bFE0VDY3enlrekliQXFFVUFkWmJUZ3UxM083UG5jclpyS3ZnbUhZTTY1YTQwbDkxK2dsSUdBNUNwaVBiRk5GanM5M09XREJQVnpUZm1lVFdOQk9rSmlFN0pZS2ZFRlBVdmtwNkYyRW5NMndIblZ2QVg4K2NyWmtnc0l5L0gyTEYxd2gvdDZLWDNOb1ZKVkpVV05HR3pTNWdXME0rVzk0RDJuWExZZ2dxK3A2K0NmUmlMcVNjU0ZSZ0dTOGF6L21kNFhwTkZ5QzQ4VVY4Y1gyTFRCb3gyK1p5bUx3aTFjOGlMcFJwYytveHlVVTdRRDg1dGJRL2VtcEZWUnpCaWRkY011L0s1c2lqT0RQcWcxN29nT3BRais3c0hTaURFMlJxdVRMenJxdW83d1lVVVFYbXRHSUtkRHdnV1lIS2RZMXNJaTkwZDREWktGOXpwWVRrYjlxdGVwQWFNSDF4REtQR0RiQlFxUEgvd1RwcjZGUG5NWDVrR1VoWlJ2V080UDRiV1JDelFMYytXK0FXMS9zYmYwUzFNRWxDUzlHZmNHZXE5WUZwV1g2RnozUjUvVHZXbWQ0Y1pROWZTZTQxcUV6MFMzMlM3RGx2UmNrM21ydHgvN1Y3MGxEeEhlRDJIVnF6UjVRazhXanN0OXhDcnVFbDZIS3ZQZG5HY0VDS0w3RVU1NW82cFhmRWJSK3R4U1IxR1UxUmFEOE5NSEsyMkJ0YjhxYlF0bnY0dW55c25aOGprY3BWbVpUN1k5c3JvanZkVTZJMEN1elorQ1BZTW8yM2ZQRjJwem16d3BleHdHN1E2eVhLZy93TGJiTlpUQ1FiNHJycEFFOFF5emdodXU2MkRuRWM3aVY5S3R6dUVJYlA5RTczYmJIbFdObzZESGR1WDRoUjFOZnhwRU5kblJTZkM0STgzV1hOVElqNm53TkZKTU5LZVJSRDJrYTZsRWZrWEhuMmJXNE4yTFZjbExHTVNDNFJDc2R3Q2w1cVptOVhjcGNRQytUR1craDZQNjZtKzYrdHdROHFPL201RnVUblhOcitEb3N5MVg3SUZraVhOY1BNcHl1N0pGaXNWZHRBQVNnSi8rclZ2US9lS0ZhZXRwaFRiakRMdkI2YWVCcnd0T2FvNElZR2JvOUpla3V1M3RVYURGUS9RbVpUTS9iRHkzTjFvUTBYaUF0SU1BRjVSNVcrUWZWZGhOSlRzeTdLZVpJRExrR1lzMUxmZ2RnOHVOYlhZazlza0tjYVg5Uys2SUl5bi9rSnBWWGRTU2p1OUtaVTU3czZUVGZnbi9GdWNLY1gvSXBtRFF4THRWVDhjek0wU3ZPSko1VExYMDVoOGF5RlM1SDF0b2xSU2FHU0hERCtnclFMOVh1WUpDbEZTdWdpL1YxWkNLcGpSQlR0Z3d1MThkM0RuUlIzRFZVbkpkMFRmT1VKYVpXTzFqRkhtemZNcnFCZmQ2WlljK0c3Wm5TdFJodWFaWExjUkpjb2ZTVzNnODlBT2FZK3ZOYjV2dTd2ZnVpL1BPdEtJb1J4Mml3V0Uzb1NFT1RaUndyUjVNcEZjSTF6andOZktlTHltMmpxUTRiQmFTU293aVQxV050a2dYVDFrTGJtYXJCNjRDTWcxVW1tdVV3bkNCWlhWczhXS1Z6TTlRQnY5SWcxQ3RxT0VBV0hBZ3ZqbXR2R3p5bnMvSHVKWkd0WUg4T080R09MOEMrdHdLOThkRDRsNEhocEQyRFVlREdCaXJoNlBkVG9zYUE0VkVDS1c2WldkQjIxMklPd0xXUTBCRUlLcEhsT3VwUFZLa2EyWDZyekM2UDlEWkRWT0c1bm4zdjFmZFZaNXBhRGN4alEyNXVobXJja1o1TytSKzRtbzVUZmppWDNKaXljamRTNFViWWU5SGRPUWRqdmRkWHNZM1Axd2o5dFNpU1pUMDlicTdzNUFRR0trek9yVFZ1NldJN2duaEpmVmpFNWxqaG54c0lQT2dwNlQxN0lKVEtQVG80Si91NVQwbnE1ZjVCVTJRejkvTUw3MjFPVC9UWVZ1WVBSZkVGWUtJOUVOZG43VXdaMTdiYTc3MDRYc1NvMkNBaHAvOEw4eVJOM2Y2ZTJuZzBpNkk1T1Q3TnJEYlFFNm9WczhVeTQrdVB1VWMvVXpRZkVhWnZkRENSakV3YS9lWmNFOVkrK0xjbExqeXNWR3AwVThvK3hXcEExSXQ3Y0llN09CZ0dXSytCRmM1bjc1Q1lpK0dDaFYzeHN5empsWjFPRUI4K2lwVkk5WmVNWk1sbUNocmF0b3ZtZlJIaUgzRnlhN1o2emFYSnl3SStwcmNSVzFQc3daWit5eEt2b1k3cGFNcmRhVVVTbkUrSjNDcnQ5cEtQNUhndlhkN1lyOXN2M2xNSGV3RG5nU2dobGRuSmVKUkRwLzlydDc1ZlQzL0JaTGJQeUQ0dXhhUm5MOXlNdENHVlVYTXlGaVJUQ0lNazVNSUxYaVZjMkRtWXFUZUFBMGxuR2dhSGU5R2dtdE1rZWxCVFQ1YmRHQzR0aDBvZE92TzdNdlBXdlYwYU9PMDd4WFJRZ00weDRYcEkwVElCWFRiamtwUHAzbHdYMVNIUVdLOFo3TE9XNG5HaFlQZXJKUWdmYkVqMUNyVkFtNFc3NG5vTDllN2JRbDdPQmVIVjRlcTUwc1Jnc0NRS040b1BBZktka1ovNzZod2dHcHk3TXoyRW9aTU5zcWhFMkxXRHN5eDlTSFBzYVNqd29USkpmMWYyakZObTJrb0lncUFKL1pITjQrc3ZIamZIcEh6RlFVa3NvYjRXc1VNbE9uM2RwZ3VjTGVQVHlibGJhMm9IdXAzSC9vVW1NMjNWajYwUXB4R2NUWnFTYWZXR0RKMGR6WDliYThlNTVSSFJ3U1QrSCtvUW1RR1hUSjM5Y0I2S1NmWUdtU2ZoalhNQThwbWVkcmk2WXQwWHlwdDBPQm85NExnVnJ3dTJvK2NwdGRVKzU5WHdNc0wrU0tjQnNheUU2Q2ExYktBM3JxM0lyYXNrc056eVVyQWNvRCt0ckJCVXYxQktiYTczSmNhTUxKL3RWZlVBYU1xeXpuTG8wQWNUZVF6L1hWM3lOVEV4aGNVODNNV1pjQStLajA2ZFpRZmtWWHloU0I2WXlYT3pSaVU5N2tTWFlydEVLSk81N0VRQ3M2VlltVFRiODB3MmhPZ1NWaFFHQWcydjZaclRlZ0pXYlZNRnppeFV3cHRzb0VWSC9OaEU2NWsrODd3WDY2V25HWGdVd3FQNTFqelRNYXoyYTZldWRWK2FDcjM3cklFS3ZaS1NWVVFqd3I3UkJtWk1xaENkU3J1b1QzY1lqT293Zm5YcEJvVDkwQnl1UUZzVDNIUitVenR0bWZQSTNFWiswbTdlek1xZmZVbkx2NDJBYlBHODBIaWdoTDY4WTFRbmd4eSsvWXFKTXFCS2FueFB3S1lTNkVKNThWYXUwT2E0d3phTHVhOTQwamZEdVh4UWVHa3hSZVFDd2U3bW9hMGcwcDZ4c1ZYNEMyNGlaQUgxa3J1ekI5R0RmZUdaNmZuQlNJMHFtcHExeS9hcEU5N0h3U2RGd2JKT3A3TGZkUVpVaXl4RXdENEkwakd4dWQ0cDA3QjBLWVE0L0FwbmhoNHdibDBUZFVGWFk5bS9PVFk2Nmhwc0tqTi8rbVBUMFA5RXc4MjNPeWRycFpZeDdYZ2FTUXlTR1Yzd00zandjTmFBenN5ckk2djRoMkxjenhsSXRLMGxpUT09In0=\"\n        },\n        \"payment_data\": null\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/transaction-groups/:transaction_group_id/transactions/:id/confirm-payment","urlObject":{"path":["transaction-groups",":transaction_group_id","transactions",":id","confirm-payment"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"any","value":"{{transaction_group_id}}","key":"transaction_group_id"},{"type":"any","value":"{{transaction_id}}","key":"id"}]}},"response":[{"id":"9dafe7c2-5131-4853-b4e0-93cd940e768a","name":"200 OK - Confirmed payment transaction successfully","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"details\": {\n            \"threeDSResult\": \"eyJ0cmFuc1N0YXR1cyI6IlkiLCJhdXRob3Jpc2F0aW9uVG9rZW4iOiJBYjAyYjRjMCFCUUFCQWdBd3IrQ3dieXFSdmxZcGhTNE15OVh1a1MxOURTcW9nY2JBODJRMkM2d0xoRTV2cC9uWWJJbmEvOWZLaDhJVnhSUHVzT3lJdHR3NGIxY1hHOHpVaDRIbVB5eEo4RnZXYU9YRHhxZjd0QXBwTG5MTFlvYm0vdU1ZNHMrRC95NVJvS1ZlbDU1OExFQkNVUFVKMEh5Z2tBWUkxUDN0bmJLZkpEVUlGRE4waFcyWER6d0tMb3p0Yms2K3cxU1BuaWtaSys4UWdKRVhzL1FtUzl0Y1hudWJod0pKQkFOUHhoSmFtSmcyVVdlclRCOTRGcUhZQ2M5TXR0VXN2VXJYeE8zZmVLclRFdC80cy81OE5XelpmQ0dScjU5SDdCUkFGZTkrcWI1V3VicURDSXZWR3kzMXBtTkdOUGVoelN2dmx4amM4cGlXTSsvTjdoTDg2RndlbmNmYWxMOG9tTFB2VlViNUt2Qk5XVzdWZUlhNG1ZejFIdERlVEhFZ1JHano1a3RaL0tVdFg2K3o3RXRYR2dsb1dGNmdzM2FWallLRFo4anlwOHV2UUJTZnFETTc5dHFuSFlDT0pRcGRJbTRmL1dDWkQ3Y1VYS255UG5tVHphMW51ODNUUzZzYnptaVpSQWpBQitmbXY0OVBuRmhyNklZZ3ZNeitGSDN3YThrRC9VYlhzcE91S2Jzam8ybDdqV2hPYjdiMERGOEJzQjZEelpzMC8yNzBMRzArL1EwMG1hSnpPRjExc05BdmpvbnBhcGFYQU9BS3BzTXFENEpwV3dOdzJ5NjkyNC9RK2ZhSHN4MVN2Yll4ajFPaDdveTA1Vld5alM2YkVrN0d2ZVBONTdVbWVNbVVEc3JybEpLWjNTV1ZmSHRrV1lVVmxzV00rdlY3cmhmTXBOTmhUbXZuM0JERlN2Q0dmaFhOeHhvSkNEMXVYNW85QUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZmcHdvQWNaN2o4UzIwUHJNM2p5U2F1YnFGUFhqR0FqdVV5NW9CMHlDYkc2d0Zpak5Ranp0WXg4UEN6eksvNXovQ3hRbGxYZmRibThKUS9FcEZ3NU9NY1Q5OHhZdXJUY0R5bm1Ob2xDWHgrVWtCYVhUY3MzazFickJvTHhoSURzN2dlUWZ2ZzJjK2JmYXl6dklvbXJKcXlXYVI3SjZ3NnFVNjduL2pyRVc5T3p3T1hYemt6cWRFOElsUVdNa09CWFI3bFlJcnlaNlhFdGZJTTBxZXRhVXp3azcyY2hHaU5Eck54MmRxUXZ3TFdWSkVZMTZtSUJsaFp5QmN6V1BOWitBTWVQWi9zaWp3TzNOdUprQVlNOVpoNVBhUFBiYzkxd3VtMW52S0ppTERTWWVaMUR6MGU0ZllHSHdCdFRjaWxnTEpOMHRkK0tCZjlSTC9VTWRZbHd4RmpSbnhyNDFxV2JpcmQraEFEMmFYY1hCT3Z0VGJJa3ZQNEo4THhJbEFra0gvbWhiMjQ5RVlkTUVRUW95bm96OWQwU2IwaE5jNzMyekwzYUdiaHMzaS9nMFJSajNCeXhqYTR0S09oM0g2djRoTEFHaGMyUUtPek9qVHpNZlY0VVc5WjFIbTVDV3VjQkcwR0tCOE5OL3hZclQ3ZkMwbXl5M2F2SDYzNUxCcHR0QUtJZmJHSHdPZWVIVWVjU3Z5ZFhEYjFyTlRnN2hNNGpnZG9NZnZudjMvQStsVlFERUVNN0tFSDU1bisxUWlFa3B6OE94bW1qMlU1bjZHamU2VkhCUEhZR0REUFNJWHJlU2ZpSU9CM3B2bFE0VDY3enlrekliQXFFVUFkWmJUZ3UxM083UG5jclpyS3ZnbUhZTTY1YTQwbDkxK2dsSUdBNUNwaVBiRk5GanM5M09XREJQVnpUZm1lVFdOQk9rSmlFN0pZS2ZFRlBVdmtwNkYyRW5NMndIblZ2QVg4K2NyWmtnc0l5L0gyTEYxd2gvdDZLWDNOb1ZKVkpVV05HR3pTNWdXME0rVzk0RDJuWExZZ2dxK3A2K0NmUmlMcVNjU0ZSZ0dTOGF6L21kNFhwTkZ5QzQ4VVY4Y1gyTFRCb3gyK1p5bUx3aTFjOGlMcFJwYytveHlVVTdRRDg1dGJRL2VtcEZWUnpCaWRkY011L0s1c2lqT0RQcWcxN29nT3BRais3c0hTaURFMlJxdVRMenJxdW83d1lVVVFYbXRHSUtkRHdnV1lIS2RZMXNJaTkwZDREWktGOXpwWVRrYjlxdGVwQWFNSDF4REtQR0RiQlFxUEgvd1RwcjZGUG5NWDVrR1VoWlJ2V080UDRiV1JDelFMYytXK0FXMS9zYmYwUzFNRWxDUzlHZmNHZXE5WUZwV1g2RnozUjUvVHZXbWQ0Y1pROWZTZTQxcUV6MFMzMlM3RGx2UmNrM21ydHgvN1Y3MGxEeEhlRDJIVnF6UjVRazhXanN0OXhDcnVFbDZIS3ZQZG5HY0VDS0w3RVU1NW82cFhmRWJSK3R4U1IxR1UxUmFEOE5NSEsyMkJ0YjhxYlF0bnY0dW55c25aOGprY3BWbVpUN1k5c3JvanZkVTZJMEN1elorQ1BZTW8yM2ZQRjJwem16d3BleHdHN1E2eVhLZy93TGJiTlpUQ1FiNHJycEFFOFF5emdodXU2MkRuRWM3aVY5S3R6dUVJYlA5RTczYmJIbFdObzZESGR1WDRoUjFOZnhwRU5kblJTZkM0STgzV1hOVElqNm53TkZKTU5LZVJSRDJrYTZsRWZrWEhuMmJXNE4yTFZjbExHTVNDNFJDc2R3Q2w1cVptOVhjcGNRQytUR1craDZQNjZtKzYrdHdROHFPL201RnVUblhOcitEb3N5MVg3SUZraVhOY1BNcHl1N0pGaXNWZHRBQVNnSi8rclZ2US9lS0ZhZXRwaFRiakRMdkI2YWVCcnd0T2FvNElZR2JvOUpla3V1M3RVYURGUS9RbVpUTS9iRHkzTjFvUTBYaUF0SU1BRjVSNVcrUWZWZGhOSlRzeTdLZVpJRExrR1lzMUxmZ2RnOHVOYlhZazlza0tjYVg5Uys2SUl5bi9rSnBWWGRTU2p1OUtaVTU3czZUVGZnbi9GdWNLY1gvSXBtRFF4THRWVDhjek0wU3ZPSko1VExYMDVoOGF5RlM1SDF0b2xSU2FHU0hERCtnclFMOVh1WUpDbEZTdWdpL1YxWkNLcGpSQlR0Z3d1MThkM0RuUlIzRFZVbkpkMFRmT1VKYVpXTzFqRkhtemZNcnFCZmQ2WlljK0c3Wm5TdFJodWFaWExjUkpjb2ZTVzNnODlBT2FZK3ZOYjV2dTd2ZnVpL1BPdEtJb1J4Mml3V0Uzb1NFT1RaUndyUjVNcEZjSTF6andOZktlTHltMmpxUTRiQmFTU293aVQxV050a2dYVDFrTGJtYXJCNjRDTWcxVW1tdVV3bkNCWlhWczhXS1Z6TTlRQnY5SWcxQ3RxT0VBV0hBZ3ZqbXR2R3p5bnMvSHVKWkd0WUg4T080R09MOEMrdHdLOThkRDRsNEhocEQyRFVlREdCaXJoNlBkVG9zYUE0VkVDS1c2WldkQjIxMklPd0xXUTBCRUlLcEhsT3VwUFZLa2EyWDZyekM2UDlEWkRWT0c1bm4zdjFmZFZaNXBhRGN4alEyNXVobXJja1o1TytSKzRtbzVUZmppWDNKaXljamRTNFViWWU5SGRPUWRqdmRkWHNZM1Axd2o5dFNpU1pUMDlicTdzNUFRR0trek9yVFZ1NldJN2duaEpmVmpFNWxqaG54c0lQT2dwNlQxN0lKVEtQVG80Si91NVQwbnE1ZjVCVTJRejkvTUw3MjFPVC9UWVZ1WVBSZkVGWUtJOUVOZG43VXdaMTdiYTc3MDRYc1NvMkNBaHAvOEw4eVJOM2Y2ZTJuZzBpNkk1T1Q3TnJEYlFFNm9WczhVeTQrdVB1VWMvVXpRZkVhWnZkRENSakV3YS9lWmNFOVkrK0xjbExqeXNWR3AwVThvK3hXcEExSXQ3Y0llN09CZ0dXSytCRmM1bjc1Q1lpK0dDaFYzeHN5empsWjFPRUI4K2lwVkk5WmVNWk1sbUNocmF0b3ZtZlJIaUgzRnlhN1o2emFYSnl3SStwcmNSVzFQc3daWit5eEt2b1k3cGFNcmRhVVVTbkUrSjNDcnQ5cEtQNUhndlhkN1lyOXN2M2xNSGV3RG5nU2dobGRuSmVKUkRwLzlydDc1ZlQzL0JaTGJQeUQ0dXhhUm5MOXlNdENHVlVYTXlGaVJUQ0lNazVNSUxYaVZjMkRtWXFUZUFBMGxuR2dhSGU5R2dtdE1rZWxCVFQ1YmRHQzR0aDBvZE92TzdNdlBXdlYwYU9PMDd4WFJRZ00weDRYcEkwVElCWFRiamtwUHAzbHdYMVNIUVdLOFo3TE9XNG5HaFlQZXJKUWdmYkVqMUNyVkFtNFc3NG5vTDllN2JRbDdPQmVIVjRlcTUwc1Jnc0NRS040b1BBZktka1ovNzZod2dHcHk3TXoyRW9aTU5zcWhFMkxXRHN5eDlTSFBzYVNqd29USkpmMWYyakZObTJrb0lncUFKL1pITjQrc3ZIamZIcEh6RlFVa3NvYjRXc1VNbE9uM2RwZ3VjTGVQVHlibGJhMm9IdXAzSC9vVW1NMjNWajYwUXB4R2NUWnFTYWZXR0RKMGR6WDliYThlNTVSSFJ3U1QrSCtvUW1RR1hUSjM5Y0I2S1NmWUdtU2ZoalhNQThwbWVkcmk2WXQwWHlwdDBPQm85NExnVnJ3dTJvK2NwdGRVKzU5WHdNc0wrU0tjQnNheUU2Q2ExYktBM3JxM0lyYXNrc056eVVyQWNvRCt0ckJCVXYxQktiYTczSmNhTUxKL3RWZlVBYU1xeXpuTG8wQWNUZVF6L1hWM3lOVEV4aGNVODNNV1pjQStLajA2ZFpRZmtWWHloU0I2WXlYT3pSaVU5N2tTWFlydEVLSk81N0VRQ3M2VlltVFRiODB3MmhPZ1NWaFFHQWcydjZaclRlZ0pXYlZNRnppeFV3cHRzb0VWSC9OaEU2NWsrODd3WDY2V25HWGdVd3FQNTFqelRNYXoyYTZldWRWK2FDcjM3cklFS3ZaS1NWVVFqd3I3UkJtWk1xaENkU3J1b1QzY1lqT293Zm5YcEJvVDkwQnl1UUZzVDNIUitVenR0bWZQSTNFWiswbTdlek1xZmZVbkx2NDJBYlBHODBIaWdoTDY4WTFRbmd4eSsvWXFKTXFCS2FueFB3S1lTNkVKNThWYXUwT2E0d3phTHVhOTQwamZEdVh4UWVHa3hSZVFDd2U3bW9hMGcwcDZ4c1ZYNEMyNGlaQUgxa3J1ekI5R0RmZUdaNmZuQlNJMHFtcHExeS9hcEU5N0h3U2RGd2JKT3A3TGZkUVpVaXl4RXdENEkwakd4dWQ0cDA3QjBLWVE0L0FwbmhoNHdibDBUZFVGWFk5bS9PVFk2Nmhwc0tqTi8rbVBUMFA5RXc4MjNPeWRycFpZeDdYZ2FTUXlTR1Yzd00zandjTmFBenN5ckk2djRoMkxjenhsSXRLMGxpUT09In0=\"\n        },\n        \"payment_data\": null\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/transaction-groups/:transaction_group_id/transactions/:id/confirm-payment","host":["{{base_url}}"],"path":["transaction-groups",":transaction_group_id","transactions",":id","confirm-payment"],"variable":[{"key":"transaction_group_id","value":"{{transaction_group_id}}"},{"key":"id","value":"{{transaction_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"163"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"Ijc3M2I5MDEyNTM0MmY5NzJkZmE0N2M3MDZiYzgzOTdiYzBmMjc5ZjIi.Y6iKXA.3RUATaTscJioqE3qrMUXa5kpZHM"},{"key":"Set-Cookie","value":"session=2303026f-bc3f-43a8-bbfe-27830efaa9ec.4fh39r9zBBWepBxfQXgGZKaWICI; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Sun, 25 Dec 2022 17:37:32 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\", \n    \"data\": {\n        \"card\": {\n            \"brand\": \"american_express\", \n            \"card_display\": \"xxxx xxxx xxxx 8431\", \n            \"exp_month\": \"3\", \n            \"exp_year\": \"2030\", \n            \"last4\": \"8431\", \n            \"method_display\": \"Credit Card\", \n            \"name\": \"Henry\"\n        }, \n        \"customer_id\": \"cus-henry-b64454b91e27491db9869748e45a0095\", \n        \"metadata\": null, \n        \"provider\": \"adyen\", \n        \"ref_code\": \"Authorised\", \n        \"ref_status\": \"Authorised\", \n        \"status\": \"succeeded\", \n        \"token\": \"DMSSR7JW53M84H82\", \n        \"transaction_id\": \"63a90823b9f65e4e02a0ec2d\"\n    }, \n    \"status\": \"success\"\n}\n"}],"_postman_id":"e45de7b4-8a29-405b-b9e2-e305be04728c"}],"id":"17176aeb-d441-4301-96a9-e5c618e978e3","_postman_id":"17176aeb-d441-4301-96a9-e5c618e978e3","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Request client credentials","id":"e0513022-8c11-46e9-93c6-8e71099842bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": 10.99,\n    \"email\": \"Keara_Balistreri25@gmail.com\",\n    \"first_name\": \"Iliana\",\n    \"last_name\": \"O'Keefe\",\n    \"address\": {\n        \"address_1\": \"402 Strafford Ave\",\n        \"city\": \"Wayne\",\n        \"postalcode\": \"19087\",\n        \"state\": \"PA\",\n        \"country\": \"us\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/payment/hotels/:id/client-credentials","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["payment","hotels",":id","client-credentials"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"any","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"3de82f18-6186-40ee-93b7-a6db749625d4","name":"Ok - Successful requested Adyen client credentials","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{base_url}}/payment/hotels/:id/client-credentials","host":["{{base_url}}"],"path":["payment","hotels",":id","client-credentials"],"variable":[{"key":"id","value":"{{hotel_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"199"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjgwMWU1ZDU4ZGFmMGZiMzYzZDk0MWMwMmVmNWZjNWU5NjI3ODc2ZWEi.YD4H3g.dI8YOuOhMuEASP0llDpT1IvnO18"},{"key":"Set-Cookie","value":"session=c12d92c8-4829-4c6f-b80b-86833036cf79.ZelEQiKGnJZUdqU7XhyGZC39inE; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Tue, 02 Mar 2021 09:39:42 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"credentials\": {\n            \"client_key\": \"test_535KAIZZABCTZD75DO6TCQF2IA64AH6L\",\n            \"sandbox\": true\n        },\n        \"gateway\": \"adyen\"\n    },\n    \"status\": \"success\"\n}"},{"id":"a2430f6b-3d4a-41e6-b082-29e79ea64d2e","name":"OK - Successful requested stripe client credentials","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{base_url}}/payment/hotels/:id/client-credentials","host":["{{base_url}}"],"path":["payment","hotels",":id","client-credentials"],"variable":[{"key":"id","value":"{{hotel_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"341"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjAxYjlkNTVlYzZiMmRiNWQ3NWQxODIyZjM5ZGFmYThiMWYzYmZjMmMi.YbMQZg.6Z24iP34rLwcYsHfj0YT1BUsdWE"},{"key":"Set-Cookie","value":"session=28c9475c-8cdb-43e9-aff2-484710f9b580.68jTG8NCjFtNUGGwpQu6CmzEl6Q; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 10 Dec 2021 08:31:34 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"credentials\": {\n            \"client_secret\": \"seti_1K54VtJ3Qv9azrNmgFx6AxbF_secret_KkZfErVpx5xaVvk8Rrq2OJixBu5atgF\",\n            \"connected_account_id\": null,\n            \"publish_key\": \"pk_test_reB5ZKzkgXv58KSZFYO279bG\"\n        },\n        \"gateway\": \"stripe\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"e0513022-8c11-46e9-93c6-8e71099842bb"},{"name":"Store card with card data","id":"423b540c-7b00-4dd9-80de-948dff8ec3ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"hotel_id\": \"5bac908c5045ad14d3dfd7a6\",\n    \"currency\": \"SGD\",\n    \"name\": \"Henry Ngo\",\n    \"number\": \"adyenjs_0_1_18$aB7l9573aM/ckPvuv5j8WbQbO83vNAwOzxpybAbTuWKpFib/JaTvWtOhOgnV0UH30k3ebYqccRtAE8z6gx0bgMF1hULXv/yUTa+M7My30oS5Fs/QbUUOi+4/fDdgGysXKR3njysRquasRS0CxGoAPXVUU8w1aKBbm0f3AzsLaJfgg5rYUDlisT4y0tZHt0XKRGKrkrFeT0B5rXpQp4vQ90rPWHcS9dZ5evjrho4EN49RcsiwEV0QKEyAw7O74DohcGE320q9tc4OQtimZsYIEekO/MCbGygws62g3ZWXnBDu+qTwn7Aj727kgQ3t84ixOx2s/zrfvqDsPsvD6MY3Ag==$pJqMaQGmjzGplEn4Hy7zIuSDsA1W5OrTT+AkTJey6AHdWw50eHVzyWebNClQs1wAGlob0uw2LP4NhfB5GrHtQkWUpYMxEyLlLrCvEGuRIMEq6h+lF7nDxQJ3fZkuSJMxOyNPbIuNXnKAX6L9hWngRICgq6BoXoQQs02O3vHfpDbClEOjDJY4sN1DUCUAw92vL75BOE6iMm+tUuHsKVTtpsqqk2IL+TUrGbAz2Shiirg3MKohVCAeKc6YLMoMCdyQ4iFYQ2ZoJO9/0ngbD+fT6EyN2PBAzQL7m9JsuFbyOHY8PsTHwZyiHrKEwNK4GO468nKbujI7Knhqt/LhLv2REjOaAP5/XKANFGFsk+VzLeA/1UpRX3jBKUtfT1qsFAxA5mBzdBlkv06d7UUT60lTk3ld28FxhJBuPK5ZznSHqaaf/pXeSGTXDNRake94pzwTr229I5gDpzFK2esfFQ==\",\n    \"exp_month\": \"adyenjs_0_1_18$brobrYdFLYbhRUmnm3U0kKDm4wgxKe/LoqAIQlKmO7JAwAJqPKtvpb2GEtQccduN11AB1D3t/sQPya+Wjepl1UR1QTlIOUWhb/axsoTTkqG60t0Tfc7/0UKU3DxNTtTDMh146TCjrHcROrwMbC9H9vUtOgm0juAXgTh9D1ughZXAR7Kxwfp8LtPwtVbk+0oOqfM8Ptw0nxRqhQJnhPqDlLhzkmPvsiuN+m6DVQpJRRD6gvZgkNe8idv5tWtw2m9RUCDTD0tn3DFcEgR16Yxw/qYIWc9H7k0HGtb0w6lLRX+O3bCdEE2zOw6IVkGbrQmHQUqmEfrN97olzy3WK15G/A==$fPa8ManXahFwyGwzA0WErM58KpOYsjquV14iDg6bN8aZqeDKRNtvq9bkjNA9cnlUFMwHqXjKwxbW61PtsAPlY23gl0lg0B1imkL+pgQ0q8a647n5G9FRmRvxTNiZGfZp1WwwD7jgYtyDo1C4ocJLMCIORSOYNVL4nXv/h/v8kLilwieBjRrRMiGMhKy5c5uAqjD5NolwNitf0iPxd2B/Jwef6NgC7u4o9Vz11ZkpohaCSKcYOqdbHJOVa/2zi7jtgnrRhSzYC8DTtz0Oj4bMCoqQOHoG/eMGgSdCYhytY8OVcjM5C24s9IoQ5bCJ4KK6vTDuF3dNeGohEaEGjimLIjJM3YgxJ1qYlO/f5NU87Pcccw==\",\n    \"exp_year\": \"adyenjs_0_1_18$tcrdenxko/S+dKjW3bR4riy9sbgNrRxZ/cBeO+G4TJzLHR8sXgCceJiPkvQA7yU4OX5dvGn8ixGZxGW63M49hc4mGKo14JAyb7ks0PJTNS8sDhydw8ajCa64eM5wY4ZQfdA5HSC5s7sgczbuBvysHnTtZLPiSXMtq6JJ8JyLPxXjvBOGXrKZOnBoNd6HozE/bpOPPpBYvQgHzu3dc7g+B8xcS+HMe1N8f8hkRQlvYut3q7EmmFQ1UvTnr7TOK3l/uK9glNrxU7eT8pe69Ui4yrvH5pMv6sA0ua+8iMnYac9GvdgsUW3feIIcl2i3RuoHmf+Ho1nDygpuPuqhxvr0rQ==$9PUIHUtOMsNCRgLPiiK+x0M5p/LU4049Ar30phHEZ9ypDb//j47OFj6d0/wZMQsl6Vp3tjsWpgNxJnW5IWVgRKnH5WVWF9BT6IkyLXn9qLLfMCMjpE6ZXP8lbjJ8rXhb9mj+RDyGKZJTe61fssj5CPH95Y3a6Y6xWNkeRWy1iyhNeUWrk2ztWKfMfoGl0IOsJmYKU4gWYgrkz6mWMQrFVr0ERwDjdBK3nXteSoz/F5cQkfVMzMY6+J2BHeDrYglfYJ4XzFR8HufjwcsI+ArFfQDz73Mr1In+kANwgf6Ex1lgfyS//wbtj4mmQ5U7JFbPiTELKqlh/ph/pPFQUTK5ywPlrCE7pZpa8Clssy8CYdJLGxw=\",\n    \"cvc\": \"adyenjs_0_1_18$OdDg5uNNGMDgHDWkZjPrMhNmVs2UmMwoDf3B5LMpdllsNtPntaJ8GiPtL9qdA5yxmy4UHNp3EOdyspcW9WFz9BuTYc4tgCtVQtJiRlkNjRwzaZ6pMpV5z+2ZUZ536ZUMTgk/kufrq+W9nr5gHwgn6SlcPQeTf80+3t9Z++VY5hO9sjWGRdfjSD2HbW2SMuTfZ8qUT61jfg7+/Qf6pFxBingFDiNZOK5F9ZSln7lt1fMcn3LeCcC2/5cvy3L3H8ziXXtgxywtG3xwiF5aQ5OnAAPhtexDsUcaKU5g/nmha1fl/sws6OpXTVOK/0JZkvUAQFIZVFA9aeWvqGI0RzBBfA==$pPe3St/nV6Q7DQRs6V68X62OMxBwryG8oJQdsZ1KgvytbJj5OmXF6KbqpA3B43EB3kORpgo3GdUeAFKvvpo4ItWkSK0h814jDkeRqD3uIXSFHIKjWvd8TOjrH52RX6E3PvqzzzIwU0SNErf4zUj5vxaVTzBY0ufvN6bdUAGmdUxi8gqnMj52c8a3Su55J0oQpBS1Ce3CfQQE9WqW4hejZ0uLgWbVAtwf93YDePfx8PubeZXMZ8ascFlWvDnfWO4FfwJ1aYHF4rOpZXVWk1IA9mhDZMZK9cJ2ayjg77NuOIF0Zq1gg9FZxWT8YD/YVXS6YUG253/bd6cDviTi7bY2JtiNW6CEYpIqMjfn\",\n    \"return_url\": \"string\",\n    \"origin\": \"string\",\n    \"channel\": \"string\",\n    \"browser_info\": {\n        \"userAgent\": \"Mozilla\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/70.0.3538.110 Safari\\/537.36\",\n        \"acceptHeader\": \"text\\/html,application\\/xhtml+xml,application\\/xml;q=0.9,image\\/webp,image\\/apng,*\\/*;q=0.8\",\n        \"language\": \"nl-NL\",\n        \"colorDepth\": 24,\n        \"screenHeight\": 723,\n        \"screenWidth\": 1536,\n        \"timeZoneOffset\": 0,\n        \"javaEnabled\": true\n    }\n}"},"url":"{{base_url}}/payment/cards","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["payment","cards"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"bd352299-47cb-4e19-837c-a9fd4c0d09c3","name":"Store Card","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Henry Ngo\",\n    \"currency\": \"USD\",\n    \"encoded_number\": \"adyenjs_0_1_24$MYhp0FLBKNJZVFTgWT58dhFQqCy3ECriEyKY3pBQzCLajZf2ujMnYStJxJwcCMenqaAS666LJvDYiWxwucj7feWGDRK79SF6S7kZhB4NrAOo0lD/B57AhHueOUMgtSpKbvscn/ju+aph2Bm9pbl+/9K8HpEuFw0Ks6737VpVg9lE3cXN3EjmiBlhh6ZUHJ57OJ8Tu14/KgcSdAye9oY1b2fwiAUxdqIo43KNI6IhEB5uyawVIYe+JuCiWbNvtC/Ji/sWpsMQjot86TcJkdEf2Ww04MQL/1B1M6AoaFlVoEBoim/Icb50HIetL5p6b2vnlUPWfrqGDlQob65u3AiE+w==$uAKGnKtgOLreppyxDmyowRBaTpJO+JS2xDEAN07jVYApp0vu6im4La5Zqx0I5ZtjZex+8Dg8dLtYw2vAtnZQ/7+N1jXOuX1DohODgAGmsKp/QPoWPwoRSGF500cLKoj9g72Hk5VyzJv26H8eFfUrS4ymYL+B0/5V99BXPTvXWk5ebpP1NxYMqX8ekGJXehKCc1DAon5ClAAVkluC7O38DYklmuqoTz+QmyApomCaNEN7fyobTzenSB3PYGBR3cRLD+HqHbfCEJ82ZcXi/Ul/LseezLeSuwgPKtk7eZgWl7RolRWx7ETN69YWqssFFnfifyhh1RIK2/twWaEvcyGajgH5Huf3ISWTvoiSgog0W87mADGQy05K0laGUNb4Q02Jzm0PouFkbiTLIOo2YIpbS4BA05s6kXPAOm7KHnpp1eV6mRxxAw2KnBdrivZOAHO2UDsRyyK/GuaNdNtldddOhsmudOQSkPZ6K97yirB8t61BVSgvehR694jG44Qk+LZ2uipa2kLahfSjDcvWS4zEkPZASATq/Q/CqnDFj7YjnzNlGr1nue1ZdDzm3TygbYSOOF4h4Y+sdROGo0+V8nyocIlcprivEzr23cPp3/RyE99EW0Eq0vbRzksJg7VkYJ8r7hg448N8AFg3rpMa7YAQB7fhiR0UrOE=\",\n    \"encoded_cvc\": \"adyenjs_0_1_24$LCniZnftsf8uCZjxOJtO58i6QEGF+hwQis8VtaoYjRQBThXG+drkks1q36b2wjR2CTWU65/hepY8SNRDeaoj6ikCQMZwmLXSIq2fn/tw0mBiDW2Vpz09ag5TcRe7TOJ55aT4Px/fZdCS0GA+FirGhOBtkXbigEZZmuColH66ICltXFCI0c9zkcQlIMLz48qlm05AjvkhIDikAQ8TXh73TYyrz4jLvGLSiq5hQ1zvytSQuALV7gp5XS99EiknWn9RCAodPLPrlQacnfFYHVqosKgA5r15hiUX0upxS2VYncQveuBBv9bYxw8MDk952b4db66no73hWosqG6nE2M2Jgg==$mbtGqRKaOpVUkocQGtMeWnD+ENCGwAyExU3/filAhPZig//QgPHr7FTqYN2dyf/R8pTl0zfuSxJU+C/MWdscxsRXkrTZaz8VicP5vrk8dzwxQ02mibOlylYJ0YfHq/7rFzzBcUh+yWUV6sTD8g96/u0/EE2493wIFHrqlk6VrJmvaeCbWupgyO0I8LAmiD4tT0NL7girwWUl5m33IBfqWn1CKcQfj7Akh93Cw60WZbv+j0vUAbF1yNCExsAVTs5wz3Vr82h63r9k9EVsTsj3BoKmEaXPvVZFQUWUtQew94LobPpmMob+w7fkqwF9Yd0UKUML3N4Otj7rPbGrfZ43c7h8WZCRTC53a35zZy1D9Tw9EZINwRixpo5tDeYCS3WG8LW0ErFYaUg3WBFWBq/VbH/4hQ9u2KXIGC5k+xzvXYKpUGmvIEduGT3N4+x7PiyQGDFtN17wZ1ycVfgKXOCNnklaMQz9\",\n    \"encoded_exp_month\": \"adyenjs_0_1_24$392NEqwCPU2JIEmw5C01TPlkjPlA0mNGBtziMC60dWGf8htFraVV9J4LoHjKNscHckC8DKS9E0jAEMB/yLImIKkNhrYgEoxkjVI6S/4ImZbSijlK0vwLtmr8L23QtYOLTsZQ9EmWS4MOwc3oX9U2L94iTV/kTSv7ey01Kc7XCWpqY+iqM359SY2G+Sw9wlpLKq3hEcEnZGJDFTk8fF3niYkkYtPmXeUcavsnrpnKdbpEHy7xpoOUXkB8or1WdxY+Nw4OsCaZxtzeUd60AwtnSlAVQrhexZHh3STQwFKiKRu+NLbUVftOIXZ12OLtfYNeSbvsLUBq1Bj2b62anENA$qMQM11EA/wpC8R6pdvlMYqsPFevjHeCBXm84YmjLjGYulx7/PrC9p08j5NqUMBS8cmW0MMx/5rU7hNLX+tCewFbd5B6BxQE7E0rI9gx42payj8TMVx/26mHFMWO1RB4aAN0Nigjqru4x6Q4hwaqSrpIHTTIZUvG/y7Z/ygYwkAXcdS75QmtdWdAuGwBVG/Wv7fdjf7vwus3PVvdF5fAFhb0+2JbSSJMshWZddZ/ou6VzypKa1ESPoBy9MjH0npx+CMZk3jlArAAG+nUePQO33mElcGR95gZNZu3uizeHPvWf0lpDLanrEe4WE87011hlCtJAbTFum647ZW0lMp8IqizQBtqKECLtYdnimIC/kgnGDhvM8mY6lwAdtP3iTqXdo+7ZAfe2ocRyNNiKu9jDJhg2vP0pTEXsDhGWyfIyMUPjkenoe/OjVn7cUKYCO1cYCN/pDcuPZknTLBk=\",\n    \"encoded_exp_year\": \"adyenjs_0_1_24$iLRzGCX/XxTb6L2ZfzYER+LOisqrdSzPwhJp3uED80fYSaTmI+7nY/rmSFVvK+aVVn/YmTZfSv7cp480BnHbvbNDfghuU+rsC0q67HMVdWqBrnyifr8mkNpINNIqoXaKTGZU8bYyweYDKC/560qyhX7Fq/987pgfiUx6wrsJI6oeOc4O0hOHpgKrFCPJazBQCm+a0rTk84F91RXWk8WjA3BBc3XR+LUqlRLeu60PrqYWJBtWwsmel2nWO2CWFSws6t+YLLN6aJfMP50hCev6qVBNUTnVUNrX6SupeH3rdyIICDYV+vthJfvEPxTobw6L5cpQ8qriQdPuTaMyJGg4EQ==$8Hhg2L5gtzfbs2/5UKWATcdRwv46AEg0TlDZPPkzHsHiOmfHF4YSrXohn3rR+v5EA0Z0c4HK145glHOU2UmDKznfl8eq7N/r8o7J3PcBjHXpZ+0JYGauAjpGKQ91qDNCWhF3h+iELkNpwDqRnKx68XQBSf6r1Am1Q8iRTtmENKt9aeomZ7EbKiwcddEClqSFcUr4oPeZ1/Yfqh7+sQImrdhEi0IQPIQMafpssGHwmZmiJWRDYyUn+5xuxfsoa5ebnuiZCMCFX8hJHphG7yzpfIkEYizRwiSXIxj9xNQYbM8NDAfVyc/WsHkFlpRv2OE/H3UNRsFMur6mzTZ+YoE/+l03itclhNR76kVwGAyqQ6gbovg9o0HWen1JmWtQpD1tDivOd0/DIJBJkrx246M3qYC5Jg7g2OZ5aootx8Vs6ppuSa6jgQzW8cjhiya/G8/gfD5x6Hm97cbUhBS2\"\n}"},"url":"{{endpoint}}/api/v1/payment/cards"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"503"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UMtugzAQ_JXK56gKD6ctUg6NwIjDOkpkipYLSoHUGJNWgQhwlH-vm0PVU48zuzM7s1dSHM91L0lwPOi-XpCiqUhwJQ_vJCC5YHor3lquUgdCLSF8HXOBzjasFHaJhwJH3jGdh5s2j1mDIrIYPYgjB8zOQdH6FvtcsRZVOWOX-mjaiauqwyydIEtn7iZ-Hu88y1Mu0hEymLjZNzwELw_3GkxkQHxM0IEP2c7YO9LmoZBxhQqXVj9hh2tyW5CyPx-L4bOtT78VeJeaXDFrs5E8ZhoNk5AlExgcrXwEsZHbLKE2MgXFGlDRCOP6btdU9WlohvnxcBlkMcxfNQlOF63_TH6eRWjpLJ_cyqFLnx4qrypX7rPrrF7Iglz6-lz8v3T7Bk6RfXI.XPeUPA.TVm6uW51i8TvCjBPh-TnMcp5w7A; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Wed, 05 Jun 2019 10:06:52 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"card\": {\n            \"brand\": \"visa\",\n            \"card_display\": \"xxxx xxxx xxxx 1111\",\n            \"exp_month\": \"10\",\n            \"exp_year\": \"2020\",\n            \"last4\": \"1111\",\n            \"method_display\": \"Credit Card\",\n            \"name\": \"Checkout Shopper PlaceHolder\"\n        },\n        \"customer_id\": \"cus-4b5b4251ecfb4cdb9a452899656f6e74\",\n        \"provider\": \"adyen\",\n        \"token\": \"8415597292094123\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"423b540c-7b00-4dd9-80de-948dff8ec3ac"},{"name":"Store card with credentials","event":[{"listen":"test","script":{"id":"be818f13-9fec-4eec-84ca-c1c5104169b2","exec":["pm.test(\"Store card with credentials\", function () {","    pm.response.to.have.status(200);","    var jsonData = pm.response.json();","    pm.environment.set(\"payment_customer_id\", jsonData.data.customer_id);","    pm.environment.set(\"payment_card_token\", jsonData.data.token);","});"],"type":"text/javascript"}}],"id":"e0a20222-52d4-46e4-bec5-b79f7390373f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"hotel_id\": \"5b64304986819e07d799b133\",\n    \"currency\": \"SGD\",\n    \"name\": \"John Smith\",\n    \"auth_token\": \"{{auth_token}}\",\n    \"payment_key\": \"{{payment_key}}\",\n    \"tds_token\": \"threeDSToken\",\n    \"billing_address\": {\n        \"email\": \"Ethan0@gmail.com\",\n        \"phone_number\": \"+12146825714\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Smith\",\n        \"line1\": \"4600  Carolyns Circle\",\n        \"line2\": \"\",\n        \"city\": \"Dallas\",\n        \"postal_code\": \"75234\",\n        \"state\": \"TX\",\n        \"country\": \"us\"\n    }\n}"},"url":"{{base_url}}/payment/cards","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["payment","cards"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"8c133936-0285-453b-835f-9fd69fa91047","name":"OK - Successful stored merchant warrior card details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"hotel_id\": \"5b64304986819e07d799b133\",\n    \"currency\": \"SGD\",\n    \"name\": \"John Smith\",\n    \"auth_token\": \"IGNX155267061529843\",\n    \"payment_key\": \"ce7c6d41eb60b7e6fe74da455859a9bc\",\n    \"billing_address\": {\n        \"email\": \"Willy50@yahoo.com\",\n        \"phone_number\": \"+12146825714\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Smith\",\n        \"line1\": \"4600  Carolyns Circle\",\n        \"city\": \"Dallas\",\n        \"postal_code\": \"75234\",\n        \"state\": \"TX\",\n        \"country\": \"us\"\n    }\n}"},"url":"{{base_url}}/payment/cards"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"527"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImY5MDdmNDZjMTcwZGE1MGNmYmRhMTcwZDlhMDI2MTY1NGExZjBhODgi.YXE3Pw.pMYTOpJGd4Bdr1U87f-P0kH-OXY"},{"key":"Set-Cookie","value":"session=779febe1-380b-4974-9051-447b53afe34e.l46g2KW_kEf7lqgtQQytc0558xs; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Thu, 21 Oct 2021 09:47:43 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"card\": {\n            \"brand\": \"unknown\",\n            \"card_display\": \"xxxx xxxx xxxx 5670\",\n            \"exp_month\": \"12\",\n            \"exp_year\": \"24\",\n            \"last4\": \"5670\",\n            \"method_display\": \"Credit Card\",\n            \"name\": \"Henry Ngo\",\n            \"updated_at\": \"2021-06-16T04:46:56+00:00\"\n        },\n        \"customer_id\": \"MONE31757741\",\n        \"provider\": \"merchantwarrior\",\n        \"token\": \"cD4ecdcJ0wEdcZAg\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"e0a20222-52d4-46e4-bec5-b79f7390373f"},{"name":"Create a source","event":[{"listen":"test","script":{"id":"b8503503-06fe-4570-924a-c850d4c85d66","exec":["pm.test(\"Create a source\", function () {","    pm.response.to.have.status(200);","    var jsonData = pm.response.json();","    pm.environment.set(\"source_id\", jsonData.data.id);","});"],"type":"text/javascript"}}],"id":"0e45fa82-42a8-4f98-934c-c8090285f254","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n    \"token\": \"string\",\n    \"customer_id\": \"string\",\n    \"method\": \"card\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/payment/hotels/:id/sources","description":"<p>Allow creation of stored source setting or card info for recurring transactions. </p>\n<h2 id=\"url-variable\">URL Variable:</h2>\n<ul>\n<li><strong>id</strong> (objectId, required) - The Object Id of a specific hotel.</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<ul>\n<li><strong>token</strong> (string, required) - The stored card tokens of source settings.</li>\n<li><strong>customer_id</strong> (string) - The customer identification of source settings.</li>\n<li><strong>method</strong> (string) - The method(card) type of source settings.</li>\n</ul>\n<h2 id=\"return\">Return:</h2>\n<ul>\n<li><strong>code</strong> (string) - The response code.</li>\n<li><strong>status</strong> (string) - The response status.</li>\n<li><strong>data</strong> (Object) - The meta data object.</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["payment","hotels",":id","sources"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"4dcabe31-1974-489c-8ece-b061c6d569a5","name":"Create a source","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"token\": \"4692536310000002\",\n    \"customer_id\": \"\",\n    \"method\": \"card\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/sources"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"92"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Tue, 22 Sep 2020 11:46:28 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"code\": \"OK\",\n    \"data\": {\n        \"brand\": \"visa\",\n        \"card_display\": \"xxxx xxxx xxxx 0077\",\n        \"customer_id\": \"cus_HZSA1fMCZHv9G3\",\n        \"exp_month\": \"7\",\n        \"exp_year\": \"2021\",\n        \"last4\": \"0077\",\n        \"method\": \"\",\n        \"method_display\": \"Credit Card\",\n        \"name\": \"\",\n        \"provider\": \"stripe\",\n        \"token\": \"tok_bypassPending\",\n        \"updated_at\": \"2020-07-02T03:38:42\"\n    }\n}"}],"_postman_id":"0e45fa82-42a8-4f98-934c-c8090285f254"},{"name":"Confirm payment (submit Adyen auth result)","id":"92f0a5a5-e088-4d40-8f5b-b947fd91af1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"hotel_id\": \"5bac908c5045ad14d3dfd7a6\",\n    \"metadata\": {\n        \"details\": null,\n        \"payment_data\": null\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/payment/confirm","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["payment","confirm"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"92f0a5a5-e088-4d40-8f5b-b947fd91af1a"},{"name":"Adyen Origin Key","id":"876edfef-626c-4a7b-b953-e85d37e917b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/hotels/:id/adyen-origin-key?origin=https://hotel.stg.idemevents.com","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":id","adyen-origin-key"],"host":["{{base_url}}"],"query":[{"key":"origin","value":"https://hotel.stg.idemevents.com"}],"variable":[{"type":"string","value":"5b64304986819e07d799b133","key":"id"}]}},"response":[{"id":"04acd5f1-a5b9-41fd-9a8f-c68c17825574","name":"Adyen Origin Key","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/hotels/:id/adyen-origin-key","host":["{{endpoint}}"],"path":["api","v1","hotels",":id","adyen-origin-key"],"variable":[{"key":"id","value":"current"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"198"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9UMtugzAQ_JXK56gKD6ctUg6NwIjDOkpkipYLSoHUGJNWgQhwlH-vm0PVU48zuzM7s1dSHM91L0lwPOi-XpCiqUhwJQ_vJCC5YHor3lquUgdCLSF8HXOBzjasFHaJhwJH3jGdh5s2j1mDIrIYPYgjB8zOQdH6FvtcsRZVOWOX-mjaiauqwyydIEtn7iZ-Hu88y1Mu0hEymLjZNzwELw_3GkxkQHxM0IEP2c7YO9LmoZBxhQqXVj9hh2tyW5CyPx-L4bOtT78VeJeaXDFrs5E8ZhoNk5AlExgcrXwEsZHbLKE2MgXFGlDRCOP6btdU9WlohvnxcBlkMcxfNQlOF63_TH6eRWjpLJ_cyqFLnx4qrypX7rPrrF7Iglz6-lz8v3T7Bk6RfXI.XQhupA.8fCXiT2bPNiQkWMuwUBaHLPUZ_M; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Tue, 18 Jun 2019 04:55:00 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"origin_key\": \"pub.v2.8015489356453128.aHR0cDovL2hvdGVsLmxvY2FsaG9zdDo1MDAx.wRGNbRpQtXjorHUUp3y6VTblYLY9uIImp3ZDoawuh_Q\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"876edfef-626c-4a7b-b953-e85d37e917b6"},{"name":"Transaction Group List","id":"4dedd8d3-6c05-4536-9620-97a9a34853d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/:hotel_id/transaction-groups?status=completed&sort=created_at&order=desc&limit=5&page=1&search=test&start=2019-01-01&end=2020-12-01","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":hotel_id","transaction-groups"],"host":["{{endpoint}}"],"query":[{"key":"status","value":"completed"},{"key":"sort","value":"created_at"},{"key":"order","value":"desc"},{"key":"limit","value":"5"},{"key":"page","value":"1"},{"key":"search","value":"test"},{"key":"start","value":"2019-01-01"},{"key":"end","value":"2020-12-01"}],"variable":[{"type":"string","value":"{{hotel_id}}","key":"hotel_id"}]}},"response":[{"id":"a0991002-7c0b-47f5-a90b-c1c469d84cf0","name":"Transaction Group List","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/hotels/:hotel_id/transaction-groups?status=completed","host":["{{endpoint}}"],"path":["api","v1","hotels",":hotel_id","transaction-groups"],"query":[{"key":"status","value":"completed"},{"key":"sort","value":"created_at","disabled":true},{"key":"order","value":"desc","disabled":true},{"key":"limit","value":"5","disabled":true},{"key":"page","value":"1","disabled":true},{"key":"search","value":"test","disabled":true},{"key":"start","value":"2019-01-01","disabled":true},{"key":"end","value":"2020-12-01","disabled":true}],"variable":[{"key":"hotel_id","value":"{{hotel_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"17076"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImJlY2YyZWM0OTFmYzI0YWRlZDI2MzE0MjY1ZjcwNmViZGE5MDNmYWIi.XvxBxw.ub8_2Euu96N98Rl0gPpsdHN3Px0"},{"key":"Set-Cookie","value":"session=38beb3b3-f953-41f8-b775-07f2dd9c015a.vw2ovBYY6uu7JsNpwsMDmlwFuME; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Wed, 01 Jul 2020 07:56:55 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 14,\n        \"filter\": {\n            \"end\": null,\n            \"limit\": 10,\n            \"order\": \"desc\",\n            \"page\": 1,\n            \"search\": null,\n            \"sort\": \"created_at\",\n            \"start\": null,\n            \"status\": \"completed\"\n        },\n        \"results\": [\n            {\n                \"adjusted_amount\": 0,\n                \"block\": {\n                    \"id\": null,\n                    \"name\": null\n                },\n                \"created_at\": \"2020-07-01T04:41:43.420000\",\n                \"currency\": \"USD\",\n                \"has_payment_method\": true,\n                \"id\": \"5efc14073eb9c2c2e1cf0759\",\n                \"name\": \"Henry Ngo\",\n                \"paid_amount\": 65.97,\n                \"ref_reason\": \"\",\n                \"refunded_amount\": 0,\n                \"scope_permissions\": [\n                    \"transaction_group.edit_invoice\",\n                    \"transaction_group.write_off\",\n                    \"transaction_group.unwrite_off\",\n                    \"transaction_group.refund\",\n                    \"transaction_group.checkout\",\n                    \"transaction_group.request_payment_method\",\n                    \"transaction_group.confirm_payment\",\n                    \"transaction_group.mark_paid\"\n                ],\n                \"status\": \"completed\",\n                \"status_updated_at\": \"2020-07-01T04:41:43.420000\",\n                \"target\": {\n                    \"confirmation_number\": \"TCR45\",\n                    \"confirmed_at\": null,\n                    \"id\": \"5efc14073eb9c2c2e1cf0753\",\n                    \"status\": \"confirmed\"\n                },\n                \"target_confirmation_number\": null,\n                \"target_id\": \"5efc14073eb9c2c2e1cf0753\",\n                \"target_type\": \"Order\",\n                \"total_amount\": 65.97,\n                \"updated_at\": \"2020-07-01T04:41:46.054000\"\n            },\n            {\n                \"adjusted_amount\": 0,\n                \"block\": {\n                    \"id\": null,\n                    \"name\": null\n                },\n                \"created_at\": \"2020-07-01T04:41:39.380000\",\n                \"currency\": \"USD\",\n                \"has_payment_method\": true,\n                \"id\": \"5efc14033eb9c2c2e1cf074e\",\n                \"name\": \"Henry Ngo\",\n                \"paid_amount\": 65.97,\n                \"ref_reason\": \"\",\n                \"refunded_amount\": 0,\n                \"scope_permissions\": [\n                    \"transaction_group.edit_invoice\",\n                    \"transaction_group.write_off\",\n                    \"transaction_group.unwrite_off\",\n                    \"transaction_group.refund\",\n                    \"transaction_group.checkout\",\n                    \"transaction_group.request_payment_method\",\n                    \"transaction_group.confirm_payment\",\n                    \"transaction_group.mark_paid\"\n                ],\n                \"status\": \"completed\",\n                \"status_updated_at\": \"2020-07-01T04:41:39.380000\",\n                \"target\": {\n                    \"confirmation_number\": \"TDLHD\",\n                    \"confirmed_at\": null,\n                    \"id\": \"5efc14033eb9c2c2e1cf0748\",\n                    \"status\": \"confirmed\"\n                },\n                \"target_confirmation_number\": null,\n                \"target_id\": \"5efc14033eb9c2c2e1cf0748\",\n                \"target_type\": \"Order\",\n                \"total_amount\": 65.97,\n                \"updated_at\": \"2020-07-01T04:41:41.749000\"\n            },\n            {\n                \"adjusted_amount\": 0,\n                \"block\": {\n                    \"id\": null,\n                    \"name\": null\n                },\n                \"created_at\": \"2020-07-01T04:41:33.823000\",\n                \"currency\": \"USD\",\n                \"has_payment_method\": true,\n                \"id\": \"5efc13fd3eb9c2c2e1cf0743\",\n                \"name\": \"Henry Ngo\",\n                \"paid_amount\": 65.97,\n                \"ref_reason\": \"\",\n                \"refunded_amount\": 0,\n                \"scope_permissions\": [\n                    \"transaction_group.edit_invoice\",\n                    \"transaction_group.write_off\",\n                    \"transaction_group.unwrite_off\",\n                    \"transaction_group.refund\",\n                    \"transaction_group.checkout\",\n                    \"transaction_group.request_payment_method\",\n                    \"transaction_group.confirm_payment\",\n                    \"transaction_group.mark_paid\"\n                ],\n                \"status\": \"completed\",\n                \"status_updated_at\": \"2020-07-01T04:41:33.823000\",\n                \"target\": {\n                    \"confirmation_number\": \"MVZVU\",\n                    \"confirmed_at\": null,\n                    \"id\": \"5efc13fd3eb9c2c2e1cf073d\",\n                    \"status\": \"confirmed\"\n                },\n                \"target_confirmation_number\": null,\n                \"target_id\": \"5efc13fd3eb9c2c2e1cf073d\",\n                \"target_type\": \"Order\",\n                \"total_amount\": 65.97,\n                \"updated_at\": \"2020-07-01T04:41:36.736000\"\n            },\n            {\n                \"adjusted_amount\": 0,\n                \"block\": {\n                    \"id\": \"5d8475755045ad36312f45fb\",\n                    \"name\": \"RWSPMSDEMO\"\n                },\n                \"created_at\": \"2019-09-20T06:46:54.440000\",\n                \"currency\": \"USD\",\n                \"has_payment_method\": true,\n                \"id\": \"5e857c9393e0afe12150961f\",\n                \"name\": \"Matthew Howden\",\n                \"paid_amount\": 44.2,\n                \"ref_reason\": \"\",\n                \"refunded_amount\": 0,\n                \"scope_permissions\": [\n                    \"transaction_group.edit_invoice\",\n                    \"transaction_group.write_off\",\n                    \"transaction_group.unwrite_off\",\n                    \"transaction_group.refund\",\n                    \"transaction_group.checkout\",\n                    \"transaction_group.request_payment_method\",\n                    \"transaction_group.confirm_payment\",\n                    \"transaction_group.mark_paid\"\n                ],\n                \"status\": \"completed\",\n                \"status_updated_at\": \"2019-09-20T06:46:54.440000\",\n                \"target\": {\n                    \"confirmation_number\": \"59404\",\n                    \"confirmed_at\": \"2019-09-20T06:50:06.844000\",\n                    \"id\": \"5d8475de5045ad362ffed633\",\n                    \"status\": \"cancelled\"\n                },\n                \"target_confirmation_number\": \"59404\",\n                \"target_id\": \"5d8475de5045ad362ffed633\",\n                \"target_type\": \"Reservation\",\n                \"total_amount\": 44.2,\n                \"updated_at\": \"2020-04-02T05:48:03.789000\"\n            },\n            {\n                \"adjusted_amount\": 88.4,\n                \"block\": {\n                    \"id\": \"5d775a395045ad1e9d94ef91\",\n                    \"name\": \"QCentre Demo Group Block\"\n                },\n                \"created_at\": \"2019-09-10T08:14:29.436000\",\n                \"currency\": \"USD\",\n                \"has_payment_method\": true,\n                \"id\": \"5e857c9293e0afe12150960c\",\n                \"name\": \"Matthew Howden\",\n                \"paid_amount\": 22.1,\n                \"ref_reason\": \"\",\n                \"refunded_amount\": 0,\n                \"scope_permissions\": [\n                    \"transaction_group.edit_invoice\",\n                    \"transaction_group.write_off\",\n                    \"transaction_group.unwrite_off\",\n                    \"transaction_group.refund\",\n                    \"transaction_group.checkout\",\n                    \"transaction_group.request_payment_method\",\n                    \"transaction_group.confirm_payment\",\n                    \"transaction_group.mark_paid\"\n                ],\n                \"status\": \"completed\",\n                \"status_updated_at\": \"2019-09-10T08:14:29.436000\",\n                \"target\": {\n                    \"confirmation_number\": \"57179\",\n                    \"confirmed_at\": \"2019-09-10T08:14:29.435000\",\n                    \"id\": \"5d775b655045ad1e9c519961\",\n                    \"status\": \"cancelled\"\n                },\n                \"target_confirmation_number\": \"57179\",\n                \"target_id\": \"5d775b655045ad1e9c519961\",\n                \"target_type\": \"Reservation\",\n                \"total_amount\": 110.5,\n                \"updated_at\": \"2020-04-02T05:48:02.686000\"\n            },\n            {\n                \"adjusted_amount\": 0,\n                \"block\": {\n                    \"id\": \"5d4951be5045ad4d0924067d\",\n                    \"name\": \"Idem Testing\"\n                },\n                \"created_at\": \"2019-08-07T07:15:48.352000\",\n                \"currency\": \"USD\",\n                \"has_payment_method\": true,\n                \"id\": \"5e857c8a93e0afe121509599\",\n                \"name\": \"Matthew Howden\",\n                \"paid_amount\": 574.6,\n                \"ref_reason\": \"\",\n                \"refunded_amount\": 0,\n                \"scope_permissions\": [\n                    \"transaction_group.edit_invoice\",\n                    \"transaction_group.write_off\",\n                    \"transaction_group.unwrite_off\",\n                    \"transaction_group.refund\",\n                    \"transaction_group.checkout\",\n                    \"transaction_group.request_payment_method\",\n                    \"transaction_group.confirm_payment\",\n                    \"transaction_group.mark_paid\"\n                ],\n                \"status\": \"completed\",\n                \"status_updated_at\": \"2019-08-07T07:15:48.352000\",\n                \"target\": {\n                    \"confirmation_number\": null,\n                    \"confirmed_at\": \"2019-08-07T07:15:48.352000\",\n                    \"id\": \"5d4a7aa45045ad70aeee4be7\",\n                    \"status\": \"pending\"\n                },\n                \"target_confirmation_number\": null,\n                \"target_id\": \"5d4a7aa45045ad70aeee4be7\",\n                \"target_type\": \"Reservation\",\n                \"total_amount\": 574.6,\n                \"updated_at\": \"2020-04-02T05:47:54.667000\"\n            },\n            {\n                \"adjusted_amount\": 0,\n                \"block\": {\n                    \"id\": \"5d4951be5045ad4d0924067d\",\n                    \"name\": \"Idem Testing\"\n                },\n                \"created_at\": \"2019-08-07T05:29:20.065000\",\n                \"currency\": \"USD\",\n                \"has_payment_method\": true,\n                \"id\": \"5e857c8993e0afe121509587\",\n                \"name\": \"Henry Ngo\",\n                \"paid_amount\": 287.3,\n                \"ref_reason\": \"\",\n                \"refunded_amount\": 0,\n                \"scope_permissions\": [\n                    \"transaction_group.edit_invoice\",\n                    \"transaction_group.write_off\",\n                    \"transaction_group.unwrite_off\",\n                    \"transaction_group.refund\",\n                    \"transaction_group.checkout\",\n                    \"transaction_group.request_payment_method\",\n                    \"transaction_group.confirm_payment\",\n                    \"transaction_group.mark_paid\"\n                ],\n                \"status\": \"completed\",\n                \"status_updated_at\": \"2019-08-07T05:29:20.065000\",\n                \"target\": {\n                    \"confirmation_number\": null,\n                    \"confirmed_at\": \"2019-08-07T05:29:20.065000\",\n                    \"id\": \"5d4a61b05045ad20e4346c84\",\n                    \"status\": \"pending\"\n                },\n                \"target_confirmation_number\": null,\n                \"target_id\": \"5d4a61b05045ad20e4346c84\",\n                \"target_type\": \"Reservation\",\n                \"total_amount\": 287.3,\n                \"updated_at\": \"2020-04-02T05:47:53.572000\"\n            },\n            {\n                \"adjusted_amount\": 0,\n                \"block\": {\n                    \"id\": \"5d4951be5045ad4d0924067d\",\n                    \"name\": \"Idem Testing\"\n                },\n                \"created_at\": \"2019-08-07T05:22:32.360000\",\n                \"currency\": \"USD\",\n                \"has_payment_method\": true,\n                \"id\": \"5e857c8893e0afe121509583\",\n                \"name\": \"Henry Ngo\",\n                \"paid_amount\": 287.3,\n                \"ref_reason\": \"\",\n                \"refunded_amount\": 0,\n                \"scope_permissions\": [\n                    \"transaction_group.edit_invoice\",\n                    \"transaction_group.write_off\",\n                    \"transaction_group.unwrite_off\",\n                    \"transaction_group.refund\",\n                    \"transaction_group.checkout\",\n                    \"transaction_group.request_payment_method\",\n                    \"transaction_group.confirm_payment\",\n                    \"transaction_group.mark_paid\"\n                ],\n                \"status\": \"completed\",\n                \"status_updated_at\": \"2019-08-07T05:22:32.360000\",\n                \"target\": {\n                    \"confirmation_number\": \"50444\",\n                    \"confirmed_at\": \"2019-08-07T05:22:32.360000\",\n                    \"id\": \"5d4a60185045ad20e4346c6d\",\n                    \"status\": \"confirmed\"\n                },\n                \"target_confirmation_number\": \"50444\",\n                \"target_id\": \"5d4a60185045ad20e4346c6d\",\n                \"target_type\": \"Reservation\",\n                \"total_amount\": 287.3,\n                \"updated_at\": \"2020-04-02T05:47:52.627000\"\n            },\n            {\n                \"adjusted_amount\": 0,\n                \"block\": {\n                    \"id\": \"5d4951be5045ad4d0924067d\",\n                    \"name\": \"Idem Testing\"\n                },\n                \"created_at\": \"2019-08-07T05:19:58.594000\",\n                \"currency\": \"USD\",\n                \"has_payment_method\": true,\n                \"id\": \"5e857c8793e0afe121509580\",\n                \"name\": \"Charlie Chaplin\",\n                \"paid_amount\": 574.6,\n                \"ref_reason\": \"\",\n                \"refunded_amount\": 0,\n                \"scope_permissions\": [\n                    \"transaction_group.edit_invoice\",\n                    \"transaction_group.write_off\",\n                    \"transaction_group.unwrite_off\",\n                    \"transaction_group.refund\",\n                    \"transaction_group.checkout\",\n                    \"transaction_group.request_payment_method\",\n                    \"transaction_group.confirm_payment\",\n                    \"transaction_group.mark_paid\"\n                ],\n                \"status\": \"completed\",\n                \"status_updated_at\": \"2019-08-07T05:19:58.594000\",\n                \"target\": {\n                    \"confirmation_number\": null,\n                    \"confirmed_at\": \"2019-08-07T05:19:58.594000\",\n                    \"id\": \"5d4a5f7e5045ad76d932861e\",\n                    \"status\": \"cancelled\"\n                },\n                \"target_confirmation_number\": null,\n                \"target_id\": \"5d4a5f7e5045ad76d932861e\",\n                \"target_type\": \"Reservation\",\n                \"total_amount\": 574.6,\n                \"updated_at\": \"2020-04-02T05:47:51.795000\"\n            },\n            {\n                \"adjusted_amount\": 0,\n                \"block\": {\n                    \"id\": \"5d4951be5045ad4d0924067d\",\n                    \"name\": \"Idem Testing\"\n                },\n                \"created_at\": \"2019-08-07T05:13:14.368000\",\n                \"currency\": \"USD\",\n                \"has_payment_method\": true,\n                \"id\": \"5e857c8693e0afe12150957d\",\n                \"name\": \"Henry Ngo\",\n                \"paid_amount\": 861.9,\n                \"ref_reason\": \"\",\n                \"refunded_amount\": 0,\n                \"scope_permissions\": [\n                    \"transaction_group.edit_invoice\",\n                    \"transaction_group.write_off\",\n                    \"transaction_group.unwrite_off\",\n                    \"transaction_group.refund\",\n                    \"transaction_group.checkout\",\n                    \"transaction_group.request_payment_method\",\n                    \"transaction_group.confirm_payment\",\n                    \"transaction_group.mark_paid\"\n                ],\n                \"status\": \"completed\",\n                \"status_updated_at\": \"2019-08-07T05:13:14.368000\",\n                \"target\": {\n                    \"confirmation_number\": \"50443\",\n                    \"confirmed_at\": \"2019-08-07T05:13:14.368000\",\n                    \"id\": \"5d4a5dea5045ad76d9328616\",\n                    \"status\": \"cancelled\"\n                },\n                \"target_confirmation_number\": \"50443\",\n                \"target_id\": \"5d4a5dea5045ad76d9328616\",\n                \"target_type\": \"Reservation\",\n                \"total_amount\": 861.9,\n                \"updated_at\": \"2020-04-02T05:47:50.981000\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"4dedd8d3-6c05-4536-9620-97a9a34853d9"},{"name":"Transaction Group Details","id":"2a0fece7-69d6-425d-9001-593a0ed4d267","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/transaction-groups/:id","urlObject":{"path":["transaction-groups",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{transaction_group_id}}","key":"id"}]}},"response":[{"id":"751f193f-31e4-4f34-ad2e-a6fa567e024e","name":"Transaction Group Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/transaction-groups/:id","host":["{{endpoint}}"],"path":["api","v1","transaction-groups",":id"],"variable":[{"key":"id","value":"5e60e90b0cc4c073e0c308a8"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"4781"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjRjNWUxNjM5MmIyMGY0ZjU5ZjRmMzRkNjc2NzE4NDhlY2QxMDEzYzYi.Xmdm3Q.MbDnTfncw5B8sJPvTN1BaeTODTg"},{"key":"Set-Cookie","value":"session=adb3173f-d410-4fc0-bbc4-fb8bf0317b35.kokxwTEUxLBUNQoM2HZMf4_Z3ZY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.16.0 Python/2.7.16"},{"key":"Date","value":"Tue, 10 Mar 2020 10:07:25 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"adjusted_amount\": 40.97,\n        \"block\": null,\n        \"created_at\": \"2020-07-02T03:38:41.708000\",\n        \"currency\": \"USD\",\n        \"has_payment_method\": true,\n        \"id\": \"5efd56c1020b257166ad3b43\",\n        \"invoice_details\": {\n            \"items\": [\n                {\n                    \"amount\": 59.97,\n                    \"details\": {\n                        \"fees\": [\n                            {\n                                \"amount_type\": [\n                                    \"applied_nightly\"\n                                ],\n                                \"description\": \"\",\n                                \"fee_amount\": 5.997000000000001,\n                                \"form_type\": \"applied_amount\",\n                                \"id\": \"5efb2248ceade20b77ce1aab\",\n                                \"name\": \"goods_and_service_tax\",\n                                \"ordering\": 0,\n                                \"title\": \"Goods and Service tax\",\n                                \"type\": \"relative\",\n                                \"value\": 10.0\n                            }\n                        ],\n                        \"subtotal\": 59.97,\n                        \"tax_reverse\": false,\n                        \"tax_setup\": \"excluded\",\n                        \"total\": 65.97,\n                        \"total_fees\": 5.997000000000001\n                    },\n                    \"inventory\": {\n                        \"id\": \"5ef4738985099c8b792119a4\",\n                        \"name\": \"\"\n                    },\n                    \"inventory_id\": \"5ef4738985099c8b792119a4\",\n                    \"item\": {\n                        \"id\": \"5ef4738985099c8b792119a0\",\n                        \"name\": \"1 Day Pass - California Gym\",\n                        \"vendor\": {\n                            \"id\": \"5ef4738985099c8b79211996\",\n                            \"name\": \"Hometown Spa\"\n                        }\n                    },\n                    \"item_id\": \"5ef4738985099c8b792119a0\",\n                    \"item_type\": \"Package\",\n                    \"price\": 19.99,\n                    \"quantity\": 3\n                }\n            ]\n        },\n        \"name\": \"Henry Ngo\",\n        \"paid_amount\": 30.0,\n        \"payment_method\": {\n            \"brand\": \"visa\",\n            \"card_display\": \"xxxx xxxx xxxx 0077\",\n            \"customer_id\": \"cus_HZSA1fMCZHv9G3\",\n            \"exp_month\": \"7\",\n            \"exp_year\": \"2021\",\n            \"last4\": \"0077\",\n            \"method\": \"\",\n            \"method_display\": \"Credit Card\",\n            \"name\": \"\",\n            \"provider\": \"stripe\",\n            \"token\": \"tok_bypassPending\",\n            \"updated_at\": \"2020-07-02T03:38:42\"\n        },\n        \"ref_reason\": \"\",\n        \"refunded_amount\": 5.0,\n        \"scope_permissions\": [\n            \"transaction_group.edit_invoice\",\n            \"transaction_group.write_off\",\n            \"transaction_group.unwrite_off\",\n            \"transaction_group.refund\",\n            \"transaction_group.checkout\",\n            \"transaction_group.request_payment_method\",\n            \"transaction_group.confirm_payment\",\n            \"transaction_group.mark_paid\"\n        ],\n        \"status\": \"partial_refunded\",\n        \"status_updated_at\": \"2020-07-02T08:44:45.990000\",\n        \"target\": {\n            \"confirmation_number\": \"TG7ND\",\n            \"confirmed_at\": null,\n            \"guest_email\": \"henry@idemlabs.com\",\n            \"id\": \"5efd56c1020b257166ad3b3d\",\n            \"status\": \"confirmed\"\n        },\n        \"target_confirmation_number\": \"TG7ND\",\n        \"target_id\": \"5efd56c1020b257166ad3b3d\",\n        \"target_type\": \"Order\",\n        \"total_amount\": 65.97,\n        \"transactions\": [\n            {\n                \"amount\": 0.0,\n                \"created_at\": \"2020-07-02T03:38:43.504000\",\n                \"creator\": null,\n                \"currency\": \"USD\",\n                \"description\": \"Credit card validated\",\n                \"id\": \"5efd56c3020b257166ad3b44\",\n                \"message\": \"Credit card validated\",\n                \"payment_type\": \"others\",\n                \"reason\": \"\",\n                \"ref_id\": \"tok_1H0JG3J3Qv9azrNm8qJYO05v\",\n                \"ref_reason\": \"\",\n                \"remarks\": \"\",\n                \"status\": \"authorised\",\n                \"type\": \"authorised_card\",\n                \"updated_at\": \"2020-07-02T03:38:43.504000\"\n            },\n            {\n                \"amount\": 10.0,\n                \"created_at\": \"2020-07-02T03:58:57.976000\",\n                \"creator\": {\n                    \"id\": \"5c1072d15045ad3dc6282169\",\n                    \"name\": \"Henry Ngo\"\n                },\n                \"currency\": \"USD\",\n                \"description\": \"Test\",\n                \"id\": \"5efd5b824ac34cffdd8d4d4f\",\n                \"message\": \"USD 10.00 processed successfully (Others: Test)\",\n                \"payment_type\": \"others\",\n                \"reason\": \"\",\n                \"ref_id\": \"ch_1H0JZdJ3Qv9azrNmZMOjCZak\",\n                \"ref_reason\": \"\",\n                \"remarks\": \"\",\n                \"status\": \"succeeded\",\n                \"type\": \"checkout\",\n                \"updated_at\": \"2020-07-02T08:44:46.013000\"\n            },\n            {\n                \"amount\": 10.0,\n                \"created_at\": \"2020-07-02T04:23:51.399000\",\n                \"creator\": {\n                    \"id\": \"5c1072d15045ad3dc6282169\",\n                    \"name\": \"Henry Ngo\"\n                },\n                \"currency\": \"USD\",\n                \"description\": \"Test\",\n                \"id\": \"5efd61578b0bbf70807b398d\",\n                \"message\": \"USD 10.00 processed successfully (Others: Test)\",\n                \"payment_type\": \"others\",\n                \"reason\": \"\",\n                \"ref_id\": \"ch_1H0JxiJ3Qv9azrNmjXT0G018\",\n                \"ref_reason\": \"\",\n                \"remarks\": \"\",\n                \"status\": \"succeeded\",\n                \"type\": \"checkout\",\n                \"updated_at\": \"2020-07-02T04:23:51.400000\"\n            },\n            {\n                \"amount\": 10.0,\n                \"created_at\": \"2020-07-02T08:40:15.870000\",\n                \"creator\": {\n                    \"id\": \"5c1072d15045ad3dc6282169\",\n                    \"name\": \"Henry Ngo\"\n                },\n                \"currency\": \"USD\",\n                \"description\": \"Test\",\n                \"id\": \"5efd9d6ff5a9c54970d186a3\",\n                \"message\": \"USD 10.00 processed successfully (Others: Test)\",\n                \"payment_type\": \"others\",\n                \"reason\": \"\",\n                \"ref_id\": \"ch_1H0NxrJ3Qv9azrNmMxWMd79J\",\n                \"ref_reason\": \"\",\n                \"remarks\": \"\",\n                \"status\": \"succeeded\",\n                \"type\": \"checkout\",\n                \"updated_at\": \"2020-07-02T08:40:15.871000\"\n            },\n            {\n                \"amount\": 5.0,\n                \"created_at\": \"2020-07-02T08:44:45.989000\",\n                \"creator\": {\n                    \"id\": \"5c1072d15045ad3dc6282169\",\n                    \"name\": \"Henry Ngo\"\n                },\n                \"currency\": \"USD\",\n                \"description\": \"refund validation.\",\n                \"id\": \"5efd9e7ee1183c8f37a7c423\",\n                \"message\": \"USD 5.00 refunded successfully (Duplicate)\",\n                \"payment_type\": \"others\",\n                \"reason\": \"duplicate\",\n                \"ref_id\": \"re_1H0O2DJ3Qv9azrNmRUeazeEP\",\n                \"ref_reason\": \"\",\n                \"remarks\": \"sample remarks.\",\n                \"status\": \"succeeded\",\n                \"type\": \"refund\",\n                \"updated_at\": \"2020-07-02T08:44:45.990000\"\n            }\n        ],\n        \"updated_at\": \"2020-07-02T08:40:16.755000\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"2a0fece7-69d6-425d-9001-593a0ed4d267"},{"name":"Transaction List (Billing History)","id":"b20f8f99-1cb2-485d-a502-8ef95e958096","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/transaction-groups/:id/transactions?id=5e69cf7f811319a16764c43b&id=5e72e226ac4fa08d99512d03&id=5e72e241ac4fa08d99512d05","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","transaction-groups",":id","transactions"],"host":["{{endpoint}}"],"query":[{"key":"id","value":"5e69cf7f811319a16764c43b"},{"key":"id","value":"5e72e226ac4fa08d99512d03"},{"key":"id","value":"5e72e241ac4fa08d99512d05"}],"variable":[{"type":"string","value":"{{transaction_group_id}}","key":"id"}]}},"response":[{"id":"ac0c3f8b-e0ff-4086-a245-eaddb3fb382f","name":"Transaction List (Billing History)","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/transaction-groups/:id/transactions?id=5e69cf7f811319a16764c43b&id=5e72e226ac4fa08d99512d03&id=5e72e241ac4fa08d99512d05","host":["{{endpoint}}"],"path":["api","v1","transaction-groups",":id","transactions"],"query":[{"key":"id","value":"5e69cf7f811319a16764c43b"},{"key":"id","value":"5e72e226ac4fa08d99512d03"},{"key":"id","value":"5e72e241ac4fa08d99512d05"}],"variable":[{"key":"id","value":"{{transaction_group_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1904"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjBjNTVkNWE1YWY4ZDgzYzNiNzNmZWI3Y2JlODhkZTQzOTExMzdhYjYi.XnLiwg.6xjj4jOnxZmlSRY6mA12fytNRPA"},{"key":"Set-Cookie","value":"session=ed228975-37fc-4c21-a8ce-3e3ec2b57214.i-osRPRzyaghGf56RIu7hhXowYM; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.16.0 Python/2.7.16"},{"key":"Date","value":"Thu, 19 Mar 2020 03:10:58 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"results\": [\n            {\n                \"amount\": 0,\n                \"created_at\": \"2018-08-04T08:47:03.711000\",\n                \"currency\": \"SGD\",\n                \"description\": \"Credit card authorised\",\n                \"id\": \"5e69cf7f811319a16764c43b\",\n                \"payment_type\": \"others\",\n                \"reason\": \"\",\n                \"ref_id\": \"tok_1CvLPfJ3Qv9azrNmmdxlmAok\",\n                \"ref_reason\": \"\",\n                \"remarks\": \"\",\n                \"status\": \"authorised\",\n                \"type\": \"authorised_card\",\n                \"updated_at\": \"2020-03-12T05:58:23.580000\"\n            },\n            {\n                \"amount\": 50,\n                \"created_at\": \"2020-03-19T03:08:22.185000\",\n                \"currency\": \"SGD\",\n                \"description\": \"deposit charge.\",\n                \"id\": \"5e72e226ac4fa08d99512d03\",\n                \"payment_type\": \"others\",\n                \"reason\": \"\",\n                \"ref_id\": \"ch_1GOEk5J3Qv9azrNmJFJCFweD\",\n                \"ref_reason\": \"\",\n                \"remarks\": \"\",\n                \"status\": \"succeeded\",\n                \"type\": \"checkout\",\n                \"updated_at\": \"2020-03-19T03:08:22.185000\"\n            },\n            {\n                \"amount\": 50,\n                \"created_at\": \"2020-03-19T03:08:49.314000\",\n                \"currency\": \"SGD\",\n                \"description\": \"deposit charge.\",\n                \"id\": \"5e72e241ac4fa08d99512d05\",\n                \"payment_type\": \"others\",\n                \"reason\": \"\",\n                \"ref_id\": \"ch_1GOEkWJ3Qv9azrNmFSg5iQTi\",\n                \"ref_reason\": \"\",\n                \"remarks\": \"\",\n                \"status\": \"succeeded\",\n                \"type\": \"checkout\",\n                \"updated_at\": \"2020-03-19T03:08:49.315000\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"b20f8f99-1cb2-485d-a502-8ef95e958096"},{"name":"Checkout","id":"b7fa9853-523e-428e-8ec2-4a377032f19c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"payment_type\": \"required:string(default='room_charge')\",\n    \"description\": \"string(default='deposit charge.')\",\n    \"amount\": \"required:float\",\n    \"remarks\": \"string\",\n    \"items\": [\n        {\n            \"description\": \"required:string\",\n            \"quantity\": \"required:integer\",\n            \"price\": \"required:float\",\n            \"fees\": [\n                {\n                    \"amount\": \"array([compound_tax, applied_nightly])\",\n                    \"description\": \"string(default='')\",\n                    \"form_type\": \"applied_amount\",\n                    \"name\": \"required:string\",\n                    \"title\": \"required:string\",\n                    \"type\": \"string({relative, absolute})\",\n                    \"value\": \"required:integer\"\n                }\n            ]\n        },\n        {\n            \"description\": \"required:string\",\n            \"quantity\": \"required:integer\",\n            \"price\": \"required:float\",\n            \"fees\": [\n                {\n                    \"amount\": \"array([compound_tax, applied_nightly])\",\n                    \"description\": \"string(default='')\",\n                    \"form_type\": \"applied_amount\",\n                    \"name\": \"required:string\",\n                    \"title\": \"required:string\",\n                    \"type\": \"string({relative, absolute})\",\n                    \"value\": \"required:integer\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/transaction-groups/:id/checkout","description":"<p>payment_type: String, required\ndescription: String\namount: number, required\nitems: List</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","transaction-groups",":id","checkout"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{transaction_group_id}}","key":"id"}]}},"response":[{"id":"3b699ac2-7eb3-4f56-93ce-301aabf242cf","name":"Checkout","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"payment_type\": \"room_charge\",\n\t\"description\": \"deposit charge.\",\n\t\"amount\": 50.00\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/hotels/:hotel_id/transactions/:id/checkout","host":["{{endpoint}}"],"path":["api","v1","hotels",":hotel_id","transactions",":id","checkout"],"variable":[{"key":"hotel_id","value":"{{hotel_id}}","type":"string"},{"key":"id","value":"{{transaction_id}}","type":"string"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n    \t\"transaction_id\": \"5e3bbd1626ef9b0b5ce8e2e7\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"b7fa9853-523e-428e-8ec2-4a377032f19c"},{"name":"Refund","id":"ea5014a6-fd1e-491e-95d6-88554081981c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"amount\": 10,\n\t\"description\": \"string\", \n\t\"reason\": \"duplicate\",\n\t\"remarks\": \"string\"\n}\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/transaction-groups/:id/refund","urlObject":{"path":["transaction-groups",":id","refund"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"603e0cc5cf379a96fa962637","key":"id"}]}},"response":[{"id":"0c5aa1fb-e0bc-4dce-986b-4a07ab6bd8f7","name":"Ok - Successful refunded Adyen transaction","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"amount\": 10,\n\t\"description\": \"string\", \n\t\"reason\": \"duplicate\",\n\t\"remarks\": \"string\"\n}\n","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/transaction-groups/:id/refund","host":["{{base_url}}"],"path":["transaction-groups",":id","refund"],"variable":[{"key":"id","value":"603e0cc5cf379a96fa962637","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"243"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjgwMWU1ZDU4ZGFmMGZiMzYzZDk0MWMwMmVmNWZjNWU5NjI3ODc2ZWEi.YD4Oaw.2TVRS98DPnPl3B0pY-DEF5jI_pE"},{"key":"Set-Cookie","value":"session=c12d92c8-4829-4c6f-b80b-86833036cf79.ZelEQiKGnJZUdqU7XhyGZC39inE; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Tue, 02 Mar 2021 10:07:39 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"refunded_amount\": 10,\n        \"transaction_ids\": [\n            \"603e0e6bba2b750a5626a966\"\n        ]\n    },\n    \"message\": \"The transaction was refunded successfully.\",\n    \"status\": \"success\"\n}"}],"_postman_id":"ea5014a6-fd1e-491e-95d6-88554081981c"},{"name":"Calculate Item Tax","id":"f2a9ea81-19d6-40b6-a60b-19b357e66a33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"quantity\": \"required:integer\",\n    \"price\": \"required:float\",\n    \"fees\": [\n        {\n            \"amount\": \"array([compound_tax, applied_nightly])\",\n            \"description\": \"string(default='')\",\n            \"form_type\": \"applied_amount\",\n            \"name\": \"required:string\",\n            \"title\": \"required:string\",\n            \"type\": \"string({relative, absolute})\",\n            \"value\": \"required:integer\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/transaction-groups/:id/item-tax","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","transaction-groups",":id","item-tax"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{transaction_group_id}}","key":"id"}]}},"response":[{"id":"50cfefe2-f5d8-43d1-b3c8-54ff623f9ddc","name":"Calculate Item Tax","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"quantity\": 2,\n    \"price\": 300,\n    \"fees\": [\n        {\n            \"amount\": [\n                \"compound_tax\"\n            ],\n            \"description\": \"\",\n            \"form_type\": \"applied_amount\",\n            \"name\": \"Service Charge\",\n            \"title\": \"Service Charge\",\n            \"type\": \"relative\",\n            \"value\": 10\n        },\n        {\n            \"amount\": [\n                \"compound_tax\"\n            ],\n            \"description\": \"\",\n            \"form_type\": \"applied_amount\",\n            \"name\": \"Goods & Service tax\",\n            \"title\": \"Goods & Service tax\",\n            \"type\": \"relative\",\n            \"value\": 7\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/transaction-groups/:id/item-tax","host":["{{endpoint}}"],"path":["api","v1","transaction-groups",":id","item-tax"],"variable":[{"key":"id","value":"{{transaction_group_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1253"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjRlZDFkOTFlNTk1ODMzYjNjYTllNzQ1ODExZmRjZDExZmI0ZmVjMTci.XnGYQw.zUI5C4imSMdFmi4rFF9268NW814"},{"key":"Set-Cookie","value":"session=fbf37e96-3216-406c-a6b3-c51b5e9f84d0.RHUXCtyTnC09ekP0GQ6wuMydSjY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.16.0 Python/2.7.16"},{"key":"Date","value":"Wed, 18 Mar 2020 03:40:51 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"amount\": 600,\n        \"details\": {\n            \"fees\": [\n                {\n                    \"amount\": [\n                        \"compound_tax\"\n                    ],\n                    \"description\": \"\",\n                    \"fee_amount\": 60,\n                    \"form_type\": \"applied_amount\",\n                    \"name\": \"Service Charge\",\n                    \"title\": \"Service Charge\",\n                    \"type\": \"relative\",\n                    \"value\": 10\n                },\n                {\n                    \"amount\": [\n                        \"compound_tax\"\n                    ],\n                    \"description\": \"\",\n                    \"fee_amount\": 46.2,\n                    \"form_type\": \"applied_amount\",\n                    \"name\": \"Goods & Service tax\",\n                    \"title\": \"Goods & Service tax\",\n                    \"type\": \"relative\",\n                    \"value\": 7\n                }\n            ],\n            \"subtotal\": 600,\n            \"tax_reverse\": false,\n            \"tax_setup\": \"excluded\",\n            \"total\": 706.2,\n            \"total_fees\": 106.2\n        },\n        \"price\": 300,\n        \"quantity\": 2\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"f2a9ea81-19d6-40b6-a60b-19b357e66a33"},{"name":"Edit Invoice Items","id":"59b9c487-ebf0-4759-8847-8fb6f9206983","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"items\": [\n        {\n        \t\"item_id\": \"string(objectid, default=unset)\",\n        \t\"item_type\": \"string(default=unset)\",\n            \"description\": \"required:string\",\n            \"quantity\": \"required:integer\",\n            \"price\": \"required:float\",\n            \"fees\": [\n                {\n                    \"amount\": \"array([compound_tax, applied_nightly])\",\n                    \"description\": \"string(default='')\",\n                    \"form_type\": \"applied_amount\",\n                    \"name\": \"required:string\",\n                    \"title\": \"required:string\",\n                    \"type\": \"string({relative, absolute})\",\n                    \"value\": \"required:integer\"\n                }\n            ]\n        },\n        {\n        \t\"item_id\": \"string(objectid, default=unset)\",\n        \t\"item_type\": \"string(default=unset)\",\n            \"description\": \"required:string\",\n            \"quantity\": \"required:integer\",\n            \"price\": \"required:float\",\n            \"fees\": [\n                {\n                    \"amount\": \"array([compound_tax, applied_nightly])\",\n                    \"description\": \"string(default='')\",\n                    \"form_type\": \"applied_amount\",\n                    \"name\": \"required:string\",\n                    \"title\": \"required:string\",\n                    \"type\": \"string({relative, absolute})\",\n                    \"value\": \"required:integer\"\n                }\n            ]\n        }\n    ],\n    \"deleted_items\": \"array(objectid)\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/transaction-groups/:id/items","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","transaction-groups",":id","items"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{transaction_group_id}}","key":"id"}]}},"response":[{"id":"702f291c-e7da-4693-b98d-75d25aa0da7c","name":"Edit Invoice Items","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"items\": [\n        {\n            \"description\": \"Late check-out fee - today\",\n            \"quantity\": 2,\n            \"price\": 300,\n            \"fees\": [\n                {\n                    \"amount\": [\n                        \"compound_tax\"\n                    ],\n                    \"description\": \"\",\n                    \"form_type\": \"applied_amount\",\n                    \"name\": \"Service Charge\",\n                    \"title\": \"Service Charge\",\n                    \"type\": \"relative\",\n                    \"value\": 10\n                },\n                {\n                    \"amount\": [\n                        \"compound_tax\"\n                    ],\n                    \"description\": \"\",\n                    \"form_type\": \"applied_amount\",\n                    \"name\": \"Goods & Service tax\",\n                    \"title\": \"Goods & Service tax\",\n                    \"type\": \"relative\",\n                    \"value\": 7\n                }\n            ]\n        },\n        {\n            \"description\": \"Late check-out fee - 2\",\n            \"quantity\": 2,\n            \"price\": 300,\n            \"fees\": [\n                {\n                    \"amount\": [\n                        \"compound_tax\"\n                    ],\n                    \"description\": \"\",\n                    \"form_type\": \"applied_amount\",\n                    \"name\": \"Service Charge\",\n                    \"title\": \"Service Charge\",\n                    \"type\": \"relative\",\n                    \"value\": 10\n                },\n                {\n                    \"amount\": [\n                        \"compound_tax\"\n                    ],\n                    \"description\": \"\",\n                    \"form_type\": \"applied_amount\",\n                    \"name\": \"Goods & Service tax\",\n                    \"title\": \"Goods & Service tax\",\n                    \"type\": \"relative\",\n                    \"value\": 7\n                }\n            ]\n        }\n    ],\n    \"deleted_items\": []\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/transaction-groups/:id/items","host":["{{endpoint}}"],"path":["api","v1","transaction-groups",":id","items"],"variable":[{"key":"id","value":"{{transaction_group_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"6274"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImIyZTkxZGIyZWRiODk3ZjI4ZjE0MTgyZGVkYjQ3YjVlYTFlZTA4Yzci.Xq_P_g.TwiDuISK8F_V7WupwAk0CuyMPMk"},{"key":"Set-Cookie","value":"session=9a5790c5-9965-4622-8195-6cd8fbe5bf50.H-2Rj6cUn8BylEdPXgR8ZvsM0aY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Mon, 04 May 2020 08:19:10 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"results\": [\n            {\n                \"amount\": 600,\n                \"description\": \"Late check-out fee - 1\",\n                \"details\": {\n                    \"fees\": [\n                        {\n                            \"amount\": 60,\n                            \"description\": \"\",\n                            \"form_type\": \"applied_amount\",\n                            \"name\": \"Service Charge\",\n                            \"title\": \"Service Charge\"\n                        },\n                        {\n                            \"amount\": 46.2,\n                            \"description\": \"\",\n                            \"form_type\": \"applied_amount\",\n                            \"name\": \"Goods & Service tax\",\n                            \"title\": \"Goods & Service tax\"\n                        }\n                    ],\n                    \"subtotal\": 600,\n                    \"tax_setup\": \"excluded\",\n                    \"total\": 706.2,\n                    \"total_fees\": 106.2\n                },\n                \"item_id\": \"5ea959d63750a2c93d968079\",\n                \"item_type\": \"AdditionalItem\",\n                \"name\": \"\",\n                \"price\": 300,\n                \"quantity\": 2\n            },\n            {\n                \"amount\": 600,\n                \"description\": \"Late check-out fee - 2\",\n                \"details\": {\n                    \"fees\": [\n                        {\n                            \"amount\": 60,\n                            \"description\": \"\",\n                            \"form_type\": \"applied_amount\",\n                            \"name\": \"Service Charge\",\n                            \"title\": \"Service Charge\"\n                        },\n                        {\n                            \"amount\": 46.2,\n                            \"description\": \"\",\n                            \"form_type\": \"applied_amount\",\n                            \"name\": \"Goods & Service tax\",\n                            \"title\": \"Goods & Service tax\"\n                        }\n                    ],\n                    \"subtotal\": 600,\n                    \"tax_setup\": \"excluded\",\n                    \"total\": 706.2,\n                    \"total_fees\": 106.2\n                },\n                \"item_id\": \"5ea959e63750a2c93d96807a\",\n                \"item_type\": \"AdditionalItem\",\n                \"name\": \"\",\n                \"price\": 300,\n                \"quantity\": 2\n            },\n            {\n                \"amount\": 600,\n                \"description\": \"Late check-out fee - 1\",\n                \"details\": {\n                    \"fees\": [\n                        {\n                            \"amount\": 60,\n                            \"description\": \"\",\n                            \"form_type\": \"applied_amount\",\n                            \"name\": \"Service Charge\",\n                            \"title\": \"Service Charge\"\n                        },\n                        {\n                            \"amount\": 46.2,\n                            \"description\": \"\",\n                            \"form_type\": \"applied_amount\",\n                            \"name\": \"Goods & Service tax\",\n                            \"title\": \"Goods & Service tax\"\n                        }\n                    ],\n                    \"subtotal\": 600,\n                    \"tax_setup\": \"excluded\",\n                    \"total\": 706.2,\n                    \"total_fees\": 106.2\n                },\n                \"item_id\": \"5ea95a8a3750a2c93d96807f\",\n                \"item_type\": \"AdditionalItem\",\n                \"name\": \"\",\n                \"price\": 300,\n                \"quantity\": 2\n            },\n            {\n                \"amount\": 600,\n                \"description\": \"Late check-out fee - 2\",\n                \"details\": {\n                    \"fees\": [\n                        {\n                            \"amount\": 60,\n                            \"description\": \"\",\n                            \"form_type\": \"applied_amount\",\n                            \"name\": \"Service Charge\",\n                            \"title\": \"Service Charge\"\n                        },\n                        {\n                            \"amount\": 46.2,\n                            \"description\": \"\",\n                            \"form_type\": \"applied_amount\",\n                            \"name\": \"Goods & Service tax\",\n                            \"title\": \"Goods & Service tax\"\n                        }\n                    ],\n                    \"subtotal\": 600,\n                    \"tax_setup\": \"excluded\",\n                    \"total\": 706.2,\n                    \"total_fees\": 106.2\n                },\n                \"item_id\": \"5ea95a8b3750a2c93d968080\",\n                \"item_type\": \"AdditionalItem\",\n                \"name\": \"\",\n                \"price\": 300,\n                \"quantity\": 2\n            },\n            {\n                \"amount\": 600,\n                \"description\": \"Late check-out fee - today\",\n                \"details\": {\n                    \"fees\": [\n                        {\n                            \"amount\": 60,\n                            \"description\": \"\",\n                            \"form_type\": \"applied_amount\",\n                            \"name\": \"Service Charge\",\n                            \"title\": \"Service Charge\"\n                        },\n                        {\n                            \"amount\": 46.2,\n                            \"description\": \"\",\n                            \"form_type\": \"applied_amount\",\n                            \"name\": \"Goods & Service tax\",\n                            \"title\": \"Goods & Service tax\"\n                        }\n                    ],\n                    \"subtotal\": 600,\n                    \"tax_setup\": \"excluded\",\n                    \"total\": 706.2,\n                    \"total_fees\": 106.2\n                },\n                \"item_id\": \"5eafcf5514eb7efb33ef5ce4\",\n                \"item_type\": \"AdditionalItem\",\n                \"name\": \"\",\n                \"price\": 300,\n                \"quantity\": 2\n            }\n        ]\n    },\n    \"message\": \"The item was added successfully.\",\n    \"status\": \"success\"\n}"},{"id":"e6bc5ee3-bde9-4276-a37c-8a073bb9c19e","name":"Add Additional Item","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Late check-out fee\",\n    \"quantity\": 2,\n    \"price\": 300,\n    \"fees\": [\n        {\n            \"amount\": [\n                \"compound_tax\"\n            ],\n            \"description\": \"\",\n            \"form_type\": \"applied_amount\",\n            \"name\": \"Service Charge\",\n            \"title\": \"Service Charge\",\n            \"type\": \"relative\",\n            \"value\": 10\n        },\n        {\n            \"amount\": [\n                \"compound_tax\"\n            ],\n            \"description\": \"\",\n            \"form_type\": \"applied_amount\",\n            \"name\": \"Goods & Service tax\",\n            \"title\": \"Goods & Service tax\",\n            \"type\": \"relative\",\n            \"value\": 7\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/transaction-groups/:id/items","host":["{{endpoint}}"],"path":["api","v1","transaction-groups",":id","items"],"variable":[{"key":"id","value":"{{transaction_group_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"162"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjRlZDFkOTFlNTk1ODMzYjNjYTllNzQ1ODExZmRjZDExZmI0ZmVjMTci.XnGm_Q.rTW5JdxsM0ZwxOqwtFMaVRWeI2Q"},{"key":"Set-Cookie","value":"session=fbf37e96-3216-406c-a6b3-c51b5e9f84d0.RHUXCtyTnC09ekP0GQ6wuMydSjY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.16.0 Python/2.7.16"},{"key":"Date","value":"Wed, 18 Mar 2020 04:43:41 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\", \n    \"data\": {\n        \"amount\": 38.49, \n        \"description\": \"Bouquet for Swee\", \n        \"details\": {\n            \"fees\": [\n                {\n                    \"amount\": 3.849, \n                    \"description\": \"\", \n                    \"form_type\": \"applied_amount\", \n                    \"name\": \"Service Charge\", \n                    \"title\": \"Service Charge\"\n                }\n            ], \n            \"subtotal\": 38.49, \n            \"tax_setup\": \"excluded\", \n            \"total\": 42.34, \n            \"total_fees\": 3.849\n        }, \n        \"item_id\": \"5e7b37ed6f1c1920f19c6593\", \n        \"item_type\": \"AdditionalItem\", \n        \"price\": 38.49, \n        \"quantity\": 1\n    }, \n    \"message\": \"The item was added successfully.\", \n    \"status\": \"success\"\n}\n"}],"_postman_id":"59b9c487-ebf0-4759-8847-8fb6f9206983"},{"name":"Edit Additional Item","id":"0c2314c6-9f4a-4114-9107-04e67c69ef99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"description\": \"required:string\",\n    \"quantity\": \"required:integer(1..4)\",\n    \"price\": \"required:float\",\n    \"fees\": [\n        {\n            \"amount\": [\n                \"array([compound_tax, applied_nightly])\"\n            ],\n            \"description\": \"string(default='')\",\n            \"form_type\": \"string(default='applied_amount')\",\n            \"name\": \"required:string\",\n            \"title\": \"required:string()\",\n            \"type\": \"required:string(default='relative')\",\n            \"value\": \"required:integer\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/transaction-groups/:id/items/:item_id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","transaction-groups",":id","items",":item_id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{transaction_group_id}}","key":"id"},{"type":"string","value":"5e71a6a1c6f6b04f660556db","key":"item_id"}]}},"response":[{"id":"9ebe7dc4-82b4-40f7-b151-d54261deab8a","name":"Edit Additional Item","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"description\": \"Late check-out fee EDITED\",\n    \"quantity\": 2,\n    \"price\": 100,\n    \"fees\": [\n        {\n            \"amount\": [\n                \"compound_tax\"\n            ],\n            \"description\": \"\",\n            \"form_type\": \"applied_amount\",\n            \"name\": \"Service Charge\",\n            \"title\": \"Service Charge\",\n            \"type\": \"relative\",\n            \"value\": 10\n        },\n        {\n            \"amount\": [\n                \"compound_tax\"\n            ],\n            \"description\": \"\",\n            \"form_type\": \"applied_amount\",\n            \"name\": \"Goods & Service tax\",\n            \"title\": \"Goods & Service tax\",\n            \"type\": \"relative\",\n            \"value\": 7\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/transaction-groups/:id/items/:item_id","host":["{{endpoint}}"],"path":["api","v1","transaction-groups",":id","items",":item_id"],"variable":[{"key":"id","value":"{{transaction_group_id}}"},{"key":"item_id","value":"5e71a6a1c6f6b04f660556db"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"164"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjBjNTVkNWE1YWY4ZDgzYzNiNzNmZWI3Y2JlODhkZTQzOTExMzdhYjYi.XnLXeA.PSNexyTi5Nwug1ckWrCKqAVM8RI"},{"key":"Set-Cookie","value":"session=ed228975-37fc-4c21-a8ce-3e3ec2b57214.i-osRPRzyaghGf56RIu7hhXowYM; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.16.0 Python/2.7.16"},{"key":"Date","value":"Thu, 19 Mar 2020 02:22:48 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\", \n    \"data\": {\n        \"amount\": 1.0, \n        \"description\": \"Water\", \n        \"details\": {\n            \"fees\": [\n                {\n                    \"amount\": 0.1, \n                    \"description\": \"\", \n                    \"form_type\": \"applied_amount\", \n                    \"name\": \"Service Charge\", \n                    \"title\": \"Service Charge\"\n                }\n            ], \n            \"subtotal\": 1.0, \n            \"tax_setup\": \"excluded\", \n            \"total\": 1.11, \n            \"total_fees\": 0.1\n        }, \n        \"item_id\": \"5e7b375c6f1c1920f19c6591\", \n        \"item_type\": \"AdditionalItem\", \n        \"price\": 1.0, \n        \"quantity\": 1\n    }, \n    \"message\": \"The item was added successfully.\", \n    \"status\": \"success\"\n}\n"}],"_postman_id":"0c2314c6-9f4a-4114-9107-04e67c69ef99"},{"name":"Delete Additional Item","id":"75f78508-3b63-4108-93bc-60fafb9f445c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"{{endpoint}}/api/v1/transaction-groups/:id/items/:item_id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","transaction-groups",":id","items",":item_id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{transaction_group_id}}","key":"id"},{"type":"string","value":"5e71a6a1c6f6b04f660556db","key":"item_id"}]}},"response":[],"_postman_id":"75f78508-3b63-4108-93bc-60fafb9f445c"},{"name":"Written Off","id":"130a6bdf-0e57-439d-8d78-1e8ab97dadec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{endpoint}}/api/v1/transaction-groups/:id/writeoff","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","transaction-groups",":id","writeoff"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"130a6bdf-0e57-439d-8d78-1e8ab97dadec"},{"name":"Un Written Off","id":"a4f078d9-82af-408b-9beb-2bc239d7dfe8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{endpoint}}/api/v1/transaction-groups/:id/unwriteoff","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","transaction-groups",":id","unwriteoff"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"a4f078d9-82af-408b-9beb-2bc239d7dfe8"},{"name":"Payment Update","id":"74929452-a387-4bef-8ace-995c71dd5fb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"action\": \"refund\",\n    \"data\": {\n        \"invoice_id\": \"4e12fb4f-0912-4155-ad6f-546a427dcc54\",\n        \"transaction_ids\": [\"4e12fb4f-0912-4155-ad6f-546a427dcc54\", \"4e12fb4f-0912-4155-ad6f-546a427dcc54\"]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{external_url}}/payments/updates","urlObject":{"path":["payments","updates"],"host":["{{external_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"74929452-a387-4bef-8ace-995c71dd5fb8"}],"id":"38612740-c2d9-4be3-af1d-968962c0a582","_postman_id":"38612740-c2d9-4be3-af1d-968962c0a582","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Custom Rate Plan","item":[{"name":"Rate Plan List","id":"5a6b3cce-4abf-45d2-92b2-99a0d9a6a9dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/:id/rate-plans?search={{search}}&limit={{limit}}&page={{page}}&order={{order}}&sort={{sort}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","rate-plans"],"host":["{{endpoint}}"],"query":[{"key":"search","value":"{{search}}"},{"key":"limit","value":"{{limit}}"},{"key":"page","value":"{{page}}"},{"key":"order","value":"{{order}}"},{"key":"sort","value":"{{sort}}"}],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"5a6b3cce-4abf-45d2-92b2-99a0d9a6a9dd"},{"name":"Add Rate Plan","id":"f1c5e253-d5bb-4ff6-8bff-fa60b3b89f3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"req:string\",\n\t\"description\": \"req:string\",\n\t\"sell_from_setting\": {\n\t\t\"type\": \"enum(specific, create, start)\",\n\t\t\"value\": \"datetime(default=null|unset)\"\n\t},\n\t\"sell_to_setting\": {\n\t\t\"type\": \"enum(specific, create, start)\",\n\t\t\"value\": \"datetime(default=null|unset)\"\n\t}\n}"},"url":"{{endpoint}}/api/v1/hotels/:id/rate-plans","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","rate-plans"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"f1c5e253-d5bb-4ff6-8bff-fa60b3b89f3a"},{"name":"Edit Rate Plan","id":"37461c06-b853-4695-84ad-1db1af73a05b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"req:string\",\n\t\"description\": \"req:string\",\n\t\"sell_from_setting\": {\n\t\t\"type\": \"enum(specific, create, start)\",\n\t\t\"value\": \"datetime(default=null|unset)\"\n\t},\n\t\"sell_to_setting\": {\n\t\t\"type\": \"enum(specific, create, start)\",\n\t\t\"value\": \"datetime(default=null|unset)\"\n\t}\n}"},"url":"{{endpoint}}/api/v1/hotels/:id/rate-plans/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","rate-plans",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"37461c06-b853-4695-84ad-1db1af73a05b"},{"name":"Delete Rate Plan","id":"37ec26a8-4765-4033-a3cc-599ebedb290d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{endpoint}}/api/v1/hotels/:id/rate-plans/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","rate-plans",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"37ec26a8-4765-4033-a3cc-599ebedb290d"}],"id":"1bb771b9-84f8-49ba-86d6-a40bc8fa9c75","_postman_id":"1bb771b9-84f8-49ba-86d6-a40bc8fa9c75","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Department","item":[{"name":"Department List","id":"bd97a778-ccd5-4b52-a010-6ff9269668cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/:id/departments?search={{search}}&limit={{limit}}&page={{page}}&order={{order}}&sort={{sort}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","departments"],"host":["{{endpoint}}"],"query":[{"key":"search","value":"{{search}}"},{"key":"limit","value":"{{limit}}"},{"key":"page","value":"{{page}}"},{"key":"order","value":"{{order}}"},{"key":"sort","value":"{{sort}}"}],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"2afbb4f0-9871-41d6-8f24-67d502e39813","name":"Department List","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/hotels/:id/departments","host":["{{endpoint}}"],"path":["api","v1","hotels",":id","departments"],"query":[{"key":"search","value":"{{search}}","disabled":true},{"key":"limit","value":"{{limit}}","disabled":true},{"key":"page","value":"{{page}}","disabled":true},{"key":"order","value":"{{order}}","disabled":true},{"key":"sort","value":"{{sort}}","disabled":true}],"variable":[{"key":"id","value":"{{hotel_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1127"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjEyNDJhNzEwOTRlZTM4MWM2YTZjNTA1N2MzZGQ3YTVhZDYzMGZiNDgi.XyKa1Q.RbwYSvWSbdJ6cVxhRoXM5IZZkQ8"},{"key":"Set-Cookie","value":"session=e01051b5-a771-4ceb-9d12-758420be77cb.n02240ppvbo2HGrhX0nxEGvkhDU; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Thu, 30 Jul 2020 10:03:01 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 3,\n        \"filter\": {\n            \"limit\": 10,\n            \"order\": \"desc\",\n            \"page\": 1,\n            \"search\": null,\n            \"sort\": \"created_at\"\n        },\n        \"results\": [\n            {\n                \"created_at\": \"2020-07-30T10:01:58.998000\",\n                \"description\": \"\",\n                \"id\": \"5f229a971afb7ab526f56818\",\n                \"name\": \"Marketing\",\n                \"updated_at\": \"2020-07-30T10:01:59\"\n            },\n            {\n                \"created_at\": \"2020-07-30T10:01:39.431000\",\n                \"description\": \"\",\n                \"id\": \"5f229a831afb7ab526f56816\",\n                \"name\": \"Sales & Reservations\",\n                \"updated_at\": \"2020-07-30T10:01:39.432000\"\n            },\n            {\n                \"created_at\": \"2020-07-30T10:01:24.785000\",\n                \"description\": \"\",\n                \"id\": \"5f229a741afb7ab526f56814\",\n                \"name\": \"Administration\",\n                \"updated_at\": \"2020-07-30T10:01:24.786000\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"bd97a778-ccd5-4b52-a010-6ff9269668cd"},{"name":"Add Department","id":"95fff82d-0e01-47db-9d2f-440441ddee18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"req:string\",\n\t\"description\": \"string\"\n}"},"url":"{{endpoint}}/api/v1/hotels/:hotel_id/departments","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":hotel_id","departments"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"hotel_id"}]}},"response":[],"_postman_id":"95fff82d-0e01-47db-9d2f-440441ddee18"},{"name":"Edit Department","id":"8edb0fbc-9e37-4815-92d3-80b035c97cff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"req:string\",\n\t\"description\": \"string\"\n}"},"url":"{{endpoint}}/api/v1/hotels/:hotel_id/departments/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":hotel_id","departments",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"hotel_id"},{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"8edb0fbc-9e37-4815-92d3-80b035c97cff"},{"name":"Delete Department","id":"baaaa245-6cc8-4716-b1ba-d2b38bcf1465","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{endpoint}}/api/v1/hotels/:hotel_id/departments/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":hotel_id","departments",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"hotel_id"},{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"baaaa245-6cc8-4716-b1ba-d2b38bcf1465"}],"id":"ded1d256-56be-49ba-941f-30f3a56f0ac0","_postman_id":"ded1d256-56be-49ba-941f-30f3a56f0ac0","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Venue","item":[{"name":"Venue List","id":"68c392c0-2731-484e-8d97-7af86092c68a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/:id/venues?search={{search}}&limit={{limit}}&page={{page}}&order={{order}}&sort={{sort}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","venues"],"host":["{{endpoint}}"],"query":[{"key":"search","value":"{{search}}"},{"key":"limit","value":"{{limit}}"},{"key":"page","value":"{{page}}"},{"key":"order","value":"{{order}}"},{"key":"sort","value":"{{sort}}"}],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"d3e7c1ad-1bc1-4628-860c-3b6a892e8ab2","name":"Venue List","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/hotels/current/venues","host":["{{endpoint}}"],"path":["api","v1","hotels","current","venues"],"query":[{"key":"search","value":"{{search}}","disabled":true},{"key":"limit","value":"{{limit}}","disabled":true},{"key":"page","value":"{{page}}","disabled":true},{"key":"order","value":"{{order}}","disabled":true},{"key":"sort","value":"{{sort}}","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1447"},{"key":"X-Idem-CSRF-Token","value":"ImQ1MGIwNGUyMjlhYmFmNjk5YjMxNjczMmE1MWNjZDM5YjMzYzgyZmMi.XVUqdg.QRKsjMDCPyRisV0UJqnnvG6R5rM"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9jkFPgzAARv-K6Xkx0MkUkh0kjExDN-OKUC6ka4t0lNnQsgnL_rvowXjy-r2XL-8CyqoTpgZBRZURM8BMV5X2oxFHEFzAzR4EoIjSMzk8OgV-GrZZLElG4BYricYV3IxoIDj9JHDToPF72xy20XNLzssluM7Ae0u1KQ-Galn2nfr9pOtXh63RIhl8S_JwTFp-2kNuiiw-0xz1BPo2gW49OaeJ6wTq8QVaJbAb7nJdp3MV8jeFWR5bHNWSrXy0g3qNYDFkUREVuHFQFHqsrVOmmp8WycXRSjvc0t7WpR20AMGxV-oPkXxq85jr3EPues6dR_mcswV8gO7CBzPQG9GV_0vXL4WRbfs.XVUqdg.XVGIN_j8dU0UpuFNqcz24WH3eB0; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.14.1 Python/2.7.10"},{"key":"Date","value":"Thu, 15 Aug 2019 09:48:38 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 1,\n        \"filter\": {\n            \"limit\": 10,\n            \"order\": \"desc\",\n            \"page\": 1,\n            \"search\": null,\n            \"sort\": \"created_at\"\n        },\n        \"results\": [\n            {\n                \"address\": {\n                    \"address_1\": \"8 Nguyễn Bỉnh Khiêm, Đa Kao\",\n                    \"address_2\": \"\",\n                    \"city\": \"Quận 1\",\n                    \"country\": \"Vietnam\",\n                    \"postalcode\": \"700000\",\n                    \"state\": \"Hồ Chí Minh\"\n                },\n                \"description\": \"Convention center\",\n                \"email\": null,\n                \"fax\": {\n                    \"cc\": \"\",\n                    \"contact\": \"\"\n                },\n                \"id\": \"5d52350007204d406d5e5634\",\n                \"location\": {\n                    \"lat\": 10.7905242,\n                    \"lng\": 106.7030332\n                },\n                \"maps_url\": \"https://www.google.com/maps/place/Gem+Center/@10.7901727,106.7001183,17z/data=!3m1!4b1!4m5!3m4!1s0x317528b4d5ef2cff:0x7119dc5f357813ee!8m2!3d10.7901727!4d106.702307\",\n                \"name\": \"Gem Center\",\n                \"phone\": {\n                    \"cc\": \"84\",\n                    \"contact\": \"28 3911 7070\"\n                },\n                \"website\": \"\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"68c392c0-2731-484e-8d97-7af86092c68a"},{"name":"Add Venue","id":"3a2946de-1901-4b4c-94a7-e896727a5f27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"\",\n    \"description\": \"string\",\n    \"address\": {\n        \"address_1\": \"string\",\n        \"address_2\": \"string\",\n        \"city\": \"string\",\n        \"country\": \"string\",\n        \"postalcode\": \"string\",\n        \"state\": \"string\"\n    },\n    \"maps_url\": \"string\",\n    \"phone\": {\n        \"cc\": \"+65\",\n        \"contact\": \"65749865\"\n    },\n    \"fax\": {\n        \"cc\": \"+65\",\n        \"contact\": \"88889653\"\n    },\n    \"email\": \"string(email)\",\n    \"website\": \"string\",\n    \"location\": {\n        \"lat\": \"float\",\n        \"lng\": \"float\"\n    },\n    \"pinned\": \"enum(name, address)\"\n}"},"url":"{{endpoint}}/api/v1/hotels/:id/venues","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","venues"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"3a2946de-1901-4b4c-94a7-e896727a5f27"},{"name":"Edit Venue","id":"68e21d33-926c-411a-ac9f-6ba43b7d40ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"\",\n    \"description\": \"string\",\n    \"address\": {\n        \"address_1\": \"string\",\n        \"address_2\": \"string\",\n        \"city\": \"string\",\n        \"country\": \"string\",\n        \"postalcode\": \"string\",\n        \"state\": \"string\"\n    },\n    \"maps_url\": \"string\",\n    \"phone\": {\n        \"cc\": \"+65\",\n        \"contact\": \"65749865\"\n    },\n    \"fax\": {\n        \"cc\": \"+65\",\n        \"contact\": \"88889653\"\n    },\n    \"email\": \"string(email)\",\n    \"website\": \"string\",\n    \"location\": {\n        \"lat\": \"float\",\n        \"lng\": \"float\"\n    },\n    \"pinned\": \"enum(name, address)\"\n}"},"url":"{{endpoint}}/api/v1/hotels/:id/venues/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","venues",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"68e21d33-926c-411a-ac9f-6ba43b7d40ff"},{"name":"Delete Rate Plan","id":"293143fd-268f-4068-ac55-5bc5957d412b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{endpoint}}/api/v1/hotels/:id/venues/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","venues",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"293143fd-268f-4068-ac55-5bc5957d412b"}],"id":"d386c8ee-30b3-4117-8586-708e780ee4ef","event":[{"listen":"prerequest","script":{"id":"447ada82-e4df-451a-8556-8c262502a0d0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7e7dfeb8-9b32-44cf-a838-e4026bf25189","type":"text/javascript","exec":[""]}}],"_postman_id":"d386c8ee-30b3-4117-8586-708e780ee4ef","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Packages","item":[{"name":"Order","item":[{"name":"Bulk Voucher Orders","item":[{"name":"Add Row","id":"9dd8c458-d6b7-47cf-b83b-e05abdfaf18d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"cache_id\": null,\n    \"row\": {\n        \"salutation\": \"mr\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Wick\",\n        \"email\": \"John@assassins.com\",\n        \"message\": \"Enjoy your massage, John! Please don't assasinate me. Please.\",\n        \"product_ids\": \"44677\"\n    },\n    \"order_items\": [\n        {\n            \"inventory_id\": \"5f352c31c0b897eb4868b714\",\n            \"quantity\": 5\n        },\n        {\n            \"inventory_id\": \"5f2a3d24b1fd60d5d1794272\",\n            \"quantity\": 50\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/hotels/:hotel_id/bulk-orders/:id/add-row","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":hotel_id","bulk-orders",":id","add-row"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"hotel_id"},{"type":"string","value":"0","key":"id"}]}},"response":[{"id":"dad84b20-a10b-4ccf-8f42-63638979d08f","name":"Add Row","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"cache_id\": \"f6a1817e-59a3-45c8-bf42-2b8a9a3e10bb\",\n    \"row\": {\n        \"salutation\": \"mr\",\n        \"first_name\": \"Jim\",\n        \"last_name\": \"Wickkkkk\",\n        \"email\": \"John@assassins.com\",\n        \"message\": \"Enjoy your massage, John! Please don't assasinate me. Please.\",\n        \"product_ids\": \"44677\"\n    },\n    \"order_items\": [\n        {\n            \"inventory_id\": \"5f352c31c0b897eb4868b714\",\n            \"quantity\": 5\n        },\n        {\n            \"inventory_id\": \"5f2a3d24b1fd60d5d1794272\",\n            \"quantity\": 50\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/hotels/:hotel_id/bulk-orders/:id/add-row","host":["{{base_url}}"],"path":["hotels",":hotel_id","bulk-orders",":id","add-row"],"variable":[{"key":"hotel_id","value":"{{hotel_id}}"},{"key":"id","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"852"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjI5NzRjN2NhMTFlMDAxODVjNWFkMDMyYWQ1ODEzNGQyNmZkOWUzMGMi.X1ngeA.5NJjXcQgtsUAYTEv5zVjTuCSRaM"},{"key":"Set-Cookie","value":"session=9827b8ce-2dc5-4d29-9996-2668ab202074.8nBCGLBaQTA6wnAjulhqsbCGw5g; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Thu, 10 Sep 2020 08:14:48 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"cache_id\": \"f6a1817e-59a3-45c8-bf42-2b8a9a3e10bb\",\n        \"errors\": [\n            {\n                \"code\": \"invalid_data\",\n                \"count\": 0\n            },\n            {\n                \"code\": \"missing_required_field\",\n                \"count\": 0\n            },\n            {\n                \"code\": \"incorrect_datatype\",\n                \"count\": 0\n            }\n        ],\n        \"row\": {\n            \"_errors\": {},\n            \"_index\": 3,\n            \"email\": \"John@assassins.com\",\n            \"first_name\": \"Jim\",\n            \"last_name\": \"Wick\",\n            \"message\": \"Enjoy your massage, John! Please don't assasinate me. Please.\",\n            \"product_ids\": [\n                \"44677\"\n            ],\n            \"salutation\": \"mr\"\n        }\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"9dd8c458-d6b7-47cf-b83b-e05abdfaf18d"},{"name":"Get Template","id":"8b75b383-52f4-4ce6-883e-23c920cf45de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/hotels/:hotel_id/bulk-orders/template?customer_name=John Wick","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":hotel_id","bulk-orders","template"],"host":["{{base_url}}"],"query":[{"key":"customer_name","value":"John Wick"}],"variable":[{"type":"string","value":"{{hotel_id}}","key":"hotel_id"}]}},"response":[{"id":"cd5e305a-f829-4db0-b393-9f5f6de8202d","name":"Get Template","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/hotels/:hotel_id/bulk-orders/template?customer_name=John Wick","host":["{{base_url}}"],"path":["hotels",":hotel_id","bulk-orders","template"],"query":[{"key":"customer_name","value":"John Wick"}],"variable":[{"key":"hotel_id","value":"{{hotel_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Content-Disposition","value":"attachment; filename=\"recipient_list_John Wick.xlsx\""},{"key":"Content-Type","value":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},{"key":"Cache-Control","value":"no-cache, public, no-store, max-age=-1"},{"key":"Expires","value":"Wed, 23 Sep 2020 07:34:45 GMT"},{"key":"X-Idem-CSRF-Token","value":"IjU2NmE1Mjk0OWMxYWI0ODFjMGI1M2VjNzA3NDBlYTg3NjFkOTI2MTYi.X2r6lg.6dfJdOcVCxo64-YBWlVw1C3FJYw"},{"key":"Set-Cookie","value":"session=6337013e-a176-4531-bb09-becbd28efe13.ZXx9Crw6I8cN7ecNcYyl0B3lGjM; HttpOnly; Path=/"},{"key":"Connection","value":"close"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Wed, 23 Sep 2020 07:34:46 GMT"}],"cookie":[],"responseTime":null,"body":"PK\u0003\u0004\u0014\u0000\u0000\u0000\b\u0000Vt7Q��\u0013��\u0000\u0000\u0000�\u0000\u0000\u0000\u0010\u0000\u0000\u0000docProps/app.xmlM�M\u000b�0\u0010D�J��n�\u0007�\u0001A�\u0005O�C���$\u001b�+��\n~���aԭP�\"\u001e��1$>��H>\u0002��0\u001a\u001e�N�8*�H��\u0000r�[��}FL\u0002�8΀U0��\u001e�w���s�ֈ��\u0017o\u000b19��bP�/��\u001d\u000b�y\u001a�����I�\u0002PK\u0003\u0004\u0014\u0000\u0000\u0000\b\u0000Vt7Q��HE\"\u0001\u0000\u0000�\u0002\u0000\u0000\u0011\u0000\u0000\u0000docProps/core.xmlŒOO\u00021\u0010ſ\n�{�vA�Ͳ\u0017�� �\t\u0018���\u001d�q�'mq��[*,�x���ͼ���d\u001a�t\u0001���\u0018��8ڛ�F.��ڦ�9@�[4\"������\u0005#R�a\u0003^�w�A�)�\u0006�I(�\u0004\u001c��\u000fĪm��2�H.\u001c�J\u000ex�\u000b]�)\tءA�\"�1��]���؏\u001e\\��6p�\u0014d'�f������\n</\u000b�4~`%\f&~�Q\r�R�\u0015Z:P\u001d���\u0007W���~R|�*\f^\u0017��r@�mL�J�SQ���q^�6�Ln�V�U[S6#tFj�b�׌���!�E�s`�^�N\\SBo\b���\u0015gS>�$>\u0005l��h\u0001?t�ζ�6�S\u0017u���\u0017PK\u0003\u0004\u0014\u0000\u0000\u0000\b\u0000Vt7Q�\\�#\u0010\u0006\u0000\u0000�'\u0000\u0000\u0013\u0000\u0000\u0000xl/theme/theme1.xml�Z[s�8\u0014~��xg�m\u000b�6���\u0013siv۴���N\u001f�\u0011X�lyd���G6\u0010˖\r�M��<\u0004,���EG��8y��.b膈��x`�/�ֻ�/��W2$\u0011A0\u0019����\n�L^�Zi\u0000�8}�\u0013\u0012�܂�\bKx\u0014��\\�[\u001a/#����V�il�\u0018Gd`}^,h@�TQZo_ ��\u001f3�\u0015�T�e�\u0001\u0013WA&�����l����>e��:\u001d2�n0\u001bX �o��NZ��T���jg?Vk���H���}�\u0005�I���\u0015\b2\r;:�X�v|��ퟌ��t4m\u001a���x8��ҋp\u001c\u0004�Q���l��A\t��i�d��ڮ����SO��}��h�\n�[O�kw�ӎ�ƭ�x\r��O�î�ƫ�t�i&'��k��\u0016hBF��z\u0012\u0015��@� \u0000Xpv���\u0003�^)�u�\u001a�\u001d��A\\�X�9�\u0011���\u0004�i�\u0019�4Fr��\u0005\u000e\u00007��LP|�A����\\���)�P\u001a\b�ȁ�G�!�ܯ����ɤ3z�}:�k�i�\u0001����ϓ�s�䟧��MB�p�,\t��#[a�'n;\u0013r:\u001cgB|�����%2���\n�N\n<g\u001fV��]��䞌r#���X}�OGn#ש��\"הF$E��-��\u00118�I\r2\u0013?\b���jP\u001c\u0002�\t1�����Ƭ\u0011�\u0013}��\b�ߍ���o�=W�XIڄ�\u0010F\u001a�s�s�l�\u0007�F��U�ܣ�X\u0015\u0001�\u0018�4�5,��x���<\u001d\u0013\u0012͔\u000b\u0006A��$&\u0012�9~MH\u0013�+�����@�/$�J��i�#�t&��3\u001a�F�\u001bu�h�\n    <z�\u0005��5\n\u001c�\u001b\u001d\u0002g\u001b�F!�i��\u001e�$����\u0011+B>b\u00196\u001ar�\u0016��q��`Z\u0012��xNҴ\u0011�Y�5�>`��͑u�֑\u000e\u0011�^7B>b΋�\u0011�\u001e�8J���qX\u0004��^�I���f��~��3l,��G�\u0017J�\u000f&�?�24\u0007��Y\t��Vj���4>�\u001e2\n\u0005�\u001e>�zx\n7�ƼP��{\u0001���7«���9.}ϥ��=�ҷ7#}g�Ӌ[�Fn[���1��4.(cWr���T��)�9����h>�����$���Y-#\u0016�K��A$�����*�\t�d[%\t�T�e7�\u0012�B\u001bn�S�J��对(�<[�鯡t>,��\n        <_��\u000b3C�rK궔��&8J���pN\u001e�\f;g<�\u001d�w�\u001d5��]v�#�0S�C�\u001aB�\u0003m���:8����\n�R�o����x\u001a�9�\u0004�}�Wm�������Q���<�\u001dǈ�!���C�y{_�g��P4\u0014ml�$,F�`���,\u0014�d`-�\u0007��Q\u0002�RU`1[�\u0003+��|L�E�p�\\_�ђ�ۦe�n�)w\u0019m\"R9�i�\u0013g���e��U\u001d�U[�j=�\u0015N��Y�ȟ\f\u0011N\u0016\u000b\u0012Hc�\u0017�J��\u0019S��+I�U8�E3�\u0012�\u0018����qNS�\u0012v�\u000f\u00022��9�ze1g���-\f\t,[�Y\u0012�M]��盜�z\"v��w�`��p�G\u000f�;�_�]C�~����n�;HL�y�\u0011\u0001tE\u0002#�\u001c\u0006\u0016\u00172�P\u0006\u0013\u0001͔�D�\u0002�d�\u001c���\u000b��\f�)\u0015έ>9E,��N^�%\u0012\u0014��\f\u0005!\u0017r���jw���,�m�T2d�\u0017�C��=3rC�T%��&\u000b���Tͻ\u001a�&`K�zn�-'��^�=�\u0017=F��\u001e��s�z��E��X�\u001e�2�9p�:�\u0003^�\u0013,C�~�}���\u0011�b���O�%�;�{� ���ۤ���\f|ԫZ�d+\u0011?K\u0007|\u001f�\u0006c�[�4_�\u0014b������1\fy�X�\f�f8߇E�\u001a3Ջ�9�\noA�@�?��\rh�\r4\u001c�\u0005^1��6��N\n<���\r��Ď�틿\u0001PK\u0003\u0004\u0014\u0000\u0000\u0000\b\u0000Vt7Q��\bo!,\u0000\u0000��\u0001\u0000\u0018\u0000\u0000\u0000xl/worksheets/sheet1.xml��ks��������S� ��Ӫn�n :Y��.\r�IuH��t�5�~ˉ\r��G4�\u0005�=�\u001d��E梧�o������e��O�������W_��o�z�����׫��w�v��|���z�o{�盇o���O�\u0017}�y3��X��zu}���o��E����7�ݽ�i�����������]+\u000f߿~���ϻ���?����:=�\\��ex���߾]��Kw����3����}��D��9����>]��>\\��N�w��n�/�g������z��C�ד�w7w�Χ�_-�W�O��W�o��������\u001f����Mdw�����r��/w���\u0017������\u0003�K���yxz��#��W����\u001fw7?\u001fN��i��n?����G�������W�����������\u001d^������W������]������߼�\u001c�Q���u�Z��+����k����p���\u0006���\u001e<|����oE���Ӌ�w���\u001d\u001c>ū�?��=��=]��\n            <p|�oW��+\u001d�f�����\u00078��\u001bsx��O�\u0000�1>��󏫇]���ן�_~�������⵱�M׫�\u000fl?I{w\f�����c���߻�䐤�W�~��c�Yi��\u000f��{��������\u0005^M�^���?�o��1��\u001c>�Y����th�z�>>�������ϫW?�n��\u0005^�:^m�6����k׺k�|��x�Fw�l1���\\����|x\u0017�O�B����\u0003������\u000fp�z��'���@�\u001dX��\u001b8=}\u0007\u000f��<��W_�q�^�Ml���W�8=��E\u0019�.O�/\u0007���>�S\n\u000f��<���S�\u000e?�)�Sm\u0016��_}\u0005�8N�y��۟�\"8�\u0018���3~�S\u0006g�\fΦ�x��S\u0004g�\b�.��\u001f\r���N�������O��÷��wJ�L�����)|3}�~Y\u0000�\u001f�=}�~u��O߽��@f�J���\r�뿁�_���7p��\u0006.y�]��.αB�<�I��'��������9>�?Xێ�?u��\u000fC\u000f��l��߿;>�ާ����ǟw��-_�O�\u001by��^N�K�0q�4K���\u0013\u0006�$�w��ٷo�p����ӹǧ[=>��'�\u0003�i�կ�ڬ��fݷvz������e潗�����b�\u0013x���Iq�����~\u0012޷?�����ߐ�CF���7d��w7��W7�����W��c���,zo�]�����/m9�KK�W�?�K�e]>]~(\b��r���$��խ�Z�ٵ��d\r�=L�0�˗d��G�����s���E�ݗ�Iy��/]vV/��~v�/�M�\u000e�\u001e8���k��I�������O\u0013�zw��A��m^�~\u001e\u001e~�ŝ\u001e��=������j\u0017?=r�cG�%&��ȹ\f�ɇ�L\u001c/�����r��N:��R�%�?=����\u0003�%�\tf��`���Xj�'�-�\u0007�\u0005`!X\u0004\u0016�%`)X\u0006��\u0015`%X\u0005V�5`\"��\b�\u0013~ �$4\t-�\u001f�^��_�����5/�\u001e�\u0003�%�\tf���M��t����j��|�~���v��DW\u001f���s7q>�?��L�&\u001f�~������?_O�\u0017sc��&������j*́7�l菾�?\u000f����ϊϓ����ǿv�^O>�Mn���ݧ����~�iw���4/��������um3l!X\u0004\u0016�%'��`��UG3.�7�l��!�\bm=�⦙�_O�n����\u0018C?%�o\u0002ퟓ�������갨j��������$�������'�_]�]\u001d/��h���/�^]�L�ӧ��Ã���_=��^y�c�w\u0013���>^����5Of���:����8��u�uO�=��(0|�\u0007柞s��9�_/���b�\u0004,\u0005��r�\u0002��\u0012���\u001a�k��\u001f\u0005\u0000�\u0011�'�@xIh\u0012Z��\u001eG�(П\u0004�M������������x:ch~��N�/_�n�����#�W������y����]��`\u0016�\r怹`[0\u000f�\u0007\u000b�B�\b,\u0006K�R�\f,\u0007+�J�\n�\u0006k�ڮ\u0001�$��5��m�p\u000b�[(�2��ww�{wz��5�~�,�x������ȳ>1�}����ɰ]��`\u0016�\r怹`[0\u000f�\u0007\u000b�B�\b,\u0006K�R�\f,\u0007+�J�\n�\u0006k��>\u0001�$��'��m�p\u000b�[(�2��ww\u0003~7UF��.�}�>�\u0015����ȳ>Y��D9��a�\u00043�,0\u001b�\u0001s��`\u001e�\u000f\u0016��`\u0011X\f���`\u0019X\u000eV��`\u0015X\rր�}\u0002�Ix�O\u0000)�B�\u0016J�P�e �#�V���.�f�_���v��㙗����2�G��ɺ�'ꙟ}\u0002v\tf�Y`6�\u0003�m�\n                <0\u001f,\u0000\u000b�\"�\u0018,\u0001K�2�\u001c�\u0000+�*�\u001a�\u0001\u0013!�$��'��m�p\u000b�[(�2��w����(�0��o7�>y��\n��WT\u0016��#��dz�/\u0014�P�P��\u0012�\u0004��l0\u0007�=Z�c;\u0016��u\u001e�\u000f\u0016��`\u0011X\f���`\u0019X\u000eV��`\u0015X\rր��\u0002��x�P\u0000)�B�\u0016J�P�e �#ooC��\r�P����x�e/�,�3�\";�O��N��$\u000bf�Y`6�\u0003�m�\n                    <0\u001f,\u0000\u000b�\"�\u0018,\u0001K�2�\u001c�\u0000+�*�\u001a�\u0001k\u001b�&YB��P���-�n�x�@�G���$;�L���&;;c��)��L��N���z��(0ʂ�`\u0016�\r怹`[0\u000f�\u0007\u000b�B�\b,\u0006K�R�\f,\u0007+�J�\n�\u0006k��F�Q���-�m�p\u000b�[(�2��2��4�촿���Xeg�*;Ӭ���,�\u001e�4\n̲`&�\u0005f�9`.�\u0016�\u0003��\u0002�\u0010,\u0002��\u0012�\u0014,\u0003��\n�\u0012�\u0002��\u001a��Qh�%�h\u000be[(�B�\u0016��\f�{��\u0017�2��5�촿����e��.;����0�\u001e��(`�`&�\u0005f�9`.�\u0016�\u0003��\u0002�\u0010,\u0002��\u0012�\u0014,\u0003��\n�\u0012�\u0002��\u001a0\u0011BM�;�BH�\u0016\n�P���-\u0003�\u001ey{+��\\3�N�����ev�,�s�2;�/��N��2\u000bf�Y`6�\u0003��a���\n                        <0\u001f,\u0000\u000b�\"�\u0018,\u0001K�2�\u001c�\u0000+�*�\u001a�\u0001k\u001b��YB��P���-�n�x�@�G�ކr{\u001bj��������^RYf�V��̪�:�\u0002�,�\tf��`\u000e�\u000b�\u0005��|�\u0000,\u0004��b�\u0004,\u0005��r�\u0002�\u0004��j�\u0006�m\u0014Zf\t)�B�\u0016\n�P���-\u0003�\u001ey{+��\\��������ev�,�s�2;�/��N��2\u000bf�Y`6�\u0003�m�\n                            <0\u001f,\u0000\u000b�\"�\u0018,\u0001K�2�\u001c�\u0000+�*�\u001a�\u0001k\u001b��YB��P���-�n�x�@�G���2;�,���2;?c��+��\\����ˬz��(�̂�`\u0016�\r怹`[0\u000f�\u0007\u000b�B�\b,\u0006K�R�\f,\u0007+�J�\n�\u0006k��F�e���-�m�p\u000b�[(�2���:!e�54�쬿�\u001ag,����\u001a�ev�_f�C?\u001b\u0005�\u0012�\u0004��l0\u0007�\u0005ۂy`>X\u0000\u0016�E`1X\u0002��e`9X\u0001V�U`5X\u0003&B��x�Q\b)�B�\u0016J�P�e �#ooe�54�쬿�\u001ag,����\u001a�ev�_f�C�F�e\u0016�\u0004��l0\u0007�5`���\n                                <0\u001f,\u0000\u000b�\"�\u0018,\u0001K�2�\u001c�\u0000+�*�\u001a�\u0001k\u001b��YB��P���-�n�x�@�G�ކr{\u001bj��������^RYf\r�2;�/��N��2\u000bf�Y`6�\u0003�m�\n                                    <0\u001f,\u0000\u000b�\"�\u0018,\u0001K�2�\u001c�\u0000+�*�\u001a�\u0001k\u001b��YB��P���-�n�x�@�G���2k��5\u0006�e�8c�5�e��,���2�\u001e�4\n,�`&�\u0005f�9`.�\u0016�\u0003��\u0002�\u0010,\u0002��\u0012�\u0014,\u0003��\n�\u0012�\u0002��\u001a��Qh�%�h\u000be[(�B�\u0016��\f�{���,��f����Y�e�P�YC����ˬz��(�̂�`\u0016�\r怹`[0\u000f�\u0007\u000b�B�\b,\u0006K�R�\f,\u0007+�J�\n�\u0006k��F�e���-�m�p\u000b�[(�2���fue�]h��y�]���.�ev�Yf��eV=��Q�.�L0\u000b�\u0006s�\\�-�\u0007�\u0005`!X\u0004\u0016�%`)X\u0006��\u0015`%X\u0005V�5`\"���w\u001a���-\u0014n�t\u000b�[\u0006�=��V�مf������\u0019��BYf\u0017�e��/��N��2\u000bf�Y`6�\u0003�.`���\n                                        <0\u001f,\u0000\u000b�\"�\u0018,\u0001K�2�\u001c�\u0000+�*�\u001a�\u0001k\u001b��YB��P���-�n�x�@�G�ކr{\u001bj�\u0018�e�x�e/�,�\u000b�2k��Y�P�Q`�\u00053�,0\u001b�\u0001s��`\u001e�\u000f\u0016��`\u0011X\f���`\u0019X\u000eV��`\u0015X\rր��B�,!E[(�B�\u0016J�P�e �#ooe�]h�Y���.�Xf\u0017�2��,�F�U\u000fu\u001a\u0005�Y0\u0013�\u0002��\u001c0\u0017l\u000b��`\u0001X\b\u0016��`\tX\n���`\u0005X\tV��`\rX�(��\u0012R���-\u0014n�t\u000b�[\u0006�=��V�مf�5����ev�,�\u000b�2k��Y�P�Q`�\u00053�,0\u001b�\u0001s��`\u001e�\u000f\u0016��`\u0011X\f���`\u0019X\u000eV��`\u0015X\rր��B�,!E[(�B�\u0016J�P�e �#�{*�ev�Yf��2�\n                                            <c�]*��R��\u001a�eV=��Q�.�L0\u000b�\u0006s�\\�-�\u0007�\u0005`!X\u0004\u0016�%`)X\u0006��\u0015`%X\u0005V�5`\"���w\u001a���-\u0014n�t\u000b�[\u0006�=��V�٥f�5����ev�,�K�2��/��N��2\u000bf�Y`6�\u0003�.a���\n                                                <0\u001f,\u0000\u000b�\"�\u0018,\u0001K�2�\u001c�\u0000+�*�\u001a�\u0001k\u001b��YB��P���-�n�x�@�G�ކr{\u001bj�,������^RYf��ev�_f�C�F�e\u0016�\u0004��l0\u0007�\u0005ۂy`>X\u0000\u0016�E`1X\u0002��e`9X\u0001V�U`5X\u0003�6\n-��\u0014m�l\u000b�[(�B�|����ev�Yf\u0017�evy�2�T�٥f�]��Y�P�Q`�\u00053�,0\u001b�\u0001s��`\u001e�\u000f\u0016��`\u0011X\f���`\u0019X\u000eV��`\u0015X\rր��B�,!E[(�B�\u0016J�P�e �#ooe�]��˿����ev�,�K�2��/��N��2\u000bf�Y`6�\u0003�m�\n                                                    <0\u001f,\u0000\u000b�\"�\u0018,\u0001K�2�\u001c�\u0000+�*�\u001a�\u0001k\u001b��YB��P���-�n�x�@����+e�]i��E�]��̮�ev�Yf\u0017�eV=��Q�.�L0\u000b�\u0006s�\\�-�\u0007�\u0005`!X\u0004\u0016�%`)X\u0006��\u0015`%X\u0005V�5`\"���w\u001a���-\u0014n�t\u000b�[\u0006�=��V�ٕf�]����\u0019��JYfW�ev�_f�C�F�e\u0016�\u0004��l0\u0007�]�2\u000b�y`>X\u0000\u0016�E`1X\u0002��e`9X\u0001V�U`5X\u0003�6\n-��\u0014m�l\u000b�[(�B�|���\r��6�FY���㡗���̮4�첿̪�:�\u0002�,�\tf��`\u000e�\u000b�\u0005��|�\u0000,\u0004��b�\u0004,\u0005��r�\u0002�\u0004��j�\u0006�m\u0014Zf\t)�B�\u0016\n�P���-\u0003�\u001ey{+��J��.����ev�,�+�2��/��N��2\u000bf�Y`6�\u0003�m�\n                                                        <0\u001f,\u0000\u000b�\"�\u0018,\u0001K�2�\u001c�\u0000+�*�\u001a�\u0001k\u001b��YB��P���-�n�x�@�G���2��,���2�:c�])��J��.�ˬz��(�̂�`\u0016�\r怹`[0\u000f�\u0007\u000b�B�\b,\u0006K�R�\f,\u0007+�J�\n�\u0006k��F�e���-�m�p\u000b�[(�2��q��ZYfךev�_f�g,�ke�]k��e�U\u000f�l\u0014�K0\u0013�\u0002��\u001c0\u0017l\u000b��`\u0001X\b\u0016��`\tX\n���`\u0005X\tV��`\r�\b�&�F!�l\u000b�[(�B�|����ev�Yf��ev}�2�V�ٵf�]��Y�P�Q`�\u00053�,0\u001b�\u0001sװ��u\u001e�\u000f\u0016��`\u0011X\f���`\u0019X\u000eV��`\u0015X\rր��B�,!E[(�B�\u0016J�P�e �#ooC��\r�QV�e�x�e/�,�k�2��/��N��2\u000bf�Y`6�\u0003�m�\n                                                            <0\u001f,\u0000\u000b�\"�\u0018,\u0001K�2�\u001c�\u0000+�*�\u001a�\u0001k\u001b��YB��P���-�n�x�@�G���2��,���2�>c�]+��Z�̮�ˬz��(�̂�`\u0016�\r怹`[0\u000f�\u0007\u000b�B�\b,\u0006K�R�\f,\u0007+�J�\n�\u0006k��F�e���-�m�p\u000b�[(�2���̮5�쪿̮�Xf��2��,���2�\u001e�4\n,�`&�\u0005f�9`.�\u0016�\u0003��\u0002�\u0010,\u0002��\u0012�\u0014,\u0003��\n�\u0012�\u0002��\u001a��Qh�%�h\u000be[(�B�\u0016��\f�{���Q�ٍf�]����\u0019��FYf7�ev�_f�C?\u001b\u0005�\u0012�\u0004��l0\u0007�\u0005ۂy`>X\u0000\u0016�E`1X\u0002��e`9X\u0001V�U`5X\u0003&B��x�Q\b)�B�\u0016J�P�e �#ooe��h��U�ݜ��n�ev�Yf��eV=�i\u0014Xf�L0\u000b�\u0006s��\r,�p�\u0007�\u0005`!X\u0004\u0016�%`)X\u0006��\u0015`%X\u0005V�5`m��2KH�\u0016ʶP���-\u0014o\u0019�����PnoCm�u�=\u001ez�K*��F�̮�ˬz��(�̂�`\u0016�\r怹`[0\u000f�\u0007\u000b�B�\b,\u0006K�R�\f,\u0007+�J�\n�\u0006k��F�e���-�m�p\u000b�[(�2����n4�캿�n�Xf7�2��,���2�\u001e�4\n,�`&�\u0005f�9`.�\u0016�\u0003��\u0002�\u0010,\u0002��\u0012�\u0014,\u0003��\n�\u0012�\u0002��\u001a��Qh�%�h\u000be[(�B�\u0016��\f�{���,�\u001b�2��/��3�ٍ��n4�캿̪�:�\u0002�,�\tf��`\u000e�\u000b�\u0005��|�\u0000,\u0004��b�\u0004,\u0005��r�\u0002�\u0004��j�\u0006�m\u0014Zf\t)�B�\u0016\n�P���-\u0003�\u001ew{O/�i��C�:��͞N��U�u����Z�ϳ�S?{���$�\bmB��%�\u0012z�>a@\u0018\u0012F�1aB�\u0012f�9aAX\u0012V�5aC(��\u000b�pP1���\u0017̽`�e(�c\u000b@�o<��v�\u0003��ԋ\u0016��2�\u001ezV;����9խ\u001dXq\tMB��&t\b�\u0013j�\\��#�\t\u00030\"�\t\u00130#�\t\u000b�\"�\t\u001b�C�и���\u0017L�`�\u0005s/\u0018|\u0019J��\u00020�\u00020����W�ө\u0017����\u001ez^;��Ws�[;0�\u0012��\u0016�M�\u0010��[B��'\f\bC0&L\bS0',\bK�&l\b\u000f�C\u000b0*�^0���\u0017̽`�e(�c\u000b@Y�<��v�S���\u000b_U\u0019�O\u000f=���\u001a�9խ\u001d؃\tMB��&t\b]�-�G�\u0013\u0006�!aD\u0018\u0013&�)aF�\u0013\u0016�%aEX\u00136��ڡ�\u0018\u0015C/�z��\u000b�^0�2���\u0005���?\u001ezV;���tꅯ�,Ƨ���N2֜��\u000e�Ƅ&�Eh\u0013:�.��#�\t\u00030\"�\t\u00130#�\t\u000b�\"�\t\u001b�C�Ж���\u0017L�`�\u0005s/\u0018|\u0019J��\u0002����T3)o�IyzΤ\n                                                                <U'�fR�(��z�S;���&�Eh\u0013:�.��#�\t\u00030\"�\t\u00130#�\t\u000b�\"�\t\u001b¶vHu���\u000e)�^0���\u0017\f�\f%l\u0001���T3)o�IyzΤ\n                                                                    <U'�fR�^(��z��;�)\u0003��\u0016�M�\u0010�'�o�p�G�\u0013\u0006�!aD\u0018\u0013&�)aF�\u0013\u0016�%aEX\u00136����M�\u0014C/�z��\u000b�^0�2���\r`�\r`��3�PF��\u0017��:*O5���BY��c��U\u0019�$�\bmB��%�\u0012z�>a@\u0018\u0012F�1aB�\u0012f�9aAX\u0012V�5aCx(\u001e\\�I1�\u0017��`�\u0005�/C�\u001f�\u0000�<լ��\u000beV��3+O�Yy����\u0017ʮ�\u001e�\u0016\u000f�ʀ&�Eh\u0013:�.��#�\t\u00030\"�\t\u00130#�\t\u000b�\"�\t\u001b�C��L��\u0017L�`�\u0005s/\u0018|\u0019J��\u0006Pw�fW�^(����ay�\u000e�SͰ<�P�e�X�xhY\u00064\t-B��!t\t��\u001e�O\u0018\u0010��\u0011aL�\u0010��\u0019aNX\u0010��\u0015aM�\u0010\u001e�\u0007�eR\f�`�\u0005c/�{���P�G6�L]�g�eyz�L˳s��:-�4���Bٖ�c��\u0001�$4\t-B��!t\t��\u001e�O\u0018\u0010��\u0011aL�\u0010��\u0019aNX\u0010��\u0015aM�\u0010��C�K�xH1���\u0017̽`�e(�c\u001b@ݖg�myz��˳s��:.�t��T\u0019��c��q\u0019�$�\bmB��=�~\\�+=B�0 \f\t#0!L\t3� ,\t+�!<\u0014\u000f�ˤ\u0018z��\u000b�^0������m\u0000Cm\u0000CS\n                                                                        <Se\\>\u001e{�˪��L7.O�qY=�-\u001e\u001a�\u0001MB��&t\b]�-�G�\u0013\u0006�!aD\u0018\u0013&�)aF�\u0013\u0016�%aEX\u00136����q�\u0014C/�z��\u000b�^0�2���\r���3ݸ\n                                                                            <U���9��L\u001d�g�qy����n�и\fh\u0012Z�6�C�\u0012n\t=B�0 \f\t#0!L\t3� ,\t+�!<\u0014\u000f�ˤ\u0018z��\u000b�^0������m\u0000u\\����2.��\u0019�g�<Ӎ�Se\\V�u���e@��\"�\t\u001dB�pK�\u0011��\u0001aH\u0018\u0011Ƅ\taJ�\u0011�\u0005aIX\u0011ք\r�xp\\&��\u000b�^0���\u0017\f�\f%d\u0003��qy�\u001b��ʸ\n                                                                                <?g\\����\\7.O�qY=�)\u001e�KB��\"�\t\u001dB�pK�\u0011��\u0001aH\u0018\u0011Ƅ\taJ�\u0011�\u0005aIX\u0011ք\ra[<���w��\u0014S/\u0018{��\u000b\u0006_��?�\u0001�qy�\u001b��ʸ\n                                                                                <?g\\����\\7.ϔqY=�-\u001e\u001a�\u0001MB��&t\b�\u0013��e��#�\t\u00030\"�\t\u00130#�\t\u000b�\"�\t\u001b�C��L��\u0017L�`�\u0005s/\u0018|\u0019J��\u00060�\u000604�3S���\u0017��:.�u��L\u0019��c��q\u0019�$�\bmB��%�\u0012z�>a@\u0018\u0012F�1aB�\u0012f�9aAX\u0012V�5aCx(\u001e\u001c�I1�\u0017��`�\u0005�/C�\u001f�\u0000�<׍�3e\\��3.��qy�\u001b�gʸ�\u001e�\u0016\u000f�ˀ&�Eh\u0013:�.��#�\t\u00030\"�\t\u00130#�\t\u000b�\"�\t\u001b�C��L��\u0017L�`�\u0005s/\u0018|\u0019J��\u0006P��n\\�)����qy���sݸ\n                                                                                <S�e�X�xh\\\u00064\t-B��!t\t��\u001e�O\u0018\u0010��\u0011aL�\u0010��\u0019aNX\u0010��\u0015aM�\u0010\u001e�\u0007�eR\f�`�\u0005c/�{���P�G6���ˆn\\�)�qθl�㲡\u001b�gʸ�\u001e�\u0014\u000f�%�Ih\u0011ڄ\u000e�K�%�\b}0$�\bc0%�\bs�$�\bk�-\u001eR]���C��\u0017��`�\u0005�/C�\u001f�\u0000�l���2.\u001b�ˆ:.\u001b�qy����n�и\fh\u0012Z�6�C�P?.Õ\u001e�O\u0018\u0010��\u0011aL�\u0010��\u0019aNX\u0010��\u0015aM�\u0010\u001e�\u0007�eR\f�`�\u0005c/�{���P��6��6��)��2.\u001f���e�q�Ѝ�se\\V�u���e@��\"�\t\u001dB�pK�\u0011��\u0001aH\u0018\u0011Ƅ\taJ�\u0011�\u0005aIX\u0011ք\r�xp\\&��\u000b�^0���\u0017\f�\f%l\u0003�㲡\u001b��ʸl�3.\u001b�l���2.�Ǻ�C�2�Ih\u0011ڄ\u000e�K�%�\b}0$�\bc0%�\bs�$�\bk�P\n                                                                                    <8.�b�\u0005S/\u0018{��\u000b\u0006_��?�\u0001�q�Ѝ�se\\6�\u0019�\ru\\6t��\\\u0019��c��q\u0019�$�\bmB��%�\u0012z�>a@\u0018\u0012F�1aB�\u0012f�9aAX\u0012V�5aCx(\u001e\u001c�I1�\u0017��`�\u0005�/C�\u001f�\u0000\u000bu\\^���2./�\u0019�\u0017긼Ѝ�se\\V�u�\u0007��$�\bmB��%�\u0012z�>a@\u0018\u0012F�1aB�\u0012f�9aAX\u0012V�5aC�\u0016\u000f�.���!��\u000b�^0������m\u0000u\\^���2./�\u0019�\u0017긼Ѝˆ2.�Ǻ�C�2�Ih\u0011ڄ\u000e�{B��\fWz�>a@\u0018\u0012F�1aB�\u0012f�9aAX\u0012V�5aCx(\u001e\u001c�I1�\u0017��`�\u0005�/C�\u001f�\u0000��\u0000��x\fe\\>\u001e{�˪��B7.\u001bʸ�\u001e�\u0016\u000f�ˀ&�Eh\u0013:�.��#�\t\u00030\"�\t\u00130#�\t\u000b�\"�\t\u001b�C��L��\u0017L�`�\u0005s/\u0018|\u0019J��\u0006P��n\\6�qyqθ�P��n\\6�qY=�-\u001e\u001a�\u0001MB��&t\b]�-�G�\u0013\u0006�!aD\u0018\u0013&�)aF�\u0013\u0016�%aEX\u00136����q�\u0014C/�z��\u000b�^0�2���\r���\u000bݸl(���qy���\u000bݸl(�z�[\n                                                                                        <4.\u0003��\u0016�M�\u0010��[B��'\f\bC0&L\bS0',\bK�&l\b\u000fŃ�2)�^0���\u0017̽`�e(�#\u001b`���Kݸl(���qy���Kݸl(�z�S<���&�Eh\u0013:�.��#�\t\u00030\"�\t\u00130#�\t\u000b�\"�\t\u001b¶xHu��\u0016\u000f)�^0���\u0017\f�\f%l\u0003���R7.\u001bʸ�\n                                                                                            <g\\^���R7./�qY=�-\u001e\u001a�\u0001MB��&t\b�\u0013��e��#�\t\u00030\"�\t\u00130#�\t\u000b�\"�\t\u001b�C��L��\u0017L�`�\u0005s/\u0018|\u0019J��\u00060�\u000604ųP���\u0017��:./u��B\u0019��c��q\u0019�$�\bmB��%�\u0012z�>a@\u0018\u0012F�1aB�\u0012f�9aAX\u0012V�5aCx(\u001e\u001c�I1�\u0017��`�\u0005�/C�\u001f�\u0000긼ԍ�\u000be\\^�3./�qy�\u001b�\u0017ʸ�\u001e�\u0016\u000f�ˀ&�Eh\u0013:�.��#�\t\u00030\"�\t\u00130#�\t\u000b�\"�\t\u001b�C��L��\u0017L�`�\u0005s/\u0018|\u0019J��\u0006P��n\\^(���qy���Kݸ�P�e�X�xh\\\u00064\t-B��!t\t��\u001e�O\u0018\u0010��\u0011aL�\u0010��\u0019aNX\u0010��\u0015aM�\u0010\u001e�\u0007�eR\f�`�\u0005c/�{���P�G6�J\u001d�W�qy��˫s��:.�t��B\u0019��c��\u0001�$4\t-B��!t\t��\u001e�O\u0018\u0010��\u0011aL�\u0010��\u0019aNX\u0010��\u0015aM�\u0010��C�K�xH1���\u0017̽`�e(�c\u001b@\u001d�W�qy��˫s��:.�t��R\u0019��c��q\u0019�$�\bmB��=�~\\�+=B�0 \f\t#0!L\t3� ,\t+�!<\u0014\u000f�ˤ\u0018z��\u000b�^0������m\u0000Cm\u0000CS\n                                                                                                <Ke\\>\u001e{�˪��J7./�qY=�-\u001e\u001a�\u0001MB��&t\b]�-�G�\u0013\u0006�!aD\u0018\u0013&�)aF�\u0013\u0016�%aEX\u00136����q�\u0014C/�z��\u000b�^0�2���\r���+ݸ�T���9��J\u001d�W�qy����n�и\fh\u0012Z�6�C�\u0012n\t=B�0 \f\t#0!L\t3� ,\t+�!<\u0014\u000f�ˤ\u0018z��\u000b�^0������m\u0000u\\^���2.��\u0019�W긼ҍ�Ke\\V�u���e@��\"�\t\u001dB�pK�\u0011��\u0001aH\u0018\u0011Ƅ\taJ�\u0011�\u0005aIX\u0011ք\r�xp\\&��\u000b�^0���\u0017\f�\f%d\u0003��qy�\u001b��ʸ�>g\\^���Z7./�qY=�)\u001e�KB��\"�\t\u001dB�pK�\u0011��\u0001aH\u0018\u0011Ƅ\taJ�\u0011�\u0005aIX\u0011ք\ra[<���w��\u0014S/\u0018{��\u000b\u0006_��?�\u0001�qy�\u001b��ʸ�>g\\^���Z7.��qY=�-\u001e\u001a�\u0001MB��&t\b�\u0013��e��#�\t\u00030\"�\t\u00130#�\t\u000b�\"�\t\u001b�C��L��\u0017L�`�\u0005s/\u0018|\u0019J��\u00060�\u000604ųR���\u0017��:.�u��J\u0019��c��q\u0019�$�\bmB��%�\u0012z�>a@\u0018\u0012F�1aB�\u0012f�9aAX\u0012V�5aCx(\u001e\u001c�I1�\u0017��`�\u0005�/C�\u001f�\u0000긼֍�+e\\^�3.��qy�\u001b�Wʸ�\u001e�\u0016\u000f�ˀ&�Eh\u0013:�.��#�\t\u00030\"�\t\u00130#�\t\u000b�\"�\t\u001b�C��L��\u0017L�`�\u0005s/\u0018|\u0019J��\u0006P��n\\^)����qy���kݸ�R�e�X�xh\\\u00064\t-B��!t\t��\u001e�O\u0018\u0010��\u0011aL�\u0010��\u0019aNX\u0010��\u0015aM�\u0010\u001e�\u0007�eR\f�`�\u0005c/�{���P�G6�F\u001d�7�qy��˛s��:.ot��J\u0019��c��\u0001�$4\t-B��!t\t��\u001e�O\u0018\u0010��\u0011aL�\u0010��\u0019aNX\u0010��\u0015aM�\u0010��C�K�xH1���\u0017̽`�e(�c\u001b@\u001d�7�qy��˛s��:.ot��Z\u0019��c��q\u0019�$�\bmB��=�~\\�+=B�0 \f\t#0!L\t3� ,\t+�!<\u0014\u000f�ˤ\u0018z��\u000b�^0������m\u0000Cm\u0000CS\n                                                                                                    <ke\\>\u001e{�˪��F7.��qY=�-\u001e\u001a�\u0001MB��&t\b]�-�G�\u0013\u0006�!aD\u0018\u0013&�)aF�\u0013\u0016�%aEX\u00136����q�\u0014C/�z��\u000b�^0�2���\r���\u001bݸ�V���9��F\u001d�7�qy����n�и\fh\u0012Z�6�C�\u0012n\t=B�0 \f\t#0!L\t3� ,\t+�!<\u0014\u000f�ˤ\u0018z��\u000b�^0������m\u0000u\\����2.o�\u0019�7긼э�ke\\V�u���e@��\"�\t\u001dB�pK�\u0011��\u0001aH\u0018\u0011Ƅ\taJ�\u0011�\u0005aIX\u0011ք\r�xp\\&��\u000b�^0���\u0017\f�\f%\\\u0003�.�q��Cϋ�?.����e�q��P�x������!�$4\t-B��!t\t��\u001e�O\u0018\u0010��\u0011aL�\u0010��\u0019aNX\u0010��\u0015aM�\u0010�����)\u001eTL�`�\u0005s/\u0018|\u0019J��\u0006P��\u001f\u000f=/���|:��qyv��˧��\u0017Ϧ?.k�u�\u0007�eB��\"�\t\u001dB���q���\b}0$�\bc0%�\bs�$�\bk�P\n                                                                                                        <4.�b�\u0005S/\u0018{��\u000b\u0006_��?�\u0001\f�\u0001\fM�l�����\u000b_V\u0019�O\u000f���?.k�u�\u0007�eB��\"�\t\u001dB�pK�\u0011��\u0001aH\u0018\u0011Ƅ\taJ�\u0011�\u0005aIX\u0011ք\r�xh\\F��\u000b�^0���\u0017\f�\f%l\u0003(�򏇞\u0017O\\>\u001d{��*���^���eͱn���Lh\u0012Z�6�C�\u0012n\t=B�0 \f\t#0!L\t3� ,\t+�!<\u0014\u000f�˨\u0018z��\u000b�^0������m\u0000e\\������˧c/|Ye\\>=�+����9�-\u001e\u0018�\tMB��&t\b]�-�G�\u0013\u0006�!aD\u0018\u0013&�)aF�\u0013\u0016�%aEX\u00136���q\u0019\u0015C/�z��\u000b�^0�2���\r0U��n\\�(����qy���Sݸ�Q�e�X�x\u0000/\tMB��&t\b]�-�G�\u0013\u0006�!aD\u0018\u0013&�)aF�\u0013\u0016�%aEX\u00136�m����-\u001eRL�`�\u0005s/\u0018|\u0019J��\u0006P��n\\�(����qy���S͸<�P�e�X�xh\\\u00064\t-B��!tO�\u001f��J��'\f\bC0&L\bS0',\bK�&l\b\u000fŃ�2)�^0���\u0017̽`�e(�O\r����n��p��z�������������ǻ��Y�U������៧���n��\"�t���m\u001bU�VJ�T���\u0013����o�v}�\u000f����n\u001f&�_�ow�\u0017��\u0014��w��XX��O׷>闻������_ݼ���w��O�\u000f����_|�`��߮���W�^����ݾ-�\u0016^\u001f�]����ڃ��-�������<��\u0000��>�\u001f���ϧB}������y��پ���&�\\}�Kn?�_���Ƿ�������l��O�W��վ����}�^\u0015|����\u000b\u001f\u001e�gw��~�}y�i���#��)|�v�V��\u001fmh\u001fj����G���ow������������_Ч�n�/�۰��\u000e�mw�^����\u0019\u001f�\u000f���3}ؙ��t���������_�\u0019{��\u0001PK\u0003\u0004\u0014\u0000\u0000\u0000\b\u0000Vt7Q<\u0017\u000eLe\u0004\u0000\u0000*\f\u0000\u0000\u0018\u0000\u0000\u0000xl/worksheets/sheet2.xml�Wmo�8\u0010�+V��T��wV\u0004����J�EmoWw�L2�U���\u000e,��;vB��\u0016�\u0003�\u0010�������t���Uo\u0000\f��r�#ocL���u�����@�f%UJ\r.��י\u0002��C)��A0�Sʄ7�:٣\"+�\r�;�@�\u0005(���L\u0000jt��T����]��A���\u001bc\u0005�l��5<��;s�̋|D�5�:�t1�&,\u0005��\u0014D�*򮺟�a�nq;�1���3�%��6��a�#\t�h��\u0017Œ���H�\r�E.`e�3�7rw�i��J`�,0\u0015]\u0004���\"��}���\u0016?�\u001d���@����������3p�\r$�Zf��\u001c8��K\u0014l1��\u0013\u0016w�\u0011[����6\u0017�\u0005��&e�\u001cS��\f��{w�%�\u0010.�\u001e\u000b���\r\u0003[\u0017�\"�\u0018R��B�}\u001e����t�Q���01��\u001c�voU\u0016k��|(��k\u001e��j@T���l\"o\\\u0015���A�?��ѠR\"�_�l�Ag����\u0016�\u0005�d��f��\u001e��N��k�M�\\\u001b�\u001e\u001cx$�?\"���L\u0014�1{\u000bbw�0WQ\fJ\u001b�{��\r;a���0�\u000eJ\u0013�S\u0001�E\u0016\u000e�kj�l��4Y��\u00066ʥ�=�\u001dc�c��*\u0004}��>&\\�\u001a�j����Vh�r�\u0007z�\u001b�j�~���C.{m���?t.��`�9ռT�~Q}�S��������S��Xn\u0019\u001f��e\u0003d%9�HL���\u0001�hB\u0015��L��k���z�<�&��'�Y�@\u0018�`��Q�«���\u0007�o��\u0010\u000eډ\r�CX�&G\u0012�a\n㺧)�\u0019˰\u001d��x,�ӱ������$Q����Q;���pF��yT2�V'��g�2n�2>\u001e˸\u0019����I����N�:}r��oWD\n��yh`��\u0002��v>N:�2\u000e$+@�\u0017����\t\u0010�9���('ƾ5�]� \u001a2�(N2���\u0010K\u001c��\u000f�;$\fz��\u0005�\u0007H\u0013�<\u0013�0������\r_)\u0019\u0004\r�z-��=G\u0001�G�$��d8ԥ��i�F\u0010pM�b�㘵w\u0005�xӄ����]��\u000b[��&�d�I��s\u0011���\rO\\�\u0007�����\u001b�&\u0005�v\f@ct�p�\u001bҚw�Y��ۑ�)&�C�F\nYל\t��VH�T�#a�\u0015ڍT�M\nC�\u001ca\u0001\u0005\u0005�؂2,�UX2�;��\f�,�A�Pѱ�a%%n��A\u0018��A�)�\u001dQ��uF%\u001b,����vkv�gd�i�z)��\u001bf\u001c?E���\u0005�K\u0014-y���Ɩ����9�\nZ�(�[�\u001c�F�:c8]��\u0011\u0014a��B\u001ay�TFQf,-[�\u001b;��ȝ�Y&\u001e\u0010-��&}foP�$\u0005Q����\u001anމ�q��\u0016���`�\u0013PK\u0003\u0004\u0014\u0000\u0000\u0000\b\u0000Wt7Qk1�l8\u0003\u0000\u0000�,\u0000\u0000\r\u0000\u0000\u0000xl/styles.xml�Z�n�0\u0014~\u0015�\u000f�$\u0004�:\u0011��\ti7S��bҴ\u000b\u0003N�dǙ�tЧ��\u0010H�Pں]R�\\�>�����_y��5�wK�%X1\u001a�\u0001\\J�|q�t��\f��x�cU\u0012r��TY\u00119i\"0Z�\u001aĨ�sݡ�\u0010��x\u0014gl�d\n�<�e\u0000]�G!�w\u0012�\u0007s���\u0018\u0006\u000f�\u0006p�(�\t�+ϗH����{\u0006�\u0018��\\�3U8�\u0002�h\u0016���5�\u0016��\u001b����:�5�\b��~�U��|�\u0019F��\n+\u0006�Mv��繦V�K�d!\u001c���Sv��G'|�����[X�1b�[�`Ó:�'U\r\u0012J���\u0000��(ARb\u0011OU�`��\bl���\u0004\u00070\u0012h��\u0006�l@�)Yh��丵f�\u0005��\u00178�6_�m���\u0011m� ���۵~�h�����f>�]3.\u0016Xl\u001dև�h<�8�\n.H��_�\u0013��KəJ,\b�x��7\u000bD\u0019\t��\u0018@�\u0017$c���aa���)5�k���\bn\u0012ʼsL靆�\f�6\u001e*\u001b�B����o(�b��\u0004\u000fA\u000e���s\u001b�\u000e*��km��:!όG���%\u0017�QU��2�1\u0016�Ã\u0007,$�kQ��D�*4���Wu9\u001f\u0001�\u001e����rw�\n                                                                                                            <5�l�\n$�˯��Bl�2.��!Y��*���K�ٿn.�~[�\u000e�Bt�\u0016�W�#���vD?�&:W\u0002,.vp�nO� ���oK?*\u0011�n4�w\u001e�6]�aD�\u0003�\u001d,[���\u0013�w�y�(�+Pr�Wrs��$և��%�~͌ڸ�[�Z���d(�l/PjC��<��,��\u001b�5D��$�`������8�V�s�Î�\u0010m��;�8s�ۑ��S�#���6��vD��������v�U��ο�D?����ܢ(�~��}�J�,#T��`�\u0018\u000e�\u000f}]�VV�G\u0001~\u0001�p�PQ߫�?��\u0007���\u0005�W��o1�\u00108��\u000b�_\u000b�ڇ�5�ka�\u0002v��6p�\u0018T/�(�:�{��PK\u0003\u0004\u0014\u0000\u0000\u0000\b\u0000Wt7Q\u001f#�\u0003�\u0000\u0000\u0000\u0013\u0002\u0000\u0000\u000b\u0000\u0000\u0000_rels/.rels��O��@\fſJ��\u001aW��b=y�mY�\u0002q&�C;�!\u0013�~{��l�TP�\u0018^�ޏG�?4�v\u001cR��T�~\b�4�j�\u0002H�%�iőBVj\u0016��Gi ���!ج�;���9짞E�J#��4�\t�!-�8���?3��l��[�gB��;KG�\u0017OA\u0017�g\u001b\u0006�Y6,���p��,�\u001a��\n���C�_׏�\u0003H���\bh�\u0000�1��\u001d\u001a��#7#�?p�\u0003PK\u0003\u0004\u0014\u0000\u0000\u0000\b\u0000Wt7Qh _��\u0001\u0000\u0000;\u0003\u0000\u0000\u000f\u0000\u0000\u0000xl/workbook.xml�R�N�0\u0010���\u001f@�, �\b\u0012j�%\u0012[����\u001bO�\u0011�\u001d�\u0013\n|�N\\��\u0017�/\n                                                                                                                <y����\u0019_��8����ƆB4D�$MC�@���r�v�UĮߦ��th\u0000�5i.�y�*���j����\b*Bg\u0019\u001c�'�]8�\u00077Q��\nk�)D&\u0012Փ�����\u0014�\u001f��\u000e�6�j�V��BH��h��\u000f��\u000b���9�\u001fΒ2��;cb�\u0010�E\n                                                                                                                    <!|\"O�\t�/��6K�\\\u000bq&��+\u0006ܠAz/D�\r�d�V�\u001c�m�$.��|ĞQS�}�]����9�����f\u0015�#\u0019���?����\u0019\\]c\u00053W�-X����\u0019���`\u0017DbU\u000b�X�N�Ey;_���yJ��\u0012\u0010�{��� \u0007|������)���q�.\u001f�ǌ�o\u0018�Q�Q*\r5Z�s�\u0016\u0018�\u000bV\u000b�\fO�,?=�.����L\u0019{��N�7F�Qq������|�L\u001e�\u0019\u0018R�s\"��\"\u000f�_���&꒎���\u001fPK\u0003\u0004\u0014\u0000\u0000\u0000\b\u0000Wt7Q~��\u001a�\u0000\u0000\u0000�\u0002\u0000\u0000\u001a\u0000\u0000\u0000xl/_rels/workbook.xml.rels���\u000e�0\f�_��\u0001,��`��\u0017��\u0017X��\t\u001b[�\u001a��x\u0000\u00134\u001e��5M���%]rA%�5=5��`Ъ�T4��\u0004@E�Z��X���2NK����ʢ�5B\u001c�Gp�\f�%�� /S��2\u0012�U�\u001a9\u00150(�\u001b�Q��\u0004S�v\u001e�WF���MU�\u0005�Mq����\f\u0010�.\u0014\u0017��.����G����+�\u0013�0��C\u0010�w�L�O\u0007x�y�\u0003PK\u0003\u0004\u0014\u0000\u0000\u0000\b\u0000Wt7QWކ\\\u0017\u0001\u0000\u0000W\u0004\u0000\u0000\u0013\u0000\u0000\u0000[Content_Types].xml�TMO�0\f�+U���؁\u0003Zw\u0001��\u0003 ��\u001a-_����{�tCb*���%N����c)��c\u0004,zg=�eG\u0014\u001f�D݁S(B\u0004�H\u001b�S�Ǵ�Q�ڂ\\.\u0016\u000fR\u0007O੢��\\���U{K��x?Pץ��\u001a��\u0004/\u000f�� �N�\"��9ؙ�w�P\u0016/=� ��%�X�+\u0014.\u000b�3׽\u001d %������5\u001a����K\u0004�\u0004��\u000e��\u0015HG\u000b'�\u001b��U9f���#\"fT&\u001e\u0007LIe`\\�o\u0012<OA�\u0004UL�&2\u0013���\r�(��9[�ad\r4W�3���?\u0007�\u0019�.�\u001e�\u001bD��m�>������Q8e�oF>B؝�e�O�_PK\u0001\u0002\u0014\u0003\u0014\u0000\u0000\u0000\b\u0000Vt7Q��\u0013��\u0000\u0000\u0000�\u0000\u0000\u0000\u0010\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�\u0001\u0000\u0000\u0000\u0000docProps/app.xmlPK\u0001\u0002\u0014\u0003\u0014\u0000\u0000\u0000\b\u0000Vt7Q��HE\"\u0001\u0000\u0000�\u0002\u0000\u0000\u0011\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�\u0001�\u0000\u0000\u0000docProps/core.xmlPK\u0001\u0002\u0014\u0003\u0014\u0000\u0000\u0000\b\u0000Vt7Q�\\�#\u0010\u0006\u0000\u0000�'\u0000\u0000\u0013\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�\u0001\u0001\u0002\u0000\u0000xl/theme/theme1.xmlPK\u0001\u0002\u0014\u0003\u0014\u0000\u0000\u0000\b\u0000Vt7Q��\bo!,\u0000\u0000��\u0001\u0000\u0018\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000��B\b\u0000\u0000xl/worksheets/sheet1.xmlPK\u0001\u0002\u0014\u0003\u0014\u0000\u0000\u0000\b\u0000Vt7Q<\u0017\u000eLe\u0004\u0000\u0000*\f\u0000\u0000\u0018\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000���4\u0000\u0000xl/worksheets/sheet2.xmlPK\u0001\u0002\u0014\u0003\u0014\u0000\u0000\u0000\b\u0000Wt7Qk1�l8\u0003\u0000\u0000�,\u0000\u0000\r\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�\u000149\u0000\u0000xl/styles.xmlPK\u0001\u0002\u0014\u0003\u0014\u0000\u0000\u0000\b\u0000Wt7Q\u001f#�\u0003�\u0000\u0000\u0000\u0013\u0002\u0000\u0000\u000b\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�\u0001�<\u0000\u0000_rels/.relsPK\u0001\u0002\u0014\u0003\u0014\u0000\u0000\u0000\b\u0000Wt7Qh _��\u0001\u0000\u0000;\u0003\u0000\u0000\u000f\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�\u0001�=\u0000\u0000xl/workbook.xmlPK\u0001\u0002\u0014\u0003\u0014\u0000\u0000\u0000\b\u0000Wt7Q~��\u001a�\u0000\u0000\u0000�\u0002\u0000\u0000\u001a\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�\u0001G?\u0000\u0000xl/_rels/workbook.xml.relsPK\u0001\u0002\u0014\u0003\u0014\u0000\u0000\u0000\b\u0000Wt7QWކ\\\u0017\u0001\u0000\u0000W\u0004\u0000\u0000\u0013\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�\u00015@\u0000\u0000[Content_Types].xmlPK\u0005\u0006\u0000\u0000\u0000\u0000\n\u0000\n\u0000�\u0002\u0000\u0000}A\u0000\u0000\u0000\u0000"}],"_postman_id":"8b75b383-52f4-4ce6-883e-23c920cf45de"},{"name":"Edit Row","id":"44afbcec-77f9-4a46-9ef1-eb1d732848d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"cache_id\": \"93a337b9-26eb-46e4-bcb1-fb746e01e25e\",\n    \"row\": {\n        \"_index\": 1,\n        \"id\": \"5f688e59cb1abb4f4c9d60e7\",  // Only required when editing an existing bulk order\n        \"salutation\": \"mr\",\n        \"first_name\": \"Alex\",\n        \"last_name\": \"Ryan\",\n        \"email\": \"Bob@assassins.com\",\n        \"message\": \"It's a gift!\",\n        \"product_ids\": \"81180, 81180\"\n    },\n    \"order_items\": [\n        {\n            \"inventory_id\": \"5f081c01ea36e5e982d32bdf\",\n            \"quantity\": 6\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/hotels/:hotel_id/bulk-orders/:id/edit-row","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":hotel_id","bulk-orders",":id","edit-row"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"hotel_id"},{"type":"string","value":"0","key":"id"}]}},"response":[{"id":"8ed29d3d-f3b3-416a-9226-a7c11249a87f","name":"Edit Row - Error","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"cache_id\": \"f5326b85-d285-4f85-be82-73618b5aa60a\",\n    \"row\": {\n        \"_index\": 1,\n        \"salutation\": \"mr\",\n        \"first_name\": \"Bob\",\n        \"last_name\": \"Milwake\",\n        \"email\": \"Bob@assassins.com\",\n        \"message\": \"It's a gift!\",\n        \"product_ids\": \"44677\"\n    },\n    \"order_items\": [\n        {\n            \"inventory_id\": \"5f352c31c0b897eb4868b714\",\n            \"quantity\": 1\n        },\n        {\n            \"inventory_id\": \"5f2a3d24b1fd60d5d1794272\",\n            \"quantity\": 50\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/hotels/:hotel_id/bulk-orders/:id/edit-row","host":["{{base_url}}"],"path":["hotels",":hotel_id","bulk-orders",":id","edit-row"],"variable":[{"key":"hotel_id","value":"{{hotel_id}}"},{"key":"id","value":"0"}]}},"status":"INTERNAL SERVER ERROR","code":500,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"X-XSS-Protection","value":"0"},{"key":"Connection","value":"close"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Thu, 03 Sep 2020 10:59:48 GMT"}],"cookie":[],"responseTime":null,"body":"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"\n  \"http://www.w3.org/TR/html4/loose.dtd\">\n<html>\n    <head>\n        <title>ValidationError: {u'product_ids': [u'You have assigned more packages of this type than you have chosen to purchase']} // Werkzeug Debugger</title>\n        <link rel=\"stylesheet\" href=\"?__debugger__=yes&amp;cmd=resource&amp;f=style.css\"\n        type=\"text/css\">\n        <!-- We need to make sure this has a favicon so that the debugger does\n         not by accident trigger a request to /favicon.ico which might\n         change the application state. -->\n        <link rel=\"shortcut icon\"\n        href=\"?__debugger__=yes&amp;cmd=resource&amp;f=console.png\">\n        <script src=\"?__debugger__=yes&amp;cmd=resource&amp;f=jquery.js\"></script>\n        <script src=\"?__debugger__=yes&amp;cmd=resource&amp;f=debugger.js\"></script>\n        <script type=\"text/javascript\">\n      var TRACEBACK = 4509976848,\n          CONSOLE_MODE = false,\n          EVALEX = true,\n          EVALEX_TRUSTED = false,\n          SECRET = \"FpNLsXNc3G7LFYBOCdz8\";\n    </script>\n    </head>\n    <body style=\"background-color: #fff\">\n        <div class=\"debugger\">\n            <h1>web.modules.base.exceptions.ValidationError</h1>\n            <div class=\"detail\">\n                <p class=\"errormsg\">ValidationError: {u'product_ids': [u'You have assigned more packages of this type than you have chosen to purchase']}</p>\n            </div>\n            <h2 class=\"traceback\">Traceback \n                <em>(most recent call last)</em>\n            </h2>\n            <div class=\"traceback\">\n                <ul>\n                    <li>\n                        <div class=\"frame\" id=\"frame-4509838992\">\n                            <h4>File \n                                <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/app.py\"</cite>,\n      line\n                                <em class=\"line\">2309</em>,\n      in\n                                <code class=\"function\">__call__</code>\n                            </h4>\n                            <div class=\"source library\">\n                                <pre class=\"line before\">\n                                    <span class=\"ws\"></span>\n                                </pre>\n                                <pre class=\"line before\">\n                                    <span class=\"ws\">    </span>def __call__(self, environ, start_response):\n                                </pre>\n                                <pre class=\"line before\">\n                                    <span class=\"ws\">        </span>&quot;&quot;&quot;The WSGI server calls the Flask application object as the\n                                </pre>\n                                <pre class=\"line before\">\n                                    <span class=\"ws\">        </span>WSGI application. This calls :meth:`wsgi_app` which can be\n                                </pre>\n                                <pre class=\"line before\">\n                                    <span class=\"ws\">        </span>wrapped to applying middleware.&quot;&quot;&quot;\n                                </pre>\n                                <pre class=\"line current\">\n                                    <span class=\"ws\">        </span>return self.wsgi_app(environ, start_response)\n                                </pre>\n                                <pre class=\"line after\">\n                                    <span class=\"ws\"></span>\n                                </pre>\n                                <pre class=\"line after\">\n                                    <span class=\"ws\">    </span>def __repr__(self):\n                                </pre>\n                                <pre class=\"line after\">\n                                    <span class=\"ws\">        </span>return '&lt;%s %r&gt;' % (\n                                </pre>\n                                <pre class=\"line after\">\n                                    <span class=\"ws\">            </span>self.__class__.__name__,\n                                </pre>\n                                <pre class=\"line after\">\n                                    <span class=\"ws\">            </span>self.name,\n                                </pre>\n                            </div>\n                        </div>\n                        <li>\n                            <div class=\"frame\" id=\"frame-4509839120\">\n                                <h4>File \n                                    <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/app.py\"</cite>,\n      line\n                                    <em class=\"line\">2295</em>,\n      in\n                                    <code class=\"function\">wsgi_app</code>\n                                </h4>\n                                <div class=\"source library\">\n                                    <pre class=\"line before\">\n                                        <span class=\"ws\">            </span>try:\n                                    </pre>\n                                    <pre class=\"line before\">\n                                        <span class=\"ws\">                </span>ctx.push()\n                                    </pre>\n                                    <pre class=\"line before\">\n                                        <span class=\"ws\">                </span>response = self.full_dispatch_request()\n                                    </pre>\n                                    <pre class=\"line before\">\n                                        <span class=\"ws\">            </span>except Exception as e:\n                                    </pre>\n                                    <pre class=\"line before\">\n                                        <span class=\"ws\">                </span>error = e\n                                    </pre>\n                                    <pre class=\"line current\">\n                                        <span class=\"ws\">                </span>response = self.handle_exception(e)\n                                    </pre>\n                                    <pre class=\"line after\">\n                                        <span class=\"ws\">            </span>except:\n                                    </pre>\n                                    <pre class=\"line after\">\n                                        <span class=\"ws\">                </span>error = sys.exc_info()[1]\n                                    </pre>\n                                    <pre class=\"line after\">\n                                        <span class=\"ws\">                </span>raise\n                                    </pre>\n                                    <pre class=\"line after\">\n                                        <span class=\"ws\">            </span>return response(environ, start_response)\n                                    </pre>\n                                    <pre class=\"line after\">\n                                        <span class=\"ws\">        </span>finally:\n                                    </pre>\n                                </div>\n                            </div>\n                            <li>\n                                <div class=\"frame\" id=\"frame-4509838928\">\n                                    <h4>File \n                                        <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_cors/extension.py\"</cite>,\n      line\n                                        <em class=\"line\">161</em>,\n      in\n                                        <code class=\"function\">wrapped_function</code>\n                                    </h4>\n                                    <div class=\"source library\">\n                                        <pre class=\"line before\">\n                                            <span class=\"ws\">        </span># Wrap exception handlers with cross_origin\n                                        </pre>\n                                        <pre class=\"line before\">\n                                            <span class=\"ws\">        </span># These error handlers will still respect the behavior of the route\n                                        </pre>\n                                        <pre class=\"line before\">\n                                            <span class=\"ws\">        </span>if options.get('intercept_exceptions', True):\n                                        </pre>\n                                        <pre class=\"line before\">\n                                            <span class=\"ws\">            </span>def _after_request_decorator(f):\n                                        </pre>\n                                        <pre class=\"line before\">\n                                            <span class=\"ws\">                </span>def wrapped_function(*args, **kwargs):\n                                        </pre>\n                                        <pre class=\"line current\">\n                                            <span class=\"ws\">                    </span>return cors_after_request(app.make_response(f(*args, **kwargs)))\n                                        </pre>\n                                        <pre class=\"line after\">\n                                            <span class=\"ws\">                </span>return wrapped_function\n                                        </pre>\n                                        <pre class=\"line after\">\n                                            <span class=\"ws\"></span>\n                                        </pre>\n                                        <pre class=\"line after\">\n                                            <span class=\"ws\">            </span>if hasattr(app, 'handle_exception'):\n                                        </pre>\n                                        <pre class=\"line after\">\n                                            <span class=\"ws\">                </span>app.handle_exception = _after_request_decorator(\n                                        </pre>\n                                        <pre class=\"line after\">\n                                            <span class=\"ws\">                    </span>app.handle_exception)\n                                        </pre>\n                                    </div>\n                                </div>\n                                <li>\n                                    <div class=\"frame\" id=\"frame-4509839184\">\n                                        <h4>File \n                                            <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py\"</cite>,\n      line\n                                            <em class=\"line\">269</em>,\n      in\n                                            <code class=\"function\">error_router</code>\n                                        </h4>\n                                        <div class=\"source library\">\n                                            <pre class=\"line before\">\n                                                <span class=\"ws\">        </span>if self._has_fr_route():\n                                            </pre>\n                                            <pre class=\"line before\">\n                                                <span class=\"ws\">            </span>try:\n                                            </pre>\n                                            <pre class=\"line before\">\n                                                <span class=\"ws\">                </span>return self.handle_error(e)\n                                            </pre>\n                                            <pre class=\"line before\">\n                                                <span class=\"ws\">            </span>except Exception:\n                                            </pre>\n                                            <pre class=\"line before\">\n                                                <span class=\"ws\">                </span>pass  # Fall through to original handler\n                                            </pre>\n                                            <pre class=\"line current\">\n                                                <span class=\"ws\">        </span>return original_handler(e)\n                                            </pre>\n                                            <pre class=\"line after\">\n                                                <span class=\"ws\"></span>\n                                            </pre>\n                                            <pre class=\"line after\">\n                                                <span class=\"ws\">    </span>def handle_error(self, e):\n                                            </pre>\n                                            <pre class=\"line after\">\n                                                <span class=\"ws\">        </span>&quot;&quot;&quot;Error handler for the API transforms a raised exception into a Flask\n                                            </pre>\n                                            <pre class=\"line after\">\n                                                <span class=\"ws\">        </span>response, with the appropriate HTTP status code and body.\n                                            </pre>\n                                            <pre class=\"line after\">\n                                                <span class=\"ws\"></span>\n                                            </pre>\n                                        </div>\n                                    </div>\n                                    <li>\n                                        <div class=\"frame\" id=\"frame-4509839312\">\n                                            <h4>File \n                                                <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py\"</cite>,\n      line\n                                                <em class=\"line\">269</em>,\n      in\n                                                <code class=\"function\">error_router</code>\n                                            </h4>\n                                            <div class=\"source library\">\n                                                <pre class=\"line before\">\n                                                    <span class=\"ws\">        </span>if self._has_fr_route():\n                                                </pre>\n                                                <pre class=\"line before\">\n                                                    <span class=\"ws\">            </span>try:\n                                                </pre>\n                                                <pre class=\"line before\">\n                                                    <span class=\"ws\">                </span>return self.handle_error(e)\n                                                </pre>\n                                                <pre class=\"line before\">\n                                                    <span class=\"ws\">            </span>except Exception:\n                                                </pre>\n                                                <pre class=\"line before\">\n                                                    <span class=\"ws\">                </span>pass  # Fall through to original handler\n                                                </pre>\n                                                <pre class=\"line current\">\n                                                    <span class=\"ws\">        </span>return original_handler(e)\n                                                </pre>\n                                                <pre class=\"line after\">\n                                                    <span class=\"ws\"></span>\n                                                </pre>\n                                                <pre class=\"line after\">\n                                                    <span class=\"ws\">    </span>def handle_error(self, e):\n                                                </pre>\n                                                <pre class=\"line after\">\n                                                    <span class=\"ws\">        </span>&quot;&quot;&quot;Error handler for the API transforms a raised exception into a Flask\n                                                </pre>\n                                                <pre class=\"line after\">\n                                                    <span class=\"ws\">        </span>response, with the appropriate HTTP status code and body.\n                                                </pre>\n                                                <pre class=\"line after\">\n                                                    <span class=\"ws\"></span>\n                                                </pre>\n                                            </div>\n                                        </div>\n                                        <li>\n                                            <div class=\"frame\" id=\"frame-4506363664\">\n                                                <h4>File \n                                                    <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py\"</cite>,\n      line\n                                                    <em class=\"line\">269</em>,\n      in\n                                                    <code class=\"function\">error_router</code>\n                                                </h4>\n                                                <div class=\"source library\">\n                                                    <pre class=\"line before\">\n                                                        <span class=\"ws\">        </span>if self._has_fr_route():\n                                                    </pre>\n                                                    <pre class=\"line before\">\n                                                        <span class=\"ws\">            </span>try:\n                                                    </pre>\n                                                    <pre class=\"line before\">\n                                                        <span class=\"ws\">                </span>return self.handle_error(e)\n                                                    </pre>\n                                                    <pre class=\"line before\">\n                                                        <span class=\"ws\">            </span>except Exception:\n                                                    </pre>\n                                                    <pre class=\"line before\">\n                                                        <span class=\"ws\">                </span>pass  # Fall through to original handler\n                                                    </pre>\n                                                    <pre class=\"line current\">\n                                                        <span class=\"ws\">        </span>return original_handler(e)\n                                                    </pre>\n                                                    <pre class=\"line after\">\n                                                        <span class=\"ws\"></span>\n                                                    </pre>\n                                                    <pre class=\"line after\">\n                                                        <span class=\"ws\">    </span>def handle_error(self, e):\n                                                    </pre>\n                                                    <pre class=\"line after\">\n                                                        <span class=\"ws\">        </span>&quot;&quot;&quot;Error handler for the API transforms a raised exception into a Flask\n                                                    </pre>\n                                                    <pre class=\"line after\">\n                                                        <span class=\"ws\">        </span>response, with the appropriate HTTP status code and body.\n                                                    </pre>\n                                                    <pre class=\"line after\">\n                                                        <span class=\"ws\"></span>\n                                                    </pre>\n                                                </div>\n                                            </div>\n                                            <li>\n                                                <div class=\"frame\" id=\"frame-4506364880\">\n                                                    <h4>File \n                                                        <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/app.py\"</cite>,\n      line\n                                                        <em class=\"line\">1741</em>,\n      in\n                                                        <code class=\"function\">handle_exception</code>\n                                                    </h4>\n                                                    <div class=\"source library\">\n                                                        <pre class=\"line before\">\n                                                            <span class=\"ws\">            </span># if we want to repropagate the exception, we can attempt to\n                                                        </pre>\n                                                        <pre class=\"line before\">\n                                                            <span class=\"ws\">            </span># raise it with the whole traceback in case we can do that\n                                                        </pre>\n                                                        <pre class=\"line before\">\n                                                            <span class=\"ws\">            </span># (the function was actually called from the except part)\n                                                        </pre>\n                                                        <pre class=\"line before\">\n                                                            <span class=\"ws\">            </span># otherwise, we just raise the error again\n                                                        </pre>\n                                                        <pre class=\"line before\">\n                                                            <span class=\"ws\">            </span>if exc_value is e:\n                                                        </pre>\n                                                        <pre class=\"line current\">\n                                                            <span class=\"ws\">                </span>reraise(exc_type, exc_value, tb)\n                                                        </pre>\n                                                        <pre class=\"line after\">\n                                                            <span class=\"ws\">            </span>else:\n                                                        </pre>\n                                                        <pre class=\"line after\">\n                                                            <span class=\"ws\">                </span>raise e\n                                                        </pre>\n                                                        <pre class=\"line after\">\n                                                            <span class=\"ws\"></span>\n                                                        </pre>\n                                                        <pre class=\"line after\">\n                                                            <span class=\"ws\">        </span>self.log_exception((exc_type, exc_value, tb))\n                                                        </pre>\n                                                        <pre class=\"line after\">\n                                                            <span class=\"ws\">        </span>if handler is None:\n                                                        </pre>\n                                                    </div>\n                                                </div>\n                                                <li>\n                                                    <div class=\"frame\" id=\"frame-4506363280\">\n                                                        <h4>File \n                                                            <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py\"</cite>,\n      line\n                                                            <em class=\"line\">266</em>,\n      in\n                                                            <code class=\"function\">error_router</code>\n                                                        </h4>\n                                                        <div class=\"source library\">\n                                                            <pre class=\"line before\">\n                                                                <span class=\"ws\">        </span>:type e: Exception\n                                                            </pre>\n                                                            <pre class=\"line before\">\n                                                                <span class=\"ws\"></span>\n                                                            </pre>\n                                                            <pre class=\"line before\">\n                                                                <span class=\"ws\">        </span>&quot;&quot;&quot;\n                                                            </pre>\n                                                            <pre class=\"line before\">\n                                                                <span class=\"ws\">        </span>if self._has_fr_route():\n                                                            </pre>\n                                                            <pre class=\"line before\">\n                                                                <span class=\"ws\">            </span>try:\n                                                            </pre>\n                                                            <pre class=\"line current\">\n                                                                <span class=\"ws\">                </span>return self.handle_error(e)\n                                                            </pre>\n                                                            <pre class=\"line after\">\n                                                                <span class=\"ws\">            </span>except Exception:\n                                                            </pre>\n                                                            <pre class=\"line after\">\n                                                                <span class=\"ws\">                </span>pass  # Fall through to original handler\n                                                            </pre>\n                                                            <pre class=\"line after\">\n                                                                <span class=\"ws\">        </span>return original_handler(e)\n                                                            </pre>\n                                                            <pre class=\"line after\">\n                                                                <span class=\"ws\"></span>\n                                                            </pre>\n                                                            <pre class=\"line after\">\n                                                                <span class=\"ws\">    </span>def handle_error(self, e):\n                                                            </pre>\n                                                        </div>\n                                                    </div>\n                                                    <li>\n                                                        <div class=\"frame\" id=\"frame-4506363728\">\n                                                            <h4>File \n                                                                <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/app.py\"</cite>,\n      line\n                                                                <em class=\"line\">2292</em>,\n      in\n                                                                <code class=\"function\">wsgi_app</code>\n                                                            </h4>\n                                                            <div class=\"source library\">\n                                                                <pre class=\"line before\">\n                                                                    <span class=\"ws\">        </span>ctx = self.request_context(environ)\n                                                                </pre>\n                                                                <pre class=\"line before\">\n                                                                    <span class=\"ws\">        </span>error = None\n                                                                </pre>\n                                                                <pre class=\"line before\">\n                                                                    <span class=\"ws\">        </span>try:\n                                                                </pre>\n                                                                <pre class=\"line before\">\n                                                                    <span class=\"ws\">            </span>try:\n                                                                </pre>\n                                                                <pre class=\"line before\">\n                                                                    <span class=\"ws\">                </span>ctx.push()\n                                                                </pre>\n                                                                <pre class=\"line current\">\n                                                                    <span class=\"ws\">                </span>response = self.full_dispatch_request()\n                                                                </pre>\n                                                                <pre class=\"line after\">\n                                                                    <span class=\"ws\">            </span>except Exception as e:\n                                                                </pre>\n                                                                <pre class=\"line after\">\n                                                                    <span class=\"ws\">                </span>error = e\n                                                                </pre>\n                                                                <pre class=\"line after\">\n                                                                    <span class=\"ws\">                </span>response = self.handle_exception(e)\n                                                                </pre>\n                                                                <pre class=\"line after\">\n                                                                    <span class=\"ws\">            </span>except:\n                                                                </pre>\n                                                                <pre class=\"line after\">\n                                                                    <span class=\"ws\">                </span>error = sys.exc_info()[1]\n                                                                </pre>\n                                                            </div>\n                                                        </div>\n                                                        <li>\n                                                            <div class=\"frame\" id=\"frame-4506363408\">\n                                                                <h4>File \n                                                                    <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/app.py\"</cite>,\n      line\n                                                                    <em class=\"line\">1815</em>,\n      in\n                                                                    <code class=\"function\">full_dispatch_request</code>\n                                                                </h4>\n                                                                <div class=\"source library\">\n                                                                    <pre class=\"line before\">\n                                                                        <span class=\"ws\">            </span>request_started.send(self)\n                                                                    </pre>\n                                                                    <pre class=\"line before\">\n                                                                        <span class=\"ws\">            </span>rv = self.preprocess_request()\n                                                                    </pre>\n                                                                    <pre class=\"line before\">\n                                                                        <span class=\"ws\">            </span>if rv is None:\n                                                                    </pre>\n                                                                    <pre class=\"line before\">\n                                                                        <span class=\"ws\">                </span>rv = self.dispatch_request()\n                                                                    </pre>\n                                                                    <pre class=\"line before\">\n                                                                        <span class=\"ws\">        </span>except Exception as e:\n                                                                    </pre>\n                                                                    <pre class=\"line current\">\n                                                                        <span class=\"ws\">            </span>rv = self.handle_user_exception(e)\n                                                                    </pre>\n                                                                    <pre class=\"line after\">\n                                                                        <span class=\"ws\">        </span>return self.finalize_request(rv)\n                                                                    </pre>\n                                                                    <pre class=\"line after\">\n                                                                        <span class=\"ws\"></span>\n                                                                    </pre>\n                                                                    <pre class=\"line after\">\n                                                                        <span class=\"ws\">    </span>def finalize_request(self, rv, from_error_handler=False):\n                                                                    </pre>\n                                                                    <pre class=\"line after\">\n                                                                        <span class=\"ws\">        </span>&quot;&quot;&quot;Given the return value from a view function this finalizes\n                                                                    </pre>\n                                                                    <pre class=\"line after\">\n                                                                        <span class=\"ws\">        </span>the request by converting it into a response and invoking the\n                                                                    </pre>\n                                                                </div>\n                                                            </div>\n                                                            <li>\n                                                                <div class=\"frame\" id=\"frame-4506365072\">\n                                                                    <h4>File \n                                                                        <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_cors/extension.py\"</cite>,\n      line\n                                                                        <em class=\"line\">161</em>,\n      in\n                                                                        <code class=\"function\">wrapped_function</code>\n                                                                    </h4>\n                                                                    <div class=\"source library\">\n                                                                        <pre class=\"line before\">\n                                                                            <span class=\"ws\">        </span># Wrap exception handlers with cross_origin\n                                                                        </pre>\n                                                                        <pre class=\"line before\">\n                                                                            <span class=\"ws\">        </span># These error handlers will still respect the behavior of the route\n                                                                        </pre>\n                                                                        <pre class=\"line before\">\n                                                                            <span class=\"ws\">        </span>if options.get('intercept_exceptions', True):\n                                                                        </pre>\n                                                                        <pre class=\"line before\">\n                                                                            <span class=\"ws\">            </span>def _after_request_decorator(f):\n                                                                        </pre>\n                                                                        <pre class=\"line before\">\n                                                                            <span class=\"ws\">                </span>def wrapped_function(*args, **kwargs):\n                                                                        </pre>\n                                                                        <pre class=\"line current\">\n                                                                            <span class=\"ws\">                    </span>return cors_after_request(app.make_response(f(*args, **kwargs)))\n                                                                        </pre>\n                                                                        <pre class=\"line after\">\n                                                                            <span class=\"ws\">                </span>return wrapped_function\n                                                                        </pre>\n                                                                        <pre class=\"line after\">\n                                                                            <span class=\"ws\"></span>\n                                                                        </pre>\n                                                                        <pre class=\"line after\">\n                                                                            <span class=\"ws\">            </span>if hasattr(app, 'handle_exception'):\n                                                                        </pre>\n                                                                        <pre class=\"line after\">\n                                                                            <span class=\"ws\">                </span>app.handle_exception = _after_request_decorator(\n                                                                        </pre>\n                                                                        <pre class=\"line after\">\n                                                                            <span class=\"ws\">                    </span>app.handle_exception)\n                                                                        </pre>\n                                                                    </div>\n                                                                </div>\n                                                                <li>\n                                                                    <div class=\"frame\" id=\"frame-4506363856\">\n                                                                        <h4>File \n                                                                            <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py\"</cite>,\n      line\n                                                                            <em class=\"line\">269</em>,\n      in\n                                                                            <code class=\"function\">error_router</code>\n                                                                        </h4>\n                                                                        <div class=\"source library\">\n                                                                            <pre class=\"line before\">\n                                                                                <span class=\"ws\">        </span>if self._has_fr_route():\n                                                                            </pre>\n                                                                            <pre class=\"line before\">\n                                                                                <span class=\"ws\">            </span>try:\n                                                                            </pre>\n                                                                            <pre class=\"line before\">\n                                                                                <span class=\"ws\">                </span>return self.handle_error(e)\n                                                                            </pre>\n                                                                            <pre class=\"line before\">\n                                                                                <span class=\"ws\">            </span>except Exception:\n                                                                            </pre>\n                                                                            <pre class=\"line before\">\n                                                                                <span class=\"ws\">                </span>pass  # Fall through to original handler\n                                                                            </pre>\n                                                                            <pre class=\"line current\">\n                                                                                <span class=\"ws\">        </span>return original_handler(e)\n                                                                            </pre>\n                                                                            <pre class=\"line after\">\n                                                                                <span class=\"ws\"></span>\n                                                                            </pre>\n                                                                            <pre class=\"line after\">\n                                                                                <span class=\"ws\">    </span>def handle_error(self, e):\n                                                                            </pre>\n                                                                            <pre class=\"line after\">\n                                                                                <span class=\"ws\">        </span>&quot;&quot;&quot;Error handler for the API transforms a raised exception into a Flask\n                                                                            </pre>\n                                                                            <pre class=\"line after\">\n                                                                                <span class=\"ws\">        </span>response, with the appropriate HTTP status code and body.\n                                                                            </pre>\n                                                                            <pre class=\"line after\">\n                                                                                <span class=\"ws\"></span>\n                                                                            </pre>\n                                                                        </div>\n                                                                    </div>\n                                                                    <li>\n                                                                        <div class=\"frame\" id=\"frame-4506364176\">\n                                                                            <h4>File \n                                                                                <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py\"</cite>,\n      line\n                                                                                <em class=\"line\">269</em>,\n      in\n                                                                                <code class=\"function\">error_router</code>\n                                                                            </h4>\n                                                                            <div class=\"source library\">\n                                                                                <pre class=\"line before\">\n                                                                                    <span class=\"ws\">        </span>if self._has_fr_route():\n                                                                                </pre>\n                                                                                <pre class=\"line before\">\n                                                                                    <span class=\"ws\">            </span>try:\n                                                                                </pre>\n                                                                                <pre class=\"line before\">\n                                                                                    <span class=\"ws\">                </span>return self.handle_error(e)\n                                                                                </pre>\n                                                                                <pre class=\"line before\">\n                                                                                    <span class=\"ws\">            </span>except Exception:\n                                                                                </pre>\n                                                                                <pre class=\"line before\">\n                                                                                    <span class=\"ws\">                </span>pass  # Fall through to original handler\n                                                                                </pre>\n                                                                                <pre class=\"line current\">\n                                                                                    <span class=\"ws\">        </span>return original_handler(e)\n                                                                                </pre>\n                                                                                <pre class=\"line after\">\n                                                                                    <span class=\"ws\"></span>\n                                                                                </pre>\n                                                                                <pre class=\"line after\">\n                                                                                    <span class=\"ws\">    </span>def handle_error(self, e):\n                                                                                </pre>\n                                                                                <pre class=\"line after\">\n                                                                                    <span class=\"ws\">        </span>&quot;&quot;&quot;Error handler for the API transforms a raised exception into a Flask\n                                                                                </pre>\n                                                                                <pre class=\"line after\">\n                                                                                    <span class=\"ws\">        </span>response, with the appropriate HTTP status code and body.\n                                                                                </pre>\n                                                                                <pre class=\"line after\">\n                                                                                    <span class=\"ws\"></span>\n                                                                                </pre>\n                                                                            </div>\n                                                                        </div>\n                                                                        <li>\n                                                                            <div class=\"frame\" id=\"frame-4505707600\">\n                                                                                <h4>File \n                                                                                    <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py\"</cite>,\n      line\n                                                                                    <em class=\"line\">269</em>,\n      in\n                                                                                    <code class=\"function\">error_router</code>\n                                                                                </h4>\n                                                                                <div class=\"source library\">\n                                                                                    <pre class=\"line before\">\n                                                                                        <span class=\"ws\">        </span>if self._has_fr_route():\n                                                                                    </pre>\n                                                                                    <pre class=\"line before\">\n                                                                                        <span class=\"ws\">            </span>try:\n                                                                                    </pre>\n                                                                                    <pre class=\"line before\">\n                                                                                        <span class=\"ws\">                </span>return self.handle_error(e)\n                                                                                    </pre>\n                                                                                    <pre class=\"line before\">\n                                                                                        <span class=\"ws\">            </span>except Exception:\n                                                                                    </pre>\n                                                                                    <pre class=\"line before\">\n                                                                                        <span class=\"ws\">                </span>pass  # Fall through to original handler\n                                                                                    </pre>\n                                                                                    <pre class=\"line current\">\n                                                                                        <span class=\"ws\">        </span>return original_handler(e)\n                                                                                    </pre>\n                                                                                    <pre class=\"line after\">\n                                                                                        <span class=\"ws\"></span>\n                                                                                    </pre>\n                                                                                    <pre class=\"line after\">\n                                                                                        <span class=\"ws\">    </span>def handle_error(self, e):\n                                                                                    </pre>\n                                                                                    <pre class=\"line after\">\n                                                                                        <span class=\"ws\">        </span>&quot;&quot;&quot;Error handler for the API transforms a raised exception into a Flask\n                                                                                    </pre>\n                                                                                    <pre class=\"line after\">\n                                                                                        <span class=\"ws\">        </span>response, with the appropriate HTTP status code and body.\n                                                                                    </pre>\n                                                                                    <pre class=\"line after\">\n                                                                                        <span class=\"ws\"></span>\n                                                                                    </pre>\n                                                                                </div>\n                                                                            </div>\n                                                                            <li>\n                                                                                <div class=\"frame\" id=\"frame-4505707472\">\n                                                                                    <h4>File \n                                                                                        <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/app.py\"</cite>,\n      line\n                                                                                        <em class=\"line\">1718</em>,\n      in\n                                                                                        <code class=\"function\">handle_user_exception</code>\n                                                                                    </h4>\n                                                                                    <div class=\"source library\">\n                                                                                        <pre class=\"line before\">\n                                                                                            <span class=\"ws\">            </span>return self.handle_http_exception(e)\n                                                                                        </pre>\n                                                                                        <pre class=\"line before\">\n                                                                                            <span class=\"ws\"></span>\n                                                                                        </pre>\n                                                                                        <pre class=\"line before\">\n                                                                                            <span class=\"ws\">        </span>handler = self._find_error_handler(e)\n                                                                                        </pre>\n                                                                                        <pre class=\"line before\">\n                                                                                            <span class=\"ws\"></span>\n                                                                                        </pre>\n                                                                                        <pre class=\"line before\">\n                                                                                            <span class=\"ws\">        </span>if handler is None:\n                                                                                        </pre>\n                                                                                        <pre class=\"line current\">\n                                                                                            <span class=\"ws\">            </span>reraise(exc_type, exc_value, tb)\n                                                                                        </pre>\n                                                                                        <pre class=\"line after\">\n                                                                                            <span class=\"ws\">        </span>return handler(e)\n                                                                                        </pre>\n                                                                                        <pre class=\"line after\">\n                                                                                            <span class=\"ws\"></span>\n                                                                                        </pre>\n                                                                                        <pre class=\"line after\">\n                                                                                            <span class=\"ws\">    </span>def handle_exception(self, e):\n                                                                                        </pre>\n                                                                                        <pre class=\"line after\">\n                                                                                            <span class=\"ws\">        </span>&quot;&quot;&quot;Default exception handling that kicks in when an exception\n                                                                                        </pre>\n                                                                                        <pre class=\"line after\">\n                                                                                            <span class=\"ws\">        </span>occurs that is not caught.  In debug mode the exception will\n                                                                                        </pre>\n                                                                                    </div>\n                                                                                </div>\n                                                                                <li>\n                                                                                    <div class=\"frame\" id=\"frame-4505708112\">\n                                                                                        <h4>File \n                                                                                            <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py\"</cite>,\n      line\n                                                                                            <em class=\"line\">266</em>,\n      in\n                                                                                            <code class=\"function\">error_router</code>\n                                                                                        </h4>\n                                                                                        <div class=\"source library\">\n                                                                                            <pre class=\"line before\">\n                                                                                                <span class=\"ws\">        </span>:type e: Exception\n                                                                                            </pre>\n                                                                                            <pre class=\"line before\">\n                                                                                                <span class=\"ws\"></span>\n                                                                                            </pre>\n                                                                                            <pre class=\"line before\">\n                                                                                                <span class=\"ws\">        </span>&quot;&quot;&quot;\n                                                                                            </pre>\n                                                                                            <pre class=\"line before\">\n                                                                                                <span class=\"ws\">        </span>if self._has_fr_route():\n                                                                                            </pre>\n                                                                                            <pre class=\"line before\">\n                                                                                                <span class=\"ws\">            </span>try:\n                                                                                            </pre>\n                                                                                            <pre class=\"line current\">\n                                                                                                <span class=\"ws\">                </span>return self.handle_error(e)\n                                                                                            </pre>\n                                                                                            <pre class=\"line after\">\n                                                                                                <span class=\"ws\">            </span>except Exception:\n                                                                                            </pre>\n                                                                                            <pre class=\"line after\">\n                                                                                                <span class=\"ws\">                </span>pass  # Fall through to original handler\n                                                                                            </pre>\n                                                                                            <pre class=\"line after\">\n                                                                                                <span class=\"ws\">        </span>return original_handler(e)\n                                                                                            </pre>\n                                                                                            <pre class=\"line after\">\n                                                                                                <span class=\"ws\"></span>\n                                                                                            </pre>\n                                                                                            <pre class=\"line after\">\n                                                                                                <span class=\"ws\">    </span>def handle_error(self, e):\n                                                                                            </pre>\n                                                                                        </div>\n                                                                                    </div>\n                                                                                    <li>\n                                                                                        <div class=\"frame\" id=\"frame-4505707344\">\n                                                                                            <h4>File \n                                                                                                <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/app.py\"</cite>,\n      line\n                                                                                                <em class=\"line\">1813</em>,\n      in\n                                                                                                <code class=\"function\">full_dispatch_request</code>\n                                                                                            </h4>\n                                                                                            <div class=\"source library\">\n                                                                                                <pre class=\"line before\">\n                                                                                                    <span class=\"ws\">        </span>self.try_trigger_before_first_request_functions()\n                                                                                                </pre>\n                                                                                                <pre class=\"line before\">\n                                                                                                    <span class=\"ws\">        </span>try:\n                                                                                                </pre>\n                                                                                                <pre class=\"line before\">\n                                                                                                    <span class=\"ws\">            </span>request_started.send(self)\n                                                                                                </pre>\n                                                                                                <pre class=\"line before\">\n                                                                                                    <span class=\"ws\">            </span>rv = self.preprocess_request()\n                                                                                                </pre>\n                                                                                                <pre class=\"line before\">\n                                                                                                    <span class=\"ws\">            </span>if rv is None:\n                                                                                                </pre>\n                                                                                                <pre class=\"line current\">\n                                                                                                    <span class=\"ws\">                </span>rv = self.dispatch_request()\n                                                                                                </pre>\n                                                                                                <pre class=\"line after\">\n                                                                                                    <span class=\"ws\">        </span>except Exception as e:\n                                                                                                </pre>\n                                                                                                <pre class=\"line after\">\n                                                                                                    <span class=\"ws\">            </span>rv = self.handle_user_exception(e)\n                                                                                                </pre>\n                                                                                                <pre class=\"line after\">\n                                                                                                    <span class=\"ws\">        </span>return self.finalize_request(rv)\n                                                                                                </pre>\n                                                                                                <pre class=\"line after\">\n                                                                                                    <span class=\"ws\"></span>\n                                                                                                </pre>\n                                                                                                <pre class=\"line after\">\n                                                                                                    <span class=\"ws\">    </span>def finalize_request(self, rv, from_error_handler=False):\n                                                                                                </pre>\n                                                                                            </div>\n                                                                                        </div>\n                                                                                        <li>\n                                                                                            <div class=\"frame\" id=\"frame-4510278672\">\n                                                                                                <h4>File \n                                                                                                    <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/app.py\"</cite>,\n      line\n                                                                                                    <em class=\"line\">1799</em>,\n      in\n                                                                                                    <code class=\"function\">dispatch_request</code>\n                                                                                                </h4>\n                                                                                                <div class=\"source library\">\n                                                                                                    <pre class=\"line before\">\n                                                                                                        <span class=\"ws\">        </span># request came with the OPTIONS method, reply automatically\n                                                                                                    </pre>\n                                                                                                    <pre class=\"line before\">\n                                                                                                        <span class=\"ws\">        </span>if getattr(rule, 'provide_automatic_options', False) \\\n                                                                                                    </pre>\n                                                                                                    <pre class=\"line before\">\n                                                                                                        <span class=\"ws\">           </span>and req.method == 'OPTIONS':\n                                                                                                    </pre>\n                                                                                                    <pre class=\"line before\">\n                                                                                                        <span class=\"ws\">            </span>return self.make_default_options_response()\n                                                                                                    </pre>\n                                                                                                    <pre class=\"line before\">\n                                                                                                        <span class=\"ws\">        </span># otherwise dispatch to the handler for that endpoint\n                                                                                                    </pre>\n                                                                                                    <pre class=\"line current\">\n                                                                                                        <span class=\"ws\">        </span>return self.view_functions[rule.endpoint](**req.view_args)\n                                                                                                    </pre>\n                                                                                                    <pre class=\"line after\">\n                                                                                                        <span class=\"ws\"></span>\n                                                                                                    </pre>\n                                                                                                    <pre class=\"line after\">\n                                                                                                        <span class=\"ws\">    </span>def full_dispatch_request(self):\n                                                                                                    </pre>\n                                                                                                    <pre class=\"line after\">\n                                                                                                        <span class=\"ws\">        </span>&quot;&quot;&quot;Dispatches the request and on top of that performs request\n                                                                                                    </pre>\n                                                                                                    <pre class=\"line after\">\n                                                                                                        <span class=\"ws\">        </span>pre and postprocessing as well as HTTP exception catching and\n                                                                                                    </pre>\n                                                                                                    <pre class=\"line after\">\n                                                                                                        <span class=\"ws\">        </span>error handling.\n                                                                                                    </pre>\n                                                                                                </div>\n                                                                                            </div>\n                                                                                            <li>\n                                                                                                <div class=\"frame\" id=\"frame-4510278544\">\n                                                                                                    <h4>File \n                                                                                                        <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/web/modules/users/action.py\"</cite>,\n      line\n                                                                                                        <em class=\"line\">193</em>,\n      in\n                                                                                                        <code class=\"function\">wrapper</code>\n                                                                                                    </h4>\n                                                                                                    <div class=\"source \">\n                                                                                                        <pre class=\"line before\">\n                                                                                                            <span class=\"ws\">    </span>def decorator(func):\n                                                                                                        </pre>\n                                                                                                        <pre class=\"line before\">\n                                                                                                            <span class=\"ws\">        </span>@wraps(func)\n                                                                                                        </pre>\n                                                                                                        <pre class=\"line before\">\n                                                                                                            <span class=\"ws\">        </span>def wrapper(*args, **kwargs):\n                                                                                                        </pre>\n                                                                                                        <pre class=\"line before\">\n                                                                                                            <span class=\"ws\">            </span>if current_user.is_authenticated and not current_user.is_user_type(user_type):\n                                                                                                        </pre>\n                                                                                                        <pre class=\"line before\">\n                                                                                                            <span class=\"ws\">                </span>return abort(403)\n                                                                                                        </pre>\n                                                                                                        <pre class=\"line current\">\n                                                                                                            <span class=\"ws\">            </span>return func(*args, **kwargs)\n                                                                                                        </pre>\n                                                                                                        <pre class=\"line after\">\n                                                                                                            <span class=\"ws\">        </span>return wrapper\n                                                                                                        </pre>\n                                                                                                        <pre class=\"line after\">\n                                                                                                            <span class=\"ws\">    </span>return decorator\n                                                                                                        </pre>\n                                                                                                    </div>\n                                                                                                </div>\n                                                                                                <li>\n                                                                                                    <div class=\"frame\" id=\"frame-4510278416\">\n                                                                                                        <h4>File \n                                                                                                            <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py\"</cite>,\n      line\n                                                                                                            <em class=\"line\">458</em>,\n      in\n                                                                                                            <code class=\"function\">wrapper</code>\n                                                                                                        </h4>\n                                                                                                        <div class=\"source library\">\n                                                                                                            <pre class=\"line before\">\n                                                                                                                <span class=\"ws\"></span>\n                                                                                                            </pre>\n                                                                                                            <pre class=\"line before\">\n                                                                                                                <span class=\"ws\">        </span>:param resource: The resource as a flask view function\n                                                                                                            </pre>\n                                                                                                            <pre class=\"line before\">\n                                                                                                                <span class=\"ws\">        </span>&quot;&quot;&quot;\n                                                                                                            </pre>\n                                                                                                            <pre class=\"line before\">\n                                                                                                                <span class=\"ws\">        </span>@wraps(resource)\n                                                                                                            </pre>\n                                                                                                            <pre class=\"line before\">\n                                                                                                                <span class=\"ws\">        </span>def wrapper(*args, **kwargs):\n                                                                                                            </pre>\n                                                                                                            <pre class=\"line current\">\n                                                                                                                <span class=\"ws\">            </span>resp = resource(*args, **kwargs)\n                                                                                                            </pre>\n                                                                                                            <pre class=\"line after\">\n                                                                                                                <span class=\"ws\">            </span>if isinstance(resp, ResponseBase):  # There may be a better way to test\n                                                                                                            </pre>\n                                                                                                            <pre class=\"line after\">\n                                                                                                                <span class=\"ws\">                </span>return resp\n                                                                                                            </pre>\n                                                                                                            <pre class=\"line after\">\n                                                                                                                <span class=\"ws\">            </span>data, code, headers = unpack(resp)\n                                                                                                            </pre>\n                                                                                                            <pre class=\"line after\">\n                                                                                                                <span class=\"ws\">            </span>return self.make_response(data, code, headers=headers)\n                                                                                                            </pre>\n                                                                                                            <pre class=\"line after\">\n                                                                                                                <span class=\"ws\">        </span>return wrapper\n                                                                                                            </pre>\n                                                                                                        </div>\n                                                                                                    </div>\n                                                                                                    <li>\n                                                                                                        <div class=\"frame\" id=\"frame-4510278928\">\n                                                                                                            <h4>File \n                                                                                                                <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/web/modules/packages/util.py\"</cite>,\n      line\n                                                                                                                <em class=\"line\">66</em>,\n      in\n                                                                                                                <code class=\"function\">decorated_view</code>\n                                                                                                            </h4>\n                                                                                                            <div class=\"source \">\n                                                                                                                <pre class=\"line before\">\n                                                                                                                    <span class=\"ws\">                </span>'features.voucher.enabled',\n                                                                                                                </pre>\n                                                                                                                <pre class=\"line before\">\n                                                                                                                    <span class=\"ws\">                </span>Config.get('features.voucher.enabled', True)\n                                                                                                                </pre>\n                                                                                                                <pre class=\"line before\">\n                                                                                                                    <span class=\"ws\">            </span>)\n                                                                                                                </pre>\n                                                                                                                <pre class=\"line before\">\n                                                                                                                    <span class=\"ws\">            </span>if not enabled:\n                                                                                                                </pre>\n                                                                                                                <pre class=\"line before\">\n                                                                                                                    <span class=\"ws\">                </span>return error(403, message='You have no permission to access the voucher.')\n                                                                                                                </pre>\n                                                                                                                <pre class=\"line current\">\n                                                                                                                    <span class=\"ws\">        </span>return func(*args, **kwargs)\n                                                                                                                </pre>\n                                                                                                                <pre class=\"line after\">\n                                                                                                                    <span class=\"ws\">    </span>return decorated_view\n                                                                                                                </pre>\n                                                                                                            </div>\n                                                                                                        </div>\n                                                                                                        <li>\n                                                                                                            <div class=\"frame\" id=\"frame-4510278992\">\n                                                                                                                <h4>File \n                                                                                                                    <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/views.py\"</cite>,\n      line\n                                                                                                                    <em class=\"line\">88</em>,\n      in\n                                                                                                                    <code class=\"function\">view</code>\n                                                                                                                </h4>\n                                                                                                                <div class=\"source library\">\n                                                                                                                    <pre class=\"line before\">\n                                                                                                                        <span class=\"ws\">        </span>The arguments passed to :meth:`as_view` are forwarded to the\n                                                                                                                    </pre>\n                                                                                                                    <pre class=\"line before\">\n                                                                                                                        <span class=\"ws\">        </span>constructor of the class.\n                                                                                                                    </pre>\n                                                                                                                    <pre class=\"line before\">\n                                                                                                                        <span class=\"ws\">        </span>&quot;&quot;&quot;\n                                                                                                                    </pre>\n                                                                                                                    <pre class=\"line before\">\n                                                                                                                        <span class=\"ws\">        </span>def view(*args, **kwargs):\n                                                                                                                    </pre>\n                                                                                                                    <pre class=\"line before\">\n                                                                                                                        <span class=\"ws\">            </span>self = view.view_class(*class_args, **class_kwargs)\n                                                                                                                    </pre>\n                                                                                                                    <pre class=\"line current\">\n                                                                                                                        <span class=\"ws\">            </span>return self.dispatch_request(*args, **kwargs)\n                                                                                                                    </pre>\n                                                                                                                    <pre class=\"line after\">\n                                                                                                                        <span class=\"ws\"></span>\n                                                                                                                    </pre>\n                                                                                                                    <pre class=\"line after\">\n                                                                                                                        <span class=\"ws\">        </span>if cls.decorators:\n                                                                                                                    </pre>\n                                                                                                                    <pre class=\"line after\">\n                                                                                                                        <span class=\"ws\">            </span>view.__name__ = name\n                                                                                                                    </pre>\n                                                                                                                    <pre class=\"line after\">\n                                                                                                                        <span class=\"ws\">            </span>view.__module__ = cls.__module__\n                                                                                                                    </pre>\n                                                                                                                    <pre class=\"line after\">\n                                                                                                                        <span class=\"ws\">            </span>for decorator in cls.decorators:\n                                                                                                                    </pre>\n                                                                                                                </div>\n                                                                                                            </div>\n                                                                                                            <li>\n                                                                                                                <div class=\"frame\" id=\"frame-4510279248\">\n                                                                                                                    <h4>File \n                                                                                                                        <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py\"</cite>,\n      line\n                                                                                                                        <em class=\"line\">573</em>,\n      in\n                                                                                                                        <code class=\"function\">dispatch_request</code>\n                                                                                                                    </h4>\n                                                                                                                    <div class=\"source library\">\n                                                                                                                        <pre class=\"line before\">\n                                                                                                                            <span class=\"ws\">            </span>decorators = self.method_decorators\n                                                                                                                        </pre>\n                                                                                                                        <pre class=\"line before\">\n                                                                                                                            <span class=\"ws\"></span>\n                                                                                                                        </pre>\n                                                                                                                        <pre class=\"line before\">\n                                                                                                                            <span class=\"ws\">        </span>for decorator in decorators:\n                                                                                                                        </pre>\n                                                                                                                        <pre class=\"line before\">\n                                                                                                                            <span class=\"ws\">            </span>meth = decorator(meth)\n                                                                                                                        </pre>\n                                                                                                                        <pre class=\"line before\">\n                                                                                                                            <span class=\"ws\"></span>\n                                                                                                                        </pre>\n                                                                                                                        <pre class=\"line current\">\n                                                                                                                            <span class=\"ws\">        </span>resp = meth(*args, **kwargs)\n                                                                                                                        </pre>\n                                                                                                                        <pre class=\"line after\">\n                                                                                                                            <span class=\"ws\"></span>\n                                                                                                                        </pre>\n                                                                                                                        <pre class=\"line after\">\n                                                                                                                            <span class=\"ws\">        </span>if isinstance(resp, ResponseBase):  # There may be a better way to test\n                                                                                                                        </pre>\n                                                                                                                        <pre class=\"line after\">\n                                                                                                                            <span class=\"ws\">            </span>return resp\n                                                                                                                        </pre>\n                                                                                                                        <pre class=\"line after\">\n                                                                                                                            <span class=\"ws\"></span>\n                                                                                                                        </pre>\n                                                                                                                        <pre class=\"line after\">\n                                                                                                                            <span class=\"ws\">        </span>representations = self.representations or OrderedDict()\n                                                                                                                        </pre>\n                                                                                                                    </div>\n                                                                                                                </div>\n                                                                                                                <li>\n                                                                                                                    <div class=\"frame\" id=\"frame-4510278736\">\n                                                                                                                        <h4>File \n                                                                                                                            <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_login/utils.py\"</cite>,\n      line\n                                                                                                                            <em class=\"line\">228</em>,\n      in\n                                                                                                                            <code class=\"function\">decorated_view</code>\n                                                                                                                        </h4>\n                                                                                                                        <div class=\"source library\">\n                                                                                                                            <pre class=\"line before\">\n                                                                                                                                <span class=\"ws\">            </span>return func(*args, **kwargs)\n                                                                                                                            </pre>\n                                                                                                                            <pre class=\"line before\">\n                                                                                                                                <span class=\"ws\">        </span>elif current_app.login_manager._login_disabled:\n                                                                                                                            </pre>\n                                                                                                                            <pre class=\"line before\">\n                                                                                                                                <span class=\"ws\">            </span>return func(*args, **kwargs)\n                                                                                                                            </pre>\n                                                                                                                            <pre class=\"line before\">\n                                                                                                                                <span class=\"ws\">        </span>elif not current_user.is_authenticated:\n                                                                                                                            </pre>\n                                                                                                                            <pre class=\"line before\">\n                                                                                                                                <span class=\"ws\">            </span>return current_app.login_manager.unauthorized()\n                                                                                                                            </pre>\n                                                                                                                            <pre class=\"line current\">\n                                                                                                                                <span class=\"ws\">        </span>return func(*args, **kwargs)\n                                                                                                                            </pre>\n                                                                                                                            <pre class=\"line after\">\n                                                                                                                                <span class=\"ws\">    </span>return decorated_view\n                                                                                                                            </pre>\n                                                                                                                            <pre class=\"line after\">\n                                                                                                                                <span class=\"ws\"></span>\n                                                                                                                            </pre>\n                                                                                                                            <pre class=\"line after\">\n                                                                                                                                <span class=\"ws\"></span>\n                                                                                                                            </pre>\n                                                                                                                            <pre class=\"line after\">\n                                                                                                                                <span class=\"ws\"></span>def fresh_login_required(func):\n                                                                                                                            </pre>\n                                                                                                                            <pre class=\"line after\">\n                                                                                                                                <span class=\"ws\">    </span>'''\n                                                                                                                            </pre>\n                                                                                                                        </div>\n                                                                                                                    </div>\n                                                                                                                    <li>\n                                                                                                                        <div class=\"frame\" id=\"frame-4510279376\">\n                                                                                                                            <h4>File \n                                                                                                                                <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/web/modules/packages/api.py\"</cite>,\n      line\n                                                                                                                                <em class=\"line\">886</em>,\n      in\n                                                                                                                                <code class=\"function\">put</code>\n                                                                                                                            </h4>\n                                                                                                                            <div class=\"source \">\n                                                                                                                                <pre class=\"line before\">\n                                                                                                                                    <span class=\"ws\">        </span># TODO: Permission check\n                                                                                                                                </pre>\n                                                                                                                                <pre class=\"line before\">\n                                                                                                                                    <span class=\"ws\">        </span>order = None\n                                                                                                                                </pre>\n                                                                                                                                <pre class=\"line before\">\n                                                                                                                                    <span class=\"ws\">        </span>if pk != '0':\n                                                                                                                                </pre>\n                                                                                                                                <pre class=\"line before\">\n                                                                                                                                    <span class=\"ws\">            </span>order = Order.objects(pk=pk).first()\n                                                                                                                                </pre>\n                                                                                                                                <pre class=\"line before\">\n                                                                                                                                    <span class=\"ws\">        </span>action_func = self.get_action_func(action)\n                                                                                                                                </pre>\n                                                                                                                                <pre class=\"line current\">\n                                                                                                                                    <span class=\"ws\">        </span>return action_func(order)\n                                                                                                                                </pre>\n                                                                                                                                <pre class=\"line after\">\n                                                                                                                                    <span class=\"ws\"></span>\n                                                                                                                                </pre>\n                                                                                                                                <pre class=\"line after\">\n                                                                                                                                    <span class=\"ws\">    </span>def _add_row(self, order):\n                                                                                                                                </pre>\n                                                                                                                                <pre class=\"line after\">\n                                                                                                                                    <span class=\"ws\">        </span>self.add_filter('cache_id', type=validate_string, location='json', required=True, nullable=True)\n                                                                                                                                </pre>\n                                                                                                                                <pre class=\"line after\">\n                                                                                                                                    <span class=\"ws\">        </span>self._add_common_filters()\n                                                                                                                                </pre>\n                                                                                                                                <pre class=\"line after\">\n                                                                                                                                    <span class=\"ws\"></span>\n                                                                                                                                </pre>\n                                                                                                                            </div>\n                                                                                                                        </div>\n                                                                                                                        <li>\n                                                                                                                            <div class=\"frame\" id=\"frame-4510279056\">\n                                                                                                                                <h4>File \n                                                                                                                                    <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/web/modules/packages/api.py\"</cite>,\n      line\n                                                                                                                                    <em class=\"line\">947</em>,\n      in\n                                                                                                                                    <code class=\"function\">_edit_row</code>\n                                                                                                                                </h4>\n                                                                                                                                <div class=\"source \">\n                                                                                                                                    <pre class=\"line before\">\n                                                                                                                                        <span class=\"ws\">            </span>raise ValidationError('Row index out of bounds')\n                                                                                                                                    </pre>\n                                                                                                                                    <pre class=\"line before\">\n                                                                                                                                        <span class=\"ws\"></span>\n                                                                                                                                    </pre>\n                                                                                                                                    <pre class=\"line before\">\n                                                                                                                                        <span class=\"ws\">        </span>resource = BulkPackageOrderResource(order=order, ordered_inventory=ordered_inventory, cached=cached_dataset,\n                                                                                                                                    </pre>\n                                                                                                                                    <pre class=\"line before\">\n                                                                                                                                        <span class=\"ws\">                                            </span>queryset=OrderItem.objects())\n                                                                                                                                    </pre>\n                                                                                                                                    <pre class=\"line before\">\n                                                                                                                                        <span class=\"ws\"></span>\n                                                                                                                                    </pre>\n                                                                                                                                    <pre class=\"line current\">\n                                                                                                                                        <span class=\"ws\">        </span>import_result = resource.import_data(dataset, raise_errors=True, process_for_preview=True)\n                                                                                                                                    </pre>\n                                                                                                                                    <pre class=\"line after\">\n                                                                                                                                        <span class=\"ws\">        </span>dataset = resource.collect_dataset(import_result)\n                                                                                                                                    </pre>\n                                                                                                                                    <pre class=\"line after\">\n                                                                                                                                        <span class=\"ws\"></span>\n                                                                                                                                    </pre>\n                                                                                                                                    <pre class=\"line after\">\n                                                                                                                                        <span class=\"ws\">        </span>self.save_to_cache(cache_id, dataset)\n                                                                                                                                    </pre>\n                                                                                                                                    <pre class=\"line after\">\n                                                                                                                                        <span class=\"ws\"></span>\n                                                                                                                                    </pre>\n                                                                                                                                    <pre class=\"line after\">\n                                                                                                                                        <span class=\"ws\">        </span>return self.success(data={\n                                                                                                                                    </pre>\n                                                                                                                                </div>\n                                                                                                                            </div>\n                                                                                                                            <li>\n                                                                                                                                <div class=\"frame\" id=\"frame-4510279568\">\n                                                                                                                                    <h4>File \n                                                                                                                                        <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/web/modules/resources/resources.py\"</cite>,\n      line\n                                                                                                                                        <em class=\"line\">107</em>,\n      in\n                                                                                                                                        <code class=\"function\">import_data</code>\n                                                                                                                                    </h4>\n                                                                                                                                    <div class=\"source \">\n                                                                                                                                        <pre class=\"line before\">\n                                                                                                                                            <span class=\"ws\">            </span>return (instance, False)\n                                                                                                                                        </pre>\n                                                                                                                                        <pre class=\"line before\">\n                                                                                                                                            <span class=\"ws\">        </span>else:\n                                                                                                                                        </pre>\n                                                                                                                                        <pre class=\"line before\">\n                                                                                                                                            <span class=\"ws\">            </span>return (self.init_instance(row), True)\n                                                                                                                                        </pre>\n                                                                                                                                        <pre class=\"line before\">\n                                                                                                                                            <span class=\"ws\"></span>\n                                                                                                                                        </pre>\n                                                                                                                                        <pre class=\"line before\">\n                                                                                                                                            <span class=\"ws\">    </span>def import_data(self, dataset, collect_failed_rows=False, raise_errors=False, **kwargs):\n                                                                                                                                        </pre>\n                                                                                                                                        <pre class=\"line current\">\n                                                                                                                                            <span class=\"ws\">        </span>return self.import_data_inner(dataset, collect_failed_rows, raise_errors, **kwargs)\n                                                                                                                                        </pre>\n                                                                                                                                        <pre class=\"line after\">\n                                                                                                                                            <span class=\"ws\"></span>\n                                                                                                                                        </pre>\n                                                                                                                                        <pre class=\"line after\">\n                                                                                                                                            <span class=\"ws\">    </span>def import_data_inner(self, dataset, collect_failed_rows=False, raise_errors=False, **kwargs):\n                                                                                                                                        </pre>\n                                                                                                                                        <pre class=\"line after\">\n                                                                                                                                            <span class=\"ws\">        </span>process_for_preview = kwargs.get('process_for_preview', False)\n                                                                                                                                        </pre>\n                                                                                                                                        <pre class=\"line after\">\n                                                                                                                                            <span class=\"ws\">        </span>result = self.get_result_class()()\n                                                                                                                                        </pre>\n                                                                                                                                        <pre class=\"line after\">\n                                                                                                                                            <span class=\"ws\"></span>\n                                                                                                                                        </pre>\n                                                                                                                                    </div>\n                                                                                                                                </div>\n                                                                                                                                <li>\n                                                                                                                                    <div class=\"frame\" id=\"frame-4510278224\">\n                                                                                                                                        <h4>File \n                                                                                                                                            <cite class=\"filename\">\"/Users/alexryan/Documents/idem/idemevents-web/web/modules/resources/resources.py\"</cite>,\n      line\n                                                                                                                                            <em class=\"line\">135</em>,\n      in\n                                                                                                                                            <code class=\"function\">import_data_inner</code>\n                                                                                                                                        </h4>\n                                                                                                                                        <div class=\"source \">\n                                                                                                                                            <pre class=\"line before\">\n                                                                                                                                                <span class=\"ws\">            </span>elif row_result.validation_error:\n                                                                                                                                            </pre>\n                                                                                                                                            <pre class=\"line before\">\n                                                                                                                                                <span class=\"ws\">                </span>result.append_invalid_row(i, row, row_result.validation_error)\n                                                                                                                                            </pre>\n                                                                                                                                            <pre class=\"line before\">\n                                                                                                                                                <span class=\"ws\">                </span>if collect_failed_rows:\n                                                                                                                                            </pre>\n                                                                                                                                            <pre class=\"line before\">\n                                                                                                                                                <span class=\"ws\">                    </span>result.append_failed_row(row, row_result.validation_error)\n                                                                                                                                            </pre>\n                                                                                                                                            <pre class=\"line before\">\n                                                                                                                                                <span class=\"ws\">                </span>if raise_errors:\n                                                                                                                                            </pre>\n                                                                                                                                            <pre class=\"line current\">\n                                                                                                                                                <span class=\"ws\">                    </span>raise row_result.validation_error\n                                                                                                                                            </pre>\n                                                                                                                                            <pre class=\"line after\">\n                                                                                                                                                <span class=\"ws\">            </span>if row_result.import_type != RowResult.IMPORT_TYPE_SKIP:\n                                                                                                                                            </pre>\n                                                                                                                                            <pre class=\"line after\">\n                                                                                                                                                <span class=\"ws\">                </span>result.append_row_result(row_result)\n                                                                                                                                            </pre>\n                                                                                                                                            <pre class=\"line after\">\n                                                                                                                                                <span class=\"ws\">        </span>kwargs['instance_loader'] = instance_loader\n                                                                                                                                            </pre>\n                                                                                                                                            <pre class=\"line after\">\n                                                                                                                                                <span class=\"ws\">        </span>if not process_for_preview:\n                                                                                                                                            </pre>\n                                                                                                                                            <pre class=\"line after\">\n                                                                                                                                                <span class=\"ws\">            </span>self.prep_cancel_nts()\n                                                                                                                                            </pre>\n                                                                                                                                        </div>\n                                                                                                                                    </div>\n                                                                                                                                </ul>\n                                                                                                                                <blockquote>ValidationError: {u'product_ids': [u'You have assigned more packages of this type than you have chosen to purchase']}</blockquote>\n                                                                                                                            </div>\n                                                                                                                            <div class=\"plain\">\n                                                                                                                                <form action=\"/?__debugger__=yes&amp;cmd=paste\" method=\"post\">\n                                                                                                                                    <p>\n                                                                                                                                        <input type=\"hidden\" name=\"language\" value=\"pytb\">\n      This is the Copy/Paste friendly version of the traceback.  \n                                                                                                                                        <span\n      class=\"pastemessage\">You can also paste this traceback into\n      a \n                                                                                                                                            <a href=\"https://gist.github.com/\">gist</a>:\n                                                                                                                                            <input type=\"submit\" value=\"create paste\">\n                                                                                                                                        </span>\n                                                                                                                                    </p>\n                                                                                                                                    <textarea cols=\"50\" rows=\"10\" name=\"code\" readonly>Traceback (most recent call last):\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/app.py&quot;, line 2309, in __call__\n    return self.wsgi_app(environ, start_response)\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/app.py&quot;, line 2295, in wsgi_app\n    response = self.handle_exception(e)\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_cors/extension.py&quot;, line 161, in wrapped_function\n    return cors_after_request(app.make_response(f(*args, **kwargs)))\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py&quot;, line 269, in error_router\n    return original_handler(e)\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py&quot;, line 269, in error_router\n    return original_handler(e)\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py&quot;, line 269, in error_router\n    return original_handler(e)\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/app.py&quot;, line 1741, in handle_exception\n    reraise(exc_type, exc_value, tb)\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py&quot;, line 266, in error_router\n    return self.handle_error(e)\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/app.py&quot;, line 2292, in wsgi_app\n    response = self.full_dispatch_request()\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/app.py&quot;, line 1815, in full_dispatch_request\n    rv = self.handle_user_exception(e)\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_cors/extension.py&quot;, line 161, in wrapped_function\n    return cors_after_request(app.make_response(f(*args, **kwargs)))\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py&quot;, line 269, in error_router\n    return original_handler(e)\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py&quot;, line 269, in error_router\n    return original_handler(e)\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py&quot;, line 269, in error_router\n    return original_handler(e)\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/app.py&quot;, line 1718, in handle_user_exception\n    reraise(exc_type, exc_value, tb)\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py&quot;, line 266, in error_router\n    return self.handle_error(e)\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/app.py&quot;, line 1813, in full_dispatch_request\n    rv = self.dispatch_request()\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/app.py&quot;, line 1799, in dispatch_request\n    return self.view_functions[rule.endpoint](**req.view_args)\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/web/modules/users/action.py&quot;, line 193, in wrapper\n    return func(*args, **kwargs)\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py&quot;, line 458, in wrapper\n    resp = resource(*args, **kwargs)\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/web/modules/packages/util.py&quot;, line 66, in decorated_view\n    return func(*args, **kwargs)\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/views.py&quot;, line 88, in view\n    return self.dispatch_request(*args, **kwargs)\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py&quot;, line 573, in dispatch_request\n    resp = meth(*args, **kwargs)\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_login/utils.py&quot;, line 228, in decorated_view\n    return func(*args, **kwargs)\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/web/modules/packages/api.py&quot;, line 886, in put\n    return action_func(order)\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/web/modules/packages/api.py&quot;, line 947, in _edit_row\n    import_result = resource.import_data(dataset, raise_errors=True, process_for_preview=True)\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/web/modules/resources/resources.py&quot;, line 107, in import_data\n    return self.import_data_inner(dataset, collect_failed_rows, raise_errors, **kwargs)\n  File &quot;/Users/alexryan/Documents/idem/idemevents-web/web/modules/resources/resources.py&quot;, line 135, in import_data_inner\n    raise row_result.validation_error\nValidationError: {u'product_ids': [u'You have assigned more packages of this type than you have chosen to purchase']}</textarea>\n                                                                                                                                </form>\n                                                                                                                            </div>\n                                                                                                                            <div class=\"explanation\">\n  The debugger caught an exception in your WSGI application.  You can now\n  look at the traceback which led to the error.  \n                                                                                                                                <span class=\"nojavascript\">\n  If you enable JavaScript you can also use additional features such as code\n  execution (if the evalex feature is enabled), automatic pasting of the\n  exceptions and much more.</span>\n                                                                                                                            </div>\n                                                                                                                            <div class=\"footer\">\n        Brought to you by \n                                                                                                                                <strong class=\"arthur\">DON'T PANIC</strong>, your\n        friendly Werkzeug powered traceback interpreter.\n                                                                                                                            </div>\n                                                                                                                        </div>\n                                                                                                                        <div class=\"pin-prompt\">\n                                                                                                                            <div class=\"inner\">\n                                                                                                                                <h3>Console Locked</h3>\n                                                                                                                                <p>\n          The console is locked and needs to be unlocked by entering the PIN.\n          You can find the PIN printed out on the standard output of your\n          shell that runs the server.\n        \n                                                                                                                                    <form>\n                                                                                                                                        <p>PIN:\n            \n                                                                                                                                            <input type=text name=pin size=14>\n                                                                                                                                            <input type=submit name=btn value=\"Confirm Pin\">\n        \n                                                                                                                                        </form>\n                                                                                                                                    </div>\n                                                                                                                                </div>\n                                                                                                                            </body>\n                                                                                                                        </html>\n                                                                                                                        <!--\n\nTraceback (most recent call last):\n  File \"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/app.py\", line 2309, in __call__\n    return self.wsgi_app(environ, start_response)\n  File \"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/app.py\", line 2295, in wsgi_app\n    response = self.handle_exception(e)\n  File \"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_cors/extension.py\", line 161, in wrapped_function\n    return cors_after_request(app.make_response(f(*args, **kwargs)))\n  File \"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py\", line 269, in error_router\n    return original_handler(e)\n  File \"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py\", line 269, in error_router\n    return original_handler(e)\n  File \"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py\", line 269, in error_router\n    return original_handler(e)\n  File \"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/app.py\", line 1741, in handle_exception\n    reraise(exc_type, exc_value, tb)\n  File \"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py\", line 266, in error_router\n    return self.handle_error(e)\n  File \"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/app.py\", line 2292, in wsgi_app\n    response = self.full_dispatch_request()\n  File \"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/app.py\", line 1815, in full_dispatch_request\n    rv = self.handle_user_exception(e)\n  File \"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_cors/extension.py\", line 161, in wrapped_function\n    return cors_after_request(app.make_response(f(*args, **kwargs)))\n  File \"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py\", line 269, in error_router\n    return original_handler(e)\n  File \"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py\", line 269, in error_router\n    return original_handler(e)\n  File \"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py\", line 269, in error_router\n    return original_handler(e)\n  File \"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/app.py\", line 1718, in handle_user_exception\n    reraise(exc_type, exc_value, tb)\n  File \"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py\", line 266, in error_router\n    return self.handle_error(e)\n  File \"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/app.py\", line 1813, in full_dispatch_request\n    rv = self.dispatch_request()\n  File \"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/app.py\", line 1799, in dispatch_request\n    return self.view_functions[rule.endpoint](**req.view_args)\n  File \"/Users/alexryan/Documents/idem/idemevents-web/web/modules/users/action.py\", line 193, in wrapper\n    return func(*args, **kwargs)\n  File \"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py\", line 458, in wrapper\n    resp = resource(*args, **kwargs)\n  File \"/Users/alexryan/Documents/idem/idemevents-web/web/modules/packages/util.py\", line 66, in decorated_view\n    return func(*args, **kwargs)\n  File \"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask/views.py\", line 88, in view\n    return self.dispatch_request(*args, **kwargs)\n  File \"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py\", line 573, in dispatch_request\n    resp = meth(*args, **kwargs)\n  File \"/Users/alexryan/Documents/idem/idemevents-web/venv/lib/python2.7/site-packages/flask_login/utils.py\", line 228, in decorated_view\n    return func(*args, **kwargs)\n  File \"/Users/alexryan/Documents/idem/idemevents-web/web/modules/packages/api.py\", line 886, in put\n    return action_func(order)\n  File \"/Users/alexryan/Documents/idem/idemevents-web/web/modules/packages/api.py\", line 947, in _edit_row\n    import_result = resource.import_data(dataset, raise_errors=True, process_for_preview=True)\n  File \"/Users/alexryan/Documents/idem/idemevents-web/web/modules/resources/resources.py\", line 107, in import_data\n    return self.import_data_inner(dataset, collect_failed_rows, raise_errors, **kwargs)\n  File \"/Users/alexryan/Documents/idem/idemevents-web/web/modules/resources/resources.py\", line 135, in import_data_inner\n    raise row_result.validation_error\nValidationError: {u'product_ids': [u'You have assigned more packages of this type than you have chosen to purchase']}\n\n-->\n"},{"id":"d03ca5cc-64d4-4e2b-85f7-92bf9747458f","name":"Edit Row","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"cache_id\": \"93a337b9-26eb-46e4-bcb1-fb746e01e25e\",\n    \"row\": {\n        \"_index\": 1,\n        \"id\": \"5f688e59cb1abb4f4c9d60e7\",\n        \"salutation\": \"mr\",\n        \"first_name\": \"Alex\",\n        \"last_name\": \"Ryan\",\n        \"email\": \"Bob@assassins.com\",\n        \"message\": \"It's a gift!\",\n        \"product_ids\": \"81180, 81180\"\n    },\n    \"order_items\": [\n        {\n            \"inventory_id\": \"5f081c01ea36e5e982d32bdf\",\n            \"quantity\": 6\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/hotels/:hotel_id/bulk-orders/:id/edit-row","host":["{{base_url}}"],"path":["hotels",":hotel_id","bulk-orders",":id","edit-row"],"variable":[{"key":"hotel_id","value":"{{hotel_id}}"},{"key":"id","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"825"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjU2NmE1Mjk0OWMxYWI0ODFjMGI1M2VjNzA3NDBlYTg3NjFkOTI2MTYi.X2mKuw.dAHZ60XOasDzkKTgOp2C4s8dV8o"},{"key":"Set-Cookie","value":"session=6337013e-a176-4531-bb09-becbd28efe13.ZXx9Crw6I8cN7ecNcYyl0B3lGjM; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Tue, 22 Sep 2020 05:25:15 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"cache_id\": \"93a337b9-26eb-46e4-bcb1-fb746e01e25e\",\n        \"errors\": [\n            {\n                \"code\": \"invalid_data\",\n                \"count\": 0\n            },\n            {\n                \"code\": \"missing_required_field\",\n                \"count\": 0\n            },\n            {\n                \"code\": \"incorrect_datatype\",\n                \"count\": 0\n            }\n        ],\n        \"row\": {\n            \"_errors\": {},\n            \"_index\": 1,\n            \"email\": \"Bob@assassins.com\",\n            \"first_name\": \"Alex\",\n            \"id\": \"5f688e59cb1abb4f4c9d60e7\",\n            \"last_name\": \"Ryan\",\n            \"message\": \"It's a gift!\",\n            \"product_ids\": \"81180, 81180\",\n            \"salutation\": \"mr\"\n        }\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"44afbcec-77f9-4a46-9ef1-eb1d732848d4"},{"name":"Delete Row","id":"3950d033-4759-4eed-9db0-ad9594f2eb2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"cache_id\": \"322ef814-1289-4ea7-a560-bbbb7702d4d8\",\n    \"index\": 10\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/hotels/:hotel_id/bulk-orders/:id/delete-row","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":hotel_id","bulk-orders",":id","delete-row"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"hotel_id"},{"type":"string","value":"0","key":"id"}]}},"response":[{"id":"644fb023-5f7f-4607-8245-0d8e0c45febd","name":"Delete Row - out of bounds","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"cache_id\": \"322ef814-1289-4ea7-a560-bbbb7702d4d8\",\n    \"index\": 10\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/hotels/:hotel_id/bulk-orders/:id/delete-row","host":["{{base_url}}"],"path":["hotels",":hotel_id","bulk-orders",":id","delete-row"],"variable":[{"key":"hotel_id","value":"{{hotel_id}}"},{"key":"id","value":"0"}]}},"status":"FORBIDDEN","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"113"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjgwNWNlYjc2NGI0NTI1Y2VhM2Q0YjVkZTlhY2NkZDRlMDllZDJlNDYi.X1DYWw.iQaIl_-Wo9eK7bttGuSwdMIY89U"},{"key":"Set-Cookie","value":"session=c59a42a3-6687-451a-972b-517c2902153f.QWfZu1fAqW3NWc0jpLdOMWnpAwI; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Thu, 03 Sep 2020 11:49:47 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"ERROR\",\n    \"http_status\": 403,\n    \"message\": \"Index out of range\",\n    \"status\": \"failure\"\n}"},{"id":"c133baab-0980-4291-8058-18b4bbdf5d01","name":"Delete Row","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"cache_id\": \"322ef814-1289-4ea7-a560-bbbb7702d4d8\",\n    \"index\": 1\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/hotels/:hotel_id/bulk-orders/:id/delete-row","host":["{{base_url}}"],"path":["hotels",":hotel_id","bulk-orders",":id","delete-row"],"variable":[{"key":"hotel_id","value":"{{hotel_id}}"},{"key":"id","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"95"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjgwNWNlYjc2NGI0NTI1Y2VhM2Q0YjVkZTlhY2NkZDRlMDllZDJlNDYi.X1DYQQ.hZKFCZTmYnU1lSO1n7KJXv0F7ew"},{"key":"Set-Cookie","value":"session=c59a42a3-6687-451a-972b-517c2902153f.QWfZu1fAqW3NWc0jpLdOMWnpAwI; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Thu, 03 Sep 2020 11:49:21 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {},\n    \"message\": \"Row deleted\",\n    \"status\": \"success\"\n}"}],"_postman_id":"3950d033-4759-4eed-9db0-ad9594f2eb2e"},{"name":"Import File","id":"2aa8b96c-0464-467b-9f68-f7fb806bbe14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"media_id\": \"jliw3n5n8ta3gvbv38a\",\n    \"order_items\": [\n        {\n            \"inventory_id\": \"req:string(objectid)\",\n            \"quantity\": 50\n        },\n        {\n            \"inventory_id\": \"req:string(objectid)\",\n            \"quantity\": 50\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/hotels/:hotel_id/bulk-orders/:id/import-file","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":hotel_id","bulk-orders",":id","import-file"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"hotel_id"},{"type":"string","value":"0","key":"id"}]}},"response":[{"id":"337b816f-e018-41c5-99ae-8482db36a345","name":"Import File - quantity and assigned mismatch","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"media_id\": \"5f59ee5e9168ae3c9b1a24f4\",\n    \"order_items\": [\n        {\n            \"inventory_id\": \"5f2a3d24b1fd60d5d1794272\",\n            \"quantity\": 50\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/hotels/:hotel_id/bulk-orders/:id/import-file","host":["{{base_url}}"],"path":["hotels",":hotel_id","bulk-orders",":id","import-file"],"variable":[{"key":"hotel_id","value":"{{hotel_id}}"},{"key":"id","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"116"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjI5NzRjN2NhMTFlMDAxODVjNWFkMDMyYWQ1ODEzNGQyNmZkOWUzMGMi.X1n-Vg.oi30j9soAekbHv1y0JYznLlWX4o"},{"key":"Set-Cookie","value":"session=9827b8ce-2dc5-4d29-9996-2668ab202074.8nBCGLBaQTA6wnAjulhqsbCGw5g; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Thu, 10 Sep 2020 10:22:14 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"assigned\": 3,\n        \"quantity\": 50\n    },\n    \"status\": \"success\"\n}"},{"id":"ab8ec70b-40d8-4210-a8c1-0c02a4acf72b","name":"Import File","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"media_id\": \"5f63804cde214f0ef08d7278\",\n    \"order_items\": [\n        {\n            \"inventory_id\": \"5f081c01ea36e5e982d32bdf\",\n            \"quantity\": 3\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/hotels/:hotel_id/bulk-orders/:id/import-file","host":["{{base_url}}"],"path":["hotels",":hotel_id","bulk-orders",":id","import-file"],"variable":[{"key":"hotel_id","value":"{{hotel_id}}"},{"key":"id","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"128"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjU2NmE1Mjk0OWMxYWI0ODFjMGI1M2VjNzA3NDBlYTg3NjFkOTI2MTYi.X2mNhg.E-3ip17qlI5HakfNqXaBsYLRcBI"},{"key":"Set-Cookie","value":"session=6337013e-a176-4531-bb09-becbd28efe13.ZXx9Crw6I8cN7ecNcYyl0B3lGjM; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Tue, 22 Sep 2020 05:37:10 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"cache_id\": \"0f32f7f6-49c4-46a2-975c-8dc8935a6d9c\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"2aa8b96c-0464-467b-9f68-f7fb806bbe14"},{"name":"Set Status","id":"82954d44-797d-4c21-b442-32cfa451d87c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"confirmed\",\n    \"mailing\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/hotels/:hotel_id/bulk-orders/:id/set-status","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":hotel_id","bulk-orders",":id","set-status"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"hotel_id"},{"type":"string","value":"5f5749117de6ce64f434725a","key":"id"}]}},"response":[],"_postman_id":"82954d44-797d-4c21-b442-32cfa451d87c"},{"name":"Send Voucher Code List","id":"a2144f31-16a6-4013-ac87-f8a9c2973419","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content","value":"application/json","type":"text"},{"key":"X-CSRF-Token","value":"{{csrf_token}}","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/hotels/:hotel_id/bulk-orders/:id/send-voucher-code-list","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":hotel_id","bulk-orders",":id","send-voucher-code-list"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"hotel_id"},{"type":"string","value":"0","key":"id"}]}},"response":[],"_postman_id":"a2144f31-16a6-4013-ac87-f8a9c2973419"},{"name":"Edit Bulk Order","id":"52621d5c-d72c-4cd8-9fe4-adcf98b91956","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"order_items\": [\n        { \n            \"id\": \"string(objectid)\",\n            \"item_id\": \"req:string(objectid)\",\n            \"item_type\": \"string(default=Package)\",\n            \"quantity\": 1,\n            \"inventory_id\": \"req:string(objectid)\",\n            \"message\": \"string(default='')\",\n            \"guest\": {\n                \"id\": \"string(objectid, default=unset)\",\n                \"email\": \"string(default='')\",\n                \"name\": \"string(default='')\"\n            }\n        },\n        {\n            \"id\": \"string(objectid)\",\n            \"item_id\": \"req:string(objectid)\",\n            \"item_type\": \"string(default=Package)\",\n            \"quantity\": 2,\n            \"inventory_id\": \"req:string(objectid)\",\n            \"message\": \"string(default='')\",\n            \"guest\": {\n                \"id\": \"string(objectid, default=unset)\",\n                \"email\": \"string(default='')\",\n                \"name\": \"string(default='')\"\n            }\n        }\n    ],\n    \"guest\": {\n        \"id\": \"string(objectid, default=unset)\",\n        \"first_name\": \"string\",\n        \"last_name\": \"string\",\n        \"email\": \"string(email)\",\n        \"phone\": {\n            \"cc\": \"string\",\n            \"contact\": \"string\",\n            \"country_code\": \"string\"\n        },\n        \"address\": {\n            \"address_1\": \"string\",\n            \"address_2\": \"string\",\n            \"city\": \"string\",\n            \"country\": \"string\",\n            \"postalcode\": \"string\",\n            \"state\": \"string\"\n        }\n    },\n    \"billing\": {\n        \"name\": \"string\",\n        \"payment_reference\": {\n            \"provider\": \"string\",\n            \"customer_id\": \"string\",\n            \"token\": \"string\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/orders/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","orders",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"52621d5c-d72c-4cd8-9fe4-adcf98b91956"}],"id":"243df1ea-fc07-409c-8f47-d996fc273d4c","_postman_id":"243df1ea-fc07-409c-8f47-d996fc273d4c","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Order Actions","item":[{"name":"Refund Order or Vouchers","id":"2b69b19a-fa7f-49c1-a9f2-09e5f6f4ece8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"voucher_ids\": [\"5f8d54cb7fd0cb00fe9edd7d\"],\n    \"order_item_ids\": [\"5nb6394cb7fd0cb00fe93habos\"],\n    \"amount\": 79.0,\n    \"target_type\": \"voucher\",\n    \"reason\": \"requested_by_customer\",\n\t\"description\": \"Lorem Ipsum is simply dummy text of the printing and typesetting industry\",\n\t\"remarks\": \"Lorem Ipsum is simply dummy text of the printing and typesetting industry\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/orders/:id/refund","description":"<p>Refund either an entire order or a selection of vouchers within an order.\nSends the refund emails to the customer and hotel.</p>\n<h2 id=\"url-variable\">URL Variable</h2>\n<ul>\n<li><strong>id</strong> (object_id, required) - The order object ID.</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<ul>\n<li><strong>voucher_ids</strong> (array) - IDs of the vouchers to refund.<ul>\n<li>(object_id) - The voucher object ID.</li>\n</ul>\n</li>\n<li><strong>order_item_ids</strong> (array) - IDs of the order items to refund<ul>\n<li>(object_id) - The order item object ID</li>\n</ul>\n</li>\n<li><strong>amount</strong> (float, required) - The amount to refund.</li>\n<li><strong>target_type</strong> (enum, required) - The target type of the refund - an order or vouchers.<ul>\n<li>order (string)</li>\n<li>voucher (string)</li>\n</ul>\n</li>\n<li><strong>reason</strong> (string) - The user's reason for making the refund.\n- duplicate (string)\n- fraudulent (string)\n- requested_by_customer (string)\n- cancelled_reservation (string)\n- others (string)</li>\n<li><strong>description</strong> (string) - Any more details provided by the user (visible to customer).</li>\n<li><strong>remarks</strong> (string) - Internal remarks about the refund (not visible to customer).</li>\n</ul>\n<h2 id=\"return\">Return:</h2>\n<ul>\n<li><strong>code</strong> (string) - The response code.</li>\n<li><strong>status</strong> (string) - The response status.</li>\n<li><strong>data</strong> (object) - The meta data object.<ul>\n<li><strong>id</strong> (object_id) - The id of the refund transaction.</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["orders",":id","refund"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{order_id}}","key":"id"}]}},"response":[{"id":"c9fb3beb-027b-48b3-bb6a-c2bac74c3d23","name":"Refund Vouchers","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"voucher_ids\": [\"5f8d54cb7fd0cb00fe9edd7d\"],\n    \"inventory_ids\": [\"5f083f2b2ee253df0ba338a8\"],\n    \"amount\": 79.0,\n    \"target_type\": \"voucher\",\n    \"reason\": \"requested_by_customer\",\n\t\"description\": \"Lorem Ipsum is simply dummy text of the printing and typesetting industry\",\n\t\"remarks\": \"Lorem Ipsum is simply dummy text of the printing and typesetting industry\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/orders/:id/refund","host":["{{base_url}}"],"path":["orders",":id","refund"],"variable":[{"key":"id","value":"{{order_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"294"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImE1ODdiYTgzNDNlMjdjNjZiODYxODc0MmRmYzBhMjllMGYyY2M0OWUi.X416iw._iN7AiKNewNVuiJLkaLrToRrZPw"},{"key":"Set-Cookie","value":"session=024eb7dd-881c-4b3a-8e45-2c67cf42a3e9.32uC4lPm_1JjXkQuwa7nJc1pgio; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Mon, 19 Oct 2020 11:37:47 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"order_id\": \"5f8d54c87fd0cb00fe9edd75\",\n        \"refunded_amount\": 79,\n        \"transaction_ids\": [\n            \"5f8d7a8b5a82032125795bc3\"\n        ]\n    },\n    \"message\": \"Your voucher has been refunded successfully.\",\n    \"status\": \"success\"\n}"}],"_postman_id":"2b69b19a-fa7f-49c1-a9f2-09e5f6f4ece8"},{"name":"Send Cancellation Email","id":"bb5ef78d-8ec4-4ab5-b918-4bda25c7c720","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"target_type\": \"voucher\",\n    \"voucher_ids\": [\"5f92c1690320bb9fc0c91d4f\"],\n    \"emails\": [\"alex@idemlabs.com\"],\n    \"is_resend\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/orders/:id/mail-cancelation","description":"<p>Send order or voucher cancellation emails to recipients and customer(s).</p>\n<h2 id=\"url-variable\">URL Variable</h2>\n<ul>\n<li><strong>id</strong> (object_id, required) - The order object ID.</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<ul>\n<li><strong>target_type</strong> (enum, required) - The target type of the refund.<ul>\n<li>order: (string) - Send order cancellation emails.</li>\n<li>voucher: (string) - Send voucher cancellation emails.</li>\n<li>order_item: (string) - Send order item cancellation emails.</li>\n</ul>\n</li>\n<li><strong>voucher_ids</strong> (array) - IDs of the vouchers to include in the cancellation emails. If no <code>voucher_ids</code> set, emails will contain all cancelled vouchers within the order.<ul>\n<li>(object_id) - The voucher object ID.</li>\n</ul>\n</li>\n<li><strong>recipient_ids</strong> (array) - Ids of the order recipients to send cancellation emails to.<ul>\n<li>(object_id) - The order recipient object ID.</li>\n</ul>\n</li>\n<li><strong>emails</strong> (array) - Email addresses to send cancellation emails to.<ul>\n<li>email (string) - The email of the customer.</li>\n</ul>\n</li>\n<li><strong>is_resend</strong> (boolean) - False if sending emails as part of the cancellation flow, True otherwise.</li>\n</ul>\n<h2 id=\"return\">Return:</h2>\n<ul>\n<li><strong>code</strong> (string) - The response code.</li>\n<li><strong>status</strong> (string) - The response status.</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["orders",":id","mail-cancelation"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{order_id}}","key":"id"}]}},"response":[],"_postman_id":"bb5ef78d-8ec4-4ab5-b918-4bda25c7c720"},{"name":"Send Refund Email","id":"80d28c4b-4833-4b75-a57a-a4673948135e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"emails\": [\"email@example.com\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/orders/:id/mail-refund","description":"<p>Send refund email to customers, containing details of all refunds made on this order.</p>\n<h2 id=\"url-variable\">URL Variable</h2>\n<ul>\n<li><strong>id</strong> (object_id, required) - The order object ID.</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<ul>\n<li><strong>emails</strong> (array, required) - List of customer emails to send refund emails to.<ul>\n<li>email (string) -  The email of the customer.</li>\n</ul>\n</li>\n</ul>\n<h2 id=\"return\">Return:</h2>\n<ul>\n<li><strong>code</strong> (string) - The response code.</li>\n<li><strong>status</strong> (string) - The response status.</li>\n</ul>\n","urlObject":{"path":["orders",":id","mail-refund"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"5f92a13d97a9316937662145","key":"id"}]}},"response":[],"_postman_id":"80d28c4b-4833-4b75-a57a-a4673948135e"}],"id":"78e66e5d-cac6-4203-a507-55058de0b1e7","_postman_id":"78e66e5d-cac6-4203-a507-55058de0b1e7","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Voucher Histories","item":[{"name":"List histories","id":"858347ce-0cab-4734-bc4b-b35a91d58307","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{idem_uri}}/api-portal/v1/orders/voucher-histories?voucher_id=624c740e272d8d827011cdf7&limit=-1&order=asc","urlObject":{"path":["api-portal","v1","orders","voucher-histories"],"host":["{{idem_uri}}"],"query":[{"key":"voucher_id","value":"624c740e272d8d827011cdf7"},{"key":"limit","value":"-1"},{"key":"order","value":"asc"},{"disabled":true,"key":"order_id","value":null}],"variable":[]}},"response":[{"id":"9bc24f1f-c00c-41cd-8f3e-fa5c5bad1dd5","name":"OK Portal","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{idem_uri}}/api-portal/v1/orders/voucher-histories?voucher_id=624c740e272d8d827011cdf7&limit=-1&order=asc","host":["{{idem_uri}}"],"path":["api-portal","v1","orders","voucher-histories"],"query":[{"key":"voucher_id","value":"624c740e272d8d827011cdf7"},{"key":"limit","value":"-1"},{"key":"order","value":"asc"},{"key":"order_id","value":null,"type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"4364"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjFhOWI4NGI1ZGJmYjI1NTlhMGU3YWMwZDJiNDA0ZTg1NTliYTNkYWYi.Yk1g2w.sU6wL0WPIjMqebKTox6_XtKPoVA"},{"key":"Set-Cookie","value":"session=f3f83d6b-32c3-428f-8624-c39b64a06d2c.N4gHTbTFdrQ7ZqAsFbj6VFGBFKA; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Wed, 06 Apr 2022 09:43:55 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 10,\n        \"filter\": {\n            \"action\": null,\n            \"end\": null,\n            \"limit\": -1,\n            \"order\": \"asc\",\n            \"page\": 1,\n            \"search\": null,\n            \"sort\": \"created_at\",\n            \"start\": null\n        },\n        \"results\": [\n            {\n                \"action\": \"purchased\",\n                \"amount\": 12.93523,\n                \"balance\": 12.93523,\n                \"code\": \"2AKB1\",\n                \"created_at\": \"2022-04-05T16:53:55.594000+00:00\",\n                \"creator_name\": \"Admin FairmontSG\",\n                \"outlet_name\": \"HotelCalifornia\",\n                \"source\": \"Hotel Dashboard\"\n            },\n            {\n                \"action\": \"redemption\",\n                \"amount\": -12.93523,\n                \"balance\": 0,\n                \"code\": \"2AKB1\",\n                \"created_at\": \"2022-04-05T16:59:40.457000+00:00\",\n                \"creator_name\": \"BakaBoston BinBin\",\n                \"outlet_name\": \"HotelCalifornia\",\n                \"source\": \"Redemption Portal\"\n            },\n            {\n                \"action\": \"undo_redemption\",\n                \"amount\": 12.93523,\n                \"balance\": 12.93523,\n                \"code\": \"2AKB1\",\n                \"created_at\": \"2022-04-05T16:59:44.920000+00:00\",\n                \"creator_name\": \"BakaBoston BinBin\",\n                \"outlet_name\": \"HotelCalifornia\",\n                \"source\": \"Redemption Portal\"\n            },\n            {\n                \"action\": \"redemption\",\n                \"amount\": -12.93523,\n                \"balance\": 0,\n                \"code\": \"2AKB1\",\n                \"created_at\": \"2022-04-05T16:59:50.229000+00:00\",\n                \"creator_name\": \"BakaBoston BinBin\",\n                \"outlet_name\": \"HotelCalifornia\",\n                \"source\": \"Redemption Portal\"\n            },\n            {\n                \"action\": \"undo_redemption\",\n                \"amount\": 12.93523,\n                \"balance\": 12.93523,\n                \"code\": \"2AKB1\",\n                \"created_at\": \"2022-04-05T16:59:52.701000+00:00\",\n                \"creator_name\": \"BakaBoston BinBin\",\n                \"outlet_name\": \"HotelCalifornia\",\n                \"source\": \"Redemption Portal\"\n            },\n            {\n                \"action\": \"partial_redemption\",\n                \"amount\": -1.3,\n                \"balance\": 11.63523,\n                \"code\": \"2AKB1\",\n                \"created_at\": \"2022-04-05T16:59:57.507000+00:00\",\n                \"creator_name\": \"BakaBoston BinBin\",\n                \"outlet_name\": \"HotelCalifornia\",\n                \"source\": \"Redemption Portal\"\n            },\n            {\n                \"action\": \"partial_redemption\",\n                \"amount\": -6.1,\n                \"balance\": 5.53523,\n                \"code\": \"2AKB1\",\n                \"created_at\": \"2022-04-05T17:00:03.933000+00:00\",\n                \"creator_name\": \"BakaBoston BinBin\",\n                \"outlet_name\": \"HotelCalifornia\",\n                \"source\": \"Redemption Portal\"\n            },\n            {\n                \"action\": \"redemption\",\n                \"amount\": -5.53523,\n                \"balance\": 0,\n                \"code\": \"2AKB1\",\n                \"created_at\": \"2022-04-05T17:00:07.695000+00:00\",\n                \"creator_name\": \"BakaBoston BinBin\",\n                \"outlet_name\": \"HotelCalifornia\",\n                \"source\": \"Redemption Portal\"\n            },\n            {\n                \"action\": \"undo_redemption\",\n                \"amount\": 12.93523,\n                \"balance\": 12.93523,\n                \"code\": \"2AKB1\",\n                \"created_at\": \"2022-04-05T17:00:10.617000+00:00\",\n                \"creator_name\": \"BakaBoston BinBin\",\n                \"outlet_name\": \"HotelCalifornia\",\n                \"source\": \"Redemption Portal\"\n            },\n            {\n                \"action\": \"partial_redemption\",\n                \"amount\": -4,\n                \"balance\": 8.93523,\n                \"code\": \"2AKB1\",\n                \"created_at\": \"2022-04-05T17:00:15.156000+00:00\",\n                \"creator_name\": \"BakaBoston BinBin\",\n                \"outlet_name\": \"HotelCalifornia\",\n                \"source\": \"Redemption Portal\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"858347ce-0cab-4734-bc4b-b35a91d58307"}],"id":"37795320-8c0d-473b-910c-30a5ee2e2d35","_postman_id":"37795320-8c0d-473b-910c-30a5ee2e2d35","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Add Order","id":"3e9043b2-cd96-4b89-b46d-62dbc3987e8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cache_id\": null,\n    \"has_recipient_list\": false,\n    \"order_items\": [\n        {\n            \"id\": null,\n            \"item_id\": \"5f7ab0f2c44884178b22b599\",\n            \"item_type\": \"Package\",\n            \"quantity\": 3,\n            \"inventory_id\": \"5f7ab0f2c44884178b22b59b\",\n            \"remarks\": \"\",\n            \"validity\": {\n                \"count\" : null,\n                \"valid_from\" : \"Oct 13, 2020\",\n                \"period\" : null,\n                \"valid_to\" : \"Nov 13, 2020\"\n            },\n            \"mailing\": true,\n            \"physical_delivery\": true\n        }\n    ],\n    \"order_recipients\": [\n        {\n            \"id\": null,\n            \"message\": \"A message\",\n            \"guest\": {\n                \"salutation\": \"\",\n                \"first_name\": \"John\",\n                \"last_name\": \"Doe\",\n                \"email\": \"alex@idemlabs.com\",\n                \"company_name\": \"\",\n                \"address\": {\n                    \"address_1\": \"string\",\n                    \"address_2\": \"string\",\n                    \"city\": \"string\",\n                    \"country\": \"string\",\n                    \"postalcode\": \"string\",\n                    \"state\": \"string\"\n                },\n                \"contact_number\": \"0937558383\"\n            },\n            \"assigned_order_items\": [\n                {\n                    \"order_item_index\": 0,\n                    \"quantity\": 3\n                }\n            ]\n        }\n    ],\n    \"guest\": {\n        \"id\": null,\n        \"first_name\": \"John\",\n        \"last_name\": \"Wick\",\n        \"email\": \"alex@idemlabs.com\",\n        \"company_name\": \"\",\n        \"address\": {\n            \"address_1\": \"\",\n            \"address_2\": \"\",\n            \"city\": \"\",\n            \"country\": \"\",\n            \"postalcode\": \"\",\n            \"state\": \"\"\n        }\n    },\n    \"billing\": null,\n    \"payment_method\": null,\n    \"only_primary_guest\": false,\n    \"promo_codes\": [],\n    \"mailing\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/hotels/:id/orders","description":"<p>add an voucher order</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":id","orders"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"0e32533b-fed0-4eba-9ba3-cb8c36d0a44f","name":"Add Order - Bulk with recipient list","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cache_id\": \"608e2024-00eb-41e2-b710-718446e5cfea\",\n    \"has_recipient_list\": true,\n    \"order_items\": [\n        {\n            \"id\": null,\n            \"item_id\": \"5f081c01ea36e5e982d32bda\",\n            \"item_type\": \"Package\",\n            \"quantity\": 2,\n            \"inventory_id\": \"5f081c01ea36e5e982d32bdf\",\n            \"remarks\": \"\"\n        }\n    ],\n    \"guest\": {\n        \"id\": null,\n        \"first_name\": \"John\",\n        \"last_name\": \"Wick\",\n        \"email\": \"alex@idemlabs.com\",\n        \"company_name\": \"\",\n        \"address\": {\n            \"address_1\": \"\",\n            \"address_2\": \"\",\n            \"city\": \"\",\n            \"country\": \"\",\n            \"postalcode\": \"\",\n            \"state\": \"\"\n        }\n    },\n    \"billing\": null,\n    \"payment_method\": {\n        \"bill_online\": false,\n        \"notes\": \"customer will pay at the hotel\"\n    },\n    \"is_bulk\": true,\n    \"only_primary_guest\": false,\n    \"promo_codes\": [],\n    \"mailing\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/hotels/:id/orders","host":["{{base_url}}"],"path":["hotels",":id","orders"],"variable":[{"key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjMzNzA2OWRiNDk5Y2NhY2YzMTA5NTVmZWY2NTM0MjMzOTcxNzQ4NzQi.X2SEIA.b-oVGKGgVPR_RyPsRELEyJ-UmyA"},{"key":"Set-Cookie","value":"session=728c081b-83c1-4663-a322-9ef19d16e539.pBD4WIW2pM_yiNeLoRc43glEJX8; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 18 Sep 2020 09:55:44 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5f648420ebd3d8bbc70dc692\"\n    },\n    \"status\": \"success\"\n}"},{"id":"6a239932-fcc0-44c8-96bc-f64c3c88c65d","name":"Add Order - With recipients","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cache_id\": null,\n    \"has_recipient_list\": false,\n    \"order_items\": [\n        {\n            \"id\": null,\n            \"item_id\": \"5f081c01ea36e5e982d32bda\",\n            \"item_type\": \"Package\",\n            \"quantity\": 3,\n            \"inventory_id\": \"5f081c01ea36e5e982d32bdf\",\n            \"remarks\": \"\",\n            \"validity\": {\n                \"count\" : null,\n                \"valid_from\" : \"Oct 13, 2020\",\n                \"period\" : null,\n                \"valid_to\" : \"Nov 13, 2020\"\n            }\n        }\n    ],\n    \"order_recipients\": [\n        {\n            \"id\": null,\n            \"message\": \"A message\",\n            \"guest\": {\n                \"salutation\": \"\",\n                \"first_name\": \"John\",\n                \"last_name\": \"Doe\",\n                \"email\": \"alex@idemlabs.com\",\n                \"company_name\": \"\"\n            },\n            \"assigned_order_items\": [\n                {\n                    \"order_item_index\": 0,\n                    \"quantity\": 3\n                }\n            ]\n        }\n    ],\n    \"guest\": {\n        \"id\": null,\n        \"first_name\": \"John\",\n        \"last_name\": \"Wick\",\n        \"email\": \"alex@idemlabs.com\",\n        \"company_name\": \"\",\n        \"address\": {\n            \"address_1\": \"\",\n            \"address_2\": \"\",\n            \"city\": \"\",\n            \"country\": \"\",\n            \"postalcode\": \"\",\n            \"state\": \"\"\n        }\n    },\n    \"billing\": null,\n    \"payment_method\": null,\n    \"only_primary_guest\": false,\n    \"promo_codes\": [],\n    \"mailing\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/hotels/:id/orders","host":["{{base_url}}"],"path":["hotels",":id","orders"],"variable":[{"key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjMzNzA2OWRiNDk5Y2NhY2YzMTA5NTVmZWY2NTM0MjMzOTcxNzQ4NzQi.X2SU3A.RqYcWfPZFuC0xL8k5z8YVHK_yZo"},{"key":"Set-Cookie","value":"session=728c081b-83c1-4663-a322-9ef19d16e539.pBD4WIW2pM_yiNeLoRc43glEJX8; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 18 Sep 2020 11:07:08 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5f6494dc05c12f0ddd7a5ec8\"\n    },\n    \"status\": \"success\"\n}"},{"id":"9899984b-e52f-466f-aef0-0a3080ea81a8","name":"Add Order - Bulk with no recipients","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cache_id\": null,\n    \"order_items\": [\n        {\n            \"id\": null,\n            \"item_id\": \"5f081c01ea36e5e982d32bda\",\n            \"item_type\": \"Package\",\n            \"quantity\": 2,\n            \"inventory_id\": \"5f081c01ea36e5e982d32bdf\",\n            \"remarks\": \"\"\n        }\n    ],\n    \"guest\": {\n        \"id\": null,\n        \"first_name\": \"John\",\n        \"last_name\": \"Wick\",\n        \"email\": \"alex@idemlabs.com\",\n        \"company_name\": \"\",\n        \"address\": {\n            \"address_1\": \"\",\n            \"address_2\": \"\",\n            \"city\": \"\",\n            \"country\": \"\",\n            \"postalcode\": \"\",\n            \"state\": \"\"\n        }\n    },\n    \"billing\": null,\n    \"payment_method\": {\n        \"bill_online\": false,\n        \"notes\": \"customer will pay at the hotel\"\n    },\n    \"is_bulk\": true,\n    \"only_primary_guest\": true,\n    \"promo_codes\": [],\n    \"mailing\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/hotels/:id/orders","host":["{{base_url}}"],"path":["hotels",":id","orders"],"variable":[{"key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjMzNzA2OWRiNDk5Y2NhY2YzMTA5NTVmZWY2NTM0MjMzOTcxNzQ4NzQi.X2SUQQ.irqtlTdluZMCUriSQjCBe4qVrO0"},{"key":"Set-Cookie","value":"session=728c081b-83c1-4663-a322-9ef19d16e539.pBD4WIW2pM_yiNeLoRc43glEJX8; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 18 Sep 2020 11:04:33 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5f649441a68e1d9d2c420e43\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"3e9043b2-cd96-4b89-b46d-62dbc3987e8a"},{"name":"Add Order (Alex Test)","id":"ea047b41-a56c-4676-96bc-ae090eaba7b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cache_id\": null,\n    \"order_items\": [\n        {\n            \"id\": null,\n            \"item_id\": \"5ef0344319c87697c21a8be5\",\n            \"item_type\": \"Package\",\n            \"quantity\": 1,\n            \"inventory_id\": \"5ef0344319c87697c21a8be8\",\n            \"remarks\": \"\",\n            \"validity\": {\n                \"count\": 1,\n                \"period\": \"years\",\n                \"valid_from\": null,\n                \"valid_to\": null\n            },\n            \"mailing\": true,\n            \"physical_delivery\": true\n        }\n    ],\n    \"order_recipients\": [\n        {\n            \"guest\": {\n                \"email\": \"alex@idemlabs.com\",\n                \"first_name\": \"Tom\",\n                \"last_name\": \"Howard\",\n                \"salutation\": \"\",\n                \"company\": \"\",\n                \"address\": {\n                    \"address_1\": \"string\",\n                    \"address_2\": \"string\",\n                    \"city\": \"string\",\n                    \"country\": \"string\",\n                    \"postalcode\": \"string\",\n                    \"state\": \"string\"\n                },\n                \"contact_number\": \"0937558383\"\n            },\n            \"message\": \"\",\n            \"assigned_order_items\": [\n                {\n                    \"order_item_index\": 0,\n                    \"quantity\": 1\n                }\n            ]\n        }\n    ],\n    \"guest\": {\n        \"salutation\": \"\",\n        \"company\": \"\",\n        \"first_name\": \"Tom\",\n        \"last_name\": \"Howard\",\n        \"email\": \"alex@idemlabs.com\",\n        \"address\": {\n            \"address_1\": \"\",\n            \"address_2\": \"\",\n            \"city\": \"\",\n            \"country\": \"\",\n            \"postalcode\": \"\",\n            \"state\": \"\"\n        }\n    },\n    \"promo_codes\": [],\n    \"is_comp\": false,\n    \"is_bulk\": false,\n    \"mailing\": false,\n    \"only_primary_guest\": true,\n    \"has_recipient_list\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/hotels/:id/orders","description":"<p>add an voucher order</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":id","orders"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"012ba4e9-1806-4430-969f-8faa6ace6e34","name":"Add Order - Bulk with no recipients","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cache_id\": null,\n    \"order_items\": [\n        {\n            \"id\": null,\n            \"item_id\": \"5f081c01ea36e5e982d32bda\",\n            \"item_type\": \"Package\",\n            \"quantity\": 2,\n            \"inventory_id\": \"5f081c01ea36e5e982d32bdf\",\n            \"remarks\": \"\"\n        }\n    ],\n    \"guest\": {\n        \"id\": null,\n        \"first_name\": \"John\",\n        \"last_name\": \"Wick\",\n        \"email\": \"alex@idemlabs.com\",\n        \"company_name\": \"\",\n        \"address\": {\n            \"address_1\": \"\",\n            \"address_2\": \"\",\n            \"city\": \"\",\n            \"country\": \"\",\n            \"postalcode\": \"\",\n            \"state\": \"\"\n        }\n    },\n    \"billing\": null,\n    \"payment_method\": {\n        \"bill_online\": false,\n        \"notes\": \"customer will pay at the hotel\"\n    },\n    \"is_bulk\": true,\n    \"only_primary_guest\": true,\n    \"promo_codes\": [],\n    \"mailing\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/hotels/:id/orders","host":["{{base_url}}"],"path":["hotels",":id","orders"],"variable":[{"key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjMzNzA2OWRiNDk5Y2NhY2YzMTA5NTVmZWY2NTM0MjMzOTcxNzQ4NzQi.X2SUQQ.irqtlTdluZMCUriSQjCBe4qVrO0"},{"key":"Set-Cookie","value":"session=728c081b-83c1-4663-a322-9ef19d16e539.pBD4WIW2pM_yiNeLoRc43glEJX8; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 18 Sep 2020 11:04:33 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5f649441a68e1d9d2c420e43\"\n    },\n    \"status\": \"success\"\n}"},{"id":"5d44b287-327e-42fa-a361-f73de21cfa86","name":"Add Order - Bulk with recipient list","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cache_id\": \"608e2024-00eb-41e2-b710-718446e5cfea\",\n    \"has_recipient_list\": true,\n    \"order_items\": [\n        {\n            \"id\": null,\n            \"item_id\": \"5f081c01ea36e5e982d32bda\",\n            \"item_type\": \"Package\",\n            \"quantity\": 2,\n            \"inventory_id\": \"5f081c01ea36e5e982d32bdf\",\n            \"remarks\": \"\"\n        }\n    ],\n    \"guest\": {\n        \"id\": null,\n        \"first_name\": \"John\",\n        \"last_name\": \"Wick\",\n        \"email\": \"alex@idemlabs.com\",\n        \"company_name\": \"\",\n        \"address\": {\n            \"address_1\": \"\",\n            \"address_2\": \"\",\n            \"city\": \"\",\n            \"country\": \"\",\n            \"postalcode\": \"\",\n            \"state\": \"\"\n        }\n    },\n    \"billing\": null,\n    \"payment_method\": {\n        \"bill_online\": false,\n        \"notes\": \"customer will pay at the hotel\"\n    },\n    \"is_bulk\": true,\n    \"only_primary_guest\": false,\n    \"promo_codes\": [],\n    \"mailing\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/hotels/:id/orders","host":["{{base_url}}"],"path":["hotels",":id","orders"],"variable":[{"key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjMzNzA2OWRiNDk5Y2NhY2YzMTA5NTVmZWY2NTM0MjMzOTcxNzQ4NzQi.X2SEIA.b-oVGKGgVPR_RyPsRELEyJ-UmyA"},{"key":"Set-Cookie","value":"session=728c081b-83c1-4663-a322-9ef19d16e539.pBD4WIW2pM_yiNeLoRc43glEJX8; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 18 Sep 2020 09:55:44 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5f648420ebd3d8bbc70dc692\"\n    },\n    \"status\": \"success\"\n}"},{"id":"7095fcc8-9f87-48ba-a98b-37d958c0aae1","name":"Add Order - With recipients","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cache_id\": null,\n    \"has_recipient_list\": false,\n    \"order_items\": [\n        {\n            \"id\": null,\n            \"item_id\": \"5f081c01ea36e5e982d32bda\",\n            \"item_type\": \"Package\",\n            \"quantity\": 3,\n            \"inventory_id\": \"5f081c01ea36e5e982d32bdf\",\n            \"remarks\": \"\",\n            \"validity\": {\n                \"count\" : null,\n                \"valid_from\" : \"Oct 13, 2020\",\n                \"period\" : null,\n                \"valid_to\" : \"Nov 13, 2020\"\n            }\n        }\n    ],\n    \"order_recipients\": [\n        {\n            \"id\": null,\n            \"message\": \"A message\",\n            \"guest\": {\n                \"salutation\": \"\",\n                \"first_name\": \"John\",\n                \"last_name\": \"Doe\",\n                \"email\": \"alex@idemlabs.com\",\n                \"company_name\": \"\"\n            },\n            \"assigned_order_items\": [\n                {\n                    \"order_item_index\": 0,\n                    \"quantity\": 3\n                }\n            ]\n        }\n    ],\n    \"guest\": {\n        \"id\": null,\n        \"first_name\": \"John\",\n        \"last_name\": \"Wick\",\n        \"email\": \"alex@idemlabs.com\",\n        \"company_name\": \"\",\n        \"address\": {\n            \"address_1\": \"\",\n            \"address_2\": \"\",\n            \"city\": \"\",\n            \"country\": \"\",\n            \"postalcode\": \"\",\n            \"state\": \"\"\n        }\n    },\n    \"billing\": null,\n    \"payment_method\": null,\n    \"only_primary_guest\": false,\n    \"promo_codes\": [],\n    \"mailing\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/hotels/:id/orders","host":["{{base_url}}"],"path":["hotels",":id","orders"],"variable":[{"key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjMzNzA2OWRiNDk5Y2NhY2YzMTA5NTVmZWY2NTM0MjMzOTcxNzQ4NzQi.X2SU3A.RqYcWfPZFuC0xL8k5z8YVHK_yZo"},{"key":"Set-Cookie","value":"session=728c081b-83c1-4663-a322-9ef19d16e539.pBD4WIW2pM_yiNeLoRc43glEJX8; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 18 Sep 2020 11:07:08 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5f6494dc05c12f0ddd7a5ec8\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"ea047b41-a56c-4676-96bc-ae090eaba7b8"},{"name":"Add Order (henry test)","id":"b9b295fc-4b19-44b8-9a82-9cd805844f6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"'{\n    \"guest\": {\n        \"first_name\": \"Henry\",\n        \"last_name\": \"Ngo\",\n        \"company\": \"IDEM\",\n        \"phone\": {\n            \"cc\": \"65\",\n            \"contact\": \"9876 54321\",\n            \"country_code\": \"sg\"\n        },\n        \"address\": {\n            \"city\": \"Washington\",\n            \"country\": \"United States\",\n            \"state\": \"DC\",\n            \"address_1\": \"1667 K Street NW\",\n            \"address_2\": \"\",\n            \"postalcode\": \"20006\"\n        },\n        \"salutation\": \"Mr\",\n        \"email\": \"henry@idemlabs.com\"\n    },\n    \"billing\": {\n        \"payment_reference\": {\n            \"token\": \"tok_1HkPztIF9fkk3w9B6jNkvSo1\",\n            \"provider\": \"stripe\"\n        },\n        \"name\": \"Henry\"\n    },\n    \"is_bulk\": false,\n    \"is_comp\": false,\n    \"only_primary_guest\": true,\n    \"order_recipients\": [\n        {\n            \"assigned_order_items\": [\n                {\n                    \"order_item_index\": 0,\n                    \"quantity\": 3\n                }\n            ],\n            \"message\": \"\",\n            \"guest\": {\n                \"salutation\": \"Mr\",\n                \"first_name\": \"Henry\",\n                \"last_name\": \"Ngo\",\n                \"company\": \"IDEM\",\n                \"email\": \"henry@idemlabs.com\"\n            }\n        }\n    ],\n    \"order_items\": [\n        {\n            \"inventory_id\": \"5f8d0bb16d864abef9641185\",\n            \"item_type\": \"Package\",\n            \"remarks\": \"\",\n            \"mailing\": true,\n            \"physical_delivery\": false,\n            \"item_id\": \"5f8d0bb16d864abef9641184\",\n            \"id\": null,\n            \"validity\": {\n                \"count\": 0,\n                \"valid_from\": \"18 Oct 2020\",\n                \"period\": null,\n                \"valid_to\": \"18 Nov 2020\"\n            },\n            \"quantity\": 3\n        }\n    ],\n    \"mailing\": true,\n    \"cache_id\": null,\n    \"promo_codes\": []\n}'\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/hotels/:id/orders","description":"<p>add an voucher order</p>\n","urlObject":{"path":["hotels",":id","orders"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"3d7c495b-8998-4308-a13c-0fa70710a307","name":"Add Order - Bulk with no recipients","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cache_id\": null,\n    \"order_items\": [\n        {\n            \"id\": null,\n            \"item_id\": \"5f081c01ea36e5e982d32bda\",\n            \"item_type\": \"Package\",\n            \"quantity\": 2,\n            \"inventory_id\": \"5f081c01ea36e5e982d32bdf\",\n            \"remarks\": \"\"\n        }\n    ],\n    \"guest\": {\n        \"id\": null,\n        \"first_name\": \"John\",\n        \"last_name\": \"Wick\",\n        \"email\": \"alex@idemlabs.com\",\n        \"company_name\": \"\",\n        \"address\": {\n            \"address_1\": \"\",\n            \"address_2\": \"\",\n            \"city\": \"\",\n            \"country\": \"\",\n            \"postalcode\": \"\",\n            \"state\": \"\"\n        }\n    },\n    \"billing\": null,\n    \"payment_method\": {\n        \"bill_online\": false,\n        \"notes\": \"customer will pay at the hotel\"\n    },\n    \"is_bulk\": true,\n    \"only_primary_guest\": true,\n    \"promo_codes\": [],\n    \"mailing\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/hotels/:id/orders","host":["{{base_url}}"],"path":["hotels",":id","orders"],"variable":[{"key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjMzNzA2OWRiNDk5Y2NhY2YzMTA5NTVmZWY2NTM0MjMzOTcxNzQ4NzQi.X2SUQQ.irqtlTdluZMCUriSQjCBe4qVrO0"},{"key":"Set-Cookie","value":"session=728c081b-83c1-4663-a322-9ef19d16e539.pBD4WIW2pM_yiNeLoRc43glEJX8; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 18 Sep 2020 11:04:33 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5f649441a68e1d9d2c420e43\"\n    },\n    \"status\": \"success\"\n}"},{"id":"a071b125-5943-4312-86b1-69f485c3f04e","name":"Add Order - With recipients","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cache_id\": null,\n    \"has_recipient_list\": false,\n    \"order_items\": [\n        {\n            \"id\": null,\n            \"item_id\": \"5f081c01ea36e5e982d32bda\",\n            \"item_type\": \"Package\",\n            \"quantity\": 3,\n            \"inventory_id\": \"5f081c01ea36e5e982d32bdf\",\n            \"remarks\": \"\",\n            \"validity\": {\n                \"count\" : null,\n                \"valid_from\" : \"Oct 13, 2020\",\n                \"period\" : null,\n                \"valid_to\" : \"Nov 13, 2020\"\n            }\n        }\n    ],\n    \"order_recipients\": [\n        {\n            \"id\": null,\n            \"message\": \"A message\",\n            \"guest\": {\n                \"salutation\": \"\",\n                \"first_name\": \"John\",\n                \"last_name\": \"Doe\",\n                \"email\": \"alex@idemlabs.com\",\n                \"company_name\": \"\"\n            },\n            \"assigned_order_items\": [\n                {\n                    \"order_item_index\": 0,\n                    \"quantity\": 3\n                }\n            ]\n        }\n    ],\n    \"guest\": {\n        \"id\": null,\n        \"first_name\": \"John\",\n        \"last_name\": \"Wick\",\n        \"email\": \"alex@idemlabs.com\",\n        \"company_name\": \"\",\n        \"address\": {\n            \"address_1\": \"\",\n            \"address_2\": \"\",\n            \"city\": \"\",\n            \"country\": \"\",\n            \"postalcode\": \"\",\n            \"state\": \"\"\n        }\n    },\n    \"billing\": null,\n    \"payment_method\": null,\n    \"only_primary_guest\": false,\n    \"promo_codes\": [],\n    \"mailing\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/hotels/:id/orders","host":["{{base_url}}"],"path":["hotels",":id","orders"],"variable":[{"key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjMzNzA2OWRiNDk5Y2NhY2YzMTA5NTVmZWY2NTM0MjMzOTcxNzQ4NzQi.X2SU3A.RqYcWfPZFuC0xL8k5z8YVHK_yZo"},{"key":"Set-Cookie","value":"session=728c081b-83c1-4663-a322-9ef19d16e539.pBD4WIW2pM_yiNeLoRc43glEJX8; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 18 Sep 2020 11:07:08 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5f6494dc05c12f0ddd7a5ec8\"\n    },\n    \"status\": \"success\"\n}"},{"id":"bca1b737-09af-4873-91b7-4ced6603e61c","name":"Add Order - Bulk with recipient list","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cache_id\": \"608e2024-00eb-41e2-b710-718446e5cfea\",\n    \"has_recipient_list\": true,\n    \"order_items\": [\n        {\n            \"id\": null,\n            \"item_id\": \"5f081c01ea36e5e982d32bda\",\n            \"item_type\": \"Package\",\n            \"quantity\": 2,\n            \"inventory_id\": \"5f081c01ea36e5e982d32bdf\",\n            \"remarks\": \"\"\n        }\n    ],\n    \"guest\": {\n        \"id\": null,\n        \"first_name\": \"John\",\n        \"last_name\": \"Wick\",\n        \"email\": \"alex@idemlabs.com\",\n        \"company_name\": \"\",\n        \"address\": {\n            \"address_1\": \"\",\n            \"address_2\": \"\",\n            \"city\": \"\",\n            \"country\": \"\",\n            \"postalcode\": \"\",\n            \"state\": \"\"\n        }\n    },\n    \"billing\": null,\n    \"payment_method\": {\n        \"bill_online\": false,\n        \"notes\": \"customer will pay at the hotel\"\n    },\n    \"is_bulk\": true,\n    \"only_primary_guest\": false,\n    \"promo_codes\": [],\n    \"mailing\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/hotels/:id/orders","host":["{{base_url}}"],"path":["hotels",":id","orders"],"variable":[{"key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjMzNzA2OWRiNDk5Y2NhY2YzMTA5NTVmZWY2NTM0MjMzOTcxNzQ4NzQi.X2SEIA.b-oVGKGgVPR_RyPsRELEyJ-UmyA"},{"key":"Set-Cookie","value":"session=728c081b-83c1-4663-a322-9ef19d16e539.pBD4WIW2pM_yiNeLoRc43glEJX8; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 18 Sep 2020 09:55:44 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5f648420ebd3d8bbc70dc692\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"b9b295fc-4b19-44b8-9a82-9cd805844f6a"},{"name":"Edit Order","id":"fde77acc-f4f2-43ce-980e-f02ab3abfad0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"order_items\": [\n        { \n            \"id\": \"string(objectid)\",\n            \"item_id\": \"req:string(objectid)\",\n            \"item_type\": \"string(default=Package)\",\n            \"quantity\": 1,\n            \"inventory_id\": \"req:string(objectid)\",\n            \"message\": \"string(default='')\",\n            \"guest\": {\n                \"id\": \"string(objectid, default=unset)\",\n                \"email\": \"string(default='')\",\n                \"name\": \"string(default='')\"\n            },\n            \"mailing\": true,\n            \"physical_delivery\": true\n        },\n        {\n            \"id\": \"string(objectid)\",\n            \"item_id\": \"req:string(objectid)\",\n            \"item_type\": \"string(default=Package)\",\n            \"quantity\": 2,\n            \"inventory_id\": \"req:string(objectid)\",\n            \"message\": \"string(default='')\",\n            \"guest\": {\n                \"id\": \"string(objectid, default=unset)\",\n                \"email\": \"string(default='')\",\n                \"name\": \"string(default='')\"\n            },\n            \"mailing\": true,\n            \"physical_delivery\": false\n        }\n    ],\n    \"guest\": {\n        \"id\": \"string(objectid, default=unset)\",\n        \"first_name\": \"string\",\n        \"last_name\": \"string\",\n        \"email\": \"string(email)\",\n        \"phone\": {\n            \"cc\": \"string\",\n            \"contact\": \"string\",\n            \"country_code\": \"string\"\n        },\n        \"address\": {\n            \"address_1\": \"string\",\n            \"address_2\": \"string\",\n            \"city\": \"string\",\n            \"country\": \"string\",\n            \"postalcode\": \"string\",\n            \"state\": \"string\"\n        }\n    },\n    \"billing\": {\n        \"name\": \"string\",\n        \"payment_reference\": {\n            \"provider\": \"string\",\n            \"customer_id\": \"string\",\n            \"token\": \"string\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/orders/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","orders",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"fde77acc-f4f2-43ce-980e-f02ab3abfad0"},{"name":"Cancel Order","id":"d317153b-deee-4a0d-8d24-3c8115bd9e0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"mailing\": false,\n    \"reason\": \"requested_by_customer\",\n    \"remarks\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/orders/:id/cancel","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","orders",":id","cancel"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"5f0c104f8d59f3257b217deb","key":"id"}]}},"response":[],"_postman_id":"d317153b-deee-4a0d-8d24-3c8115bd9e0a"},{"name":"List all orders","id":"98e7245b-6022-49ce-bcba-1b1418fa0f8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"}],"url":"{{base_url}}/hotels/:hotel_id/orders?limit={{limit}}&page={{page}}&status={{status}}&sort={{sort}}&order={{order}}","urlObject":{"path":["hotels",":hotel_id","orders"],"host":["{{base_url}}"],"query":[{"key":"limit","value":"{{limit}}"},{"key":"page","value":"{{page}}"},{"key":"status","value":"{{status}}"},{"key":"sort","value":"{{sort}}"},{"key":"order","value":"{{order}}"}],"variable":[{"type":"string","value":"{{hotel_id}}","key":"hotel_id"}]}},"response":[],"_postman_id":"98e7245b-6022-49ce-bcba-1b1418fa0f8c"},{"name":"Create an order","event":[{"listen":"test","script":{"id":"3ac61f72-69c1-491a-9056-133353b345a4","exec":["var jsonData = pm.response.json();","pm.environment.set(\"order_id\", jsonData.data.id);"],"type":"text/javascript"}}],"id":"36cabf0c-4e4e-4c3e-b353-f065b94a1eeb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cache_id\": null,\n    \"order_items\": [\n        {\n            \"id\": null,\n            \"item_id\": \"{{package_id}}\",\n            \"item_type\": \"Package\",\n            \"quantity\": 2,\n            \"inventory_id\": \"{{inventory_id}}\",\n            \"remarks\": \"\",\n            \"validity\": {\n                \"count\": null,\n                \"period\": null,\n                \"valid_from\": \"18 Oct 2020\",\n                \"valid_to\": \"18 Nov 2020\"\n            },\n            \"mailing\": true,\n            \"physical_delivery\": true\n        }\n    ],\n    \"order_recipients\": [\n        {\n            \"guest\": {\n                \"email\": \"Alison_MacGyver96@hotmail.com\",\n                \"first_name\": \"Aylin\",\n                \"last_name\": \"Quitzon\",\n                \"salutation\": \"Ms.\",\n                \"company\": \"Okuneva, Zboncak and Muller\",\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"country_code\": \"sg\",\n                    \"contact\": \"9876 54321\"\n                },\n                \"address\": {\n                    \"address_1\": \"12025 Feeney Mall\",\n                    \"address_2\": \"\",\n                    \"city\": \"Redwood City\",\n                    \"state\": \"Mishawaka\",\n                    \"postalcode\": \"46544\",\n                    \"country\": \"United States\"\n                }\n            },\n            \"assigned_order_items\": [\n                {\n                    \"order_item_index\": 0,\n                    \"quantity\": 2\n                }\n            ],\n            \"message\": \"sed laudantium aperiam\"\n        }\n    ],\n    \"guest\": {\n        \"salutation\": \"Ms.\",\n        \"company\": \"Lind, Gottlieb and Kutch\",\n        \"first_name\": \"Lester\",\n        \"last_name\": \"O'Kon\",\n        \"email\": \"Salvatore_Little78@hotmail.com\",\n        \"phone\": {\n            \"cc\": \"65\",\n            \"country_code\": \"sg\",\n            \"contact\": \"9876 54321\"\n        },\n        \"address\": {\n            \"address_1\": \"308 Gulgowski Ranch\",\n            \"address_2\": \"\",\n            \"city\": \"Raleigh\",\n            \"state\": \"Mishawaka\",\n            \"postalcode\": \"46544\",\n            \"country\": \"United States\"\n        }\n    },\n    \"promo_codes\": [],\n    \"is_comp\": false,\n    \"is_bulk\": false,\n    \"mailing\": false,\n    \"only_primary_guest\": true,\n    \"has_recipient_list\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/hotels/:id/orders","urlObject":{"path":["hotels",":id","orders"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"any","value":"{{hotel_id}}","key":"id"}]}},"response":[],"_postman_id":"36cabf0c-4e4e-4c3e-b353-f065b94a1eeb"},{"name":"Create a complimetary order","event":[{"listen":"test","script":{"id":"5a8f0f5d-bc09-4a85-8e7d-02afd9a8143f","exec":["var jsonData = pm.response.json();","pm.environment.set(\"order_id\", jsonData.data.id);"],"type":"text/javascript"}}],"id":"97737f18-6f18-4442-82d1-d92e988e7516","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"is_comp\": true,\n    \"cache_id\": null,\n    \"order_items\": [\n        {\n            \"id\": null,\n            \"item_id\": \"{{package_id}}\",\n            \"item_type\": \"Package\",\n            \"quantity\": 1,\n            \"inventory_id\": \"{{inventory_id}}\",\n            \"remarks\": \"\",\n            \"validity\": {\n                \"count\": null,\n                \"period\": null,\n                \"valid_from\": \"18 Oct 2020\",\n                \"valid_to\": \"18 Nov 2020\"\n            },\n            \"mailing\": true,\n            \"physical_delivery\": false\n        }\n    ],\n    \"order_recipients\": [\n        {\n            \"guest\": {\n                \"email\": \"Bennett_Schiller29@gmail.com\",\n                \"first_name\": \"Timmy\",\n                \"last_name\": \"Macejkovic\",\n                \"salutation\": \"Mrs.\",\n                \"company\": \"Zulauf - Nitzsche\",\n                \"address\": {\n                    \"address_1\": \"624 Earnestine Mills\",\n                    \"address_2\": \"\",\n                    \"city\": \"Strackechester\",\n                    \"state\": \"Mishawaka\",\n                    \"postalcode\": \"46544\",\n                    \"country\": \"United States\"\n                }\n            },\n            \"assigned_order_items\": [\n                {\n                    \"order_item_index\": 0,\n                    \"quantity\": 1\n                }\n            ],\n            \"message\": \"repudiandae hic voluptas\"\n        }\n    ],\n    \"promo_codes\": [],\n    \"mailing\": false,\n    \"department\": {\n        \"id\": \"{{department_id}}\",\n        \"name\": \"{{department_name}}\"\n    },\n    \"comp_reason\": \"at\",\n    \"comp_note\": \"qui provident et\",\n    \"sender_salutation\": \"Mr.\",\n    \"sender_first_name\": \"Shania\",\n    \"sender_last_name\": \"Ferry\",\n    \"sender_position\": \"Corporate Infrastructure Administrator\",\n    \"only_primary_guest\": false,\n    \"has_recipient_list\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/hotels/:id/orders","urlObject":{"path":["hotels",":id","orders"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"any","value":"{{hotel_id}}","key":"id"}]}},"response":[],"_postman_id":"97737f18-6f18-4442-82d1-d92e988e7516"},{"name":"Create an incentive order","event":[{"listen":"test","script":{"id":"3f850142-f7f4-47bf-99db-7148f9cc882e","exec":["var jsonData = pm.response.json();","pm.environment.set(\"order_id\", jsonData.data.id);"],"type":"text/javascript"}}],"id":"707a6fa9-35da-41fc-92c4-aa5d9fa2a21c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"is_incentive\": true,\n    \"cache_id\": null,\n    \"order_items\": [\n        {\n            \"id\": null,\n            \"item_id\": \"{{package_id}}\",\n            \"item_type\": \"Package\",\n            \"quantity\": 1,\n            \"inventory_id\": \"{{inventory_id}}\",\n            \"remarks\": \"\",\n            \"validity\": {\n                \"count\": null,\n                \"period\": null,\n                \"valid_from\": \"18 Oct 2020\",\n                \"valid_to\": \"18 Nov 2020\"\n            },\n            \"mailing\": true,\n            \"physical_delivery\": false\n        }\n    ],\n    \"order_recipients\": [\n        {\n            \"guest\": {\n                \"email\": \"Rosa5@yahoo.com\",\n                \"first_name\": \"Joel\",\n                \"last_name\": \"Kulas\",\n                \"salutation\": \"Mr.\",\n                \"company\": \"Wehner, Kertzmann and Hamill\",\n                \"address\": {\n                    \"address_1\": \"4949 Darryl Field\",\n                    \"address_2\": \"\",\n                    \"city\": \"Port Vernieland\",\n                    \"state\": \"Mishawaka\",\n                    \"postalcode\": \"46544\",\n                    \"country\": \"United States\"\n                }\n            },\n            \"assigned_order_items\": [\n                {\n                    \"order_item_index\": 0,\n                    \"quantity\": 1\n                }\n            ],\n            \"message\": \"eum consequatur recusandae\",\n            \"params\": {\n                \"pdf_to\": [\n                    \"Mariela_Larkin@gmail.com\",\n                    \"Tevin97@hotmail.com\",\n                    \"Emma_Stehr@yahoo.com\",\n                    \"henry.ngo@groups360.com\"\n                ],\n                \"notify_to\": [\n                    \"Eino.Schiller19@gmail.com\",\n                    \"Willis.Feest@hotmail.com\",\n                    \"Silas_Altenwerth42@gmail.com\",\n                    \"henry.ngo@groups360.com\"\n                ]\n            }\n        }\n    ],\n    \"promo_codes\": [],\n    \"mailing\": true,\n    \"department\": {\n        \"id\": \"{{department_id}}\",\n        \"name\": \"{{department_name}}\"\n    },\n    \"comp_reason\": \"ipsa\",\n    \"comp_note\": \"impedit nihil laboriosam\",\n    \"sender_salutation\": \"Miss\",\n    \"sender_first_name\": \"Jada\",\n    \"sender_last_name\": \"Sauer\",\n    \"sender_position\": \"Chief Tactics Director\",\n    \"only_primary_guest\": false,\n    \"has_recipient_list\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/hotels/:id/orders","urlObject":{"path":["hotels",":id","orders"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"any","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"6e5cb5c3-f14d-464d-abff-04106a89add3","name":"OK - Successfully created an incentive order","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"is_incentive\": true,\n    \"cache_id\": null,\n    \"order_items\": [\n        {\n            \"id\": null,\n            \"item_id\": \"{{package_id}}\",\n            \"item_type\": \"Package\",\n            \"quantity\": 1,\n            \"inventory_id\": \"{{inventory_id}}\",\n            \"remarks\": \"\",\n            \"validity\": {\n                \"count\": null,\n                \"period\": null,\n                \"valid_from\": \"18 Oct 2020\",\n                \"valid_to\": \"18 Nov 2020\"\n            },\n            \"mailing\": true,\n            \"physical_delivery\": false\n        }\n    ],\n    \"order_recipients\": [\n        {\n            \"guest\": {\n                \"email\": \"Orville_Schneider@gmail.com\",\n                \"first_name\": \"Emmanuelle\",\n                \"last_name\": \"Leannon\",\n                \"salutation\": \"Mr.\",\n                \"company\": \"Rempel, Herman and Rosenbaum\",\n                \"address\": {\n                    \"address_1\": \"204 Hickle Spring\",\n                    \"address_2\": \"\",\n                    \"city\": \"Lake Kenny\",\n                    \"state\": \"Mishawaka\",\n                    \"postalcode\": \"46544\",\n                    \"country\": \"United States\"\n                }\n            },\n            \"assigned_order_items\": [\n                {\n                    \"order_item_index\": 0,\n                    \"quantity\": 1\n                }\n            ],\n            \"message\": \"voluptas magnam et\",\n            \"params\": {\n                \"pdf_to\": [\n                    \"Terrill.Klocko67@yahoo.com\",\n                    \"Heidi_Gerhold@hotmail.com\",\n                    \"Zelda_Bradtke64@gmail.com\"\n                ],\n                \"notify_to\": [\n                    \"Patrick82@hotmail.com\",\n                    \"Brooke19@hotmail.com\",\n                    \"Maxine.Watsica90@hotmail.com\"\n                ]\n            }\n        }\n    ],\n    \"promo_codes\": [],\n    \"mailing\": false,\n    \"department\": {\n        \"id\": \"{{department_id}}\",\n        \"name\": \"{{department_name}}\"\n    },\n    \"comp_reason\": \"id\",\n    \"comp_note\": \"cumque et quidem\",\n    \"sender_salutation\": \"Dr.\",\n    \"sender_first_name\": \"Carlo\",\n    \"sender_last_name\": \"Schulist\",\n    \"sender_position\": \"Lead Brand Technician\",\n    \"only_primary_guest\": false,\n    \"has_recipient_list\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/hotels/:id/orders","host":["{{base_url}}"],"path":["hotels",":id","orders"],"variable":[{"key":"id","value":"{{hotel_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImVhMThiZDRlODBmZGNlMWM1MmNiNTA1NjRmZWFiOGIzOTBmNGFhMTgi.YPqF0Q.hx1ibFrX2L2fh59XOLuQz-ny0a8"},{"key":"Set-Cookie","value":"session=5b981778-aa2c-462f-ada3-a3f688e76078.02u0kgIcwttWrYsHRzZVIkGUDSY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 23 Jul 2021 09:03:13 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"60fa85d0767a8a6e45314b0a\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"707a6fa9-35da-41fc-92c4-aa5d9fa2a21c"},{"name":"Create an incentive and bulk order","event":[{"listen":"test","script":{"id":"3b1feb4e-a4ab-4e3b-a0b6-cea7f08fe621","exec":["var jsonData = pm.response.json();","pm.environment.set(\"order_id\", jsonData.data.id);"],"type":"text/javascript"}}],"id":"739d56aa-9db2-42bf-87ba-9bcceb1a4d6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"is_incentive\": true,\n    \"is_bulk\": true,\n    \"is_comp\": false,\n    \"cache_id\": \"0d4ae4bf-494e-465d-bcfa-b557fa2582ba\",\n    \"order_items\": [\n        {\n            \"id\": null,\n            \"item_id\": \"{{package_id}}\",\n            \"item_type\": \"Package\",\n            \"quantity\": 12,\n            \"inventory_id\": \"{{inventory_id}}\",\n            \"remarks\": \"\",\n            \"validity\": {\n                \"count\": null,\n                \"period\": null,\n                \"valid_from\": \"18 Oct 2020\",\n                \"valid_to\": \"18 Nov 2020\"\n            },\n            \"mailing\": true,\n            \"physical_delivery\": false\n        }\n    ],\n    \"promo_codes\": [],\n    \"mailing\": true,\n    \"department\": {\n        \"id\": \"{{department_id}}\",\n        \"name\": \"{{department_name}}\"\n    },\n    \"comp_reason\": \"et\",\n    \"comp_note\": \"molestias magni consequatur\",\n    \"sender_salutation\": \"Ms.\",\n    \"sender_first_name\": \"Marilou\",\n    \"sender_last_name\": \"Wilkinson\",\n    \"sender_position\": \"Future Infrastructure Producer\",\n    \"only_primary_guest\": false,\n    \"has_recipient_list\": true,\n    \"payment_method\": {\n        \"bill_online\": true,\n        \"notes\": \"tenetur et eos\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/hotels/:id/orders","urlObject":{"path":["hotels",":id","orders"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"any","value":"{{hotel_id}}","key":"id"}]}},"response":[],"_postman_id":"739d56aa-9db2-42bf-87ba-9bcceb1a4d6e"},{"name":"Retrieve an order","id":"b50a2f29-cb9e-49d6-b7e1-52c861b299f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/orders/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["orders",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{order_id}}","key":"id"}]}},"response":[{"id":"e5892dd3-e472-4ea7-8038-6e93c3d1cc68","name":"Get Order Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/orders/:id","host":["{{base_url}}"],"path":["orders",":id"],"variable":[{"key":"id","value":"5f76beb8aefed75404f7d707","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"9544"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImY5YjlmMTE5ZGU0ZjBjNDM0MDQ3MmJjMGJjYTAzMzI0NmRlN2I3YTki.X3bGPw.fDPxJTnqLo3hHrhq10HG_IXPixc"},{"key":"Set-Cookie","value":"session=2e5fddc4-ddb2-4b87-9ce2-9a131d476778.q91McW042xzPLsZH_3X5pVmOj84; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 02 Oct 2020 06:18:39 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"billing\": {\n            \"payment_reference\": {\n                \"brand\": \"visa\",\n                \"card_display\": \"xxxx xxxx xxxx 4242\",\n                \"customer_id\": \"cus_I7x25wz8FohZpN\",\n                \"direct_payment\": true,\n                \"exp_month\": \"2\",\n                \"exp_year\": \"2022\",\n                \"last4\": \"4242\",\n                \"method\": \"\",\n                \"method_display\": \"Credit Card\",\n                \"name\": \"Alex R\",\n                \"provider\": \"stripe\",\n                \"token\": \"tok_1HXh8OJ3Qv9azrNmwqxY88eU\"\n            }\n        },\n        \"cancelled_at\": null,\n        \"comp_note\": \"\",\n        \"comp_reason\": \"\",\n        \"confirmation_number\": \"T3VHI\",\n        \"confirmed_at\": null,\n        \"created_at\": \"2020-10-02T05:46:32.460000\",\n        \"department\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"guest\": {\n            \"address\": {\n                \"address_1\": \"\",\n                \"address_2\": \"\",\n                \"city\": \"\",\n                \"country\": \"\",\n                \"postalcode\": \"\",\n                \"state\": \"\"\n            },\n            \"company\": \"\",\n            \"created_at\": \"2020-10-02T05:46:32.461000\",\n            \"email\": \"alex@idemlabs.com\",\n            \"first_name\": \"Bilbo\",\n            \"id\": \"5f76beb8aefed75404f7d70b\",\n            \"job_title\": null,\n            \"last_name\": \"Baggins\",\n            \"masked\": false,\n            \"phone\": {\n                \"cc\": \"\",\n                \"contact\": \"\",\n                \"country_code\": \"\"\n            },\n            \"salutation\": \"\",\n            \"updated_at\": \"2020-10-02T05:48:48.424000\"\n        },\n        \"has_recipient_list\": true,\n        \"hotel\": {\n            \"id\": \"5e3bbd1626ef9b0b5ce8e2e7\",\n            \"name\": \"Hotel California\"\n        },\n        \"hotel_message\": \"\",\n        \"id\": \"5f76beb8aefed75404f7d707\",\n        \"is_bulk\": false,\n        \"is_comp\": false,\n        \"is_processing\": false,\n        \"only_primary_guest\": true,\n        \"order_items\": [\n            {\n                \"description\": \"1 Day Pass - California Gym for 1 PAX at Hometown Spa\",\n                \"id\": \"5f76beb8aefed75404f7d708\",\n                \"inventory\": {\n                    \"code\": \"81180\",\n                    \"discount_price\": null,\n                    \"id\": \"5f081c01ea36e5e982d32bdf\",\n                    \"name\": \"1 PAX\",\n                    \"price\": 19.99,\n                    \"quantity\": -1,\n                    \"sold\": 21523\n                },\n                \"inventory_id\": \"5f081c01ea36e5e982d32bdf\",\n                \"mailing\": true,\n                \"physical_delivery\": true,\n                \"item\": {\n                    \"booking_policy\": {\n                        \"description\": \"This voucher cannot be refunded.\",\n                        \"id\": null,\n                        \"name\": \"Non-refundable\"\n                    },\n                    \"category\": {\n                        \"id\": \"5f081c01ea36e5e982d32bd3\",\n                        \"in_use\": true,\n                        \"name\": \"Spa\"\n                    },\n                    \"description\": \"Have a great workout at California Gym and enjoy any of their classes...\",\n                    \"id\": \"5f081c01ea36e5e982d32bda\",\n                    \"instructions\": {\n                        \"description\": \"This voucher cannot be refunded.\",\n                        \"id\": null,\n                        \"name\": \"PLEASE UPDATE\"\n                    },\n                    \"inventories\": [\n                        {\n                            \"code\": \"81180\",\n                            \"discount_price\": null,\n                            \"id\": \"5f081c01ea36e5e982d32bdf\",\n                            \"name\": \"1 PAX\",\n                            \"price\": 27.99,\n                            \"quantity\": -1,\n                            \"remain\": -1,\n                            \"sold\": 21523\n                        },\n                        {\n                            \"code\": \"08700\",\n                            \"discount_price\": null,\n                            \"id\": \"5f2a3d24b1fd60d5d1794272\",\n                            \"name\": \"2 PAX\",\n                            \"price\": 24.99,\n                            \"quantity\": -1,\n                            \"remain\": -1,\n                            \"sold\": 71\n                        }\n                    ],\n                    \"name\": \"1 Day Pass - California Gym\",\n                    \"notes\": \"Weekdays only\",\n                    \"short_description\": \"1 Day Pass at California Gym\",\n                    \"tags\": [\n                        {\n                            \"id\": \"5f081c01ea36e5e982d32bd5\",\n                            \"in_use\": true,\n                            \"name\": \"Recommended\"\n                        },\n                        {\n                            \"id\": \"5f081c01ea36e5e982d32bd6\",\n                            \"in_use\": true,\n                            \"name\": \"Special Offer\"\n                        }\n                    ],\n                    \"validity\": {\n                        \"count\": 3,\n                        \"period\": \"months\",\n                        \"valid_from\": null,\n                        \"valid_to\": null\n                    },\n                    \"vendor\": {\n                        \"business_type\": [\n                            {\n                                \"id\": \"5f081c01ea36e5e982d32bcc\",\n                                \"in_use\": true,\n                                \"name\": \"Spa\"\n                            }\n                        ],\n                        \"default\": false,\n                        \"description\": \"A spa. In your hometown.\",\n                        \"hotel_id\": \"5e3bbd1626ef9b0b5ce8e2e7\",\n                        \"id\": \"5f081c01ea36e5e982d32bd0\",\n                        \"location\": \"Your hometown.\",\n                        \"name\": \"Hometown Spa\"\n                    }\n                },\n                \"item_id\": \"5f081c01ea36e5e982d32bda\",\n                \"item_type\": \"Package\",\n                \"price\": 19.99,\n                \"quantity\": 1,\n                \"remarks\": \"\",\n                \"status\": \"confirmed\",\n                \"vouchers\": [\n                    {\n                        \"code\": \"JA5FE\",\n                        \"expires\": \"2021-01-02T05:46:32.591000\",\n                        \"guest\": {\n                            \"email\": \"alex@idemlabs.com\",\n                            \"first_name\": \"Bilbo\",\n                            \"id\": \"5f76beb8aefed75404f7d709\",\n                            \"last_name\": \"Baggins\",\n                            \"name\": \"Bilbo Baggins\"\n                        },\n                        \"id\": \"5f76beb8aefed75404f7d70d\",\n                        \"name\": \"1 Day Pass - California Gym - 1 PAX\",\n                        \"order_item_id\": \"5f76beb8aefed75404f7d708\",\n                        \"remarks\": \"\",\n                        \"status\": \"confirmed\",\n                        \"undo_redeem_remarks\": \"\"\n                    }\n                ]\n            }\n        ],\n        \"payment_method\": {\n            \"bill_online\": true,\n            \"notes\": null\n        },\n        \"payment_notes\": null,\n        \"permissions\": [\n            \"cancel\",\n            \"order_confirmation_email\",\n            \"send_e_vouchers\",\n            \"redeem\",\n            \"undo_redeem\"\n        ],\n        \"pricing\": {\n            \"currency\": \"AUD\",\n            \"discounts\": [],\n            \"items\": [\n                {\n                    \"amount\": 19.99,\n                    \"description\": \"1 Day Pass - California Gym for 1 PAX at Hometown Spa\",\n                    \"details\": {\n                        \"fees\": [\n                            {\n                                \"amount_type\": [\n                                    \"applied_nightly\",\n                                    \"compound_tax\"\n                                ],\n                                \"description\": \"\",\n                                \"fee_amount\": 2.1989,\n                                \"form_type\": \"applied_amount\",\n                                \"id\": \"5efb12943566e21409ed4370\",\n                                \"name\": \"service_charge\",\n                                \"ordering\": 0,\n                                \"title\": \"Service Charge\",\n                                \"type\": \"relative\",\n                                \"value\": 11\n                            }\n                        ],\n                        \"subtotal\": 19.99,\n                        \"tax_reverse\": false,\n                        \"tax_setup\": \"excluded\",\n                        \"total\": 22.19,\n                        \"total_fees\": 2.1989\n                    },\n                    \"inventory_id\": \"5f081c01ea36e5e982d32bdf\",\n                    \"item_id\": \"5f081c01ea36e5e982d32bda\",\n                    \"item_type\": \"Package\",\n                    \"price\": 19.99,\n                    \"quantity\": 1\n                }\n            ],\n            \"subtotal\": 19.99,\n            \"total\": 22.19,\n            \"total_fees\": 2.1989\n        },\n        \"private_hotel_message\": \"\",\n        \"remarks\": \"\",\n        \"status\": \"confirmed\",\n        \"total_codes\": 1,\n        \"total_redeemed\": 0,\n        \"transaction_group\": {\n            \"id\": \"5f76beb8aefed75404f7d70a\",\n            \"status\": \"completed\"\n        },\n        \"updated_at\": \"2020-10-02T05:48:51.344000\"\n    },\n    \"status\": \"success\"\n}"},{"id":"98cba66b-1993-47ba-8957-26b99bded535","name":"OK - Successfully retrieved an incentive order","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/orders/:id","host":["{{base_url}}"],"path":["orders",":id"],"variable":[{"key":"id","value":"{{order_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"11591"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImVhMThiZDRlODBmZGNlMWM1MmNiNTA1NjRmZWFiOGIzOTBmNGFhMTgi.YPqF6Q.OwDCCe3gf37CO4Tig6Ni1ZClgk0"},{"key":"Set-Cookie","value":"session=5b981778-aa2c-462f-ada3-a3f688e76078.02u0kgIcwttWrYsHRzZVIkGUDSY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 23 Jul 2021 09:03:37 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"billing\": null,\n        \"cancelled_at\": null,\n        \"comp_note\": \"blanditiis vel quia\",\n        \"comp_reason\": \"assumenda\",\n        \"confirmation_number\": \"6GWW7\",\n        \"confirmed_at\": \"2021-07-23T09:03:13.029000\",\n        \"created_at\": \"2021-07-23T09:03:12.425000\",\n        \"department\": {\n            \"id\": \"5f252d17e74908bf1ec16d79\",\n            \"name\": \"Sale and Marketing\"\n        },\n        \"guest\": {\n            \"address\": {\n                \"address_1\": \"855 Sarah Junctions\",\n                \"address_2\": \"\",\n                \"city\": \"Todside\",\n                \"country\": \"United States\",\n                \"postalcode\": \"46544\",\n                \"state\": \"Mishawaka\"\n            },\n            \"company\": \"Grady - Rodriguez\",\n            \"created_at\": \"2021-07-23T09:03:12.426000\",\n            \"email\": \"Betty_Rice53@gmail.com\",\n            \"first_name\": \"Darrell\",\n            \"id\": \"60fa85d0767a8a6e45314b0e\",\n            \"job_title\": null,\n            \"last_name\": \"Dietrich\",\n            \"masked\": false,\n            \"phone\": {\n                \"cc\": \"\",\n                \"contact\": \"\",\n                \"country_code\": \"\"\n            },\n            \"salutation\": \"Dr.\",\n            \"updated_at\": \"2021-07-23T09:03:12.480000\"\n        },\n        \"has_recipient_list\": true,\n        \"hotel\": {\n            \"id\": \"5b64304986819e07d799b133\",\n            \"name\": \"Kingsmen Hotels & Resorts\"\n        },\n        \"hotel_message\": \"\",\n        \"id\": \"60fa85d0767a8a6e45314b0a\",\n        \"is_bulk\": false,\n        \"is_comp\": false,\n        \"is_incentive\": true,\n        \"is_paid\": false,\n        \"is_processing\": false,\n        \"is_voucher_sent\": false,\n        \"only_primary_guest\": false,\n        \"order_items\": [\n            {\n                \"description\": \"Happy Dinner at Kingsman Hotel and Resorts (O)\",\n                \"id\": \"60fa85d0767a8a6e45314b0b\",\n                \"inventory\": {\n                    \"code\": \"82434\",\n                    \"discount_price\": null,\n                    \"id\": \"5f8d0bb16d864abef9641185\",\n                    \"name\": \"\",\n                    \"price\": 80.99,\n                    \"quantity\": -1,\n                    \"sold\": 48\n                },\n                \"inventory_id\": \"5f8d0bb16d864abef9641185\",\n                \"item\": {\n                    \"booking_policy\": {\n                        \"description\": \"<p>COVID-19 Precautions:&nbsp;</p>\\n\\n<ul>\\n\\t<li>Images are for illustration purposes only. Actual product(s) may vary.</li>\\n\\t<li>Voucher is valid for the period stated only. Extension is strictly not allowed.&nbsp;</li>\\n\\t<li>Voucher is not&nbsp;exchangeable for cash and is valid for one presentation only.</li>\\n\\t<li>Multiple vouchers may be used per transaction.</li>\\n\\t<li>Any unused credit balance will not be replaced, refunded or carried forward. Amount consumed in excess of the stated value is to be borne by the voucher holder and must be settled in full at the time of voucher usage.</li>\\n\\t<li>Voucher cannot be replaced or accepted if damaged, defaced, expired, lost, stolen and/or voided.</li>\\n\\t<li>Hotel reserves the rights to change or amend the terms of use without prior notice.</li>\\n</ul>\",\n                        \"id\": \"5f0d35db9440db1efc83514e\",\n                        \"name\": \"Voucher Terms & Conditions 2020\"\n                    },\n                    \"category\": {\n                        \"description\": \"\",\n                        \"id\": \"5f0bd7394aa27e5229c33003\",\n                        \"image_gallery\": [],\n                        \"in_use\": true,\n                        \"name\": \"Staycations\",\n                        \"slug\": \"staycations-3003\"\n                    },\n                    \"description\": \"<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\",\n                    \"id\": \"5f8d0bb16d864abef9641184\",\n                    \"instructions\": {\n                        \"description\": \"<ul>\\n\\t<li>Images are for illustration purposes only. Actual product(s) may vary.</li>\\n\\t<li>Voucher is valid for the period stated only. Extension is strictly not allowed.&nbsp;</li>\\n\\t<li>Voucher is not&nbsp;exchangeable for cash and is valid for one presentation only.</li>\\n\\t<li>Multiple vouchers may be used per transaction.</li>\\n\\t<li>Any unused credit balance will not be replaced, refunded or carried forward. Amount consumed in excess of the stated value is to be borne by the voucher holder and must be settled in full at the time of voucher usage.</li>\\n\\t<li>Voucher cannot be replaced or accepted if damaged, defaced, expired, lost, stolen and/or voided.</li>\\n\\t<li>Hotel reserves the rights to change or amend the terms of use without prior notice.</li>\\n</ul>\",\n                        \"id\": \"5f3f40560622fbdfbdfe3fbd\",\n                        \"name\": \"Staycation redemption instructions\"\n                    },\n                    \"inventories\": null,\n                    \"keywords\": \"\",\n                    \"name\": \"Happy Dinner\",\n                    \"notes\": \"<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\",\n                    \"short_description\": \"<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting</p>\",\n                    \"slug\": \"happy-dinner-1184\",\n                    \"tags\": [\n                        {\n                            \"id\": \"5f0bdada4aa27e5229c3307f\",\n                            \"in_use\": true,\n                            \"name\": \"Hot\"\n                        },\n                        {\n                            \"id\": \"5f083f2b2ee253df0ba3389f\",\n                            \"in_use\": true,\n                            \"name\": \"Recommended\"\n                        }\n                    ],\n                    \"validity\": {\n                        \"count\": 0,\n                        \"period\": null,\n                        \"valid_from\": \"2020-10-18T00:00:00\",\n                        \"valid_to\": \"2020-11-18T23:59:59\"\n                    },\n                    \"vendor\": {\n                        \"business_type\": [\n                            {\n                                \"id\": \"5f0b9add663b0dd6614fedd4\",\n                                \"in_use\": true,\n                                \"name\": \"Hotel\"\n                            }\n                        ],\n                        \"default\": true,\n                        \"description\": \"\",\n                        \"hotel_id\": \"5b64304986819e07d799b133\",\n                        \"id\": \"5f3226f176602ffdddecf419\",\n                        \"location\": \"\",\n                        \"name\": \"Kingsman Hotel and Resorts (O)\",\n                        \"slug\": \"kingsman-hotel-and-resorts-o-f419\"\n                    }\n                },\n                \"item_id\": \"5f8d0bb16d864abef9641184\",\n                \"item_type\": \"Package\",\n                \"mailing\": true,\n                \"physical_delivery\": false,\n                \"price\": 80.99,\n                \"quantity\": 1,\n                \"remarks\": \"\",\n                \"status\": \"confirmed\",\n                \"validity\": {\n                    \"count\": 0,\n                    \"period\": null,\n                    \"valid_from\": \"2020-10-18T00:00:00\",\n                    \"valid_to\": \"2020-11-18T23:59:59\"\n                },\n                \"vouchers\": [\n                    {\n                        \"code\": \"SVD1J\",\n                        \"expires\": \"2020-11-18T15:59:59\",\n                        \"guest\": {\n                            \"email\": \"Betty_Rice53@gmail.com\",\n                            \"first_name\": \"Darrell\",\n                            \"id\": \"60fa85d0767a8a6e45314b0c\",\n                            \"last_name\": \"Dietrich\",\n                            \"name\": \"Darrell Dietrich\"\n                        },\n                        \"id\": \"60fa85d0767a8a6e45314b10\",\n                        \"name\": \"Happy Dinner\",\n                        \"order_item_id\": \"60fa85d0767a8a6e45314b0b\",\n                        \"refunded_at\": null,\n                        \"remarks\": \"\",\n                        \"status\": \"inactive\",\n                        \"undo_redeem_remarks\": \"\"\n                    }\n                ]\n            }\n        ],\n        \"payment_method\": {\n            \"bill_online\": true,\n            \"notes\": null\n        },\n        \"payment_notes\": null,\n        \"permissions\": [\n            \"cancel_voucher\",\n            \"undo_redeem\",\n            \"order_confirmation_email\",\n            \"redeem\",\n            \"mail_cancelation\",\n            \"send_e_vouchers_with_emails\",\n            \"send_e_vouchers\",\n            \"cancel\"\n        ],\n        \"pricing\": {\n            \"currency\": \"USD\",\n            \"discounts\": [],\n            \"error\": null,\n            \"items\": [\n                {\n                    \"amount\": 0,\n                    \"description\": \"Happy Dinner\",\n                    \"details\": {\n                        \"applied_codes\": {},\n                        \"fees\": [],\n                        \"price\": 80.99,\n                        \"quantity\": 1,\n                        \"subtotal\": 0,\n                        \"subtotal_incl_fees\": 0,\n                        \"total\": 0,\n                        \"total_discount_value\": 0,\n                        \"total_fee_value\": 0,\n                        \"total_fees\": 0\n                    },\n                    \"inventory_id\": \"5f8d0bb16d864abef9641185\",\n                    \"item_id\": \"5f8d0bb16d864abef9641184\",\n                    \"item_type\": \"Package\",\n                    \"price\": 80.99,\n                    \"quantity\": 1,\n                    \"vendor_name\": \"Kingsman Hotel and Resorts (O)\"\n                }\n            ],\n            \"subtotal\": 0,\n            \"total\": 0,\n            \"total_fees\": 0\n        },\n        \"private_hotel_message\": \"\",\n        \"recipient_count\": 1,\n        \"remarks\": \"\",\n        \"sender_first_name\": \"Gage\",\n        \"sender_last_name\": \"Paucek\",\n        \"sender_position\": \"Forward Metrics Assistant\",\n        \"sender_salutation\": \"Miss\",\n        \"status\": \"confirmed\",\n        \"total_codes\": 1,\n        \"total_redeemed\": 0,\n        \"transaction_group\": {\n            \"id\": \"60fa85d0767a8a6e45314b0d\",\n            \"status\": \"incentive\"\n        },\n        \"updated_at\": \"2021-07-23T09:03:12.948000\",\n        \"voucher_valid_from\": null\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"b50a2f29-cb9e-49d6-b7e1-52c861b299f5"},{"name":"Retrieve order brief","id":"e36de96e-30bd-4f12-99b7-afcfedd59560","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/orders/:guid/brief","urlObject":{"path":["orders",":guid","brief"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"any","value":"{{order_guid}}","key":"guid"}]}},"response":[{"id":"210353e1-6e04-4d8b-af02-9d88c18adb79","name":"Ok - Successful","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/orders/:guid/brief","host":["{{base_url}}"],"path":["orders",":guid","brief"],"variable":[{"key":"guid","value":"{{order_guid}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"297"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImU1MzNkOTFjMGU3MDM3NWNhYmViZWNjZDBmNjg5YzI5YWI0M2NmMjEi.YoXS_Q.QswyN_yfpxpS4Y5B_9myaJzHKJ8"},{"key":"Set-Cookie","value":"session=5a9a3acd-a361-432c-b6c4-323da7f30fed.tcD7U9fxfW83ZRvFciRjcU1DNDs; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Thu, 19 May 2022 05:17:49 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"code\": \"OK\",\n    \"data\": {\n        \"status\": \"confirmed\",\n        \"confirmation_number\": \"TKG6P\",\n        \"confirmed_at\": \"2022-03-14T09:37:24.746000\",\n        \"updated_at\": \"2022-03-14T09:37:24.281000\",\n        \"guid\": \"23f9d468-8399-4352-bac7-e2dc615d692e\",\n        \"id\": \"622f0cd1bd77e8570dead0f2\",\n        \"is_processing\": false\n    }\n}"}],"_postman_id":"e36de96e-30bd-4f12-99b7-afcfedd59560"},{"name":"List all vouchers","id":"b8b26fdc-c3a6-4679-b759-59058b601028","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"}],"url":"{{base_url}}/orders/:id/vouchers?sort={{sort}}&order={{order}}&search={{search}}&page={{page}}&limit={{limit}}&inventory_ids=5f8d0bb16d864abef9641185,5f8d0bb16d864abef9641185&statuses=cancelled,confirmed,inactive&refundable=true","description":"<p>Get list of vouchers in a specific order</p>\n<h2 id=\"url-variable\">URL Variable</h2>\n<ul>\n<li><strong>id</strong> (object_id, required) - The order object ID.</li>\n</ul>\n<h2 id=\"query-param\">Query Param:</h2>\n<ul>\n<li><strong>sort</strong> (string) - Specify a field to order the results</li>\n<li><strong>order</strong> (enum) - The order may be specified by prepending each of the keywords by <code>desc</code> or <code>acs</code><ul>\n<li>desc (string) - Order by descending a field</li>\n<li>acs (string) - Order by ascending a field</li>\n</ul>\n</li>\n<li><strong>search</strong> (string) - Search keywords</li>\n<li><strong>page</strong> (integer) - Page number</li>\n<li><strong>limit</strong> (integer) - Number of resulted items per page</li>\n<li><strong>inventory_ids</strong> (string) - List of inventory IDs separated by comma (<code>,</code>)</li>\n<li><strong>statuses</strong> (string) - List of voucher statuses separated by comma (<code>,</code>)</li>\n<li><strong>is_refunded</strong> (boolean) - Filter vouchers are refunded, default: <code>false</code><ul>\n<li>true</li>\n<li>false</li>\n</ul>\n</li>\n</ul>\n<h2 id=\"return\">Return:</h2>\n<ul>\n<li><strong>code</strong> (string) - The response code.</li>\n<li><strong>status</strong> (string) - The response status.</li>\n<li><strong>data</strong> (object) - The meta data object.</li>\n</ul>\n","urlObject":{"path":["orders",":id","vouchers"],"host":["{{base_url}}"],"query":[{"key":"sort","value":"{{sort}}"},{"key":"order","value":"{{order}}"},{"key":"search","value":"{{search}}"},{"key":"page","value":"{{page}}"},{"key":"limit","value":"{{limit}}"},{"key":"inventory_ids","value":"5f8d0bb16d864abef9641185,5f8d0bb16d864abef9641185"},{"key":"statuses","value":"cancelled,confirmed,inactive"},{"disabled":true,"key":"is_refunded","value":"false"},{"key":"refundable","value":"true"}],"variable":[{"type":"string","value":"{{order_id}}","key":"id"}]}},"response":[{"id":"d52ac10a-1d4d-4f21-b338-470a4e6af4ef","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"}],"url":{"raw":"{{base_url}}/orders/:id/vouchers?sort={{sort}}&order={{order}}&page={{page}}&limit={{limit}}&inventory_ids=5f8d0bb16d864abef9641185,5f8d0bb16d864abef9641185&statuses=cancelled,confirmed,inactive&refundable=true","host":["{{base_url}}"],"path":["orders",":id","vouchers"],"query":[{"key":"sort","value":"{{sort}}"},{"key":"order","value":"{{order}}"},{"key":"search","value":"{{search}}","disabled":true},{"key":"page","value":"{{page}}"},{"key":"limit","value":"{{limit}}"},{"key":"inventory_ids","value":"5f8d0bb16d864abef9641185,5f8d0bb16d864abef9641185"},{"key":"statuses","value":"cancelled,confirmed,inactive"},{"key":"is_refunded","value":"false","disabled":true},{"key":"refundable","value":"true"}],"variable":[{"key":"id","value":"{{order_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1207"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjNmMTQ0NTk0ZDQ2NzNhOGRhNDEzODUzN2JiMzI0YzgwOGVmOWVkMGYi.Yqb5Pg.yAMe_fCNh3GhYbzXaQSbKeJLoH8"},{"key":"Set-Cookie","value":"session=bc010a17-0444-4a5d-8cd1-ff7efea53272.FFjZ14Qd1dW5qHH1rDMmORkdp6w; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Mon, 13 Jun 2022 08:45:50 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 1,\n        \"filter\": {\n            \"limit\": 10,\n            \"order\": \"desc\",\n            \"page\": 1,\n            \"search\": null,\n            \"sort\": \"created_at\"\n        },\n        \"refundable_amount\": 90,\n        \"results\": [\n            {\n                \"balance\": 100,\n                \"code\": \"CDBI6\",\n                \"expires\": null,\n                \"guest\": {\n                    \"email\": \"andyfan@mailinator.com\",\n                    \"first_name\": \"Andy\",\n                    \"id\": \"628ef9de1d69bed905d6be2c\",\n                    \"last_name\": \"Fan\",\n                    \"name\": \"Andy Fan\"\n                },\n                \"id\": \"628ef9e11d69bed905d6be32\",\n                \"is_expired\": false,\n                \"name\": \"Product 海之鲜，味之和\",\n                \"order_item_id\": \"628ef9de1d69bed905d6be2b\",\n                \"redeem_reason\": \"\",\n                \"refundable_amount\": 90,\n                \"refunded_at\": null,\n                \"remarks\": \"\",\n                \"status\": \"confirmed\",\n                \"undo_redeem_remarks\": \"\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"b8b26fdc-c3a6-4679-b759-59058b601028"},{"name":"List all recipients","id":"20e14191-f27b-4eae-a76e-9b5f0ef58671","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n    \"voucher_ids\": [\"5f8596842b89c2933b37666f\", \"5f8596842b89c2933b376670\"],\n    \"voucher_status\": \"confirmed\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/orders/:id/recipients","description":"<p>Get the list of recipients in an order. Can be searched and filtered by both recipients fields and by assigned vouchers' statuses and ids.</p>\n<h2 id=\"url-variable\">URL Variable</h2>\n<ul>\n<li><strong>id</strong> (object_id, required) - The order object ID.</li>\n<li><strong>limit</strong> (int) - The maximum number of results to return per page (pagination).</li>\n<li><strong>page</strong> (int) - The page number to return (pagination).</li>\n<li><strong>sort</strong> (string) - The field to sort recipient objects by.</li>\n<li><strong>order</strong> (enum) - The order of results, according to the sort field.<ul>\n<li>desc (string, default) - Descending order, highest to lowest.</li>\n<li>asc (string) - Ascending order, lowest to highest.</li>\n</ul>\n</li>\n<li><strong>search</strong> (string) - Return objects that contain this string.</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<ul>\n<li><strong>voucher_status</strong> (enum) - The status of vouchers for which to return assigned recipients.<ul>\n<li>pending (string)</li>\n<li>confirmed (string)</li>\n<li>cancelled (string)</li>\n<li>redeemed (string)</li>\n<li>expired (string)</li>\n</ul>\n</li>\n<li><strong>voucher_ids</strong> (array) - List of IDs of the vouchers for which to return the assigned recipients.<ul>\n<li>(object_id)</li>\n</ul>\n</li>\n</ul>\n<h2 id=\"return\">Return:</h2>\n<ul>\n<li><strong>code</strong> (string) - The response code.</li>\n<li><strong>status</strong> (string) - The response status.</li>\n<li><strong>data</strong> (object) - The meta data object.<ul>\n<li><strong>count</strong> (int) - The number of returned objects.</li>\n<li><strong>filter</strong> (object) - The filters applied to the query.<ul>\n<li>limit (int)</li>\n<li>page (int)</li>\n<li>sort (string)</li>\n<li>order (string)</li>\n<li>search (string)</li>\n<li>voucher_status (string)</li>\n<li>voucher_ids (array)<ul>\n<li>(object_id)</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><strong>results</strong> (array) - An array of order recipient objects that match the query.<ul>\n<li>order_recipient (object)</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["orders",":id","recipients"],"host":["{{base_url}}"],"query":[{"disabled":true,"key":"limit","value":"{{limit}}"},{"disabled":true,"key":"page","value":"{{page}}"},{"disabled":true,"key":"sort","value":"{{sort}}"},{"disabled":true,"key":"order","value":"{{order}}"},{"disabled":true,"key":"search","value":"{{search}}"}],"variable":[{"type":"string","value":"{{order_id}}","key":"id"}]}},"response":[{"id":"09310fe8-e802-4e9a-ac35-deecaf78d2f5","name":"Get Recipient List","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/orders/:id/recipients","host":["{{base_url}}"],"path":["orders",":id","recipients"],"query":[{"key":"limit","value":"{{limit}}","disabled":true},{"key":"page","value":"{{page}}","disabled":true},{"key":"sort","value":"{{sort}}","disabled":true},{"key":"order","value":"{{order}}","disabled":true},{"key":"search","value":"{{search}}","disabled":true}],"variable":[{"key":"id","value":"5f6427a346a86dfa193fcc0a"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"5909"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjMzNzA2OWRiNDk5Y2NhY2YzMTA5NTVmZWY2NTM0MjMzOTcxNzQ4NzQi.X2Qojw.LuHQh2ode7Vw4B8mu1DHla4ZG4Y"},{"key":"Set-Cookie","value":"session=728c081b-83c1-4663-a322-9ef19d16e539.pBD4WIW2pM_yiNeLoRc43glEJX8; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 18 Sep 2020 03:25:03 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 3,\n        \"filter\": {\n            \"limit\": 10,\n            \"order\": \"desc\",\n            \"page\": 1,\n            \"sort\": \"created_at\"\n        },\n        \"results\": [\n            {\n                \"guest\": {\n                    \"company\": \"\",\n                    \"email\": \"Bob@assassins.com\",\n                    \"first_name\": \"Bob\",\n                    \"id\": \"5f6427a346a86dfa193fcc0e\",\n                    \"last_name\": \"Milwake\",\n                    \"name\": \"Bob Milwake\"\n                },\n                \"id\": \"5f6427a346a86dfa193fcc12\",\n                \"items\": [\n                    {\n                        \"inventory\": {\n                            \"code\": \"81180\",\n                            \"discount_price\": null,\n                            \"id\": \"5f081c01ea36e5e982d32bdf\",\n                            \"name\": \"1 PAX\",\n                            \"price\": 19.99,\n                            \"quantity\": -1,\n                            \"remain\": -1,\n                            \"sold\": 244\n                        },\n                        \"order_item_id\": \"5f6427a346a86dfa193fcc0b\",\n                        \"quantity\": 1\n                    }\n                ],\n                \"message\": \"It's a gift!\",\n                \"vouchers\": [\n                    {\n                        \"code\": \"XBCQ0\",\n                        \"expires\": \"2020-12-18T03:21:07.226000\",\n                        \"guest\": {\n                            \"email\": \"Bob@assassins.com\",\n                            \"first_name\": \"Bob\",\n                            \"id\": \"5f6427a346a86dfa193fcc0e\",\n                            \"last_name\": \"Milwake\",\n                            \"name\": \"Bob Milwake\"\n                        },\n                        \"id\": \"5f6427a346a86dfa193fcc15\",\n                        \"name\": \"1 Day Pass - California Gym - 1 PAX\",\n                        \"remarks\": \"\",\n                        \"status\": \"pending\",\n                        \"undo_redeem_remarks\": \"\"\n                    }\n                ]\n            },\n            {\n                \"guest\": {\n                    \"company\": \"\",\n                    \"email\": \"alex@idemlabs.com\",\n                    \"first_name\": \"Debbie\",\n                    \"id\": \"5f6427a346a86dfa193fcc0d\",\n                    \"last_name\": \"\",\n                    \"name\": \"Debbie \"\n                },\n                \"id\": \"5f6427a346a86dfa193fcc11\",\n                \"items\": [\n                    {\n                        \"inventory\": {\n                            \"code\": \"81180\",\n                            \"discount_price\": null,\n                            \"id\": \"5f081c01ea36e5e982d32bdf\",\n                            \"name\": \"1 PAX\",\n                            \"price\": 19.99,\n                            \"quantity\": -1,\n                            \"remain\": -1,\n                            \"sold\": 244\n                        },\n                        \"order_item_id\": \"5f6427a346a86dfa193fcc0b\",\n                        \"quantity\": 1\n                    }\n                ],\n                \"message\": \"\",\n                \"vouchers\": [\n                    {\n                        \"code\": \"WQVAM\",\n                        \"expires\": \"2020-12-18T03:21:07.214000\",\n                        \"guest\": {\n                            \"email\": \"alex@idemlabs.com\",\n                            \"first_name\": \"Debbie\",\n                            \"id\": \"5f6427a346a86dfa193fcc0d\",\n                            \"last_name\": \"\",\n                            \"name\": \"Debbie \"\n                        },\n                        \"id\": \"5f6427a346a86dfa193fcc14\",\n                        \"name\": \"1 Day Pass - California Gym - 1 PAX\",\n                        \"remarks\": \"\",\n                        \"status\": \"pending\",\n                        \"undo_redeem_remarks\": \"\"\n                    }\n                ]\n            },\n            {\n                \"guest\": {\n                    \"company\": \"\",\n                    \"email\": \"alex@idemlabs.com\",\n                    \"first_name\": \"Alex\",\n                    \"id\": \"5f6427a346a86dfa193fcc0c\",\n                    \"last_name\": \"Ryan\",\n                    \"name\": \"Alex Ryan\"\n                },\n                \"id\": \"5f6427a346a86dfa193fcc10\",\n                \"items\": [\n                    {\n                        \"inventory\": {\n                            \"code\": \"81180\",\n                            \"discount_price\": null,\n                            \"id\": \"5f081c01ea36e5e982d32bdf\",\n                            \"name\": \"1 PAX\",\n                            \"price\": 19.99,\n                            \"quantity\": -1,\n                            \"remain\": -1,\n                            \"sold\": 244\n                        },\n                        \"order_item_id\": \"5f6427a346a86dfa193fcc0b\",\n                        \"quantity\": 1\n                    }\n                ],\n                \"message\": \"11111111\",\n                \"vouchers\": [\n                    {\n                        \"code\": \"MT2ET\",\n                        \"expires\": \"2020-12-18T03:21:07.201000\",\n                        \"guest\": {\n                            \"email\": \"alex@idemlabs.com\",\n                            \"first_name\": \"Alex\",\n                            \"id\": \"5f6427a346a86dfa193fcc0c\",\n                            \"last_name\": \"Ryan\",\n                            \"name\": \"Alex Ryan\"\n                        },\n                        \"id\": \"5f6427a346a86dfa193fcc13\",\n                        \"name\": \"1 Day Pass - California Gym - 1 PAX\",\n                        \"remarks\": \"\",\n                        \"status\": \"pending\",\n                        \"undo_redeem_remarks\": \"\"\n                    }\n                ]\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"},{"id":"6f268e01-ae26-404a-ace9-55112a33bbf2","name":"Get Recipient List - With voucher filters","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n    \"voucher_ids\": [\"5f8596842b89c2933b37666f\", \"5f8596842b89c2933b376670\"],\n    \"voucher_status\": \"confirmed\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/orders/:id/recipients","host":["{{base_url}}"],"path":["orders",":id","recipients"],"query":[{"key":"limit","value":"{{limit}}","disabled":true},{"key":"page","value":"{{page}}","disabled":true},{"key":"sort","value":"{{sort}}","disabled":true},{"key":"order","value":"{{order}}","disabled":true},{"key":"search","value":"{{search}}","disabled":true}],"variable":[{"key":"id","value":"{{order_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2326"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImY3OTAyZjNiOGEyOTkyMWUzYTJmZTcwZDUyNTkyMDljNGRkMWY2OWIi.X4go4Q.QVI4KrL_nX3AFpiA8I4wrMlxZ2w"},{"key":"Set-Cookie","value":"session=e4cb1220-b052-42a7-a58c-97abc141a5d4.273JQTQHpzrY7odOEcXdsv8ZYZk; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Thu, 15 Oct 2020 10:48:01 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 1,\n        \"filter\": {\n            \"limit\": 10,\n            \"order\": \"desc\",\n            \"page\": 1,\n            \"sort\": \"created_at\",\n            \"voucher_ids\": [\n                \"5f8596842b89c2933b37666f\",\n                \"5f8596842b89c2933b376670\"\n            ],\n            \"voucher_status\": \"confirmed\"\n        },\n        \"results\": [\n            {\n                \"filtered_vouchers\": [\n                    {\n                        \"code\": \"H6SS0\",\n                        \"expires\": null,\n                        \"guest\": {\n                            \"email\": \"alex@idemlabs.com\",\n                            \"first_name\": \"Frank\",\n                            \"id\": \"5f859683bf35ef81acd8ff80\",\n                            \"last_name\": \"Simms\",\n                            \"name\": \"Frank Simms\"\n                        },\n                        \"id\": \"5f8596842b89c2933b376670\",\n                        \"name\": \"California Fitness Pass - 7 days\",\n                        \"order_item_id\": \"5f859683bf35ef81acd8ff7e\",\n                        \"remarks\": \"\",\n                        \"status\": \"confirmed\",\n                        \"undo_redeem_remarks\": \"\"\n                    }\n                ],\n                \"guest\": {\n                    \"company\": \"\",\n                    \"email\": \"alex@idemlabs.com\",\n                    \"first_name\": \"Frank\",\n                    \"id\": \"5f859683bf35ef81acd8ff80\",\n                    \"last_name\": \"Simms\",\n                    \"name\": \"Frank Simms\"\n                },\n                \"id\": \"5f8596842b89c2933b37666e\",\n                \"items\": [\n                    {\n                        \"inventory\": {\n                            \"code\": \"90406\",\n                            \"discount_price\": 6.99,\n                            \"id\": \"5f7ab0f2c44884178b22b59a\",\n                            \"name\": \"7 days\",\n                            \"price\": 12.99,\n                            \"quantity\": -1,\n                            \"sold\": 27\n                        },\n                        \"order_item_id\": \"5f859683bf35ef81acd8ff7e\",\n                        \"quantity\": 1\n                    }\n                ],\n                \"message\": \"\",\n                \"vouchers\": [\n                    {\n                        \"code\": \"H6SS0\",\n                        \"expires\": null,\n                        \"guest\": {\n                            \"email\": \"alex@idemlabs.com\",\n                            \"first_name\": \"Frank\",\n                            \"id\": \"5f859683bf35ef81acd8ff80\",\n                            \"last_name\": \"Simms\",\n                            \"name\": \"Frank Simms\"\n                        },\n                        \"id\": \"5f8596842b89c2933b376670\",\n                        \"name\": \"California Fitness Pass - 7 days\",\n                        \"order_item_id\": \"5f859683bf35ef81acd8ff7e\",\n                        \"remarks\": \"\",\n                        \"status\": \"confirmed\",\n                        \"undo_redeem_remarks\": \"\"\n                    }\n                ]\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"},{"id":"e5803362-849c-4b99-9653-4b5715893f5b","name":"OK - Successfully list all recipient of an incentive order","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n    \"voucher_ids\": [\"5f8596842b89c2933b37666f\", \"5f8596842b89c2933b376670\"],\n    \"voucher_status\": \"confirmed\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/orders/:id/recipients","host":["{{base_url}}"],"path":["orders",":id","recipients"],"query":[{"key":"limit","value":"{{limit}}","disabled":true},{"key":"page","value":"{{page}}","disabled":true},{"key":"sort","value":"{{sort}}","disabled":true},{"key":"order","value":"{{order}}","disabled":true},{"key":"search","value":"{{search}}","disabled":true}],"variable":[{"key":"id","value":"{{order_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"4425"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImVhMThiZDRlODBmZGNlMWM1MmNiNTA1NjRmZWFiOGIzOTBmNGFhMTgi.YPqF2A.w8D99LgaYTU4hLixd0WC-6XRGI8"},{"key":"Set-Cookie","value":"session=5b981778-aa2c-462f-ada3-a3f688e76078.02u0kgIcwttWrYsHRzZVIkGUDSY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 23 Jul 2021 09:03:20 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 1,\n        \"filter\": {\n            \"limit\": 10,\n            \"order\": \"desc\",\n            \"page\": 1,\n            \"sort\": \"created_at\",\n            \"voucher_ids\": [\n                \"5f8596842b89c2933b37666f\",\n                \"5f8596842b89c2933b376670\"\n            ],\n            \"voucher_status\": \"confirmed\"\n        },\n        \"results\": [\n            {\n                \"delivery_rate\": null,\n                \"filtered_vouchers\": [\n                    {\n                        \"code\": \"SVD1J\",\n                        \"expires\": \"2020-11-18T15:59:59\",\n                        \"guest\": {\n                            \"email\": \"Betty_Rice53@gmail.com\",\n                            \"first_name\": \"Darrell\",\n                            \"id\": \"60fa85d0767a8a6e45314b0c\",\n                            \"last_name\": \"Dietrich\",\n                            \"name\": \"Darrell Dietrich\"\n                        },\n                        \"id\": \"60fa85d0767a8a6e45314b10\",\n                        \"name\": \"Happy Dinner\",\n                        \"order_item_id\": \"60fa85d0767a8a6e45314b0b\",\n                        \"refunded_at\": null,\n                        \"remarks\": \"\",\n                        \"status\": \"inactive\",\n                        \"undo_redeem_remarks\": \"\"\n                    }\n                ],\n                \"guest\": {\n                    \"address\": {\n                        \"address_1\": \"855 Sarah Junctions\",\n                        \"address_2\": \"\",\n                        \"city\": \"Todside\",\n                        \"country\": \"United States\",\n                        \"postalcode\": \"46544\",\n                        \"state\": \"Mishawaka\"\n                    },\n                    \"company\": \"Grady - Rodriguez\",\n                    \"email\": \"Betty_Rice53@gmail.com\",\n                    \"first_name\": \"Darrell\",\n                    \"id\": \"60fa85d0767a8a6e45314b0c\",\n                    \"last_name\": \"Dietrich\",\n                    \"name\": \"Darrell Dietrich\",\n                    \"phone\": {\n                        \"cc\": \"65\",\n                        \"contact\": \"\",\n                        \"country_code\": \"sg\"\n                    },\n                    \"salutation\": \"Dr.\"\n                },\n                \"id\": \"60fa85d0767a8a6e45314b0f\",\n                \"items\": [\n                    {\n                        \"inventory\": {\n                            \"code\": \"82434\",\n                            \"discount_price\": null,\n                            \"id\": \"5f8d0bb16d864abef9641185\",\n                            \"name\": \"\",\n                            \"price\": 80.99,\n                            \"quantity\": -1,\n                            \"sold\": 48\n                        },\n                        \"order_item_id\": \"60fa85d0767a8a6e45314b0b\",\n                        \"quantity\": 1\n                    }\n                ],\n                \"message\": \"molestiae quia maiores\",\n                \"params\": {\n                    \"notify_to\": [\n                        \"Faustino5@hotmail.com\",\n                        \"Conrad.Hand64@yahoo.com\",\n                        \"Mallie.OConner@gmail.com\"\n                    ],\n                    \"pdf_to\": [\n                        \"Olin_OHara92@gmail.com\",\n                        \"Johan_Keeling@yahoo.com\",\n                        \"Pierce.Ward64@yahoo.com\"\n                    ]\n                },\n                \"vouchers\": [\n                    {\n                        \"code\": \"SVD1J\",\n                        \"expires\": \"2020-11-18T15:59:59\",\n                        \"guest\": {\n                            \"email\": \"Betty_Rice53@gmail.com\",\n                            \"first_name\": \"Darrell\",\n                            \"id\": \"60fa85d0767a8a6e45314b0c\",\n                            \"last_name\": \"Dietrich\",\n                            \"name\": \"Darrell Dietrich\"\n                        },\n                        \"id\": \"60fa85d0767a8a6e45314b10\",\n                        \"name\": \"Happy Dinner\",\n                        \"order_item_id\": \"60fa85d0767a8a6e45314b0b\",\n                        \"refunded_at\": null,\n                        \"remarks\": \"\",\n                        \"status\": \"inactive\",\n                        \"undo_redeem_remarks\": \"\"\n                    }\n                ]\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"20e14191-f27b-4eae-a76e-9b5f0ef58671"},{"name":"Get Bulk Order Edit Rows","id":"76cc1918-e941-47da-8c69-4b3efc326cb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/hotels/:hotel_id/bulk-orders/:order_id/edit-recipients?cache_id={{cache_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":hotel_id","bulk-orders",":order_id","edit-recipients"],"host":["{{base_url}}"],"query":[{"key":"cache_id","value":"{{cache_id}}"},{"disabled":true,"key":"limit","value":"{{limit}}"},{"disabled":true,"key":"page","value":"{{page}}"},{"disabled":true,"key":"sort","value":"{{sort}}"},{"disabled":true,"key":"order","value":"{{order}}"},{"disabled":true,"key":"search","value":"{{search}}"},{"disabled":true,"key":"error_type","value":"{{error_type}}"}],"variable":[{"type":"string","value":"{{hotel_id}}","key":"hotel_id"},{"type":"string","value":"{{order_id}}","key":"order_id"}]}},"response":[{"id":"e258ab2b-6dfe-4cea-9d2c-80c189b680d6","name":"Get Bulk Order Edit Rows","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/hotels/:hotel_id/bulk-orders/:order_id/edit-recipients?cache_id={{cache_id}}","host":["{{base_url}}"],"path":["hotels",":hotel_id","bulk-orders",":order_id","edit-recipients"],"query":[{"key":"cache_id","value":"{{cache_id}}"},{"key":"limit","value":"{{limit}}","disabled":true},{"key":"page","value":"{{page}}","disabled":true},{"key":"sort","value":"{{sort}}","disabled":true},{"key":"order","value":"{{order}}","disabled":true},{"key":"search","value":"{{search}}","disabled":true},{"key":"error_type","value":"{{error_type}}","disabled":true}],"variable":[{"key":"hotel_id","value":"{{hotel_id}}"},{"key":"order_id","value":"{{order_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2051"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjU2NmE1Mjk0OWMxYWI0ODFjMGI1M2VjNzA3NDBlYTg3NjFkOTI2MTYi.X2mC9g.qYXgEpgrJFWZtEJMaOv5_ELLVE0"},{"key":"Set-Cookie","value":"session=6337013e-a176-4531-bb09-becbd28efe13.ZXx9Crw6I8cN7ecNcYyl0B3lGjM; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Tue, 22 Sep 2020 04:52:06 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"cache_id\": \"f312edc7-420a-4bf8-ac4e-581b6031a57d\",\n        \"count\": 3,\n        \"errors\": [\n            {\n                \"code\": \"invalid_data\",\n                \"count\": 0\n            },\n            {\n                \"code\": \"missing_required_field\",\n                \"count\": 0\n            },\n            {\n                \"code\": \"incorrect_datatype\",\n                \"count\": 0\n            }\n        ],\n        \"filter\": {\n            \"error_type\": null,\n            \"limit\": 10,\n            \"order\": \"desc\",\n            \"page\": 1,\n            \"search\": null,\n            \"sort\": null\n        },\n        \"results\": [\n            {\n                \"_errors\": {},\n                \"_index\": 0,\n                \"email\": \"John@assassins.com\",\n                \"first_name\": \"John\",\n                \"id\": \"5f688e59cb1abb4f4c9d60e6\",\n                \"last_name\": \"Wick\",\n                \"message\": \"Enjoy your massage, John! Please don't assasinate me. Please.\",\n                \"product_ids\": \"81180, 81180\",\n                \"salutation\": \"mr\"\n            },\n            {\n                \"_errors\": {},\n                \"_index\": 1,\n                \"email\": \"John@assassins.com\",\n                \"first_name\": \"John\",\n                \"id\": \"5f688e59cb1abb4f4c9d60e7\",\n                \"last_name\": \"Wick\",\n                \"message\": \"Enjoy your massage, John! Please don't assasinate me. Please.\",\n                \"product_ids\": \"81180, 81180\",\n                \"salutation\": \"mr\"\n            },\n            {\n                \"_errors\": {},\n                \"_index\": 2,\n                \"email\": \"John@assassins.com\",\n                \"first_name\": \"John\",\n                \"id\": \"5f688e59cb1abb4f4c9d60e5\",\n                \"last_name\": \"Wick\",\n                \"message\": \"Enjoy your massage, John! Please don't assasinate me. Please.\",\n                \"product_ids\": \"81180, 81180\",\n                \"salutation\": \"mr\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"76cc1918-e941-47da-8c69-4b3efc326cb8"},{"name":"Order Price Summary","id":"ab8ad04b-abdd-4fe2-8129-969e46ca2ab3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order_items\": [\n        {\n            \"quantity\": 1,\n            \"inventory_id\": \"5fa3f110c88cac6c53d79f08\",\n            \"physical_delivery\": true\n        },\n        {\n            \"quantity\": 1,\n            \"inventory_id\": \"5fa4dcf3275602ed9d101e72\",\n            \"physical_delivery\": true\n        },\n        {\n            \"quantity\": 1,\n            \"inventory_id\": \"5fa4dcf3275602ed9d101e72\",\n            \"physical_delivery\": true\n        }\n    ],\n    \"order_recipients\": [\n        {\n            \"assigned_order_items\": [\n                {\n                    \"order_item_index\": 0\n                },\n                {\n                    \"order_item_index\": 1\n                }\n            ]\n        },\n        {\n            \"assigned_order_items\": [\n                {\n                    \"order_item_index\": 2\n                }\n            ]\n        }\n    ],\n    \"promo_code\": \"5\",\n    \"single_delivery_recipient\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/hotels/:id/order-price?is_comp=1","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":id","order-price"],"host":["{{base_url}}"],"query":[{"description":{"content":"<p>Calculate the prices for complimentary order/voucher</p>\n","type":"text/plain"},"key":"is_comp","value":"1"}],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"86177a22-72fc-4653-9e9e-4a0ecae3d15d","name":"Order Price Summary","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order_items\": [\n        {\n            \"quantity\": 1,\n            \"inventory_id\": \"5fa3f110c88cac6c53d79f08\",\n            \"physical_delivery\": true\n        }\n    ],\n    \"promo_code\": \"5\",\n    \"single_delivery_recipient\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/hotels/:id/order-price?is_comp=1","host":["{{base_url}}"],"path":["hotels",":id","order-price"],"query":[{"key":"is_comp","value":"1","description":"Calculate the prices for complimentary order/voucher"}],"variable":[{"key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"5658"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjYxZDgxMjFkZGMxNzExMTViNjdjY2ZjNGMxNjZmNjhiODIzMmNlNmYi.X6P7tw.RiSr6EmRJjaweqcoyBWvsD_ZnWM"},{"key":"Set-Cookie","value":"session=cf1f1486-93ad-4682-bb35-cc6acd8fc342.6AmcmPmtH9E9N-9hUOEvvdCOVMs; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Thu, 05 Nov 2020 13:18:47 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"currency\": \"AUD\",\n        \"discounts\": [\n            {\n                \"auto_apply\": false,\n                \"code\": \"5\",\n                \"id\": \"5f92a10318f84270640c9b92\",\n                \"min_spend_value\": 1,\n                \"quantity\": -1,\n                \"redeemed_amount\": 16,\n                \"type\": \"promo\",\n                \"value\": 0.927\n            }\n        ],\n        \"error\": null,\n        \"items\": [\n            {\n                \"amount\": 7.99,\n                \"details\": {\n                    \"fees\": [\n                        {\n                            \"amount_type\": [\n                                \"applied_nightly\"\n                            ],\n                            \"description\": \"\",\n                            \"fee_amount\": 5,\n                            \"form_type\": \"applied_amount\",\n                            \"id\": \"5f9802f5cf23a63a9187ab6b\",\n                            \"name\": \"\",\n                            \"ordering\": 1,\n                            \"title\": \"Fixed 5\",\n                            \"type\": \"absolute\",\n                            \"value\": 5\n                        }\n                    ],\n                    \"price\": 7.99,\n                    \"quantity\": 1,\n                    \"subtotal\": 7.99,\n                    \"subtotal_incl_fees\": 12.99,\n                    \"total\": 12.3405,\n                    \"total_fees\": [\n                        {\n                            \"amount_type\": [\n                                \"applied_nightly\"\n                            ],\n                            \"description\": \"\",\n                            \"fee_amount\": 5,\n                            \"form_type\": \"applied_amount\",\n                            \"id\": \"5f9802f5cf23a63a9187ab6b\",\n                            \"name\": \"\",\n                            \"ordering\": 1,\n                            \"title\": \"Fixed 5\",\n                            \"type\": \"absolute\",\n                            \"value\": 5\n                        }\n                    ]\n                },\n                \"item_id\": \"5fa1357313f834dcc9b3793b\",\n                \"item_type\": \"DeliveryRate\",\n                \"price\": 7.99,\n                \"quantity\": 1\n            },\n            {\n                \"amount\": 0.5,\n                \"description\": \"Volvic Water - Tester 1\",\n                \"details\": {\n                    \"fees\": [\n                        {\n                            \"amount_type\": [\n                                \"applied_nightly\"\n                            ],\n                            \"description\": \"\",\n                            \"fee_amount\": 0.05,\n                            \"form_type\": \"applied_amount\",\n                            \"id\": \"5f8aa0a04270988947494070\",\n                            \"name\": \"\",\n                            \"ordering\": 0,\n                            \"title\": \"VAT\",\n                            \"type\": \"relative\",\n                            \"value\": 10\n                        },\n                        {\n                            \"amount_type\": [\n                                \"applied_nightly\"\n                            ],\n                            \"description\": \"\",\n                            \"fee_amount\": 5,\n                            \"form_type\": \"applied_amount\",\n                            \"id\": \"5f9802f5cf23a63a9187ab6b\",\n                            \"name\": \"\",\n                            \"ordering\": 1,\n                            \"title\": \"Fixed 5\",\n                            \"type\": \"absolute\",\n                            \"value\": 5\n                        }\n                    ],\n                    \"price\": 0.5,\n                    \"quantity\": 1,\n                    \"subtotal\": 0.5,\n                    \"subtotal_incl_fees\": 5.55,\n                    \"total\": 5.2725,\n                    \"total_fees\": [\n                        {\n                            \"amount_type\": [\n                                \"applied_nightly\"\n                            ],\n                            \"description\": \"\",\n                            \"fee_amount\": 0.05,\n                            \"form_type\": \"applied_amount\",\n                            \"id\": \"5f8aa0a04270988947494070\",\n                            \"name\": \"\",\n                            \"ordering\": 0,\n                            \"title\": \"VAT\",\n                            \"type\": \"relative\",\n                            \"value\": 10\n                        },\n                        {\n                            \"amount_type\": [\n                                \"applied_nightly\"\n                            ],\n                            \"description\": \"\",\n                            \"fee_amount\": 5,\n                            \"form_type\": \"applied_amount\",\n                            \"id\": \"5f9802f5cf23a63a9187ab6b\",\n                            \"name\": \"\",\n                            \"ordering\": 1,\n                            \"title\": \"Fixed 5\",\n                            \"type\": \"absolute\",\n                            \"value\": 5\n                        }\n                    ]\n                },\n                \"inventory_id\": \"5fa3f110c88cac6c53d79f08\",\n                \"item_id\": \"5f80505e91b8b20de332b193\",\n                \"item_type\": \"Package\",\n                \"price\": 0.5,\n                \"quantity\": 1,\n                \"vendor_name\": \"Cheese Palace\"\n            }\n        ],\n        \"subtotal\": 8.49,\n        \"total\": 17.613,\n        \"total_fees\": 10.05\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"ab8ad04b-abdd-4fe2-8129-969e46ca2ab3"},{"name":"Redeem/Unredeem Voucher","id":"8df1ff69-9f80-4bfe-8919-256fea30cd06","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"voucher_code\": \"EL2JI\",\n    \"mailing\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/orders/:id/redeem","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["orders",":id","redeem"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{order_id}}","key":"id"}]}},"response":[],"_postman_id":"8df1ff69-9f80-4bfe-8919-256fea30cd06"},{"name":"Cancel Voucher","id":"4da2ccc1-337e-4501-b62b-3d6d647459e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"mailing\": \"req:bool\",\n    \"reason\": \"string\",\n    \"voucher_ids\": \"array(objectid)\",\n    \"remarks\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/orders/:id/cancel_voucher","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","orders",":id","cancel_voucher"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"5f03fdf84b036c1bb3149e00","key":"id"}]}},"response":[],"_postman_id":"4da2ccc1-337e-4501-b62b-3d6d647459e1"},{"name":"Send Order e-Vouchers","id":"d60f62a3-c1a6-4023-aad6-25d82975bdb5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"recipient_ids\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/orders/:id/send-e-vouchers","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["orders",":id","send-e-vouchers"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{order_id}}","key":"id"}]}},"response":[{"id":"7a1106c4-a99e-40e5-b552-c4250bb28282","name":"Send Order e-Vouchers","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"order_item_ids\": [\"5f055af98f74ad76176f59ce\"]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/orders/:id/send-e-vouchers","host":["{{endpoint}}"],"path":["api","v1","orders",":id","send-e-vouchers"],"variable":[{"key":"id","value":"{{order_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"205"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjA3ZmE0M2E2N2U2OGJlZTY2OGM5MDBiNjNiNGI2ZDYwM2QwZWYwZTAi.XwbPgg.MQ0Pp46wPlbxmCVEzpJ2-BQgSGs"},{"key":"Set-Cookie","value":"session=7fcedfaa-5fed-411e-8f46-4cccefc29578.GzDtMPGP3fmRND6m5FT1QPt0MfY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Thu, 09 Jul 2020 08:04:18 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5f055af98f74ad76176f59cc\"\n    },\n    \"message\": \"All gift vouchers in order items [5f055af98f74ad76176f59ce] have been sent.\",\n    \"status\": \"success\"\n}"}],"_postman_id":"d60f62a3-c1a6-4023-aad6-25d82975bdb5"},{"name":"Send Order payment request","id":"cff3bfe3-4405-405f-b772-1d23b565a794","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"emails\": [\"alex@idemlabs.com\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/orders/:id/send-payment-request","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["orders",":id","send-payment-request"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{order_id}}","key":"id"}]}},"response":[{"id":"0879f6d0-68b3-42fe-aa09-a85f1d4d29fc","name":"Send Order payment request","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"send_to\": [\"alex@idemlabs.com\", \"alexandersg2@gmail.com\"]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/orders/:id/send-payment-request","host":["{{endpoint}}"],"path":["api","v1","orders",":id","send-payment-request"],"variable":[{"key":"id","value":"5f06ea47207836180a3b8e61"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"151"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjA3ZmE0M2E2N2U2OGJlZTY2OGM5MDBiNjNiNGI2ZDYwM2QwZWYwZTAi.XwbqZQ.4I-5HRhqaXuXILJIe8yEQLZIw-U"},{"key":"Set-Cookie","value":"session=7fcedfaa-5fed-411e-8f46-4cccefc29578.GzDtMPGP3fmRND6m5FT1QPt0MfY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Thu, 09 Jul 2020 09:59:01 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5f06ea47207836180a3b8e61\"\n    },\n    \"message\": \"payment request sent.\",\n    \"status\": \"success\"\n}"}],"_postman_id":"cff3bfe3-4405-405f-b772-1d23b565a794"},{"name":"Verify Payment Token","id":"e4a09d0d-5453-42b2-b270-bf12fd68152f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"token\": \".eJyrVkrOzytJrSiJL6ksSFWyUvIvSkktUtKBC2emAAVN0wwSky0MLZMNU5MsEy2NjdPMkxJTjYyB6lJzEzNzgEoSc1IrHDJTUnNzEpOK9ZLzc5VqAZw-Hnk.XwrM6Q.1Lv-Q3PmIL3ZpjzbhXtaH5aTvDE\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/orders/:id/verify-token","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","orders",":id","verify-token"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{order_id}}","key":"id"}]}},"response":[{"id":"e06c90bc-30df-45fc-8f46-ad64bc5834ea","name":"Verify Payment Token","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"token\": \".eJyrVkrOzytJrSiJL6ksSFWyUvIvSkktUtKBC2emAAVN0wwSky0MLZMNU5MsEy2NjdPMkxJTjYyB6lJzEzNzgEoSc1IrHDJTUnNzEpOK9ZLzc5VqAZw-Hnk.XwrM6Q.1Lv-Q3PmIL3ZpjzbhXtaH5aTvDE\"\n}\n\n","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/orders/:id/verify-token","host":["{{endpoint}}"],"path":["api","v1","orders",":id","verify-token"],"variable":[{"key":"id","value":"5f0ac819c1eb9a933f7bae23"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"116"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"Ijg5NWQ5MjExNGZmNjIwNzgxYTk2NWYxOTliMjMyODdlYjQ2NzdiMGMi.XwrNFg.O4dSK309-iXR56q6D-CR4wLoUzo"},{"key":"Set-Cookie","value":"session=0de5f8e5-9053-4500-9975-bc74cbaabdfa.iXW6jMPD-3TQxFP5mQ4uwZ1Ptu8; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Sun, 12 Jul 2020 08:43:02 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"order_id\": \"5f0ac819c1eb9a933f7bae23\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"e4a09d0d-5453-42b2-b270-bf12fd68152f"},{"name":"Send Order Confirmation","id":"6b35349a-a3c7-4bba-bdc9-d0b6461578c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"emails\": [\"alex@idemlabs.com\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/orders/:id/order-confirmation-email","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["orders",":id","order-confirmation-email"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{order_id}}","key":"id"}]}},"response":[],"_postman_id":"6b35349a-a3c7-4bba-bdc9-d0b6461578c5"},{"name":"Export Order Transaction Report","id":"ac29c68d-a3a9-471d-8b92-2dd0a93d7ea7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\"emails\":[\"\"]}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/hotels/:id/orders/export?tos_agree=1&type=xlsx&start=&end=","urlObject":{"path":["hotels",":id","orders","export"],"host":["{{base_url}}"],"query":[{"disabled":true,"key":"export_type","value":"{master_report, voucher_order_report}"},{"key":"tos_agree","value":"1"},{"key":"type","value":"xlsx"},{"key":"start","value":""},{"key":"end","value":""}],"variable":[{"type":"string","value":"602e3f7a51f23e3f28b132b7","key":"id"}]}},"response":[],"_postman_id":"ac29c68d-a3a9-471d-8b92-2dd0a93d7ea7"}],"id":"40e65897-31f3-4195-a4a7-1224ad6182e8","_postman_id":"40e65897-31f3-4195-a4a7-1224ad6182e8","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Physical Delivery","item":[{"name":"Courier Partners","item":[{"name":"Delete Courier Partner","id":"a78d678b-a899-478a-b07d-3be0001b0eee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"}],"url":"{{base_url}}/couriers/:id","description":"<p>Delete a courier partner from a hotel's setup.</p>\n<h2 id=\"url-variables\">URL Variables:</h2>\n<ul>\n<li><strong>id</strong> (object_id, required) - The courier object ID.</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<ul>\n<li>None</li>\n</ul>\n<h2 id=\"return\">Return:</h2>\n<ul>\n<li><strong>code</strong> (string) - The response code.</li>\n<li><strong>status</strong> (string) - The response status.</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["couriers",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{courier_id}}","key":"id"}]}},"response":[],"_postman_id":"a78d678b-a899-478a-b07d-3be0001b0eee"},{"name":"Get Courier Partners","id":"6c53da38-82c5-439f-8c6a-3cac61931d35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{access_token}}"}],"url":"{{base_url}}/hotels/:id/delivery/couriers","description":"<p>Get a list of courier partners for the specified hotel.</p>\n<h2 id=\"url-variable\">URL Variable</h2>\n<ul>\n<li><strong>id</strong> (object_id, required) - The hotel object ID.</li>\n<li><strong>sort</strong> (string) - The key to sort results by. Default is creation time.</li>\n<li><strong>order</strong> (enum) - The ordering of results. Default is ASC.<ul>\n<li><strong>asc</strong> (string) - Ascending order.</li>\n<li><strong>desc</strong> (string) - Descending order.</li>\n</ul>\n</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<ul>\n<li>None</li>\n</ul>\n<h2 id=\"return\">Return:</h2>\n<ul>\n<li><strong>code</strong> (string) - The response code.</li>\n<li><strong>status</strong> (string) - The response status.</li>\n<li><strong>data</strong> (object) - The meta data object.<ul>\n<li><strong>results</strong> (array) - List of the hotel's courier partner objects.<ul>\n<li>(object)<ul>\n<li><strong>id</strong> (object_id) - The id of the courier partner object.</li>\n<li><strong>name</strong> (string) - The name of the courier partner.</li>\n<li><strong>email</strong> (string) - The email address of the courier partner.</li>\n<li><strong>website</strong> (string) - The website url of the courier partner.</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":id","delivery","couriers"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[],"_postman_id":"6c53da38-82c5-439f-8c6a-3cac61931d35"},{"name":"Add Courier Partner","id":"0d20ff59-78a2-4e1b-854d-4bbf2c4e7907","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"{{access_token}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"DHL\",\n    \"email\": \"example@example.com\",\n    \"website\": \"https://dhl.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/hotels/:id/delivery/couriers","description":"<p>Add a courier partner to the hotel.</p>\n<h2 id=\"url-variable\">URL Variable</h2>\n<ul>\n<li><strong>id</strong> (object_id, required) - The hotel object ID.</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<ul>\n<li><strong>name</strong> (string, required) - The name of the courier partner.</li>\n<li><strong>email</strong> (string) - The email address of the courier partner.</li>\n<li><strong>website</strong> (string, required) - The wedsite url of the courier partner.</li>\n</ul>\n<h2 id=\"return\">Return:</h2>\n<ul>\n<li><strong>code</strong> (string) - The response code.</li>\n<li><strong>status</strong> (string) - The response status.</li>\n<li><strong>data</strong> (object) - The meta data object.<ul>\n<li><strong>id</strong> (object_id) - The id of the courier partner object.</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":id","delivery","couriers"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[],"_postman_id":"0d20ff59-78a2-4e1b-854d-4bbf2c4e7907"},{"name":"Edit Courier Partner","id":"b61b8341-27a0-4690-bf7c-ce2ab953918e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","type":"text","value":"{{access_token}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"DHL\",\n    \"email\": \"example@example.com\",\n    \"website\": \"https://dhl.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/couriers/:id","description":"<p>Add a courier partner to the hotel.</p>\n<h2 id=\"url-variable\">URL Variable</h2>\n<ul>\n<li><strong>id</strong> (object_id, required) - The courier partner object ID.</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<ul>\n<li><strong>name</strong> (string, required) - The name of the courier partner.</li>\n<li><strong>email</strong> (string) - The email address of the courier partner.</li>\n<li><strong>website</strong> (string, required) - The wedsite url of the courier partner.</li>\n</ul>\n<h2 id=\"return\">Return:</h2>\n<ul>\n<li><strong>code</strong> (string) - The response code.</li>\n<li><strong>status</strong> (string) - The response status.</li>\n<li><strong>data</strong> (object) - The meta data object.<ul>\n<li><strong>id</strong> (object_id) - The id of the courier partner object.</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["couriers",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{courier_id}}","key":"id"}]}},"response":[],"_postman_id":"b61b8341-27a0-4690-bf7c-ce2ab953918e"}],"id":"a1416d51-72c0-40ab-8716-b82288bfb609","_postman_id":"a1416d51-72c0-40ab-8716-b82288bfb609","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Delivery Rates","item":[{"name":"Add Delivery Rate","id":"137648a2-266b-441c-b1f5-bbf52339fa5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"{{access_token}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Deluxe Gift Wrapping\",\n    \"price\": 7.99,\n    \"fees\": [\"5f9802f5cf23a63a9187ab6b\"],\n    \"quantity\": 350,\n    \"image_id\": \"5e44dcda41cbdc8a4140ff27\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/hotels/:id/delivery/delivery-rates","description":"<p>Adds a delivery rate to the hotel.</p>\n<h2 id=\"url-variables\">URL Variables:</h2>\n<ul>\n<li><strong>id</strong> (object_id, required) - The hotel object ID.</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<ul>\n<li><strong>name</strong> (string, required) - The name of the delivery rate.</li>\n<li><strong>price</strong> (float, required) - The price of the delivery rate.</li>\n<li><strong>fees</strong> (array) - Object ids of the fees that apply to this delivery rate.<ul>\n<li><strong>fee_id</strong> (object_id)</li>\n</ul>\n</li>\n<li><strong>quantity</strong> (integer, required) - The quantity of available gift packages. -1 for infinite quantity.</li>\n<li><strong>image_id</strong> (object_id) - Object id of the image of this delivery rate.</li>\n</ul>\n<h2 id=\"return\">Return:</h2>\n<ul>\n<li><strong>code</strong> (string) - The response code.</li>\n<li><strong>status</strong> (string) - The response status.</li>\n<li><strong>data</strong> (object) - The meta data object.<ul>\n<li><strong>id</strong> (object_id) - The id of the new delivery rate object</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":id","delivery","delivery-rates"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[],"_postman_id":"137648a2-266b-441c-b1f5-bbf52339fa5b"},{"name":"Edit Delivery Rate","id":"25472e3c-19d4-422b-b831-ec37f583f16b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","type":"text","value":"{{access_token}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Deluxe Gift Wrapping\",\n    \"price\": 7.99,\n    \"fees\": [\"5f9802f5cf23a63a9187ab6b\"],\n    \"quantity\": -1,\n    \"image_id\": \"5e44dcda41cbdc8a4140ff27\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/delivery-rates/:id","description":"<p>Adds a delivery rate to the hotel.</p>\n<h2 id=\"url-variables\">URL Variables:</h2>\n<ul>\n<li><strong>id</strong> (object_id, required) - The delivery rate object ID.</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<ul>\n<li><strong>name</strong> (string, required) - The name of the delivery rate.</li>\n<li><strong>price</strong> (float, required) - The price of the delivery rate.</li>\n<li><strong>fees</strong> (array) - Object ids of the fees that apply to this delivery rate.<ul>\n<li><strong>fee_id</strong> (object_id)</li>\n</ul>\n</li>\n<li><strong>quantity</strong> (integer, required) - The quantity of available gift packages. -1 for infinite quantity.</li>\n<li><strong>image_id</strong> (object_id) - Object id of the image of this delivery rate.</li>\n</ul>\n<h2 id=\"return\">Return:</h2>\n<ul>\n<li><strong>code</strong> (string) - The response code.</li>\n<li><strong>status</strong> (string) - The response status.</li>\n<li><strong>data</strong> (object) - The meta data object.<ul>\n<li><strong>id</strong> (object_id) - The id of the new delivery rate object</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["delivery-rates",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{delivery_rate_id}}","key":"id"}]}},"response":[],"_postman_id":"25472e3c-19d4-422b-b831-ec37f583f16b"},{"name":"Delete Delivery Rate","id":"a3731368-8b80-41da-8bfe-a853a635f7ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","type":"text","value":"{{access_token}}"}],"url":"{{base_url}}/delivery-rates/:id","description":"<p>Delete an existing delivery rate from the hotel.</p>\n<h2 id=\"url-variables\">URL Variables:</h2>\n<ul>\n<li><strong>id</strong> (object_id, required) - The delivery rate object ID.</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<ul>\n<li>None</li>\n</ul>\n<h2 id=\"return\">Return:</h2>\n<ul>\n<li><strong>code</strong> (string) - The response code.</li>\n<li><strong>status</strong> (string) - The response status.</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["delivery-rates",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{delivery_rate_id}}","key":"id"}]}},"response":[],"_postman_id":"a3731368-8b80-41da-8bfe-a853a635f7ab"},{"name":"Get Delivery Rates","id":"d5c0c556-b4e6-42c6-893c-bb62af8cf5ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{access_token}}"}],"url":"{{base_url}}/hotels/:id/delivery/delivery-rates","description":"<p>Get a list of the hotel's delivery rates.</p>\n<h2 id=\"url-variables\">URL Variables:</h2>\n<ul>\n<li><strong>id</strong> (object_id, required) - The hotel object ID.</li>\n<li><strong>sort</strong> (string) - The key to sort results by. Default is creation time.</li>\n<li><strong>order</strong> (enum) - The ordering of results. Default is ASC.<ul>\n<li><strong>asc</strong> (string) - Ascending order.</li>\n<li><strong>desc</strong> (string) - Descending order.</li>\n</ul>\n</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<ul>\n<li>None</li>\n</ul>\n<h2 id=\"return\">Return:</h2>\n<ul>\n<li><strong>code</strong> (string) - The response code.</li>\n<li><strong>status</strong> (string) - The response status.</li>\n<li><strong>data</strong> (object) - The meta data object.<ul>\n<li><strong>results</strong> (array)<ul>\n<li>(object)<ul>\n<li><strong>id</strong> (string) - The delivery rate object ID.</li>\n<li><strong>name</strong> (string) - The name of the delivery rate.</li>\n<li><strong>price</strong> (float) - The price of the delivery rate.</li>\n<li><strong>fees</strong> (array) - The fees that apply to this delivery rate.<ul>\n<li>(object)<ul>\n<li><strong>name</strong> (string)</li>\n<li><strong>title</strong> (string)</li>\n<li><strong>value</strong> (float)</li>\n<li><strong>amount_type</strong> (string)</li>\n<li><strong>form_type</strong> (string)</li>\n<li><strong>type</strong> (string)</li>\n<li><strong>description</strong> (string)</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><strong>quantity</strong> (integer) - The quantity of available gift packages. -1 for infinite quantity.</li>\n<li><strong>sold</strong> (integer) - The quantity sold.</li>\n<li><strong>remain</strong> (integer) - The quantity reamaining for sale. -1 for infinite.</li>\n<li><strong>image</strong> (object) - The delivery rate's image object.</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":id","delivery","delivery-rates"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"b88c8557-f05a-4ad4-8df1-3b7d158abfa1","name":"Get Delivery Rates","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{access_token}}"}],"url":{"raw":"{{base_url}}/hotels/:id/delivery/delivery-rates","host":["{{base_url}}"],"path":["hotels",":id","delivery","delivery-rates"],"variable":[{"key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1739"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjYxZDgxMjFkZGMxNzExMTViNjdjY2ZjNGMxNjZmNjhiODIzMmNlNmYi.X6FDwQ.Inx1ZWRRae_e9itQASJhADm85iw"},{"key":"Set-Cookie","value":"session=cf1f1486-93ad-4682-bb35-cc6acd8fc342.6AmcmPmtH9E9N-9hUOEvvdCOVMs; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Tue, 03 Nov 2020 11:49:21 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"results\": [\n            {\n                \"fees\": [\n                    {\n                        \"amount_type\": [\n                            \"applied_nightly\"\n                        ],\n                        \"description\": \"\",\n                        \"form_type\": \"applied_amount\",\n                        \"name\": \"\",\n                        \"title\": \"Fixed 5\",\n                        \"type\": \"absolute\",\n                        \"value\": 5\n                    }\n                ],\n                \"id\": \"5fa1357313f834dcc9b3793b\",\n                \"image_url\": \"https://d30qdklwrf4p1t.cloudfront.net/guests/AZCMNRBE-room_1.jpg\",\n                \"name\": \"Deluxe Gift Wrapping\",\n                \"price\": 7.99,\n                \"quantity\": -1,\n                \"remain\": -1,\n                \"sold\": 0\n            },\n            {\n                \"fees\": [\n                    {\n                        \"amount_type\": [\n                            \"applied_nightly\"\n                        ],\n                        \"description\": \"\",\n                        \"form_type\": \"applied_amount\",\n                        \"name\": \"\",\n                        \"title\": \"Fixed 5\",\n                        \"type\": \"absolute\",\n                        \"value\": 5\n                    }\n                ],\n                \"id\": \"5fa13599a7f3ecd93242938b\",\n                \"image_url\": \"https://d30qdklwrf4p1t.cloudfront.net/guests/AZCMNRBE-room_1.jpg\",\n                \"name\": \"Deluxe Gift Wrapping v2.0\",\n                \"price\": 7.99,\n                \"quantity\": 350,\n                \"remain\": 350,\n                \"sold\": 0\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"d5c0c556-b4e6-42c6-893c-bb62af8cf5ae"}],"id":"e3cc2340-9958-40b3-8bf4-fa31689138dc","_postman_id":"e3cc2340-9958-40b3-8bf4-fa31689138dc","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Tracking Numbers","item":[{"name":"Add Tracking Number","id":"1a438463-6e71-48d0-92fa-d78b6406c163","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"tracking_number\": \"PNJ567A\",\n    \"courier_partner_id\": \"5fa5075e4af2dfa98a86a7ca\",\n    \"customer_email\": \"henry@idemlabs.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/recipients/:id/add-tracking-number","description":"<p>Add/update the tracking number and send the order tracking email.</p>\n<h2 id=\"url-variables\">URL Variables:</h2>\n<ul>\n<li><strong>id</strong> (object_id, required) - The recipient object ID.</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<ul>\n<li><strong>tracking_number</strong> (string, required) - The tracking number provided by the courier partner.</li>\n<li><strong>courier_partner_id</strong> (object_id) - The courier partner object ID.</li>\n<li><strong>customer_email</strong> (string, required) - The email address of the customer.</li>\n</ul>\n<h2 id=\"return\">Return:</h2>\n<ul>\n<li><strong>code</strong> (string) - The response code.</li>\n<li><strong>status</strong> (string) - The response status.</li>\n<li><strong>data</strong> (object) - The meta data object.<ul>\n<li><strong>id</strong> (object_id) - The recipient object ID.</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["recipients",":id","add-tracking-number"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"5fa517064af2dfa98a86a84b","key":"id"}]}},"response":[],"_postman_id":"1a438463-6e71-48d0-92fa-d78b6406c163"}],"id":"437b43f9-3cfb-47b3-abc2-2764965fae5c","_postman_id":"437b43f9-3cfb-47b3-abc2-2764965fae5c","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Edit Hotel Delivery Settings","id":"33038ce7-bd3c-475b-af5f-21f9ee9df9a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","type":"text","value":"{{access_token}}"}],"body":{"mode":"raw","raw":"{\n    \"physical_delivery_enabled\": true,\n    \"notification_shipping_emails\": [\"1@example.com\", \"2@example.com\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/hotels/:id/delivery/settings","description":"<p>Set physical delivery settings at the hotel level.</p>\n<h2 id=\"url-variable\">URL Variable</h2>\n<ul>\n<li><strong>id</strong> (object_id, required) - The hotel object ID.</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<ul>\n<li><strong>physical_delivery_enabled</strong> (boolean, required) - If physical delivery is enabled for this hotel or not.</li>\n<li><strong>notification_shipping_emails</strong> (array) - The email addresses to send notifications to, upon physical gift purchase.<ul>\n<li>email (string)</li>\n</ul>\n</li>\n</ul>\n<h2 id=\"return\">Return:</h2>\n<ul>\n<li><strong>code</strong> (string) - The response code.</li>\n<li><strong>status</strong> (string) - The response status.</li>\n<li><strong>data</strong> (object) - The meta data object.<ul>\n<li><strong>id</strong> (object_id) - The id of the hotel.</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":id","delivery","settings"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"7a659af2-4a6b-423a-b240-efc0feb4cd09","name":"Edit Hotel Delivery Settings","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","type":"text","value":"{{access_token}}"}],"body":{"mode":"raw","raw":"{\n    \"enabled\": true,\n    \"emails\": \"1@example.com;2@example.com\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/hotels/:id/delivery/settings","host":["{{base_url}}"],"path":["hotels",":id","delivery","settings"],"variable":[{"key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjYxZDgxMjFkZGMxNzExMTViNjdjY2ZjNGMxNjZmNjhiODIzMmNlNmYi.X6EQbA.byysuAeug-VklYom8SuGXQ00RaU"},{"key":"Set-Cookie","value":"session=cf1f1486-93ad-4682-bb35-cc6acd8fc342.6AmcmPmtH9E9N-9hUOEvvdCOVMs; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Tue, 03 Nov 2020 08:10:20 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5e3bbd1626ef9b0b5ce8e2e7\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"33038ce7-bd3c-475b-af5f-21f9ee9df9a2"}],"id":"9e65dce1-3b01-475b-a9de-f7190ea4348a","_postman_id":"9e65dce1-3b01-475b-a9de-f7190ea4348a","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Add Package","id":"db05c302-4aed-4f45-a8a9-c5174e85a813","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"All you can eat chocolate\",\n    \"short_description\": \"Free flow wine from 6pm to 10pm\",\n    \"description\": \"Enjoy free flow wine at The Royal Hilton...\",\n    \"type\": \"voucher\",\n    \"notes\": \"Formal attire is required.\",\n    \"booking_policy\": {\n        \"name\": \"Non-refundable\",\n        \"description\": \"This voucher cannot be refunded.\",\n        \"instructions\": \"Please provide the voucher code when booking your table, 1 day in advance of your visit.\"\n    },\n    \"category_id\": \"5ef4538164b40eaf0cbf2113\",\n    \"tag_ids\": [\"5ef4538164b40eaf0cbf2115\"],\n    \"inventories\": [\n        {\n        \"name\": \"1 PAX\",\n        \"price\": 79.99,\n        \"discount_price\": 59.99,\n        \"quantity\": -1\n        },\n        {\n        \"name\": \"2 PAX\",\n        \"price\": 130.99,\n        \"discount_price\": 99.99,\n        \"quantity\": 300\n        }\n    ],\n    \"vendor_id\": \"5ef4538164b40eaf0cbf2110\",\n    \"sell_start_date\": \"09 Jun 2020, 12:30 pm\",\n    \"sell_end_date\": \"09 Jul 2020, 12:30 pm\",\n    \"validity\": {\n        \"valid_from\": null,\n        \"valid_to\": null,\n        \"period\": \"days\",\n        \"count\": 30\n    },\n    \"gallery_ids\": [\"5e3bc5fa8860c0a0f16ad89a\"],\n    \"enabled\": true,\n    \"fees\": [\"5ef1b045982d81399deeb0d5\", \"5ef1b045982d81399deeb0d6\"],\n    \"physical_delivery_enabled\": true,\n    \"delivery_rate_id\": \"5ef1b091630d81399dee23ba\"\n}"},"url":"{{endpoint}}/api/v1/hotels/:id/packages","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","packages"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"b5f7da8c-6257-4bf1-bf0c-9d39d40a8988","name":"Add Package","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Free Flow Wine\",\n    \"short_description\": \"Free flow wine from 6pm to 10pm\",\n    \"description\": \"Enjoy free flow wine at The Royal Hilton...\",\n    \"type\": \"voucher\",\n    \"notes\": \"Formal attire is required.\",\n    \"booking_policy\": {\n        \"name\": \"Non-refundable\",\n        \"description\": \"This voucher cannot be refunded.\",\n        \"instructions\": \"Please provide the voucher code when booking your table, 1 day in advance of your visit.\"\n    },\n    \"category_id\": \"5ee75322d1b7e3f35fcb9843\",\n    \"tag_ids\": [],\n    \"inventories\": [\n        {\n        \"name\": \"1 PAX\",\n        \"price\": 79.99,\n        \"discount_price\": 59.99,\n        \"quantity\": -1\n        },\n        {\n        \"name\": \"2 PAX\",\n        \"price\": 130.99,\n        \"discount_price\": 99.99,\n        \"quantity\": 300\n        }\n    ],\n    \"vendor_id\": \"5ee74735d0cbfd00c936ca8b\",\n    \"sell_start_date\": \"09 Jun 2020\",\n    \"sell_end_date\": \"09 Jul 2020\",\n    \"valid_from\": \"09 Jun 2020\",\n    \"valid_to\": \"09 Jun 2021\",\n    \"cover_id\": \"5e3bc5fa8860c0a0f16ad89a\",\n    \"gallery_ids\": [\"5e3bc5fa8860c0a0f16ad89a\", \"5e3bc5fa8860c0a0f16ad89a\"],\n    \"enabled\": true\n}"},"url":{"raw":"{{endpoint}}/api/v1/hotels/:id/packages","host":["{{endpoint}}"],"path":["api","v1","hotels",":id","packages"],"variable":[{"key":"id","value":"{{hotel_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjMyMGM4MDUwZjZhN2E1N2QxMmQ4YjdjMGFmYzdkZTMzZDQ5MjBiOGUi.Xuh2VA.wz5dM6OFLjhylzkRyLukBs1atMc"},{"key":"Set-Cookie","value":"session=9f2aaa25-81bb-447a-8e7a-525dcde3bade.p2d8d1ztoat2ACQowuIPlyxf66A; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Tue, 16 Jun 2020 07:35:48 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5ee8765442883273feba3390\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"db05c302-4aed-4f45-a8a9-c5174e85a813"},{"name":"Edit Package","id":"b8d005a4-f9d2-4f33-b2ff-2c4687faffef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"All you can eat chocolate\",\n    \"short_description\": \"Free flow wine from 6pm to 10pm\",\n    \"description\": \"Enjoy free flow wine at The Royal Hilton...\",\n    \"type\": \"voucher\",\n    \"notes\": \"Formal attire is required.\",\n    \"booking_policy\": {\n        \"name\": \"Non-refundable\",\n        \"description\": \"This voucher cannot be refunded.\",\n        \"instructions\": \"Please provide the voucher code when booking your table, 1 day in advance of your visit.\"\n    },\n    \"category_id\": \"5ef1b13ea53f40b91a648e62\",\n    \"tag_ids\": [\"5ef1b13ea53f40b91a648e64\"],\n    \"inventories\": [\n        {\n        \"name\": \"1 PAX\",\n        \"price\": 79.99,\n        \"discount_price\": 59.99,\n        \"quantity\": -1\n        },\n        {\n        \"name\": \"2 PAX\",\n        \"price\": 130.99,\n        \"discount_price\": 99.99,\n        \"quantity\": 300\n        }\n    ],\n    \"vendor_id\": \"5ef1b13ea53f40b91a648e5f\",\n    \"sell_start_date\": \"09 Jun 2020, 12:30 pm\",\n    \"sell_end_date\": \"09 Jul 2020, 12:30 pm\",\n    \"validity\": {\n        \"valid_from\": null,\n        \"valid_to\": null,\n        \"period\": \"days\",\n        \"count\": 30\n    },\n    \"gallery_ids\": [\"5e3bc5fa8860c0a0f16ad89a\"],\n    \"enabled\": true,\n    \"fees\": [\"5ef1b045982d81399deeb0d5\", \"5ef1b045982d81399deeb0d6\"],\n    \"physical_delivery_enabled\": true,\n    \"delivery_rate_id\": \"5ef1b091630d81399dee23ba\"\n}"},"url":"{{endpoint}}/api/v1/packages/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","packages",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{package_id}}","key":"id"}]}},"response":[{"id":"e56946ec-5b32-4833-8a6f-efd78bd0b163","name":"Edit Package","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Free Flow Wine\",\n    \"short_description\": \"Free flow wine from 6pm to 10pm\",\n    \"description\": \"Enjoy free flow wine at The Royal Hilton...\",\n    \"type\": \"voucher\",\n    \"notes\": \"Formal attire is required.\",\n    \"booking_policy\": {\n        \"name\": \"Non-refundable\",\n        \"description\": \"This voucher cannot be refunded.\",\n        \"instructions\": \"Please provide the voucher code when booking your table, 1 day in advance of your visit.\"\n    },\n    \"category_id\": \"5e1d4be00f702781ed8f6b28\",\n    \"tag_ids\": [\"5e1d4be00f702781ed8f6b28\"],\n    \"inventories\": [\n        {\n        \"name\": \"1 PAX\",\n        \"price\": 79.99,\n        \"discount_price\": 59.99,\n        \"quantity\": -1\n        },\n        {\n        \"name\": \"2 PAX\",\n        \"price\": 130.99,\n        \"discount_price\": 99.99,\n        \"quantity\": 300\n        }\n    ],\n    \"vendor_id\": \"5e1d4be00f702781ed8f6b28\",\n    \"sell_start_date\": \"09 Jun 2020\",\n    \"sell_end_date\": \"09 Jul 2020\",\n    \"valid_from\": \"09 Jun 2020\",\n    \"valid_to\": \"09 Jun 2021\",\n    \"cover_id\": \"5e3bc5fa8860c0a0f16ad89a\",\n    \"gallery_ids\": [\"5e3bc5fa8860c0a0f16ad89a\", \"5e3bc5fa8860c0a0f16ad89a\"],\n    \"enabled\": true\n}"},"url":{"raw":"{{endpoint}}/api/v1/packages/:id","host":["{{endpoint}}"],"path":["api","v1","packages",":id"],"variable":[{"key":"id","value":"{{package_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"Ijc3ODFmOTlmNGY2MjgyMzQzN2U0MzJlMzBhNDQzYTNjM2RiMDE5NDki.Xuc6uA.UG5sDP6UFZ449T5490GtOWH4ios"},{"key":"Set-Cookie","value":"session=e183635d-32c9-42c1-8b96-15e0832984b3.3wXCF42tPzmkR-tJ2qbxdkF90VU; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Mon, 15 Jun 2020 09:09:12 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5ee734d665300269a759823e\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"b8d005a4-f9d2-4f33-b2ff-2c4687faffef"},{"name":"Edit Inventories","id":"45c192c8-b3a4-4c0d-aeeb-0ba33e3a06e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"inventories\": [\n        {\n            \"id\": \"5eeafe7c85a6175cf3014f93\",\n            \"name\": \"1 PAX\",\n            \"price\": 79.99,\n            \"discount_price\": 59.99,\n            \"quantity\": -1\n        },\n        {\n            \"name\": \"2 PAX\",\n            \"price\": 130.99,\n            \"discount_price\": 99.99,\n            \"quantity\": 300\n        }\n    ]\n}"},"url":"{{endpoint}}/api/v1/packages/:id/inventories","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","packages",":id","inventories"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{package_id}}","key":"id"}]}},"response":[{"id":"5f7ef6b2-5175-470a-90a9-a7a5622a3a48","name":"Edit Inventories","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"inventories\": [\n        {\n        \"name\": \"1 PAX\",\n        \"price\": 79.99,\n        \"discount_price\": 59.99,\n        \"quantity\": -1\n        },\n        {\n        \"name\": \"2 PAX\",\n        \"price\": 130.99,\n        \"discount_price\": 99.99,\n        \"quantity\": 300\n        }\n    ]\n}"},"url":{"raw":"{{endpoint}}/api/v1/packages/:id/inventories","host":["{{endpoint}}"],"path":["api","v1","packages",":id","inventories"],"variable":[{"key":"id","value":"{{package_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjMyMGM4MDUwZjZhN2E1N2QxMmQ4YjdjMGFmYzdkZTMzZDQ5MjBiOGUi.XuiL2g._Z_pRjtiJoHtf306PwUwWlS2_wQ"},{"key":"Set-Cookie","value":"session=9f2aaa25-81bb-447a-8e7a-525dcde3bade.p2d8d1ztoat2ACQowuIPlyxf66A; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Tue, 16 Jun 2020 09:07:38 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5ee8765442883273feba3390\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"45c192c8-b3a4-4c0d-aeeb-0ba33e3a06e0"},{"name":"Edit Sell Dates","id":"15bd79ea-fb29-4866-862c-92978fb5d37c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"sell_start_date\": \"09 Jun 2020\",\n    \"sell_end_date\": \"09 Jul 2020\"\n}"},"url":"{{endpoint}}/api/v1/packages/:id/sell-dates","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","packages",":id","sell-dates"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{package_id}}","key":"id"}]}},"response":[{"id":"d65413d1-9e3c-419c-a26e-c25d7c089c8f","name":"Edit Sell Dates","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"sell_start_date\": \"09 Jun 2020\",\n    \"sell_end_date\": \"09 Jul 2020\"\n}"},"url":{"raw":"{{endpoint}}/api/v1/packages/:id/sell-dates","host":["{{endpoint}}"],"path":["api","v1","packages",":id","sell-dates"],"variable":[{"key":"id","value":"{{package_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjMyMGM4MDUwZjZhN2E1N2QxMmQ4YjdjMGFmYzdkZTMzZDQ5MjBiOGUi.XuiLoA.EnjuNkiXnfAdNEltjNIOTY-XNN4"},{"key":"Set-Cookie","value":"session=9f2aaa25-81bb-447a-8e7a-525dcde3bade.p2d8d1ztoat2ACQowuIPlyxf66A; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Tue, 16 Jun 2020 09:06:40 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5ee8765442883273feba3390\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"15bd79ea-fb29-4866-862c-92978fb5d37c"},{"name":"Edit Booking Policy","id":"5ecdc329-5789-4995-b3e6-9251dc824e4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"booking_policy\": {\n        \"name\": \"Non-refundable\",\n        \"description\": \"This voucher cannot be refunded.\",\n        \"instructions\": \"Please provide the voucher code when booking your table, 1 day in advance of your visit.\"\n    }\n}"},"url":"{{endpoint}}/api/v1/packages/:id/booking-policy","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","packages",":id","booking-policy"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{package_id}}","key":"id"}]}},"response":[{"id":"c6035ce6-4342-43b9-9f63-4d3370e79679","name":"Edit Booking Policy","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"booking_policy\": {\n        \"name\": \"Non-refundable\",\n        \"description\": \"This voucher cannot be refunded.\",\n        \"instructions\": \"Please provide the voucher code when booking your table, 1 day in advance of your visit.\"\n    }\n}"},"url":{"raw":"{{endpoint}}/api/v1/packages/:id/booking-policy","host":["{{endpoint}}"],"path":["api","v1","packages",":id","booking-policy"],"variable":[{"key":"id","value":"{{package_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjMyMGM4MDUwZjZhN2E1N2QxMmQ4YjdjMGFmYzdkZTMzZDQ5MjBiOGUi.XuiK3A.onOzBer1T-8on3DYrrjDLGwSfF8"},{"key":"Set-Cookie","value":"session=9f2aaa25-81bb-447a-8e7a-525dcde3bade.p2d8d1ztoat2ACQowuIPlyxf66A; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Tue, 16 Jun 2020 09:03:24 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5ee8765442883273feba3390\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"5ecdc329-5789-4995-b3e6-9251dc824e4b"},{"name":"Get Package List","id":"022b2824-427e-41e1-a0f8-54359a553c9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/:id/packages?search={{search}}&limit={{limit}}&page={{page}}&order={{order}}&sort={{sort}}&status={{status}}&category={{category_id}}&ids=5f03fc70e6bc88a945ecceac,5f03fc70e6bc88a945ecceab&vendor_id=5ef5a5ad3ab0c67d8fc28701&excl_soldout","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","packages"],"host":["{{endpoint}}"],"query":[{"key":"search","value":"{{search}}"},{"key":"limit","value":"{{limit}}"},{"key":"page","value":"{{page}}"},{"key":"order","value":"{{order}}"},{"key":"sort","value":"{{sort}}"},{"key":"status","value":"{{status}}"},{"key":"category","value":"{{category_id}}"},{"key":"ids","value":"5f03fc70e6bc88a945ecceac,5f03fc70e6bc88a945ecceab"},{"key":"vendor_id","value":"5ef5a5ad3ab0c67d8fc28701"},{"key":"excl_soldout","value":null}],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"343e0256-abdd-4748-bf0c-271fbe2d902b","name":"Get Package List - Package Site","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/hotels/:id/packages?search={{search}}&limit={{limit}}&page={{page}}&order={{order}}&sort={{sort}}&status={{status}}&category={{category_id}}","host":["{{endpoint}}"],"path":["api","v1","hotels",":id","packages"],"query":[{"key":"search","value":"{{search}}"},{"key":"limit","value":"{{limit}}"},{"key":"page","value":"{{page}}"},{"key":"order","value":"{{order}}"},{"key":"sort","value":"{{sort}}"},{"key":"status","value":"{{status}}"},{"key":"category","value":"{{category_id}}"}],"variable":[{"key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"12401"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImQ5MTgwZWQ2MGQ4MTYzYTVlMjA1YzgwNGEzNmQ4YWM5YTFmNmZhZDYi.XvnSDQ.N78bT5p6Rmn-fAlJkNZn5oSfxaI"},{"key":"Set-Cookie","value":"session=476cdf13-eb22-47aa-b6ae-8a4bad80eb4e.YwmzbPTSKcpx_5wHYxAfuSbD2Dc; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Mon, 29 Jun 2020 11:35:41 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 3,\n        \"filter\": {\n            \"limit\": 100,\n            \"order\": \"desc\",\n            \"page\": 1,\n            \"sort\": \"created_at\",\n            \"status\": null\n        },\n        \"results\": [\n            {\n                \"base_price\": 19.99,\n                \"booking_policy\": {\n                    \"description\": \"This voucher cannot be refunded.\",\n                    \"instructions\": \"Please present your voucher when arriving at the gym. No registration required.\",\n                    \"name\": \"Non-refundable\"\n                },\n                \"category\": {\n                    \"id\": \"5ef9d1ef64a9fe175709f554\",\n                    \"name\": \"Spa\"\n                },\n                \"creator_id\": \"5e82f9a9703d06e6ae1a4e1e\",\n                \"description\": \"Have a great workout at California Gym and enjoy any of their classes...\",\n                \"discount_base_price\": null,\n                \"fees\": [\n                    {\n                        \"amount_type\": [\n                            \"applied_nightly\",\n                            \"compound_tax\"\n                        ],\n                        \"description\": \"\",\n                        \"form_type\": \"applied_amount\",\n                        \"id\": \"5ef321d0f97c0d5db3a09335\",\n                        \"name\": \"service_charge\",\n                        \"title\": \"Service Charge\",\n                        \"type\": \"relative\",\n                        \"value\": 11\n                    },\n                    {\n                        \"amount_type\": [\n                            \"applied_nightly\"\n                        ],\n                        \"description\": \"\",\n                        \"form_type\": \"applied_amount\",\n                        \"id\": \"5ef321d0f97c0d5db3a09336\",\n                        \"name\": \"goods_&_service_tax\",\n                        \"title\": \"Goods & Service tax\",\n                        \"type\": \"relative\",\n                        \"value\": 7\n                    }\n                ],\n                \"gallery_urls\": [\n                    \"https://d30qdklwrf4p1t.cloudfront.net/guests/D3CTJC2K-1640571653798780459_wh_3.jpg\"\n                ],\n                \"has_multi_prices\": false,\n                \"hotel_id\": \"5e3bbd1626ef9b0b5ce8e2e7\",\n                \"id\": \"5ef9d1ef64a9fe175709f55b\",\n                \"inventories\": [\n                    {\n                        \"discount_price\": null,\n                        \"id\": \"5ef9d1ef64a9fe175709f55f\",\n                        \"name\": null,\n                        \"price\": 19.99,\n                        \"quantity\": -1,\n                        \"remain\": -1,\n                        \"sold\": 0,\n                        \"code\": \"26110\"\n                    }\n                ],\n                \"name\": \"1 Day Pass - California Gym\",\n                \"notes\": \"Weekdays only\",\n                \"original_base_price\": 19.99,\n                \"sell_end_date\": \"2020-07-09T11:35:11.469000\",\n                \"sell_start_date\": \"2020-06-29T11:36:11.469000\",\n                \"short_description\": \"1 Day Pass at California Gym\",\n                \"status\": \"inactive\",\n                \"tags\": [\n                    {\n                        \"id\": \"5ef9d1ef64a9fe175709f556\",\n                        \"name\": \"Recommended\"\n                    },\n                    {\n                        \"id\": \"5ef9d1ef64a9fe175709f557\",\n                        \"name\": \"Special Offer\"\n                    }\n                ],\n                \"total_remain\": -1,\n                \"total_sold\": 0,\n                \"validity\": {\n                    \"count\": 3,\n                    \"period\": \"months\",\n                    \"valid_from\": null,\n                    \"valid_to\": null\n                },\n                \"vendor\": {\n                    \"business_type\": [\n                        \"Spa\"\n                    ],\n                    \"description\": \"A spa. In your hometown.\",\n                    \"hotel_id\": \"5e3bbd1626ef9b0b5ce8e2e7\",\n                    \"id\": \"5ef9d1ef64a9fe175709f551\",\n                    \"location\": \"Your hometown.\",\n                    \"name\": \"Hometown Spa\"\n                },\n                \"enabled\": true\n            },\n            {\n                \"base_price\": 59.99,\n                \"booking_policy\": {\n                    \"description\": \"This voucher cannot be refunded.\",\n                    \"instructions\": \"Please provide the voucher code when booking, 1 day in advance of your visit.\",\n                    \"name\": \"Non-refundable\"\n                },\n                \"category\": {\n                    \"id\": \"5ef9d1ef64a9fe175709f554\",\n                    \"name\": \"Spa\"\n                },\n                \"creator_id\": \"5e82f9a9703d06e6ae1a4e1e\",\n                \"description\": \"Enjoy a relaxing full body massage to the relaxing sounds of wind chimes, in our...\",\n                \"discount_base_price\": 59.99,\n                \"fees\": [\n                    {\n                        \"amount_type\": [\n                            \"applied_nightly\",\n                            \"compound_tax\"\n                        ],\n                        \"description\": \"\",\n                        \"form_type\": \"applied_amount\",\n                        \"id\": \"5ef321d0f97c0d5db3a09335\",\n                        \"name\": \"service_charge\",\n                        \"title\": \"Service Charge\",\n                        \"type\": \"relative\",\n                        \"value\": 11\n                    },\n                    {\n                        \"amount_type\": [\n                            \"applied_nightly\"\n                        ],\n                        \"description\": \"\",\n                        \"form_type\": \"applied_amount\",\n                        \"id\": \"5ef321d0f97c0d5db3a09336\",\n                        \"name\": \"goods_&_service_tax\",\n                        \"title\": \"Goods & Service tax\",\n                        \"type\": \"relative\",\n                        \"value\": 7\n                    }\n                ],\n                \"gallery_urls\": [\n                    \"https://d30qdklwrf4p1t.cloudfront.net/guests/D3CTJC2K-1640571653798780459_wh_3.jpg\"\n                ],\n                \"has_multi_prices\": false,\n                \"hotel_id\": \"5e3bbd1626ef9b0b5ce8e2e7\",\n                \"id\": \"5ef9d1ef64a9fe175709f55a\",\n                \"inventories\": [\n                    {\n                        \"discount_price\": 59.99,\n                        \"id\": \"5ef9d1ef64a9fe175709f55e\",\n                        \"name\": null,\n                        \"price\": 79.99,\n                        \"quantity\": -1,\n                        \"remain\": -1,\n                        \"sold\": 0\n                    }\n                ],\n                \"name\": \"1 Hour Massage\",\n                \"notes\": \"Weekends only\",\n                \"original_base_price\": 79.99,\n                \"sell_end_date\": \"2020-07-09T11:35:11.469000\",\n                \"sell_start_date\": \"2020-06-29T11:35:11.469000\",\n                \"short_description\": \"A 1 hour massage at any Hometown Spa\",\n                \"status\": \"active\",\n                \"tags\": [\n                    {\n                        \"id\": \"5ef9d1ef64a9fe175709f556\",\n                        \"name\": \"Recommended\"\n                    },\n                    {\n                        \"id\": \"5ef9d1ef64a9fe175709f557\",\n                        \"name\": \"Special Offer\"\n                    }\n                ],\n                \"total_remain\": -1,\n                \"total_sold\": 0,\n                \"validity\": {\n                    \"count\": 1,\n                    \"period\": \"years\",\n                    \"valid_from\": null,\n                    \"valid_to\": null\n                },\n                \"vendor\": {\n                    \"business_type\": [\n                        \"Spa\"\n                    ],\n                    \"description\": \"A spa. In your hometown.\",\n                    \"hotel_id\": \"5e3bbd1626ef9b0b5ce8e2e7\",\n                    \"id\": \"5ef9d1ef64a9fe175709f551\",\n                    \"location\": \"Your hometown.\",\n                    \"name\": \"Hometown Spa\"\n                },\n                \"enabled\": true\n            },\n            {\n                \"base_price\": 59.99,\n                \"booking_policy\": {\n                    \"description\": \"This voucher cannot be refunded.\",\n                    \"instructions\": \"Please provide the voucher code when booking your table, 1 day in advance of your visit.\",\n                    \"name\": \"Non-refundable\"\n                },\n                \"category\": {\n                    \"id\": \"5ef9d1ef64a9fe175709f553\",\n                    \"name\": \"Food & Beverage\"\n                },\n                \"creator_id\": \"5e82f9a9703d06e6ae1a4e1e\",\n                \"description\": \"Enjoy free flow wine at The Royal Hilton...\",\n                \"discount_base_price\": 59.99,\n                \"fees\": [\n                    {\n                        \"amount_type\": [\n                            \"applied_nightly\",\n                            \"compound_tax\"\n                        ],\n                        \"description\": \"\",\n                        \"form_type\": \"applied_amount\",\n                        \"id\": \"5ef321d0f97c0d5db3a09335\",\n                        \"name\": \"service_charge\",\n                        \"title\": \"Service Charge\",\n                        \"type\": \"relative\",\n                        \"value\": 11\n                    },\n                    {\n                        \"amount_type\": [\n                            \"applied_nightly\"\n                        ],\n                        \"description\": \"\",\n                        \"form_type\": \"applied_amount\",\n                        \"id\": \"5ef321d0f97c0d5db3a09336\",\n                        \"name\": \"goods_&_service_tax\",\n                        \"title\": \"Goods & Service tax\",\n                        \"type\": \"relative\",\n                        \"value\": 7\n                    }\n                ],\n                \"gallery_urls\": [\n                    \"https://d30qdklwrf4p1t.cloudfront.net/guests/D3CTJC2K-1640571653798780459_wh_3.jpg\"\n                ],\n                \"has_multi_prices\": true,\n                \"hotel_id\": \"5e3bbd1626ef9b0b5ce8e2e7\",\n                \"id\": \"5ef9d1ef64a9fe175709f559\",\n                \"inventories\": [\n                    {\n                        \"discount_price\": 59.99,\n                        \"id\": \"5ef9d1ef64a9fe175709f55c\",\n                        \"name\": \"1 PAX\",\n                        \"price\": 79.99,\n                        \"quantity\": -1,\n                        \"remain\": -1,\n                        \"sold\": 0\n                    },\n                    {\n                        \"discount_price\": 99.99,\n                        \"id\": \"5ef9d1ef64a9fe175709f55d\",\n                        \"name\": \"2 PAX\",\n                        \"price\": 130.99,\n                        \"quantity\": 300,\n                        \"remain\": 300,\n                        \"sold\": 0\n                    }\n                ],\n                \"name\": \"Free Flow Wine\",\n                \"notes\": \"Formal attire is required.\",\n                \"original_base_price\": 79.99,\n                \"sell_end_date\": \"2020-07-29T11:35:11.465000\",\n                \"sell_start_date\": \"2020-06-29T11:35:11.464000\",\n                \"short_description\": \"Free flow wine from 6pm to 10pm\",\n                \"status\": \"active\",\n                \"tags\": [\n                    {\n                        \"id\": \"5ef9d1ef64a9fe175709f558\",\n                        \"name\": \"Limited Availability\"\n                    }\n                ],\n                \"total_remain\": -1,\n                \"total_sold\": 0,\n                \"validity\": {\n                    \"count\": 0,\n                    \"period\": null,\n                    \"valid_from\": \"2020-06-29T11:35:11.465000\",\n                    \"valid_to\": \"2021-04-25T11:35:11.465000\"\n                },\n                \"vendor\": {\n                    \"business_type\": [\n                        \"Restaurant\"\n                    ],\n                    \"description\": \"A palace of cheese.\",\n                    \"hotel_id\": \"5e3bbd1626ef9b0b5ce8e2e7\",\n                    \"id\": \"5ef9d1ef64a9fe175709f552\",\n                    \"location\": \"Heaven.\",\n                    \"name\": \"Cheese Palace\"\n                },\n                \"enabled\": true\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"},{"id":"c7580e53-2e9c-4147-b7b6-0117815da9cc","name":"Get Package List - Dashboard","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/hotels/:id/packages?search={{search}}&limit={{limit}}&page={{page}}&order={{order}}&sort={{sort}}&status={{status}}&category={{category_id}}","host":["{{endpoint}}"],"path":["api","v1","hotels",":id","packages"],"query":[{"key":"search","value":"{{search}}"},{"key":"limit","value":"{{limit}}"},{"key":"page","value":"{{page}}"},{"key":"order","value":"{{order}}"},{"key":"sort","value":"{{sort}}"},{"key":"status","value":"{{status}}"},{"key":"category","value":"{{category_id}}"}],"variable":[{"key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2543"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"Ijk2NDQyNzc0YzkxNDBlYTliZTU5ODhlYTRiOGQ1NzAxOTZiMzliOWYi.XvV3nA.PAjdq4NKmWWX7uyXoyBwZ4kn7-w"},{"key":"Set-Cookie","value":"session=41963ce1-14f0-4109-8699-8b6b0ec16354.vc7lGJYh0S4m36ZIfURZcFAgzsg; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 26 Jun 2020 04:20:44 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 3,\n        \"filter\": {\n            \"limit\": 100,\n            \"order\": \"desc\",\n            \"page\": 1,\n            \"sort\": \"created_at\",\n            \"status\": null\n        },\n        \"results\": [\n            {\n                \"base_price\": 19.99,\n                \"category_name\": \"Spa\",\n                \"discount_base_price\": null,\n                \"gallery_url\": \"https://d30qdklwrf4p1t.cloudfront.net/guests/D3CTJC2K-1640571653798780459_wh_3.jpg\",\n                \"has_multi_prices\": false,\n                \"id\": \"5ef574c13c92ae3e37fec37b\",\n                \"name\": \"1 Day Pass - California Gym\",\n                \"original_base_price\": 19.99,\n                \"sell_end_date\": \"2020-07-06T04:08:33.589000\",\n                \"sell_start_date\": \"2020-06-26T04:09:33.589000\",\n                \"status\": \"inactive\",\n                \"total_item\": -1,\n                \"total_sold\": 0,\n                \"vendor_name\": \"Hometown Spa\"\n            },\n            {\n                \"base_price\": 59.99,\n                \"category_name\": \"Spa\",\n                \"discount_base_price\": 59.99,\n                \"gallery_url\": \"https://d30qdklwrf4p1t.cloudfront.net/guests/D3CTJC2K-1640571653798780459_wh_3.jpg\",\n                \"has_multi_prices\": false,\n                \"id\": \"5ef574c13c92ae3e37fec37a\",\n                \"name\": \"1 Hour Massage\",\n                \"original_base_price\": 79.99,\n                \"sell_end_date\": \"2020-07-06T04:08:33.588000\",\n                \"sell_start_date\": \"2020-06-26T04:08:33.588000\",\n                \"status\": \"active\",\n                \"total_item\": -1,\n                \"total_sold\": 0,\n                \"vendor_name\": \"Hometown Spa\"\n            },\n            {\n                \"base_price\": 59.99,\n                \"category_name\": \"Food & Beverage\",\n                \"discount_base_price\": 59.99,\n                \"gallery_url\": \"https://d30qdklwrf4p1t.cloudfront.net/guests/D3CTJC2K-1640571653798780459_wh_3.jpg\",\n                \"has_multi_prices\": true,\n                \"id\": \"5ef574c13c92ae3e37fec379\",\n                \"name\": \"Free Flow Wine\",\n                \"original_base_price\": 79.99,\n                \"sell_end_date\": \"2020-07-26T04:08:33.587000\",\n                \"sell_start_date\": \"2020-06-26T04:08:33.587000\",\n                \"status\": \"active\",\n                \"total_item\": -1,\n                \"total_sold\": 0,\n                \"vendor_name\": \"Cheese Palace\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"022b2824-427e-41e1-a0f8-54359a553c9f"},{"name":"Get Package","id":"935eef69-d470-41cc-84e5-a7890ce67fed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/packages/:pk_or_slug","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["packages",":pk_or_slug"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{package_id}}","key":"pk_or_slug"}]}},"response":[{"id":"8552b0fc-e295-4b50-9f6d-a85adccb69a2","name":"Get Package","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/packages/:id","host":["{{endpoint}}"],"path":["api","v1","packages",":id"],"variable":[{"key":"id","value":"5ef574c13c92ae3e37fec37b"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2161"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"Ijk2NDQyNzc0YzkxNDBlYTliZTU5ODhlYTRiOGQ1NzAxOTZiMzliOWYi.XvV1hQ.ttyyu0A2whnpqO7yM_oti3FxzRk"},{"key":"Set-Cookie","value":"session=41963ce1-14f0-4109-8699-8b6b0ec16354.vc7lGJYh0S4m36ZIfURZcFAgzsg; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 26 Jun 2020 04:11:49 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"base_price\": 1.99,\n        \"booking_policy\": {\n            \"description\": \"<p>Booking policy 1</p>\",\n            \"id\": \"5e3bd0c3bff405be75872577\",\n            \"name\": \"Free cancellation\"\n        },\n        \"category\": {\n            \"description\": \"\",\n            \"id\": \"5f0bdbd2f4ccc092e24961d4\",\n            \"in_use\": true,\n            \"name\": \"abcd\",\n            \"slug\": \"abcd-61d4\"\n        },\n        \"creator_id\": \"5e1d4be00f702781ed8f6b28\",\n        \"description\": \"<p>A CHEAP&nbsp;premium notebook!</p>\",\n        \"discount_base_price\": 0,\n        \"enabled\": false,\n        \"fees\": [],\n        \"gallery\": [\n            {\n                \"created_at\": \"2020-10-02T10:21:37.575000\",\n                \"file_type\": \"img\",\n                \"id\": \"5f76ff314160bb7cee9ec44f\",\n                \"name\": \"20200108_201806_hdr.jpg\",\n                \"size\": 517097,\n                \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/guests/c8ae6bb392174d2bb1bd29cf541640aa.jpg\",\n                \"user_type\": 1\n            }\n        ],\n        \"has_multi_prices\": false,\n        \"hotel_id\": \"5e3bbd1626ef9b0b5ce8e2e7\",\n        \"id\": \"5f770008a1d652e9df750fe5\",\n        \"instructions\": {\n            \"description\": \"<p>sdfghjk</p>\\n\",\n            \"id\": null,\n            \"name\": \"sdfghjk\"\n        },\n        \"inventories\": [\n            {\n                \"code\": \"20171\",\n                \"discount_price\": null,\n                \"id\": \"5f77002ba1d652e9df750fe6\",\n                \"name\": \"\",\n                \"price\": 1.99,\n                \"quantity\": -1,\n                \"remain\": -1,\n                \"sold\": 0\n            }\n        ],\n        \"name\": \"Premium Notebook\",\n        \"notes\": \"\",\n        \"original_base_price\": 1.99,\n        \"sell_end_date\": null,\n        \"sell_start_date\": null,\n        \"short_description\": \"<p>A premium notebook!</p>\",\n        \"status\": \"inactive\",\n        \"tags\": [],\n        \"total_remain\": -1,\n        \"total_sold\": 0,\n        \"validity\": null,\n        \"vendor\": {\n            \"business_type\": [\n                {\n                    \"id\": \"5f081c01ea36e5e982d32bcc\",\n                    \"in_use\": true,\n                    \"name\": \"Spa\"\n                }\n            ],\n            \"default\": false,\n            \"description\": \"A spa. In your hometown.\",\n            \"hotel_id\": \"5e3bbd1626ef9b0b5ce8e2e7\",\n            \"id\": \"5f081c01ea36e5e982d32bd0\",\n            \"location\": \"Your hometown.\",\n            \"name\": \"Hometown Spa\",\n            \"slug\": \"hometown-spa-2bd0\"\n        },\n        \"physical_delivery_enabled\": true,\n        \"delivery_rate\": {\n            \"id\": \"5ef1b091630d81399dee23ba\",\n            \"name\": \"Deluxe Gift Wrapping\",\n            \"price\": 5.99,\n            \"quantity\": 350,\n            \"sold\": 12,\n            \"remain\": 338,\n            \"image_url\": \"https://www.google.com\"\n        }\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"935eef69-d470-41cc-84e5-a7890ce67fed"},{"name":"Get Package Availability","id":"67b4aea5-bc50-42c7-88e1-2dd3b68d5d48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"inventories\": [\n        {\n            \"id\": \"5ef0344319c87697c21a8be8\",\n            \"quantity\": 1\n        },\n        {\n            \"id\": \"5ef035c8a2f40e0dae31deb9\",\n            \"quantity\": 1\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/packages","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","packages"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"06b66df3-7804-4170-9753-0664c93794de","name":"Fail - out of sell dates","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"inventories\": [\n        {\n            \"id\": \"5eec68f42f69b2b0265cc51e\",\n            \"quantity\": 30\n        },\n        {\n            \"id\": \"5eec68f42f69b2b0265cc51d\",\n            \"quantity\": 1\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/packages"},"status":"BAD REQUEST","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"307"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjgxYWUyMzJhNGZjMTU1ZDhkNDhiNTZiZWY0NmI1MTdlMzIyZGJmOTci.XuyBCQ.CAQLrSKtPFC_jJdwWT6hSZ_JwrE"},{"key":"Set-Cookie","value":"session=f7ba36aa-1764-43f1-b5fa-43bf6e843629.a7edV33WqpPXv-cC1mA1Y2ydVKI; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 19 Jun 2020 09:10:33 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"BadRequest\",\n    \"errors\": [\n        {\n            \"id\": \"5eec68f42f69b2b0265cc51e\",\n            \"message\": \"This package cannot be purchased at this time\"\n        }\n    ],\n    \"http_status\": 400,\n    \"message\": \"This package cannot be purchased at this time\",\n    \"status\": \"failure\"\n}"},{"id":"5ecf9420-5d2f-4a61-9d73-7cf015e3f96d","name":"Get Package Availability","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"inventories\": [\n        {\n            \"id\": \"5eec68f42f69b2b0265cc51e\",\n            \"quantity\": 300\n        },\n        {\n            \"id\": \"5eec68f42f69b2b0265cc51d\",\n            \"quantity\": 1\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/packages"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"64"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjgxYWUyMzJhNGZjMTU1ZDhkNDhiNTZiZWY0NmI1MTdlMzIyZGJmOTci.Xuxs1w.GdYPBzLdzmEubSuY4SneFJGVvKw"},{"key":"Set-Cookie","value":"session=f7ba36aa-1764-43f1-b5fa-43bf6e843629.a7edV33WqpPXv-cC1mA1Y2ydVKI; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 19 Jun 2020 07:44:23 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {},\n    \"status\": \"success\"\n}"},{"id":"6efd25e1-d373-43f2-8d75-fbff4d215148","name":"Fail - lack of availability","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"inventories\": [\n        {\n            \"id\": \"5ef0344319c87697c21a8be8\",\n            \"quantity\": 301\n        },\n        {\n            \"id\": \"5ef0344319c87697c21a8be7\",\n            \"quantity\": 1000\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/packages"},"status":"BAD REQUEST","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"349"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjEzOGFiYWNjNGQwNDM2MzllZTVlNDFlNWJmNDlmZDRlNzUyYjQyN2Ei.XvCJFQ.wzfRA16Xggi0bA9LFpIRtKhlEf8"},{"key":"Set-Cookie","value":"session=692a5831-3407-40c2-811a-01126579196f.IEa7SGdnsI5PAbmN2DFgXMQ7Krk; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Mon, 22 Jun 2020 10:33:57 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"BadRequest\",\n    \"errors\": [\n        {\n            \"id\": \"5ef0344319c87697c21a8be7\",\n            \"message\": \"This package doesn't have the required availability\",\n            \"quantity\": 300\n        }\n    ],\n    \"http_status\": 400,\n    \"message\": \"This package doesn't have the required availability\",\n    \"status\": \"failure\"\n}"}],"_postman_id":"67b4aea5-bc50-42c7-88e1-2dd3b68d5d48"},{"name":"Delete Package","id":"2e3f3000-76b8-46fb-8dcb-1fff3563cbdc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{endpoint}}/api/v1/packages/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","packages",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{package_id}}","key":"id"}]}},"response":[{"id":"870bc8ce-5358-44f2-9df3-a56cb9e79ef9","name":"Delete Package","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{endpoint}}/api/v1/packages/:id","host":["{{endpoint}}"],"path":["api","v1","packages",":id"],"variable":[{"key":"id","value":"5ee759dd72cb322a3d9d8ece"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"64"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjMyMGM4MDUwZjZhN2E1N2QxMmQ4YjdjMGFmYzdkZTMzZDQ5MjBiOGUi.XuhK3g.ndAiVXqk7lV78kSizJpH3BuCS54"},{"key":"Set-Cookie","value":"session=9f2aaa25-81bb-447a-8e7a-525dcde3bade.p2d8d1ztoat2ACQowuIPlyxf66A; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Tue, 16 Jun 2020 04:30:22 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {},\n    \"status\": \"success\"\n}"}],"_postman_id":"2e3f3000-76b8-46fb-8dcb-1fff3563cbdc"},{"name":"Get Package Website","id":"60226dd6-b96f-4c64-bed3-f3609b938f59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/hotels/:id/package-site","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","package-site"],"host":["{{endpoint}}"],"query":[],"variable":[{"id":"ced10cc1-cedf-49f4-b2ac-58bd625434eb","type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"432f4606-7b6d-4a81-9851-eedab0533d60","name":"Get Package Website - Full Data","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/hotels/:id/package-site","host":["{{endpoint}}"],"path":["api","v1","hotels",":id","package-site"],"variable":[{"id":"ced10cc1-cedf-49f4-b2ac-58bd625434eb","key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"886"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjYwYmM5ODFmNzAxNTU5NGMzYzY3ZWVlMzI3ZWJiN2VhNThmY2Y0ZTQi.XwF8_g.eqmFf6RTn3PGQGTAL_l4wE4oc94"},{"key":"Set-Cookie","value":"session=2833512c-225d-4460-ac04-294489e788dd.LAtfog5XIs0q9De5SL-KzUX7tcA; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Sun, 05 Jul 2020 07:10:54 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"announcement\": \"Our summer sale is now on!\",\n        \"description\": \"A place to get great deals in and around our hotel.\",\n        \"enabled\": false,\n        \"gallery\": [\n            {\n                \"created_at\": \"2020-02-06T07:53:30.550000\",\n                \"file_type\": \"img\",\n                \"id\": \"5e3bc5fa8860c0a0f16ad89a\",\n                \"name\": \"1640571653798780459_wh_3.jpg\",\n                \"size\": 68620,\n                \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/guests/D3CTJC2K-1640571653798780459_wh_3.jpg\",\n                \"user_type\": 1\n            }\n        ],\n        \"hotel\": \"Hotel object\",\n        \"id\": \"5efda34b99b94aa24f5dd158\",\n        \"product_type\": \"Package\",\n        \"title\": \"Our Package Website\",\n        \"url\": \"http://www.localhost:5001/v/hotel-california\",\n        \"contact_info\": {\n            \"name\": \"Our package site\",\n            \"email\": \"site@site.com\",\n            \"phone\": {\n                \"cc\": \"\",\n                \"contact\": \"\",\n                \"country_code\": \"\"\n            },\n            \"address\": \"101 Wallaby Way\"\n        }\n    },\n    \"status\": \"success\"\n}"},{"id":"959eeac0-c51f-42b1-9c5e-50a6b06d753e","name":"Get Package Website - Default Data","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/hotels/:id/package-site","host":["{{endpoint}}"],"path":["api","v1","hotels",":id","package-site"],"variable":[{"key":"id","value":"5e3bdee3013158704bdb9180","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"368"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImNhNWIyNmY0NWExYTNkNDU0Yzc5NDdkOTk0MjU4M2M0N2Y0NjdmYzki.Xv3Dbg.xJjoUpiGneHCwe1vZuNbDYdsF8A"},{"key":"Set-Cookie","value":"session=387235ee-d6eb-4026-bbab-44df2bbf3948.ZyfgFqjr5_kUn3oTuno02dBbdXk; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Thu, 02 Jul 2020 11:22:22 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"announcement\": \"\",\n        \"description\": \"\",\n        \"enabled\": false,\n        \"gallery\": [],\n        \"hotel\": \"Hotel object\",\n        \"id\": \"5efda34b99b94aa24f5dd159\",\n        \"product_type\": \"\",\n        \"title\": \"\",\n        \"url\": \"http://www.localhost:5001/v/hotel-saigon\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"60226dd6-b96f-4c64-bed3-f3609b938f59"},{"name":"Edit Package Website","id":"045adc78-6670-455b-ba66-9748e23cb6c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Our Package Website\",\n    \"description\": \"A place to get great deals in and around our hotel.\",\n    \"product_type\": \"Package\",\n    \"announcement\": \"Our summer sale is now on!\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/hotels/:id/package-site/edit","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","package-site","edit"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"350b8e3e-8165-430f-b9ed-7856a1795ad3","name":"Edit Package Website","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Our Package Website\",\n    \"description\": \"A place to get great deals in and around our hotel.\",\n    \"product_type\": \"Package\",\n    \"announcement\": \"Our summer sale is now on!\",\n    \"gallery\": [\n        \"5e3bc5fa8860c0a0f16ad89a\"\n    ],\n    \"enabled\": \"Our Package Website\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/packagesites/:id/edit","host":["{{endpoint}}"],"path":["api","v1","packagesites",":id","edit"],"variable":[{"key":"id","value":"{{package_site_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"150"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImNhNWIyNmY0NWExYTNkNDU0Yzc5NDdkOTk0MjU4M2M0N2Y0NjdmYzki.Xv2m3A.OMy9VK-ZfMn9IPPlok-B028_rOM"},{"key":"Set-Cookie","value":"session=387235ee-d6eb-4026-bbab-44df2bbf3948.ZyfgFqjr5_kUn3oTuno02dBbdXk; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Thu, 02 Jul 2020 09:20:28 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5efda34b99b94aa24f5dd158\"\n    },\n    \"message\": \"Package site updated\",\n    \"status\": \"success\"\n}"}],"_postman_id":"045adc78-6670-455b-ba66-9748e23cb6c7"},{"name":"Edit Package Website Copy","id":"4f6bcc54-33fc-4245-90d7-0aece65a3b61","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Our Package Website\",\n    \"email\": \"test@test.com\",\n    \"address\": \"101 Wallaby Way\",\n    \"phone\": {\n        \"cc\": \"\",\n        \"contact\": \"\",\n        \"country_code\": \"\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/hotels/:id/package-site/hotel-info","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","package-site","hotel-info"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"e25390ae-e10f-487d-a182-187821d6737b","name":"Edit Package Website","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Our Package Website\",\n    \"description\": \"A place to get great deals in and around our hotel.\",\n    \"product_type\": \"Package\",\n    \"announcement\": \"Our summer sale is now on!\",\n    \"gallery\": [\n        \"5e3bc5fa8860c0a0f16ad89a\"\n    ],\n    \"enabled\": \"Our Package Website\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/packagesites/:id/edit","host":["{{endpoint}}"],"path":["api","v1","packagesites",":id","edit"],"variable":[{"key":"id","value":"{{package_site_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"150"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImNhNWIyNmY0NWExYTNkNDU0Yzc5NDdkOTk0MjU4M2M0N2Y0NjdmYzki.Xv2m3A.OMy9VK-ZfMn9IPPlok-B028_rOM"},{"key":"Set-Cookie","value":"session=387235ee-d6eb-4026-bbab-44df2bbf3948.ZyfgFqjr5_kUn3oTuno02dBbdXk; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Thu, 02 Jul 2020 09:20:28 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5efda34b99b94aa24f5dd158\"\n    },\n    \"message\": \"Package site updated\",\n    \"status\": \"success\"\n}"}],"_postman_id":"4f6bcc54-33fc-4245-90d7-0aece65a3b61"},{"name":"Delete Gallery Item from PackageSite","id":"2729c9a5-df3e-4217-bcfc-681472b21573","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"media_id\": \"req:string(objectid)\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/hotels/:id/package-site/delete_gallery_item","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","package-site","delete_gallery_item"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"a7d9cfea-7b6f-4203-9da3-2a630fe05e76","name":"Delete Package Website Gallery Item","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"media_id\": \"5efeb9577d2a66333f0f6ebc\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/hotels/:id/package-site/delete_gallery_item","host":["{{endpoint}}"],"path":["api","v1","hotels",":id","package-site","delete_gallery_item"],"variable":[{"key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"124"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjAwYmUzMmIxODEzOTgwNGVhMzc0ODM4YWE1MzJhNWQ4YTU1MzA0NmYi.Xv65kQ.fcIkHX0LdnVldp8YotGf-9Jb9nc"},{"key":"Set-Cookie","value":"session=f398a627-dff0-4c9a-bef2-a28d21cc813d.Gq1O2rtjy_6yJWZnabsUss4HZIw; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 03 Jul 2020 04:52:33 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {},\n    \"message\": \"The photo has been deleted successfully.\",\n    \"status\": \"success\"\n}"},{"id":"b9979925-ae5f-4e46-8dcc-a6130ce3b008","name":"Edit Package Website","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Our Package Website\",\n    \"description\": \"A place to get great deals in and around our hotel.\",\n    \"product_type\": \"Package\",\n    \"announcement\": \"Our summer sale is now on!\",\n    \"gallery\": [\n        \"5e3bc5fa8860c0a0f16ad89a\"\n    ],\n    \"enabled\": \"Our Package Website\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/packagesites/:id/edit","host":["{{endpoint}}"],"path":["api","v1","packagesites",":id","edit"],"variable":[{"key":"id","value":"{{package_site_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"150"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImNhNWIyNmY0NWExYTNkNDU0Yzc5NDdkOTk0MjU4M2M0N2Y0NjdmYzki.Xv2m3A.OMy9VK-ZfMn9IPPlok-B028_rOM"},{"key":"Set-Cookie","value":"session=387235ee-d6eb-4026-bbab-44df2bbf3948.ZyfgFqjr5_kUn3oTuno02dBbdXk; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Thu, 02 Jul 2020 09:20:28 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5efda34b99b94aa24f5dd158\"\n    },\n    \"message\": \"Package site updated\",\n    \"status\": \"success\"\n}"}],"_postman_id":"2729c9a5-df3e-4217-bcfc-681472b21573"},{"name":"Assign Gallery to PackageSite","id":"c0519a26-3a28-418b-a77f-1d7bf0306345","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"media_ids\": [\n        \"req:string(objectid)\",\n        \"req:string(objectid)\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/hotels/:id/package-site/gallery","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","package-site","gallery"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"09a34fb8-3656-4538-b296-bc4ea2627d4d","name":"Edit Package Website","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Our Package Website\",\n    \"description\": \"A place to get great deals in and around our hotel.\",\n    \"product_type\": \"Package\",\n    \"announcement\": \"Our summer sale is now on!\",\n    \"gallery\": [\n        \"5e3bc5fa8860c0a0f16ad89a\"\n    ],\n    \"enabled\": \"Our Package Website\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/packagesites/:id/edit","host":["{{endpoint}}"],"path":["api","v1","packagesites",":id","edit"],"variable":[{"key":"id","value":"{{package_site_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"150"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImNhNWIyNmY0NWExYTNkNDU0Yzc5NDdkOTk0MjU4M2M0N2Y0NjdmYzki.Xv2m3A.OMy9VK-ZfMn9IPPlok-B028_rOM"},{"key":"Set-Cookie","value":"session=387235ee-d6eb-4026-bbab-44df2bbf3948.ZyfgFqjr5_kUn3oTuno02dBbdXk; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Thu, 02 Jul 2020 09:20:28 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5efda34b99b94aa24f5dd158\"\n    },\n    \"message\": \"Package site updated\",\n    \"status\": \"success\"\n}"},{"id":"914988fa-2060-47da-b13b-394eb294e778","name":"Assigned Package Website Gallery","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"media_ids\": [\n        \"5efeb9577d2a66333f0f6ebc\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/hotels/:id/package-site/gallery","host":["{{endpoint}}"],"path":["api","v1","hotels",":id","package-site","gallery"],"variable":[{"key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"127"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjAwYmUzMmIxODEzOTgwNGVhMzc0ODM4YWE1MzJhNWQ4YTU1MzA0NmYi.Xv65aQ.f7v7ljVNWsfTtM6tN6YoEjg5p4E"},{"key":"Set-Cookie","value":"session=f398a627-dff0-4c9a-bef2-a28d21cc813d.Gq1O2rtjy_6yJWZnabsUss4HZIw; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 03 Jul 2020 04:51:53 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {},\n    \"message\": \"The photos have been assigned successfully.\",\n    \"status\": \"success\"\n}"}],"_postman_id":"c0519a26-3a28-418b-a77f-1d7bf0306345"},{"name":"Enable Package Website","id":"0fb77ce1-07d3-4f39-b07a-6175b6454d27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"enabled\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/hotels/:id/package-site/enable","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","package-site","enable"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"2df9a15e-40b5-4bf9-8c41-b4d86debf550","name":"Enable Package Website - Disabled","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"enabled\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/hotels/:id/package-site/enable","host":["{{endpoint}}"],"path":["api","v1","hotels",":id","package-site","enable"],"variable":[{"key":"id","value":"{{hotel_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"151"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImNhNWIyNmY0NWExYTNkNDU0Yzc5NDdkOTk0MjU4M2M0N2Y0NjdmYzki.Xv3MzQ.vTVN9FYs7oOLRH-hOE6nSedT00M"},{"key":"Set-Cookie","value":"session=387235ee-d6eb-4026-bbab-44df2bbf3948.ZyfgFqjr5_kUn3oTuno02dBbdXk; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Thu, 02 Jul 2020 12:02:21 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5efda34b99b94aa24f5dd158\"\n    },\n    \"message\": \"Package site disabled\",\n    \"status\": \"success\"\n}"},{"id":"cdb57e68-2955-4e9a-8d05-3f980affc4a6","name":"Enable Package Website - Enabled","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Our Package Website\",\n    \"description\": \"A place to get great deals in and around our hotel.\",\n    \"product_type\": \"Package\",\n    \"announcement\": \"Our summer sale is now on!\",\n    \"gallery\": [\n        \"5e3bc5fa8860c0a0f16ad89a\"\n    ],\n    \"enabled\": \"Our Package Website\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/packagesites/:id/enable","host":["{{endpoint}}"],"path":["api","v1","packagesites",":id","enable"],"variable":[{"key":"id","value":"{{package_site_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"150"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImNhNWIyNmY0NWExYTNkNDU0Yzc5NDdkOTk0MjU4M2M0N2Y0NjdmYzki.Xv2p0A.3Aw8RC_CaQE5WP2tA7AKCU_IEps"},{"key":"Set-Cookie","value":"session=387235ee-d6eb-4026-bbab-44df2bbf3948.ZyfgFqjr5_kUn3oTuno02dBbdXk; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Thu, 02 Jul 2020 09:33:04 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5efda34b99b94aa24f5dd158\"\n    },\n    \"message\": \"Package site enabled\",\n    \"status\": \"success\"\n}"}],"_postman_id":"0fb77ce1-07d3-4f39-b07a-6175b6454d27"},{"name":"Save General Setup","id":"c2b1089d-6749-4528-91df-7be4600295a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"categories\": {\n        \"update\": [\n            {\n                \"id\": \"string(objectid)\",\n                \"name\": \"string\"\n            }\n        ],\n        \"new\": [\n            {\n                \"name\": \"string\"\n            }\n        ],\n        \"delete\": [\n            \"string(objectid)\"\n        ]\n    },\n    \"comp_reasons\": {\n        \"update\": [\n            {\n                \"id\": \"string(objectid)\",\n                \"name\": \"string\"\n            }\n        ],\n        \"new\": [\n            {\n                \"name\": \"string\"\n            }\n        ],\n        \"delete\": [\n            \"string(objectid)\"\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/hotels/:hotel_id/packages/general-setup","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":hotel_id","packages","general-setup"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"hotel_id"}]}},"response":[],"_postman_id":"c2b1089d-6749-4528-91df-7be4600295a2"},{"name":"Get General Setup","id":"4af12c42-defe-4ae5-b40d-b24915ba9391","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/:hotel_id/packages/general-setup","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":hotel_id","packages","general-setup"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"hotel_id"}]}},"response":[{"id":"6f8aa89d-450e-49ce-a67f-ead13a5c8c73","name":"Get General Setup","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/hotels/:hotel_id/packages/general-setup","host":["{{endpoint}}"],"path":["api","v1","hotels",":hotel_id","packages","general-setup"],"variable":[{"key":"hotel_id","value":"{{hotel_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"632"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjEyNDJhNzEwOTRlZTM4MWM2YTZjNTA1N2MzZGQ3YTVhZDYzMGZiNDgi.XyKVxw.CtPyOUfcc4y-NUa0DTw6jYTTFmU"},{"key":"Set-Cookie","value":"session=e01051b5-a771-4ceb-9d12-758420be77cb.n02240ppvbo2HGrhX0nxEGvkhDU; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Thu, 30 Jul 2020 09:41:27 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"categories\": [],\n        \"comp_reasons\": [\n            {\n                \"id\": \"5f2295b9658486f406a96ea6\",\n                \"name\": \"Marketing/Promotion\"\n            },\n            {\n                \"id\": \"5f2295b9658486f406a96ea7\",\n                \"name\": \"Service Recovery\"\n            },\n            {\n                \"id\": \"5f2295bd658486f406a96ea9\",\n                \"name\": \"Marketing/Promotion\"\n            },\n            {\n                \"id\": \"5f2295bd658486f406a96eaa\",\n                \"name\": \"Service Recovery\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"4af12c42-defe-4ae5-b40d-b24915ba9391"},{"name":"Get Recommended","id":"562ae292-a86f-43ad-bf17-42604381ae71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/hotels/:pk/packages/recommended?category=asdasd","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":pk","packages","recommended"],"host":["{{base_url}}"],"query":[{"key":"category","value":"asdasd"},{"disabled":true,"key":"limit","value":"{{limit}}"}],"variable":[{"type":"string","value":"","key":"pk"}]}},"response":[{"id":"3a0001b8-77f1-4bf0-b647-4c5215e2f8bb","name":"Get Recommended","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/hotels/:pk/packages/recommended","host":["{{base_url}}"],"path":["hotels",":pk","packages","recommended"],"query":[{"key":"category_id","value":"5ef0344319c87697c21a8bde","disabled":true},{"key":"limit","value":"{{limit}}","disabled":true}],"variable":[{"key":"pk","value":"{{hotel_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"14447"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjYxZjg3OTM0YjFkY2U1MDRiMDExZmZmYWVmNzk4NzUyMGM0ZTBjNjci.X4Q3_g.FwliUDQ9ITktCj2en-2QQDTPGQg"},{"key":"Set-Cookie","value":"session=d7d71dd6-af40-47b6-95b8-bf42d4b88963.foG3dC9rny5KIvlFJ3qnmbwSrjc; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Mon, 12 Oct 2020 11:03:26 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 4,\n        \"filter\": {\n            \"limit\": 10\n        },\n        \"results\": [\n            {\n                \"base_price\": 1.5,\n                \"booking_policy\": {\n                    \"description\": \"<p>Policy 1</p>\\n\",\n                    \"id\": null,\n                    \"name\": \"Policy 1\"\n                },\n                \"category\": {\n                    \"description\": \"\",\n                    \"id\": \"5ef0344319c87697c21a8bde\",\n                    \"image_gallery\": [],\n                    \"in_use\": true,\n                    \"name\": \"Food & Beverage\",\n                    \"slug\": null\n                },\n                \"creator_id\": \"5e1d4be00f702781ed8f6b28\",\n                \"description\": \"<p>A bottle of Evian</p>\",\n                \"discount_base_price\": 1.5,\n                \"enabled\": true,\n                \"fees\": [],\n                \"gallery\": [\n                    {\n                        \"created_at\": \"2020-10-08T12:01:24.886000\",\n                        \"file_type\": \"img\",\n                        \"id\": \"5f7eff94cf407c4a752c7251\",\n                        \"name\": \"20200924_193205_HDR.jpg\",\n                        \"size\": 439378,\n                        \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/guests/5242f4fa261446acb86a5ba1d5f1a2c1.jpg\",\n                        \"user_type\": 1\n                    }\n                ],\n                \"has_multi_prices\": false,\n                \"hotel_id\": \"5e3bbd1626ef9b0b5ce8e2e7\",\n                \"id\": \"5f7effafcf407c4a752c7253\",\n                \"instructions\": {\n                    \"description\": \"<p>Instructions 1</p>\\n\",\n                    \"id\": null,\n                    \"name\": \"Instructions 1\"\n                },\n                \"inventories\": [\n                    {\n                        \"code\": \"00397\",\n                        \"discount_price\": 1.5,\n                        \"id\": \"5f7effafcf407c4a752c7254\",\n                        \"name\": \"\",\n                        \"price\": 2.99,\n                        \"quantity\": -1,\n                        \"remain\": -1,\n                        \"sold\": 23\n                    }\n                ],\n                \"keywords\": \"\",\n                \"name\": \"Evian Water\",\n                \"notes\": \"\",\n                \"original_base_price\": 2.99,\n                \"sell_end_date\": null,\n                \"sell_start_date\": null,\n                \"short_description\": \"<p>A bottle of Evian</p>\",\n                \"slug\": \"evian-water-7253\",\n                \"status\": \"active\",\n                \"tags\": [],\n                \"total_remain\": -1,\n                \"total_sold\": 23,\n                \"validity\": null,\n                \"vendor\": {\n                    \"business_type\": [\n                        {\n                            \"id\": \"5f7ecc186ba8e8e4dcc0e693\",\n                            \"in_use\": true,\n                            \"name\": \"Restaurant\"\n                        }\n                    ],\n                    \"default\": true,\n                    \"description\": \"<p>A palace of cheese</p>\",\n                    \"hotel_id\": \"5e3bbd1626ef9b0b5ce8e2e7\",\n                    \"id\": \"5ef0344319c87697c21a8bdd\",\n                    \"location\": \"101 wallaby way\",\n                    \"name\": \"Cheese Palace\",\n                    \"slug\": \"cheese-palace-8bdd\"\n                }\n            },\n            {\n                \"base_price\": 6.99,\n                \"booking_policy\": {\n                    \"description\": \"<p>Booking policy 1</p>\",\n                    \"id\": \"5e3bd0c3bff405be75872577\",\n                    \"name\": \"Free cancellation\"\n                },\n                \"category\": {\n                    \"description\": \"\",\n                    \"id\": \"5f7ab08fc44884178b22b595\",\n                    \"image_gallery\": [],\n                    \"in_use\": true,\n                    \"name\": \"Sport\",\n                    \"slug\": null\n                },\n                \"creator_id\": \"5e1d4be00f702781ed8f6b28\",\n                \"description\": \"<p>A fitness pass</p>\",\n                \"discount_base_price\": 6.99,\n                \"enabled\": true,\n                \"fees\": [],\n                \"gallery\": [\n                    {\n                        \"created_at\": \"2020-10-05T05:35:51.814000\",\n                        \"file_type\": \"img\",\n                        \"id\": \"5f7ab0b7c44884178b22b597\",\n                        \"name\": \"Cece on bike.jpeg\",\n                        \"size\": 102806,\n                        \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/guests/VR1ICPRN-Cece_on_bike.jpeg\",\n                        \"user_type\": 1\n                    }\n                ],\n                \"has_multi_prices\": true,\n                \"hotel_id\": \"5e3bbd1626ef9b0b5ce8e2e7\",\n                \"id\": \"5f7ab0f2c44884178b22b599\",\n                \"instructions\": {\n                    \"description\": \"<p>Redemption instructions description</p>\\n\",\n                    \"id\": null,\n                    \"name\": \"Redemption Instructions\"\n                },\n                \"inventories\": [\n                    {\n                        \"code\": \"90406\",\n                        \"discount_price\": 6.99,\n                        \"id\": \"5f7ab0f2c44884178b22b59a\",\n                        \"name\": \"7 days\",\n                        \"price\": 12.99,\n                        \"quantity\": -1,\n                        \"remain\": -1,\n                        \"sold\": 6\n                    },\n                    {\n                        \"code\": \"43409\",\n                        \"discount_price\": 14.99,\n                        \"id\": \"5f7ab0f2c44884178b22b59b\",\n                        \"name\": \"30 days\",\n                        \"price\": 19.99,\n                        \"quantity\": -1,\n                        \"remain\": -1,\n                        \"sold\": 1\n                    }\n                ],\n                \"keywords\": \"\",\n                \"name\": \"California Fitness Pass\",\n                \"notes\": \"\",\n                \"original_base_price\": 12.99,\n                \"sell_end_date\": null,\n                \"sell_start_date\": null,\n                \"short_description\": \"<p><strong>Hello. <em>Itallis & bold</em></strong></p>\",\n                \"slug\": \"california-fitness-pass-b599\",\n                \"status\": \"active\",\n                \"tags\": [\n                    {\n                        \"id\": \"5ef0344319c87697c21a8be1\",\n                        \"in_use\": true,\n                        \"name\": \"Recommended\"\n                    }\n                ],\n                \"total_remain\": -1,\n                \"total_sold\": 7,\n                \"validity\": null,\n                \"vendor\": {\n                    \"business_type\": [\n                        {\n                            \"id\": \"5f7ecc186ba8e8e4dcc0e693\",\n                            \"in_use\": true,\n                            \"name\": \"Restaurant\"\n                        }\n                    ],\n                    \"default\": true,\n                    \"description\": \"<p>A palace of cheese</p>\",\n                    \"hotel_id\": \"5e3bbd1626ef9b0b5ce8e2e7\",\n                    \"id\": \"5ef0344319c87697c21a8bdd\",\n                    \"location\": \"101 wallaby way\",\n                    \"name\": \"Cheese Palace\",\n                    \"slug\": \"cheese-palace-8bdd\"\n                }\n            },\n            {\n                \"base_price\": 59.99,\n                \"booking_policy\": {\n                    \"description\": \"This voucher cannot be refunded.\",\n                    \"id\": null,\n                    \"name\": \"Non-refundable\"\n                },\n                \"category\": {\n                    \"description\": \"\",\n                    \"id\": \"5ef0344319c87697c21a8bdf\",\n                    \"image_gallery\": [],\n                    \"in_use\": true,\n                    \"name\": \"Spa\",\n                    \"slug\": null\n                },\n                \"creator_id\": \"5e1d4be00f702781ed8f6b28\",\n                \"description\": \"Enjoy a relaxing full body massage...\",\n                \"discount_base_price\": 59.99,\n                \"enabled\": true,\n                \"fees\": [],\n                \"gallery\": [\n                    {\n                        \"created_at\": \"2020-02-06T07:53:30.550000\",\n                        \"file_type\": \"img\",\n                        \"id\": \"5e3bc5fa8860c0a0f16ad89a\",\n                        \"name\": \"1640571653798780459_wh_3.jpg\",\n                        \"size\": 68620,\n                        \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/guests/D3CTJC2K-1640571653798780459_wh_3.jpg\",\n                        \"user_type\": 1\n                    }\n                ],\n                \"has_multi_prices\": false,\n                \"hotel_id\": \"5e3bbd1626ef9b0b5ce8e2e7\",\n                \"id\": \"5ef0344319c87697c21a8be5\",\n                \"instructions\": {\n                    \"description\": \"<p>cvb</p>\\n\",\n                    \"id\": null,\n                    \"name\": \"fghj\"\n                },\n                \"inventories\": [\n                    {\n                        \"code\": \"12063\",\n                        \"discount_price\": 59.99,\n                        \"id\": \"5ef0344319c87697c21a8be8\",\n                        \"name\": \"\",\n                        \"price\": 79.99,\n                        \"quantity\": -1,\n                        \"remain\": -1,\n                        \"sold\": 1\n                    }\n                ],\n                \"keywords\": \"\",\n                \"name\": \"1 Hour Massage\",\n                \"notes\": \"Weekends only\",\n                \"original_base_price\": 79.99,\n                \"sell_end_date\": \"2021-04-01T01:00:00\",\n                \"sell_start_date\": \"2020-06-22T01:00:00\",\n                \"short_description\": \"A 1 hour massage at any Hometown Spa\",\n                \"slug\": \"1-hour-massage-8be5\",\n                \"status\": \"active\",\n                \"tags\": [\n                    {\n                        \"id\": \"5ef0344319c87697c21a8be1\",\n                        \"in_use\": true,\n                        \"name\": \"Recommended\"\n                    },\n                    {\n                        \"id\": \"5ef0344319c87697c21a8be2\",\n                        \"in_use\": true,\n                        \"name\": \"Special Offer\"\n                    }\n                ],\n                \"total_remain\": -1,\n                \"total_sold\": 1,\n                \"validity\": {\n                    \"count\": 1,\n                    \"period\": \"years\",\n                    \"valid_from\": null,\n                    \"valid_to\": null\n                },\n                \"vendor\": {\n                    \"business_type\": [],\n                    \"default\": false,\n                    \"description\": null,\n                    \"hotel_id\": \"5e3bbd1626ef9b0b5ce8e2e7\",\n                    \"id\": \"5ef0344319c87697c21a8bdc\",\n                    \"location\": null,\n                    \"name\": \"Hometown Spa\",\n                    \"slug\": null\n                }\n            },\n            {\n                \"base_price\": 1.19,\n                \"booking_policy\": {\n                    \"description\": \"<p>Booking policy 1</p>\",\n                    \"id\": \"5e3bd0c3bff405be75872577\",\n                    \"name\": \"Free cancellation\"\n                },\n                \"category\": {\n                    \"description\": \"\",\n                    \"id\": \"5ef0344319c87697c21a8bde\",\n                    \"image_gallery\": [],\n                    \"in_use\": true,\n                    \"name\": \"Food & Beverage\",\n                    \"slug\": null\n                },\n                \"creator_id\": \"5e1d4be00f702781ed8f6b28\",\n                \"description\": \"<p>A bottle of&nbsp;Volvic water</p>\",\n                \"discount_base_price\": 1.19,\n                \"enabled\": true,\n                \"fees\": [],\n                \"gallery\": [\n                    {\n                        \"created_at\": \"2020-10-09T11:57:57.494000\",\n                        \"file_type\": \"img\",\n                        \"id\": \"5f80504591b8b20de332b191\",\n                        \"name\": \"20200519_194859_HDR.jpg\",\n                        \"size\": 490927,\n                        \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/guests/c4f8ac56f3bb464c95ab71cfc60a6554.jpg\",\n                        \"user_type\": 1\n                    }\n                ],\n                \"has_multi_prices\": false,\n                \"hotel_id\": \"5e3bbd1626ef9b0b5ce8e2e7\",\n                \"id\": \"5f80505e91b8b20de332b193\",\n                \"instructions\": {\n                    \"description\": \"<p>Instructions x</p>\\n\",\n                    \"id\": null,\n                    \"name\": \"Instructions x\"\n                },\n                \"inventories\": [\n                    {\n                        \"code\": \"59281\",\n                        \"discount_price\": 1.19,\n                        \"id\": \"5f80505f91b8b20de332b194\",\n                        \"name\": \"\",\n                        \"price\": 2.79,\n                        \"quantity\": -1,\n                        \"remain\": -1,\n                        \"sold\": 0\n                    }\n                ],\n                \"keywords\": \"\",\n                \"name\": \"Volvic Water\",\n                \"notes\": \"\",\n                \"original_base_price\": 2.79,\n                \"sell_end_date\": null,\n                \"sell_start_date\": null,\n                \"short_description\": \"<p>Volvic water</p>\",\n                \"slug\": \"volvic-water-b193\",\n                \"status\": \"active\",\n                \"tags\": [],\n                \"total_remain\": -1,\n                \"total_sold\": 0,\n                \"validity\": null,\n                \"vendor\": {\n                    \"business_type\": [\n                        {\n                            \"id\": \"5f7ecc186ba8e8e4dcc0e693\",\n                            \"in_use\": true,\n                            \"name\": \"Restaurant\"\n                        }\n                    ],\n                    \"default\": true,\n                    \"description\": \"<p>A palace of cheese</p>\",\n                    \"hotel_id\": \"5e3bbd1626ef9b0b5ce8e2e7\",\n                    \"id\": \"5ef0344319c87697c21a8bdd\",\n                    \"location\": \"101 wallaby way\",\n                    \"name\": \"Cheese Palace\",\n                    \"slug\": \"cheese-palace-8bdd\"\n                }\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"562ae292-a86f-43ad-bf17-42604381ae71"},{"name":"Get Featured List","id":"95e90d78-9448-4e36-a239-11da406123d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api-hotel/v1/hotels/:id/packages/featured?sort=popularity&order=desc&status=inactive","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api-hotel","v1","hotels",":id","packages","featured"],"host":["{{endpoint}}"],"query":[{"key":"sort","value":"popularity"},{"key":"order","value":"desc"},{"key":"status","value":"inactive"}],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"3ee62ae2-0ac3-4011-a937-88e475515dbd","name":"Get Featured List NO Param","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api-hotel/v1/hotels/:id/packages/featured","host":["{{endpoint}}"],"path":["api-hotel","v1","hotels",":id","packages","featured"],"variable":[{"key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1028"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImYyZDYyZjFkODQ1MmVmNjU4OGRhZmQ0ZGRiNGQ3Mzc4MDk4N2RmOWEi.YScz2A.FGArI8r-OXyAG1vDCzy8ikaRD5M"},{"key":"Set-Cookie","value":"session=276a1051-26b3-4b44-ac22-2a9b86e490ef.K0xRmv-s93MjLAUylv6COg9pgjY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Thu, 26 Aug 2021 06:25:28 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 1,\n        \"filter\": {\n            \"order\": \"desc\",\n            \"sort\": \"created_at\"\n        },\n        \"results\": [\n            {\n                \"base_price\": 50,\n                \"category_name\": \"FOODY\",\n                \"discount_base_price\": 0,\n                \"gallery_url\": \"https://d30qdklwrf4p1t.cloudfront.net/guests/SG3MC28E-Healingsalve.jpg\",\n                \"has_multi_prices\": false,\n                \"id\": \"61271ce0821ac520fe64bc42\",\n                \"is_featured\": true,\n                \"name\": \"Healing Salve\",\n                \"original_base_price\": 50,\n                \"sell_end_date\": null,\n                \"sell_start_date\": null,\n                \"status\": \"active\",\n                \"total_item\": -1,\n                \"total_sold\": 0,\n                \"type\": \"voucher\",\n                \"vendor_id\": \"5f3226f376602ffdddecf427\",\n                \"vendor_name\": \"Fairmont Singapore\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"},{"id":"db99703a-0412-4745-a0fc-edf5d39a0b6d","name":"Get Featured List With Params","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api-hotel/v1/hotels/:id/packages/featured?sort=popularity&order=desc","host":["{{endpoint}}"],"path":["api-hotel","v1","hotels",":id","packages","featured"],"query":[{"key":"sort","value":"popularity"},{"key":"order","value":"desc"}],"variable":[{"key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1032"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImYyZDYyZjFkODQ1MmVmNjU4OGRhZmQ0ZGRiNGQ3Mzc4MDk4N2RmOWEi.YScz-g.djHSFpazOBlHdwDF5ED6_sFReBg"},{"key":"Set-Cookie","value":"session=276a1051-26b3-4b44-ac22-2a9b86e490ef.K0xRmv-s93MjLAUylv6COg9pgjY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Thu, 26 Aug 2021 06:26:02 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 1,\n        \"filter\": {\n            \"order\": \"desc\",\n            \"sort\": \"total_sold_num\"\n        },\n        \"results\": [\n            {\n                \"base_price\": 50,\n                \"category_name\": \"FOODY\",\n                \"discount_base_price\": 0,\n                \"gallery_url\": \"https://d30qdklwrf4p1t.cloudfront.net/guests/SG3MC28E-Healingsalve.jpg\",\n                \"has_multi_prices\": false,\n                \"id\": \"61271ce0821ac520fe64bc42\",\n                \"is_featured\": true,\n                \"name\": \"Healing Salve\",\n                \"original_base_price\": 50,\n                \"sell_end_date\": null,\n                \"sell_start_date\": null,\n                \"status\": \"active\",\n                \"total_item\": -1,\n                \"total_sold\": 0,\n                \"type\": \"voucher\",\n                \"vendor_id\": \"5f3226f376602ffdddecf427\",\n                \"vendor_name\": \"Fairmont Singapore\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"},{"id":"aebc5316-2aed-4413-a4b8-8fee2c98c5e8","name":"Get inactive products","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api-hotel/v1/hotels/:id/packages/featured?status=inactive","host":["{{endpoint}}"],"path":["api-hotel","v1","hotels",":id","packages","featured"],"query":[{"key":"status","value":"inactive"}],"variable":[{"key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1054"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjY3ZmYxZjc0ODY5ZWQ1OGYzOWMxNDk5ZGMxNGVmODdlZWVmMzRjNGUi.YUMV1A.eH7Kw2EkuoIAp0F0ZwjfiXGLkIY"},{"key":"Set-Cookie","value":"session=fe166389-7975-4b5b-bdc6-afdccb9ce137.ljDpeu-tLv-fi0pcyBiA4IdfkvE; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Thu, 16 Sep 2021 10:00:52 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 1,\n        \"filter\": {\n            \"order\": \"asc\",\n            \"sort\": \"featured_ordering\"\n        },\n        \"results\": [\n            {\n                \"base_price\": 3,\n                \"category_name\": \"FOODY\",\n                \"discount_base_price\": 0,\n                \"enabled\": true,\n                \"gallery_url\": \"https://d30qdklwrf4p1t.cloudfront.net/guests/AX488PP6-guava.jpeg\",\n                \"has_multi_prices\": false,\n                \"id\": \"611a4908d55696046e35b37f\",\n                \"is_featured\": true,\n                \"name\": \"Guava\",\n                \"original_base_price\": 3,\n                \"sell_end_date\": null,\n                \"sell_start_date\": null,\n                \"status\": \"inactive\",\n                \"total_item\": -1,\n                \"total_sold\": 2,\n                \"type\": \"voucher\",\n                \"vendor_id\": \"5f3226f376602ffdddecf427\",\n                \"vendor_name\": \"Fairmont Singapore\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"95e90d78-9448-4e36-a239-11da406123d5"},{"name":"Set Featured List","id":"2ae8ab5a-5950-44ae-b9f4-6c5eeb6025c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"sort\": \"base_price\",\n    \"order\": \"asc\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api-hotel/v1/hotels/:id/packages/featured","urlObject":{"path":["api-hotel","v1","hotels",":id","packages","featured"],"host":["{{endpoint}}"],"query":[{"disabled":true,"key":"","value":null}],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"3bd7cce3-e502-47e9-be49-aca8ae9eed7d","name":"Manually","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"sort\": \"featured_ordering\",\n    \"order\": \"asc\",\n    \"package_ids\": [\"61271ce0821ac520fe64bc42\", \"61271e7f821ac520fe64bc91\", \"61271c5d821ac520fe64bc28\"]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api-hotel/v1/hotels/:id/packages/featured","host":["{{endpoint}}"],"path":["api-hotel","v1","hotels",":id","packages","featured"],"query":[{"key":"","value":null,"disabled":true}],"variable":[{"key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"64"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImYyZDYyZjFkODQ1MmVmNjU4OGRhZmQ0ZGRiNGQ3Mzc4MDk4N2RmOWEi.YSdDSA.tH8Fbtj899YSA2Ftxf_nw1vacGA"},{"key":"Set-Cookie","value":"session=276a1051-26b3-4b44-ac22-2a9b86e490ef.K0xRmv-s93MjLAUylv6COg9pgjY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Thu, 26 Aug 2021 07:31:20 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {},\n    \"status\": \"success\"\n}"},{"id":"fde8f0a3-1ac9-4e84-8071-1bf8d61e5db6","name":"Manually 2","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"sort\": \"featured_ordering\",\n    \"order\": \"asc\",\n    \"package_ids\": [\"61271ce0821ac520fe64bc42\", \"61271e7f821ac520fe64bc91\", \"61271c5d821ac520fe64bc28\", \"61271b6b821ac520fe64bc0f\", \"60605f726fdabe33b2ac2773\", \"611a4908d55696046e35b37f\"]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api-hotel/v1/hotels/:id/packages/featured","host":["{{endpoint}}"],"path":["api-hotel","v1","hotels",":id","packages","featured"],"query":[{"key":"","value":null,"disabled":true}],"variable":[{"key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"64"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImYyZDYyZjFkODQ1MmVmNjU4OGRhZmQ0ZGRiNGQ3Mzc4MDk4N2RmOWEi.YSeakw.Ch8WY12GlVNSYvJyv5o2hrDrnOo"},{"key":"Set-Cookie","value":"session=276a1051-26b3-4b44-ac22-2a9b86e490ef.K0xRmv-s93MjLAUylv6COg9pgjY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Thu, 26 Aug 2021 13:43:47 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {},\n    \"status\": \"success\"\n}"},{"id":"da8520d7-667d-414f-a5bd-0e35cf9e27a0","name":"By Date Newest to Oldest","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"sort\": \"created_at\",\n    \"order\": \"desc\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api-hotel/v1/hotels/:id/packages/featured","host":["{{endpoint}}"],"path":["api-hotel","v1","hotels",":id","packages","featured"],"query":[{"key":"","value":null,"disabled":true}],"variable":[{"key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"64"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImYyZDYyZjFkODQ1MmVmNjU4OGRhZmQ0ZGRiNGQ3Mzc4MDk4N2RmOWEi.YSdELA.WpjW34rwJmmGUqLJl71kdWpmXpk"},{"key":"Set-Cookie","value":"session=276a1051-26b3-4b44-ac22-2a9b86e490ef.K0xRmv-s93MjLAUylv6COg9pgjY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Thu, 26 Aug 2021 07:35:08 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {},\n    \"status\": \"success\"\n}"},{"id":"58285b11-0444-4288-abed-98c7384fa502","name":"Best Selling","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"sort\": \"total_sold_num\",\n    \"order\": \"desc\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api-hotel/v1/hotels/:id/packages/featured","host":["{{endpoint}}"],"path":["api-hotel","v1","hotels",":id","packages","featured"],"query":[{"key":"","value":null,"disabled":true}],"variable":[{"key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"64"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImYyZDYyZjFkODQ1MmVmNjU4OGRhZmQ0ZGRiNGQ3Mzc4MDk4N2RmOWEi.YSdHBA.Xx9jei1G_WfmdEPdyPG-TWikYxw"},{"key":"Set-Cookie","value":"session=276a1051-26b3-4b44-ac22-2a9b86e490ef.K0xRmv-s93MjLAUylv6COg9pgjY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Thu, 26 Aug 2021 07:47:16 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {},\n    \"status\": \"success\"\n}"},{"id":"ef7f8226-1bfe-481e-85a7-6891150c8f6d","name":"Price Low to High","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"sort\": \"base_price\",\n    \"order\": \"asc\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api-hotel/v1/hotels/:id/packages/featured","host":["{{endpoint}}"],"path":["api-hotel","v1","hotels",":id","packages","featured"],"query":[{"key":"","value":null,"disabled":true}],"variable":[{"key":"id","value":"{{hotel_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"64"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImYyZDYyZjFkODQ1MmVmNjU4OGRhZmQ0ZGRiNGQ3Mzc4MDk4N2RmOWEi.YSdHng.GV-3gY5eTZHu5NCOe7aPdt4xW8o"},{"key":"Set-Cookie","value":"session=276a1051-26b3-4b44-ac22-2a9b86e490ef.K0xRmv-s93MjLAUylv6COg9pgjY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Thu, 26 Aug 2021 07:49:50 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {},\n    \"status\": \"success\"\n}"}],"_postman_id":"2ae8ab5a-5950-44ae-b9f4-6c5eeb6025c9"},{"name":"Mark as featured","id":"6aef7f13-5315-40a7-96db-771cc88d1bee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{}"},"url":"{{endpoint}}/api-hotel/v1/packages/:id/mark-featured","urlObject":{"path":["api-hotel","v1","packages",":id","mark-featured"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"60605f726fdabe33b2ac2773","key":"id"}]}},"response":[{"id":"520ee78d-c1b4-4b54-adf4-686f233457aa","name":"Mark as featured","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{endpoint}}/api-hotel/v1/packages/:id/mark-featured","host":["{{endpoint}}"],"path":["api-hotel","v1","packages",":id","mark-featured"],"variable":[{"key":"id","value":"611a4908d55696046e35b37f","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImYyZDYyZjFkODQ1MmVmNjU4OGRhZmQ0ZGRiNGQ3Mzc4MDk4N2RmOWEi.YSdchQ.pRoL2Irk32BxE966thpU0F0GWGQ"},{"key":"Set-Cookie","value":"session=276a1051-26b3-4b44-ac22-2a9b86e490ef.K0xRmv-s93MjLAUylv6COg9pgjY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Thu, 26 Aug 2021 09:19:01 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"611a4908d55696046e35b37f\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"6aef7f13-5315-40a7-96db-771cc88d1bee"},{"name":"Unmark featured","id":"df9b9dbc-c705-43a2-b9d0-35a89b8f162e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{}"},"url":"{{endpoint}}/api-hotel/v1/packages/:id/unmark-featured","urlObject":{"path":["api-hotel","v1","packages",":id","unmark-featured"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"60605f726fdabe33b2ac2773","key":"id"}]}},"response":[{"id":"47d2810c-e50f-47d6-bb1c-bd5c657b2a78","name":"Unmark featured","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{}"},"url":{"raw":"{{endpoint}}/api-hotel/v1/packages/:id/unmark-featured","host":["{{endpoint}}"],"path":["api-hotel","v1","packages",":id","unmark-featured"],"variable":[{"key":"id","value":"60605f726fdabe33b2ac2773","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImYyZDYyZjFkODQ1MmVmNjU4OGRhZmQ0ZGRiNGQ3Mzc4MDk4N2RmOWEi.YSddxA.9FF9T1dHjuo27zbzbMFKv8XB0Ds"},{"key":"Set-Cookie","value":"session=276a1051-26b3-4b44-ac22-2a9b86e490ef.K0xRmv-s93MjLAUylv6COg9pgjY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Thu, 26 Aug 2021 09:24:20 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"60605f726fdabe33b2ac2773\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"df9b9dbc-c705-43a2-b9d0-35a89b8f162e"}],"id":"185cb7f0-4bd5-47a5-9927-4bf868e8542f","_postman_id":"185cb7f0-4bd5-47a5-9927-4bf868e8542f","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Rooming List","item":[{"name":"Step 2: Get Data","id":"3cae2d10-9776-408b-a8a7-7a0a85565f00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/blocks/:id/rooming-list?start_cell={{start_cell}}&end_cell={{end_cell}}&media_id={{media_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","rooming-list"],"host":["{{endpoint}}"],"query":[{"key":"start_cell","value":"{{start_cell}}"},{"key":"end_cell","value":"{{end_cell}}"},{"key":"media_id","value":"{{media_id}}"}],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"a7c8c527-2899-4d15-87a7-cb24260289fc","name":"Get Data","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/blocks/:id/rooming-list?media_id={{media_id}}","host":["{{endpoint}}"],"path":["api","v1","blocks",":id","rooming-list"],"query":[{"key":"media_id","value":"{{media_id}}"}],"variable":[{"key":"id","value":"5d88891adc9d0d790b69306c"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"64"},{"key":"X-Idem-CSRF-Token","value":"ImM4M2EzYTJmN2ExZDU1NGZhMjNiZmU5OGUzNjBkNTEwZWFkMGRhYzUi.XZME8A.BnvYOJhWZVjLMn8ZZqCH2TG68Lg"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9jsFugjAAQH9l6dksUMUNEi8E0SzUzFkm7YXUtlqkuIYWDRj_fWSHZaed38vLu4Py2EqrQHRk2soJ4LY9lu6rlhcQ3cHTAUSADKeB4I1CDZkSnNYbnHu0WfYIvjUU1zOKEUSrrY9wrMl-e6Or9LzZLhbgMQGnhhlbni0zVdm1-rfJ1h8eX6N51oeOFPGQNeJ6gMLSfXpjBeoIDF0GfTU615GbDJrhHTotsR_vCqPyqY7Fp8a8SB1OVMWXIdpBs0aQ9vuEJuOXh5I44I3Kua5_XiohL65y_TPrnCpdbySILp3Wf0glxreA-94LFH7gzQImpoLP4Sv05yGYgM7KtvxfenwDmG5tCg.XZME8A.qm2kbJmuYj5O_cSyvIsotfbL66c; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.15.5 Python/2.7.10"},{"key":"Date","value":"Tue, 01 Oct 2019 07:49:04 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n    \t\"results\": [\n    \t\t{\n\t\t\t\t\"salutation\": \"string\",\n\t\t\t\t\"first_name\": \"string\",\n\t\t\t\t\"last_name\": \"string\",\n\t\t\t\t\"check_in\": \"string(datetime)\",\n\t\t\t\t\"check_out\": \"string(datetime)\",\n\t\t\t\t\"adults\": \"integer\",\n\t\t\t\t\"children\": \"integer\",\n\t\t\t\t\"room_type\": \"string\"\n\t\t\t},\n    \t\t{\n\t\t\t\t\"salutation\": \"string\",\n\t\t\t\t\"first_name\": \"string\",\n\t\t\t\t\"last_name\": \"string\",\n\t\t\t\t\"check_in\": \"string(datetime)\",\n\t\t\t\t\"check_out\": \"string(datetime)\",\n\t\t\t\t\"adults\": \"integer\",\n\t\t\t\t\"children\": \"integer\",\n\t\t\t\t\"room_type\": \"string\"\n\t\t\t}\n    \t],\n    \t\"fields\": {\n    \t\t\"first_name\": {\n    \t\t\t\"display\": \"string(in database)\",\n    \t\t\t\"required\": \"boolean\",\n    \t\t\t\"column_name\": \"string(in spreadsheet)\"\n    \t\t},\n    \t\t\"last_name\": {\n    \t\t\t\"display\": \"string(in database)\",\n    \t\t\t\"required\": \"boolean\",\n    \t\t\t\"column_name\": \"string(in spreadsheet)\"\n    \t\t}\n    \t},\n    \t\"filter\": {\n    \t\t\"start_cell\": \"A1\",\n    \t\t\"end_cell\": \"A2\"\n    \t}\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"3cae2d10-9776-408b-a8a7-7a0a85565f00"},{"name":"Step 3: Preview Data","id":"7178394a-99c9-4954-9f3b-891bafbabbdd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"template\": {\n        \"id\": \"string(objectid, default=unset)\",\n        \"legal_type\": \"string\",\n        \"date_format\": \"string\",\n        \"start_cell\": \"string\",\n        \"end_cell\": \"string\",\n        \"fields\": {\n            \"first_name\": {\n                \"display\": \"string(in database)\",\n                \"required\": \"boolean\",\n                \"column_name\": \"string(in spreadsheet)\"\n            },\n            \"last_name\": {\n                \"display\": \"string(in database)\",\n                \"required\": \"boolean\",\n                \"column_name\": \"string(in spreadsheet)\"\n            }\n        }\n    }\n}"},"url":"{{endpoint}}/v1/blocks/:id/rooming-list/preview?media_id={{media_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["v1","blocks",":id","rooming-list","preview"],"host":["{{endpoint}}"],"query":[{"key":"media_id","value":"{{media_id}}"}],"variable":[{"type":"string","value":"{{block_id}}","key":"id"}]}},"response":[{"id":"0b5ad0b4-9d78-4d70-9c9f-6bc62c8c5123","name":"Step 3: Preview Data","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"template\": {\n        \"start_cell\": \"A20\",\n        \"end_cell\": \"AE23\",\n        \"fields\": {\n        \t\"salutation\": {\n        \t\t\"display\": \"Salutation\",\n        \t\t\"column_name\": \"Sltn.\"\n        \t},\n            \"first_name\": {\n            \t\"display\": \"First Name\",\n                \"column_name\": \"First Name\"\n            },\n            \"last_name\": {\n            \t\"display\": \"Last Name\",\n                \"column_name\": \"Last Name\"\n            },\n            \"email\": {\n            \t\"display\": \"Email\",\n            \t\"column_name\": \"Email Address\"\n            },\n            \"pms_confirmation_number\": {\n            \t\"display\": \"Confirmation No.\",\n                \"column_name\": \"Confirmation No.\"\n            },\n            \"check_in\": {\n            \t\"display\": \"Check-in date\",\n            \t\"column_name\": \"Check-in date\"\n            },\n            \"check_out\": {\n            \t\"display\": \"Check-out date\",\n            \t\"column_name\": \"Check-out date\"\n            },\n            \"adults\": {\n            \t\"display\": \"Adults\",\n            \t\"column_name\": \"Adl.\"\n            },\n            \"children\": {\n            \t\"display\": \"Children\",\n            \t\"column_name\": \"Chl.\"\n            },\n            \"company\": {\n            \t\"display\": \"Company\",\n            \t\"column_name\": \"Organisation\"\n            },\n            \"job_title\": {\n            \t\"display\": \"Position / Title\",\n            \t\"column_name\": \"Position / Title\"\n            },\n            \"country\": {\n            \t\"display\": \"Country\",\n            \t\"column_name\": \"Country\"\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/blocks/:id/rooming-list/preview?media_id={{media_id}}","host":["{{endpoint}}"],"path":["api","v1","blocks",":id","rooming-list","preview"],"query":[{"key":"media_id","value":"{{media_id}}"}],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"import_data_totals\": [\n        \t{\n        \t\t\"code\": \"all\"\n        \t\t\"count\": 1\n        \t},\n        \t{\n        \t\t\"code\": \"new\"\n        \t\t\"count\": 0\n        \t},\n        \t{\n        \t\t\"code\": \"edit\"\n        \t\t\"count\": 3\n        \t},\n        \t{\n        \t\t\"code\": \"cancel\"\n        \t\t\"count\": 2\n        \t},\n        \t{\n        \t\t\"code\": \"skip\"\n        \t\t\"count\": 1\n        \t},\n        \t{\n        \t\t\"code\": \"no_change\"\n        \t\t\"count\": 4\n        \t},\n        \t{\n        \t\t\"code\": \"error\"\n        \t\t\"count\": 0\n        \t}\n    \t],\n        \"media_id\": \"5d944d6926f64c4948df9b2f\",\n        \"total_rows\": 3,\n        \"totals\": {\n            \"cancel\": 1,\n            \"delete\": 0,\n            \"error\": 0,\n            \"invalid\": 0,\n            \"new\": 0,\n            \"skip\": 0,\n            \"update\": 2\n        }\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"7178394a-99c9-4954-9f3b-891bafbabbdd"},{"name":"(Test) Step 3: Preview Data","id":"5d01982e-3400-46b8-b26d-86972e3e1376","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"template\": {\n        \"name\": \"Template 1\",\n        \"legal_type\": \"consent\",\n        \"start_cell\": \"A20\",\n        \"end_cell\": \"AF21\",\n        \"fields\": {\n            \"salutation\": {\n                \"display\": \"Sltn.\",\n                \"column_name\": \"Sltn.\"\n            },\n            \"first_name\": {\n                \"display\": \"First Name\",\n                \"column_name\": \"First Name\"\n            },\n            \"last_name\": {\n                \"display\": \"Last Name\",\n                \"column_name\": \"Last Name\"\n            },\n            \"check_in\": {\n                \"display\": \"Check-in date\",\n                \"column_name\": \"Check-in date\"\n            },\n            \"check_out\": {\n                \"display\": \"Check-out date\",\n                \"column_name\": \"Check-out date\"\n            },\n            \"room_type\": {\n                \"display\": \"Room Type\",\n                \"column_name\": \"Room Type\"\n            },\n            \"rate_plan\": {\n                \"display\": \"Rate Plan\",\n                \"column_name\": \"Rate Plan\"\n            },\n            \"job_title\": {\n                \"display\": \"Position / Title\",\n                \"column_name\": \"Position / Title\"\n            },\n            \"country\": {\n                \"display\": \"Country\",\n                \"column_name\": \"Country\"\n            },\n            \"pms_confirmation_number\": {\n                \"display\": \"Confirmation No.\",\n                \"column_name\": \"Confirmation No.\"\n            }\n        },\n        \"date_format\": \"DD/MM/YYYY\"\n    }\n}"},"url":"{{endpoint}}/api/v1/blocks/:id/rooming-list/preview?media_id={{media_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","rooming-list","preview"],"host":["{{endpoint}}"],"query":[{"key":"media_id","value":"{{media_id}}"}],"variable":[{"type":"string","value":"{{block_id}}","key":"id"}]}},"response":[],"_postman_id":"5d01982e-3400-46b8-b26d-86972e3e1376"},{"name":"Step 4: Preview Data","id":"b6faec12-cb89-4ba0-9936-c030bd0f5140","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"{{endpoint}}/api/v1/blocks/:id/rooming-list/preview?media_id={{media_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","blocks",":id","rooming-list","preview"],"host":["{{endpoint}}"],"query":[{"key":"media_id","value":"{{media_id}}"},{"disabled":true,"key":"limit","value":"{{limit}}"},{"disabled":true,"key":"sort","value":"{{sort}}"},{"disabled":true,"key":"order","value":"{{order}}"}],"variable":[{"type":"string","value":"{{block_id}}","key":"id"}]}},"response":[{"id":"3defa5a5-7155-407a-acce-5019551c6eb7","name":"Step 4: Get Preview Data","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"template\": {\n        \"start_cell\": \"A20\",\n        \"end_cell\": \"AE23\",\n        \"fields\": {\n        \t\"salutation\": {\n        \t\t\"display\": \"Salutation\",\n        \t\t\"column_name\": \"Sltn.\"\n        \t},\n            \"first_name\": {\n            \t\"display\": \"First Name\",\n                \"column_name\": \"First Name\"\n            },\n            \"last_name\": {\n            \t\"display\": \"Last Name\",\n                \"column_name\": \"Last Name\"\n            },\n            \"email\": {\n            \t\"display\": \"Email\",\n            \t\"column_name\": \"Email Address\"\n            },\n            \"pms_confirmation_number\": {\n            \t\"display\": \"Confirmation No.\",\n                \"column_name\": \"Confirmation No.\"\n            },\n            \"check_in\": {\n            \t\"display\": \"Check-in date\",\n            \t\"column_name\": \"Check-in date\"\n            },\n            \"check_out\": {\n            \t\"display\": \"Check-out date\",\n            \t\"column_name\": \"Check-out date\"\n            },\n            \"room_type\": {\n            \t\"display\": \"Room Type\",\n            \t\"column_name\": \"Room Type\"\n            },\n            \"adults\": {\n            \t\"display\": \"Adults\",\n            \t\"column_name\": \"Adl.\"\n            },\n            \"children\": {\n            \t\"display\": \"Children\",\n            \t\"column_name\": \"Chl.\"\n            },\n            \"company\": {\n            \t\"display\": \"Company\",\n            \t\"column_name\": \"Organisation\"\n            },\n            \"job_title\": {\n            \t\"display\": \"Position / Title\",\n            \t\"column_name\": \"Position / Title\"\n            },\n            \"country\": {\n            \t\"display\": \"Country\",\n            \t\"column_name\": \"Country\"\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/v1/blocks/:id/rooming-list/preview?media_id=5d944d6926f64c4948df9b2f","host":["{{endpoint}}"],"path":["v1","blocks",":id","rooming-list","preview"],"query":[{"key":"media_id","value":"5d944d6926f64c4948df9b2f"},{"key":"limit","value":"{{limit}}","disabled":true},{"key":"sort","value":"{{sort}}","disabled":true},{"key":"order","value":"{{order}}","disabled":true}],"variable":[{"key":"id","value":"5d88891adc9d0d790b69306c"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2213"},{"key":"X-Idem-CSRF-Token","value":"IjZhYjBiMDUzNWY4YTQyYmFiZjNlZGIxNWY3MzE1ODljYjM3MjQxODAi.XZsXiQ.gjIf0Wp7ZeWGQOYt_45L_MXTBi0"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=.eJx9kM1qwzAQhF-l6BxK_Je2hhxSZJsYVsKgREgXk9oOsmylxbFxrZB3r9pLe-pxd4dvZ-aGyvPQXBWKx2FqVqhsaxTf0MMbihHRpAOWG2LzjvJ9QDNYJJMGtOrAvmrKVCezJKCsNjKDtcRHQ3QRAC4sMKkoyzXwtCW6ioQ5GmC7T2CFFTZZhK0CilOnz3uCIZRGRMATjzg25YdZYuEJXUTAwJJMKsgSNyeh4MUMHGbwDyHFsgfsfthki-4rVF2Hczm-d83lN4JJW8j2M2HgSa0UwXkreG7AP3YO53aVs-pQnLRgq4XgJITd9gfX1s1lbMfl8TSNqhyXjwbFl6nv_1y-y0JR5a2f_NqL1mF0qoO62vjPvrd5QSs0XZuh_F90_wIBDHuf.XZsXiQ.cOqveO-BhhG9iS732erjJko0ULs; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.15.5 Python/2.7.10"},{"key":"Date","value":"Mon, 07 Oct 2019 10:46:33 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 3,\n        \"errors\": [\n        \t{\"code\": \"invalid\", \"count\": 12},\n        \t{\"code\": \"room_not_available\", \"count\": 12},\n        \t{\"code\": \"room_not_exist\", \"count\": 12}\n        ],\n        \"filter\": {\n        \t\"error_type\": null,\n            \"limit\": 10,\n            \"order\": \"desc\",\n            \"page\": 1,\n            \"sort\": \"updated_at\"\n        },\n        \"import_data_totals\": [\n        \t{\n        \t\t\"code\": \"all\"\n        \t\t\"count\": 1\n        \t},\n        \t{\n        \t\t\"code\": \"new\"\n        \t\t\"count\": 0\n        \t},\n        \t{\n        \t\t\"code\": \"edit\"\n        \t\t\"count\": 3\n        \t},\n        \t{\n        \t\t\"code\": \"cancel\"\n        \t\t\"count\": 2\n        \t},\n        \t{\n        \t\t\"code\": \"skip\"\n        \t\t\"count\": 1\n        \t},\n        \t{\n        \t\t\"code\": \"no_change\"\n        \t\t\"count\": 4\n        \t},\n        \t{\n        \t\t\"code\": \"error\"\n        \t\t\"count\": 0\n        \t}\n    \t],\n        \"results\": [\n            {\n                \"_index\": 0,\n                \"_errors\": {\n                \t\"check_in\": {\n                \t\t\"code\": \"invalid\",\n                \t\t\"message\": \"Checkin-date is invalid\"\n                \t},\n                \t\"room_type\": {\n                \t\t\"code\": \"room_not_available\",\n                \t\t\"message\": \"Deluxe room has not available\"\n                \t}\n                },\n                \"_tags\": [\"rejected\"],\n                \"adults\": 1,\n                \"check_in\": \"12/12/2019\",\n                \"check_out\": \"13/12/2020\",\n                \"children\": 0,\n                \"company\": \"Engineer\",\n                \"country\": \"Vietnam (Việt Nam)\",\n                \"email\": \"henry@idemlabs.com\",\n                \"first_name\": \"Henry Edited\",\n                \"id\": \"5d888967dc9d0d790b6930af\",\n                \"import_type\": \"update\",\n                \"job_title\": \"\",\n                \"last_name\": \"Ngo\",\n                \"pms_confirmation_number\": \"59901\",\n                \"salutation\": \"Mr.\"\n            },\n            {\n                \"_index\": 1,\n                \"_errors\": {},\n                \"adults\": 2,\n                \"check_in\": \"10/12/2019\",\n                \"check_out\": \"16/12/2019\",\n                \"children\": 0,\n                \"company\": \"\",\n                \"country\": \"Vietnam (Việt Nam)\",\n                \"email\": \"henry@idemlabs.com\",\n                \"first_name\": \"Primary\",\n                \"id\": \"5d888eb8dc9d0d790b69311d\",\n                \"import_type\": \"update\",\n                \"job_title\": \"\",\n                \"last_name\": \"Guest\",\n                \"pms_confirmation_number\": \"59903\",\n                \"salutation\": \"Mr.\"\n            },\n            {\n                \"_index\": 2,\n                \"_errors\": {},\n                \"adults\": 2,\n                \"check_in\": \"12/12/2019\",\n                \"check_out\": \"13/12/2019\",\n                \"children\": 0,\n                \"company\": \"IDEM\",\n                \"country\": \"Vietnam (Việt Nam)\",\n                \"email\": \"henry@idemlabs.com\",\n                \"first_name\": \"Primary\",\n                \"id\": \"5d8891414a9a2edeb3cb7ae2\",\n                \"import_type\": \"cancel\",\n                \"job_title\": \"Engineer\",\n                \"last_name\": \"Guest\",\n                \"pms_confirmation_number\": \"59904\",\n                \"salutation\": \"Mr.\"\n            }\n        ]\n    },\n    \"total_rows\": 3,\n    \"status\": \"success\"\n}"}],"_postman_id":"b6faec12-cb89-4ba0-9936-c030bd0f5140"},{"name":"Step 4: Import Data","id":"506d84b3-78eb-46f7-8b86-44a997b7a843","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{endpoint}}/v1/blocks/:id/rooming-list?media_id={{media_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["v1","blocks",":id","rooming-list"],"host":["{{endpoint}}"],"query":[{"key":"media_id","value":"{{media_id}}"}],"variable":[{"type":"string","value":"{{block_id}}","key":"id"}]}},"response":[{"id":"9fa13087-b89e-446a-b342-b892506fe5cf","name":"Step 4: Import Data","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{endpoint}}/v1/blocks/:id/rooming-list?media_id={{media_id}}","host":["{{endpoint}}"],"path":["v1","blocks",":id","rooming-list"],"query":[{"key":"media_id","value":"{{media_id}}"}],"variable":[{"key":"id","value":"{{block_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"media_id\": \"5d9c5ee27205498d67a01e69\",\n        \"total_rows\": 12,\n        \"msg\": \"Results: Edited: 3, No Change: 1, Skip: 2\",\n        \"totals\": {\n            \"cancel\": 0,\n            \"delete\": 0,\n            \"edit\": 11,\n            \"error\": 0,\n            \"invalid\": 0,\n            \"new\": 1,\n            \"skip\": 0\n        },\n        \"import_id\": \"5d9c5ee27205498d67a01e69-05/02/2020 17:00\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"506d84b3-78eb-46f7-8b86-44a997b7a843"},{"name":"Edit Row","id":"f474e942-5311-4964-b890-7ece70bd2541","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"_index\": 1,\n        \"adults\": 1,\n        \"check_in\": \"12/12/2019\",\n        \"check_out\": \"13/12/2020\",\n        \"children\": 0,\n        \"company\": \"Engineer\",\n        \"country\": \"Vietnam (Việt Nam)\",\n        \"email\": \"henry@idemlabs.com\",\n        \"first_name\": \"Henry Edited\",\n        \"id\": \"5d888967dc9d0d790b6930af\",\n        \"import_type\": \"update\",\n        \"job_title\": \"\",\n        \"last_name\": \"Ngo\",\n        \"pms_confirmation_number\": \"59901\",\n        \"salutation\": \"Mr.\"\n    }\n}"},"url":"{{endpoint}}/v1/blocks/:id/rooming-list/edit-row?media_id={{media_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["v1","blocks",":id","rooming-list","edit-row"],"host":["{{endpoint}}"],"query":[{"key":"media_id","value":"{{media_id}}"}],"variable":[{"type":"string","value":"5d88891adc9d0d790b69306c","key":"id"}]}},"response":[{"id":"6ff9d985-59cc-41a6-ac1b-615fd08a9505","name":"Edit Row","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"_index\": 1,\n        \"adults\": 1,\n        \"check_in\": \"12/12/2019\",\n        \"check_out\": \"13/12/2020\",\n        \"children\": 0,\n        \"company\": \"Engineer\",\n        \"country\": \"Vietnam (Việt Nam)\",\n        \"email\": \"henry@idemlabs.com\",\n        \"first_name\": \"Henry Edited\",\n        \"id\": \"5d888967dc9d0d790b6930af\",\n        \"import_type\": \"update\",\n        \"job_title\": \"\",\n        \"last_name\": \"Ngo\",\n        \"pms_confirmation_number\": \"59901\",\n        \"salutation\": \"Mr.\"\n    }\n}"},"url":{"raw":"{{endpoint}}/v1/blocks/:id/rooming-list/edit-row?media_id={{media_id}}","host":["{{endpoint}}"],"path":["v1","blocks",":id","rooming-list","edit-row"],"query":[{"key":"media_id","value":"{{media_id}}"}],"variable":[{"key":"id","value":"{{block_id}}","type":"string"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n\t\"code\": \"OK\",\n\t\"data\": {\n\t\t\"row\": {\n\t\t\t\"_errors\": {},\n\t\t\t\"_index\": 1,\n\t\t\t\"_tags\": [\"edited\"],\n\t        \"adults\": 1,\n\t        \"check_in\": \"12/12/2019\",\n\t        \"check_out\": \"13/12/2020\",\n\t        \"children\": 0,\n\t        \"company\": \"Engineer\",\n\t        \"country\": \"Vietnam (Việt Nam)\",\n\t        \"email\": \"henry@idemlabs.com\",\n\t        \"first_name\": \"Henry Edited\",\n\t        \"id\": \"5d888967dc9d0d790b6930af\",\n\t        \"import_type\": \"update\",\n\t        \"job_title\": \"\",\n\t        \"last_name\": \"Ngo\",\n\t        \"pms_confirmation_number\": \"59901\",\n\t        \"salutation\": \"Mr.\"\n        },\n        \"errors\": []\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"f474e942-5311-4964-b890-7ece70bd2541"},{"name":"Reject (Skip) Row","id":"7be5275d-f461-494b-a47a-9699cb67b8b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"_index\": 1,\n\t\"data\": {\n        \"adults\": 1,\n        \"check_in\": \"12/12/2019\",\n        \"check_out\": \"13/12/2020\",\n        \"children\": 0,\n        \"company\": \"Engineer\",\n        \"country\": \"Vietnam (Việt Nam)\",\n        \"email\": \"henry@idemlabs.com\",\n        \"first_name\": \"Henry Edited\",\n        \"id\": \"5d888967dc9d0d790b6930af\",\n        \"import_type\": \"update\",\n        \"job_title\": \"\",\n        \"last_name\": \"Ngo\",\n        \"pms_confirmation_number\": \"59901\",\n        \"salutation\": \"Mr.\"\n    }\n}"},"url":"{{endpoint}}/v1/blocks/:id/rooming-list/reject-row?media_id={{media_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["v1","blocks",":id","rooming-list","reject-row"],"host":["{{endpoint}}"],"query":[{"key":"media_id","value":"{{media_id}}"}],"variable":[{"type":"string","value":"5d88891adc9d0d790b69306c","key":"id"}]}},"response":[{"id":"986f09af-7bc7-47df-bf00-f8741b50922d","name":"Reject (Skip) Row","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"_index\": 1\n}"},"url":{"raw":"{{endpoint}}/v1/blocks/:id/rooming-list/reject-row?media_id={{media_id}}","host":["{{endpoint}}"],"path":["v1","blocks",":id","rooming-list","reject-row"],"query":[{"key":"media_id","value":"{{media_id}}"}],"variable":[{"key":"id","value":"{{block_id}}","type":"string"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n    \t\"row\": {\n\t\t\t\"_errors\": {},\n\t\t\t\"_index\": 1,\n\t\t\t\"_tags\": [\"rejected\"],\n\t        \"adults\": 1,\n\t        \"check_in\": \"12/12/2019\",\n\t        \"check_out\": \"13/12/2020\",\n\t        \"children\": 0,\n\t        \"company\": \"Engineer\",\n\t        \"country\": \"Vietnam (Việt Nam)\",\n\t        \"email\": \"henry@idemlabs.com\",\n\t        \"first_name\": \"Henry Edited\",\n\t        \"id\": \"5d888967dc9d0d790b6930af\",\n\t        \"import_type\": \"update\",\n\t        \"job_title\": \"\",\n\t        \"last_name\": \"Ngo\",\n\t        \"pms_confirmation_number\": \"59901\",\n\t        \"salutation\": \"Mr.\"\n        }\n        \"errors\": []\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"7be5275d-f461-494b-a47a-9699cb67b8b6"},{"name":"Get Template List","id":"b66600fb-cfe7-4088-9c21-ba58664c2ca3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/:id/rooming-templates","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","rooming-templates"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{block_id}}","key":"id"}]}},"response":[{"id":"2e32b475-b6c2-47f1-9dbc-d00e91829eca","name":"Get Template List","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/hotels/:id/rooming-templates","host":["{{endpoint}}"],"path":["api","v1","hotels",":id","rooming-templates"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"20744"},{"key":"X-Idem-CSRF-Token","value":"ImQ4ZmMwMTBhYmYyMTMxOTgwOGE4ZGVjM2MxOTdkNjg2YWNkMDY0YzYi.XZVWCg.40tC1R8Vm2jaIy0_P3tH7g08MsQ"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Cookie"},{"key":"Set-Cookie","value":"session=eyJjc3JmX3Rva2VuIjp7IiBiIjoiWkRobVl6QXhNR0ZpWmpJeE16RTVPREE0WVRoa1pXTXpZekU1TjJRMk9EWmhZMlF3TmpSak5nPT0ifX0.XZVWCg.i7R68LFdV6TrycX3Zt4JmSX8LnU; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/0.15.5 Python/2.7.10"},{"key":"Date","value":"Thu, 03 Oct 2019 01:59:38 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n    \t\"results\": [\n    \t\t{\n\t\t        \"id\": \"string(objectid, default=unset)\",\n\t\t        \"start_cell\": \"string\",\n\t\t        \"end_cell\": \"string\",\n\t\t        \"fields\": {\n\t\t            \"first_name\": {\n\t\t                \"display\": \"string(in database)\",\n\t\t                \"required\": \"boolean\",\n\t\t                \"column_name\": \"string(in spreadsheet)\"\n\t\t            },\n\t\t            \"last_name\": {\n\t\t                \"display\": \"string(in database)\",\n\t\t                \"required\": \"boolean\",\n\t\t                \"column_name\": \"string(in spreadsheet)\"\n\t\t            }\n\t\t        }\n\t\t    },\n    \t\t{\n\t\t        \"id\": \"string(objectid, default=unset)\",\n\t\t        \"start_cell\": \"string\",\n\t\t        \"end_cell\": \"string\",\n\t\t        \"fields\": {\n\t\t            \"first_name\": {\n\t\t                \"display\": \"string(in database)\",\n\t\t                \"required\": \"boolean\",\n\t\t                \"column_name\": \"string(in spreadsheet)\"\n\t\t            },\n\t\t            \"last_name\": {\n\t\t                \"display\": \"string(in database)\",\n\t\t                \"required\": \"boolean\",\n\t\t                \"column_name\": \"string(in spreadsheet)\"\n\t\t            }\n\t\t        }\n\t\t    }\n    \t]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"b66600fb-cfe7-4088-9c21-ba58664c2ca3"},{"name":"Get Template","id":"072531d4-68b2-4c64-9123-83f6708789db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/:id/rooming-templates/:template_id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","rooming-templates",":template_id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{block_id}}","key":"id"},{"type":"string","value":"{{template_id}}","key":"template_id"}]}},"response":[{"id":"3c39fcf6-2758-4894-abb7-3564c3066903","name":"Get Template","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/hotels/:id/rooming-templates/:template_id","host":["{{endpoint}}"],"path":["api","v1","hotels",":id","rooming-templates",":template_id"],"variable":[{"key":"id","value":""},{"key":"template_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"string(objectid, default=unset)\",\n        \"name\": \"String\",\n        \"date_format\": \"String\",\n        \"start_cell\": \"string\",\n        \"end_cell\": \"string\",\n        \"fields\": {\n            \"first_name\": {\n                \"display\": \"string(in database)\",\n                \"required\": \"boolean\",\n                \"column_name\": \"string(in spreadsheet)\"\n            },\n            \"last_name\": {\n                \"display\": \"string(in database)\",\n                \"required\": \"boolean\",\n                \"column_name\": \"string(in spreadsheet)\"\n            }\n        }\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"072531d4-68b2-4c64-9123-83f6708789db"},{"name":"Create Template","id":"bc2337a9-65cf-4977-8e9e-25ce8e6053a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"start_cell\": \"string\",\n    \"end_cell\": \"string\",\n    \"name\": \"String\",\n    \"date_format\": \"String\",\n    \"fields\": {\n        \"first_name\": {\n            \"display\": \"string(in database)\",\n            \"required\": \"boolean\",\n            \"column_name\": \"string(in spreadsheet)\"\n        },\n        \"last_name\": {\n            \"display\": \"string(in database)\",\n            \"required\": \"boolean\",\n            \"column_name\": \"string(in spreadsheet)\"\n        }\n    }\n}"},"url":"{{endpoint}}/api/v1/hotels/:id/rooming-templates","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","rooming-templates"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"bc2337a9-65cf-4977-8e9e-25ce8e6053a4"},{"name":"Edit (Save) Template","id":"7acaffac-30df-4477-b9ee-05759c494af7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"start_cell\": \"string\",\n    \"end_cell\": \"string\",\n    \"name\": \"String\",\n    \"date_format\": \"String\",\n    \"fields\": {\n        \"first_name\": {\n            \"display\": \"string(in database)\",\n            \"required\": \"boolean\",\n            \"column_name\": \"string(in spreadsheet)\"\n        },\n        \"last_name\": {\n            \"display\": \"string(in database)\",\n            \"required\": \"boolean\",\n            \"column_name\": \"string(in spreadsheet)\"\n        }\n    }\n}"},"url":"{{endpoint}}/api/v1/hotels/:id/rooming-templates/:template_id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","rooming-templates",":template_id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"},{"type":"string","value":"","key":"template_id"}]}},"response":[{"id":"b19b797b-c005-4481-9cd4-494a64e47029","name":"Edit (Save) Template","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"start_cell\": \"string\",\n    \"end_cell\": \"string\",\n    \"name\": \"String\",\n    \"date_format\": \"String\",\n    \"fields\": {\n        \"first_name\": {\n            \"display\": \"string(in database)\",\n            \"required\": \"boolean\",\n            \"column_name\": \"string(in spreadsheet)\"\n        },\n        \"last_name\": {\n            \"display\": \"string(in database)\",\n            \"required\": \"boolean\",\n            \"column_name\": \"string(in spreadsheet)\"\n        }\n    }\n}"},"url":{"raw":"{{endpoint}}/api/v1/hotels/:id/rooming-templates/:template_id","host":["{{endpoint}}"],"path":["api","v1","hotels",":id","rooming-templates",":template_id"],"variable":[{"key":"id","value":"{{block_id}}","type":"string"},{"key":"template_id","value":"{{template_id}}","type":"string"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n\t\"code\": \"OK\",\n\t\"data\": {\n\t\t\"id\": \"String\"\n\t}\n\t\"status\": \"success\"\n}"}],"_postman_id":"7acaffac-30df-4477-b9ee-05759c494af7"},{"name":"Delete Template","id":"69d28c73-ff76-4f49-9c74-76291505ce79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{endpoint}}/api/v1/hotels/:id/rooming-templates/:template_id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","rooming-templates",":template_id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{block_id}}","key":"id"},{"type":"string","value":"{{template_id}}","key":"template_id"}]}},"response":[{"id":"21bd4c5d-6255-46f9-8e59-b2124002a013","name":"Delete Template","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{endpoint}}/api/v1/hotels/:id/rooming-templates/:template_id","host":["{{endpoint}}"],"path":["api","v1","hotels",":id","rooming-templates",":template_id"],"variable":[{"key":"id","value":"{{block_id}}","type":"string"},{"key":"template_id","value":"{{template_id}}","type":"string"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"message\": \"The rooming template was deleted successfully.\",\n    \"status\": \"success\"\n}"}],"_postman_id":"69d28c73-ff76-4f49-9c74-76291505ce79"},{"name":"Send Emails After IRL","id":"af574a83-82a7-4e98-93b7-2e91f1c9a49c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"import_id\": \"5d9c5ee27205498d67a01e69-05/02/2020 17:00\"\n}"},"url":"{{endpoint}}/v1/blocks/:id/rooming-list/email","description":"<p>Call this api to send confirmation emails to all (affected) reservations after IRL import.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["v1","blocks",":id","rooming-list","email"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"af574a83-82a7-4e98-93b7-2e91f1c9a49c"}],"id":"f4200462-d0e4-4264-ba0d-298bec128f8d","_postman_id":"f4200462-d0e4-4264-ba0d-298bec128f8d","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Audit Trail Log","item":[{"name":"Log Event","id":"f5dffca8-2018-4d67-8f46-aa32821fe96f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Idem-Referrer-Id","type":"text","value":"5e3bbd1626ef9b0b5ce8e2e7"},{"key":"Idem-Referrer-Type","type":"text","value":"Hotel"}],"body":{"mode":"raw","raw":"{\n\t\"action\": \"block.view_reservations\",\n\t\"target_type\": \"RoomBlock\",\n\t\"target_id\": \"5e7d8cf0738217db764a5be0\",\n\t\"context_type\": \"Hotel\",\n\t\"context_id\": \"5e3bbd1626ef9b0b5ce8e2e7\",\n\t\"data\": {\n\t\t\"Important key\": \"important data\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/logs/events","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","logs","events"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f5dffca8-2018-4d67-8f46-aa32821fe96f"},{"name":"Log View","id":"d543a2d5-1092-4a1b-be9c-5ce951348a3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Idem-Referrer-Id","type":"text","value":"5e3bbd1626ef9b0b5ce8e2e7"},{"key":"Idem-Referrer-Type","type":"text","value":"Hotel"}],"body":{"mode":"raw","raw":"{\n\t\"url\": \"http://www.google.com\",\n\t\"referer_url\": \"http://www.google.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/logs/views","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","logs","views"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d543a2d5-1092-4a1b-be9c-5ce951348a3c"}],"id":"bb32bcb4-b85b-465f-adc9-49d1bba392a4","_postman_id":"bb32bcb4-b85b-465f-adc9-49d1bba392a4","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Vendor","item":[{"name":"Auth","item":[{"name":"Login","id":"b8b34161-2e2a-465d-b2b0-02e10662a7e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"alex@idemlabs.com\", \n    \"passwd\": \"Password1\",\n    \"remember\": true\n} ","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/vendors/users/login","description":"<p>User login for outlet portal. The username field accepts both username or email address.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","vendors","users","login"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"ebeb752f-7fff-4ade-8d51-23e098ec071c","name":"Login","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"alex@idemlabs.com\", \n    \"passwd\": \"Password1\",\n    \"remember\": true\n} ","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/vendors/:id/users/login","host":["{{endpoint}}"],"path":["api","v1","vendors",":id","users","login"],"variable":[{"key":"id","value":"{{vendor_id}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"172"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"Set-Cookie","value":"remember_token=5f1025079c21b263221a6883|53d1e10c7abf2ffa706327df02292b81f616dbbb70f31ef04d7e35114a8d39143859d9dba7caa9048a112ba21c30d467dd422f280ba59828e7f2719e6e5a7128; Expires=Tue, 20-Jul-2021 12:13:57 GMT; Path=/"},{"key":"Set-Cookie","value":"session=b70ff411-0d19-4b84-834b-0fe11065d521.RpFZhWrzgzMWUgNNaAqy7ofvGso; HttpOnly; Path=/"},{"key":"X-Idem-CSRF-Token","value":"IjUyNWViMTNlY2RkNzk3ZWYwMGVkM2VhZGYyYjY0NzlkZTE0NjBkN2Ii.XxWKhQ.ctrzF0a3qRrp8UXoZv1oX0eBh3I"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Mon, 20 Jul 2020 12:13:57 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"next\": \"http://www.localhost:5001/redemption\",\n        \"user_id\": \"5f1025079c21b263221a6883\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"b8b34161-2e2a-465d-b2b0-02e10662a7e8"},{"name":"Logout","id":"c7de3788-6dd8-480c-99f3-3041a04add50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/vendors/users/logout","description":"<p>User logout for outlet portal</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","vendors","users","logout"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"3cc7fc9b-521c-4091-8afa-fd3cc1dfd1c1","name":"Vendor auth logout","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/vendors/:id/users/logout","host":["{{endpoint}}"],"path":["api","v1","vendors",":id","users","logout"],"variable":[{"key":"id","value":""}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"status\": \"success\"\n}"}],"_postman_id":"c7de3788-6dd8-480c-99f3-3041a04add50"},{"name":"Obtain undo-redeem token","id":"f97073fa-a15b-459c-949a-e6926f52382a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"alex@idemlabs.com\",\n    \"passwd\": \"Password1\",\n    \"voucher_id\": \"5f0e821ee3e9002cc2acf28e\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/vendors/users/auth-undo-redeem","description":"<p>Verifies a manager's login credentials and returns a token that can be used to undredeem a voucher.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","vendors","users","auth-undo-redeem"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"7743be85-3145-4dc7-a08e-9e4d0a73a969","name":"Manager Unredeem Login","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"alex@idemlabs.com\",\n    \"passwd\": \"Password1\",\n    \"voucher_id\": \"5f0e821ee3e9002cc2acf28e\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/vendors/:id/users/auth-undo-redeem","host":["{{endpoint}}"],"path":["api","v1","vendors",":id","users","auth-undo-redeem"],"variable":[{"key":"id","value":"{{vendor_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"274"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImM5NTQ0ZDAyZjkzMjUzODllNzIxNjc5ZDNiMzkzZmRkNzE5NWZmNTUi.XxE35w.ezvMQVseWcAuqi_hKemqkQ2D7iU"},{"key":"Set-Cookie","value":"session=54eda388-610c-4bd5-ac4f-f2048abef741.HddjgZGk1gi0GENVxa5JoWO6qsY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 17 Jul 2020 05:32:23 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"token\": \"eyJjb250ZXh0X3R5cGUiOiJWb3VjaGVyIiwiY29udGV4dF9pZCI6IjVmMGU4MjFlZTNlOTAwMmNjMmFjZjI4ZSJ9.XxE35w.DIemSm0JZLb6hxEKdhKztNQBZPA\"\n    },\n    \"message\": \"Action successfully authorized by superior\",\n    \"status\": \"success\"\n}"}],"_postman_id":"f97073fa-a15b-459c-949a-e6926f52382a"},{"name":"Reset Password","id":"bc8440b1-baf6-40a1-9e85-feec3e61b786","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"henry.ngo@groups360.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/vendors/users/reset-password?slug_or_domain=kingsmen-hotels-resorts","description":"<p>Resets and sends a new password to the supplied email address.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["vendors","users","reset-password"],"host":["{{base_url}}"],"query":[{"key":"slug_or_domain","value":"kingsmen-hotels-resorts"}],"variable":[]}},"response":[{"id":"2027ce5c-7437-4353-ae31-0f3e2f90bbc5","name":"Reset Password","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"alex@idemlabs.com\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/vendors/:id/users/reset-password","host":["{{endpoint}}"],"path":["api","v1","vendors",":id","users","reset-password"],"variable":[{"key":"id","value":"{{outlet_id}"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"message\": \"A new password has been sent to alex@idemlabs.com\",\n    \"status\": \"success\"\n}"}],"_postman_id":"bc8440b1-baf6-40a1-9e85-feec3e61b786"}],"id":"141e402f-e344-4a31-9839-59891ba0e426","_postman_id":"141e402f-e344-4a31-9839-59891ba0e426","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Voucher","item":[{"name":"Redeem","id":"8de2f572-69d6-4a14-9f16-f494734abef4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/vouchers/:id/redeem","description":"<p>Redeem a voucher.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","vouchers",":id","redeem"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{voucher_id}}","key":"id"}]}},"response":[{"id":"8d368e54-7564-4139-9489-59d891ac9e58","name":"Redeem Voucher","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/vouchers/:id/redeem","host":["{{endpoint}}"],"path":["api","v1","vouchers",":id","redeem"],"variable":[{"key":"id","value":"{{voucher_id}}","type":"string"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5f0eaf07c97b8897c62375a1\"\n    },\n    \"message\": \"Voucher redeemed successfully.\",\n    \"status\": \"success\"\n}"}],"_postman_id":"8de2f572-69d6-4a14-9f16-f494734abef4"},{"name":"Undo-redeem","id":"a72a9b1f-4539-40bd-b799-611ce7bdc3ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"token\": \"eyJjb250ZXh0X3R5cGUiOiJWb3VjaGVyIiwiY29udGV4dF9pZCI6IjVmMGU4MjFlZTNlOTAwMmNjMmFjZjI4ZSJ9.XxfCuQ.ClKGxoXv8RjK8mQs_1RriVefInU\",\n    \"remarks\": \"Mistakely redeemed\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/vouchers/:id/undo-redeem","description":"<p>Unredeem a voucher. If the current user is a manager, no token is required, otherwise a valid token must be supplied.</p>\n<p>Payload:\n{\n    token: string\n}</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","vouchers",":id","undo-redeem"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{voucher_id}}","key":"id"}]}},"response":[{"id":"5c73a0a0-a4e4-4100-a875-2749a6628d59","name":"Unredeem Voucher - Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"token\": \"eyJjb250ZXh0X3R5cGUiOiJWb3VjaGVyIiwiY29udGV4dF9pZCI6IjVmMGU4MjFlZTNlOTAwMmNjMmFjZjI4ZSJ9.XxFPaw.YZVuKMANxgNQyZEeYHtzVdhcxF4\",\n    \"remarks\": \"Mistakely redeemed\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/vouchers/:id/undo-redeem","host":["{{endpoint}}"],"path":["api","v1","vouchers",":id","undo-redeem"],"variable":[{"key":"id","type":"string","value":"{{voucher_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"162"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImM5NTQ0ZDAyZjkzMjUzODllNzIxNjc5ZDNiMzkzZmRkNzE5NWZmNTUi.XxFPfA.lRNXzVSMURjR4Mr9mZ-ssaddSmA"},{"key":"Set-Cookie","value":"session=54eda388-610c-4bd5-ac4f-f2048abef741.HddjgZGk1gi0GENVxa5JoWO6qsY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 17 Jul 2020 07:13:00 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5f0e821ee3e9002cc2acf28e\"\n    },\n    \"message\": \"Voucher unredeemed successfully.\",\n    \"status\": \"success\"\n}"},{"id":"fefa1538-90d0-457f-87db-65763c1eb479","name":"Unredeem Voucher - Failure","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"token\": \"eyJjb250ZXh0X3R5cGUiOiJWb3VjaGVyIiwiY29udGV4dF9pZCI6IjVmMGU4MjFlZTNlOTAwMmNjMmFjZjI4ZSJ9.XxFQvg.4aN5W9T9ItA1gw5cvRtqrgGH3Ks\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/vouchers/:id/undo-redeem","host":["{{endpoint}}"],"path":["api","v1","vouchers",":id","undo-redeem"],"variable":[{"key":"id","type":"string","value":"{{voucher_id}}"}]}},"status":"FORBIDDEN","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"160"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImM5NTQ0ZDAyZjkzMjUzODllNzIxNjc5ZDNiMzkzZmRkNzE5NWZmNTUi.XxFQ1A.LMXeIp1ET6XFDPfl5kUICozLcvs"},{"key":"Set-Cookie","value":"session=54eda388-610c-4bd5-ac4f-f2048abef741.HddjgZGk1gi0GENVxa5JoWO6qsY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Fri, 17 Jul 2020 07:18:44 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"ERROR\",\n    \"http_status\": 403,\n    \"message\": \"Either you do not have permission, or your permission has expired\",\n    \"status\": \"failure\"\n}"}],"_postman_id":"a72a9b1f-4539-40bd-b799-611ce7bdc3ab"},{"name":"Detail by Code","id":"b0958d93-7b3d-468b-ae66-edca1d353925","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"{{endpoint}}/api/v1/vendors/vouchers/:code","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","vendors","vouchers",":code"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"T0SHE","key":"code"}]}},"response":[{"id":"f4c8e9af-9966-45b0-8b12-8ff7b333bde3","name":"Detail by Code","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{endpoint}}/api/v1/vendors/:id/vouchers/:code","host":["{{endpoint}}"],"path":["api","v1","vendors",":id","vouchers",":code"],"variable":[{"key":"id","type":"string","value":"5f0c0fc68c0540f70c45d9b9"},{"key":"code","value":"T0SHE"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2320"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"Ijg3ZjIyZGY5NjRkYzgxMTNjMjRhMjdiZDhlOTMyOWQzNDZjNTdiOWQi.XxV87w.FwYxNPTAsxASbGPUE1iq5DAk8mE"},{"key":"Set-Cookie","value":"session=de8d6854-21e6-47bd-b888-ee3234c930b3.hc9HUZFMXDSnPJ1jOTwhOMgV1ao; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Mon, 20 Jul 2020 11:15:59 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"amount\": {\n            \"currency\": \"USD\",\n            \"value\": 70.61\n        },\n        \"code\": \"T0SHE\",\n        \"expires\": \"2020-10-16T00:00:00\",\n        \"validity\": {\n            \"count\": 0, \n            \"period\": null, \n            \"valid_from\": \"2020-10-14T00:00:00\", \n            \"valid_to\": \"2020-10-16T00:00:00\"\n        },\n        \"guest\": {\n            \"email\": \"henry@idemlabs.com\",\n            \"first_name\": \"Henry\",\n            \"id\": \"5f0d9e2bcf9ab633a3a98de9\",\n            \"last_name\": \"Ngo\",\n            \"name\": \"Henry Ngo\"\n        },\n        \"id\": \"5f0d9e2dcf9ab633a3a98dec\",\n        \"name\": \"\",\n        \"order\": {\n            \"confirmation_number\": \"XX8CU\",\n            \"guest\": {\n                \"address\": {\n                    \"address_1\": \"\",\n                    \"address_2\": \"\",\n                    \"city\": \"\",\n                    \"country\": \"\",\n                    \"postalcode\": \"\",\n                    \"state\": \"\"\n                },\n                \"company\": null,\n                \"created_at\": \"2020-07-14T11:59:39.419000\",\n                \"email\": \"henry@idemlabs.com\",\n                \"first_name\": \"Henry\",\n                \"id\": \"5f0d9e2dcf9ab633a3a98ded\",\n                \"job_title\": null,\n                \"last_name\": \"Ngo\",\n                \"masked\": false,\n                \"phone\": {\n                    \"cc\": \"65\",\n                    \"contact\": \"9876 54321\",\n                    \"country_code\": \"sg\"\n                },\n                \"salutation\": \"Mr\",\n                \"updated_at\": \"2020-07-14T12:00:34.474000\"\n            },\n            \"id\": \"5f0d9e2bcf9ab633a3a98de8\",\n            \"status\": \"confirmed\"\n        },\n        \"package\": {\n            \"booking_policy\": {\n                \"description\": \"This voucher cannot be refunded.\",\n                \"instructions\": \"Please provide the voucher code when booking, 1 day in advance of your visit.\",\n                \"name\": \"Non-refundable\"\n            },\n            \"description\": \"Enjoy a relaxing full body massage to the relaxing sounds of wind chimes, in our...\",\n            \"name\": \"1 Hour Massage\",\n            \"notes\": \"Weekends only\",\n            \"type\": \"voucher\",\n            \"validity\": {\n                \"count\": 1,\n                \"period\": \"years\",\n                \"valid_from\": null,\n                \"valid_to\": null\n            }\n        },\n        \"remarks\": \"\",\n        \"status\": \"pending\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"b0958d93-7b3d-468b-ae66-edca1d353925"}],"id":"65364b47-8a07-4bf8-932d-0407271a6cf2","event":[{"listen":"prerequest","script":{"id":"7bfe56de-d5bd-4f3e-9d83-f8dbcf1f8e4c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c7d35bf8-4469-42c5-ba37-d077c54283a8","type":"text/javascript","exec":[""]}}],"_postman_id":"65364b47-8a07-4bf8-932d-0407271a6cf2","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Users","item":[{"name":"NewUI","item":[{"name":"Get Vendor User List","id":"8a6d3366-9f1d-4119-af6d-541234c4cb8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{endpoint}}/api-hotel/v1/hotels/:property_guid/vendors/users","description":"<p>Get users list of vendor team</p>\n","urlObject":{"path":["api-hotel","v1","hotels",":property_guid","vendors","users"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"{{property_guid}}","key":"property_guid"}]}},"response":[],"_postman_id":"8a6d3366-9f1d-4119-af6d-541234c4cb8d"}],"id":"543432af-5f80-4de3-8a69-b5ab02315b8b","_postman_id":"543432af-5f80-4de3-8a69-b5ab02315b8b","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Edit Profile","id":"e4d37250-586f-4efd-870b-97044ed6f94f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"AlexR\",\n    \"first_name\": \"Alex\", \n    \"last_name\": \"Ryan\", \n    \"title\": \"Dev\",\n    \"email\": \"alex@idemlabs.com\", \n    \"role\": \"manager\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/users/:pk/update-profile","description":"<p>Edit exisiting user in vendor's team</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","users",":pk","update-profile"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{vendor_user}}","key":"pk"}]}},"response":[{"id":"d8953bbf-c27a-474f-8291-34d0056ed4fb","name":"Edit Vendor User","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"AlexR\",\n    \"first_name\": \"Alex\", \n    \"last_name\": \"Ryan\", \n    \"title\": \"Dev\",\n    \"email\": \"alex@idemlabs.com\", \n    \"role\": \"manager\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/users/:pk/update-profile","host":["{{endpoint}}"],"path":["api","v1","users",":pk","update-profile"],"variable":[{"key":"pk","value":"{{vendor_user}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"104"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImZhMjkzZDE4MjEzYzlhODEzNDM5MWYyNjM1MDBhM2E0YTk2MDdlNGIi.Xxk9Zg.BYa1RstqVu4kb5Ii5SdwU4L9FhM"},{"key":"Set-Cookie","value":"session=3e891be1-301c-4e6a-9fe7-728c44059268.J72x6X4Rmzk6Pnaw_-DwuFoNIJI; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Thu, 23 Jul 2020 07:33:58 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {},\n    \"message\": \"User account updated\",\n    \"status\": \"success\"\n}"}],"_postman_id":"e4d37250-586f-4efd-870b-97044ed6f94f"},{"name":"Edit Password","id":"2d719f76-10dc-40eb-b0f8-9167a24a051f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"current_passwd\": \"Password1\",\n    \"new_passwd\": \"Password2\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/users/:pk/update-password","description":"<p>Edit exisiting user in vendor's team</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","users",":pk","update-password"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{vendor_user}}","key":"pk"}]}},"response":[{"id":"386f7194-09c7-4a59-8704-796453398c7e","name":"Edit Password - failure","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"current_passwd\": \"Passwordww1\",\n    \"new_passwd\": \"Password2\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/users/:pk/update-password","host":["{{endpoint}}"],"path":["api","v1","users",":pk","update-password"],"variable":[{"key":"pk","value":"{{vendor_user}}"}]}},"status":"FORBIDDEN","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"122"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImZhMjkzZDE4MjEzYzlhODEzNDM5MWYyNjM1MDBhM2E0YTk2MDdlNGIi.XxlM6A.IuD4-QbfxCneOij36ZqUOGwJpfU"},{"key":"Set-Cookie","value":"session=3e891be1-301c-4e6a-9fe7-728c44059268.J72x6X4Rmzk6Pnaw_-DwuFoNIJI; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Thu, 23 Jul 2020 08:40:08 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"ERROR\",\n    \"http_status\": 403,\n    \"message\": \"Incorrect password provided\",\n    \"status\": \"failure\"\n}"},{"id":"c91dc822-b8c1-4369-88a5-8dde48c2cdd9","name":"Edit Password","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"current_passwd\": \"Password1\",\n    \"new_passwd\": \"Password2\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/users/:pk/update-password","host":["{{endpoint}}"],"path":["api","v1","users",":pk","update-password"],"variable":[{"key":"pk","value":"{{vendor_user}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"100"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImZhMjkzZDE4MjEzYzlhODEzNDM5MWYyNjM1MDBhM2E0YTk2MDdlNGIi.XxlKsg.MNw2WIn2LS2mI1yQyAQqct8QTLw"},{"key":"Set-Cookie","value":"session=3e891be1-301c-4e6a-9fe7-728c44059268.J72x6X4Rmzk6Pnaw_-DwuFoNIJI; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Thu, 23 Jul 2020 08:30:42 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {},\n    \"message\": \"Password updated\",\n    \"status\": \"success\"\n}"}],"_postman_id":"2d719f76-10dc-40eb-b0f8-9167a24a051f"},{"name":"Get Vendor User","id":"7c9d3799-6b83-423b-a251-b6beb20d3c87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/users/me","description":"<p>Get users list of vendor team</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","users","me"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"75be8310-77f8-4a16-ab45-406827607947","name":"Get Vendor User","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/users/me"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"570"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjZmZDk2ZDk3MjBlNjU4YTUwMTQ2ZDFlZWZkNzU5OTU5YmI2NDk0ZDMi.XxgmmQ.2d-V60-__PuNm7K98_40yXVM_AE"},{"key":"Set-Cookie","value":"session=d47471e6-74f0-44ef-97d2-68172d0d3c32.Qhig0SYJr-tCKRMsrQMNFIesmZQ; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Wed, 22 Jul 2020 11:44:25 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"account_status\": 1,\n        \"created_at\": \"2020-07-16T09:59:35.536000\",\n        \"deleted_at\": null,\n        \"email\": \"alex@idemlabs.com\",\n        \"first_name\": \"Alex\",\n        \"id\": \"5f1025079c21b263221a6883\",\n        \"last_name\": \"Ryan\",\n        \"name\": \"Alex Ryan\",\n        \"role\": \"manager\",\n        \"title\": \"Dev\",\n        \"type\": 5,\n        \"username\": \"AlexR\",\n        \"vendor\": {\n            \"id\": \"5f081c01ea36e5e982d32bd1\",\n            \"name\": \"Cheese Palace\"\n        }\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"7c9d3799-6b83-423b-a251-b6beb20d3c87"},{"name":"Get Vendor User List","id":"0e992e72-a1e8-4c48-8b32-59ba886576e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"url":"http://www.localhost:5001/api-portal/v1/vouchers/611cc5f1f1abbf1bc7733ecc/redeem","description":"<p>Get users list of vendor team</p>\n","urlObject":{"protocol":"http","port":"5001","path":["api-portal","v1","vouchers","611cc5f1f1abbf1bc7733ecc","redeem"],"host":["www","localhost"],"query":[],"variable":[]}},"response":[{"id":"99b6deb7-7be6-43f1-bd7c-0fb9e80dc5fe","name":"Get Vendor User List","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/vendors/:id/users","host":["{{endpoint}}"],"path":["api","v1","vendors",":id","users"],"variable":[{"key":"id","value":"{{vendor_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"865"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImUyMjJmNjE5ODQ2NjdhOWRiZjE0YTM1MjVhMTI1ZDE4YjIzNTM3NWEi.XxAmAg.fqCPgiQZJ54CwwVSvARMN1M1m5w"},{"key":"Set-Cookie","value":"session=096afee2-1bdb-4470-9d2a-6b303b0e68c0.-xHmyge-2vZqdrKhmC5wJAXLk70; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Thu, 16 Jul 2020 10:03:46 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"results\": [\n            {\n                \"account_status\": 1,\n                \"block_count\": 0,\n                \"created_at\": \"2020-07-16T09:59:35.536000\",\n                \"deleted_at\": null,\n                \"email\": \"alex@idemlabs.com\",\n                \"first_name\": \"Alex\",\n                \"hotel_id\": null,\n                \"id\": \"5f1025079c21b263221a6883\",\n                \"last_name\": \"R\",\n                \"name\": \"Alex R\",\n                \"phone\": {\n                    \"cc\": \"\",\n                    \"contact\": \"\",\n                    \"country_code\": \"\"\n                },\n                \"phone_contact\": \"\",\n                \"role\": \"manager\",\n                \"title\": \"Dev\",\n                \"type\": 5,\n                \"username\": \"alexr\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"0e992e72-a1e8-4c48-8b32-59ba886576e3"},{"name":"Add Vendor User","id":"7e7b1612-25f5-4d48-a49f-5853608063e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"eriks94\",\n    \"first_name\": \"dung\", \n    \"last_name\": \"do\", \n    \"title\": \"superman\",\n    \"email\": \"dungbme12@gmail.com\", \n    \"passwd\": \"123456Nhat\",\n    \"role\": \"manager\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/vendors/:id/users","description":"<p>Add new user to vendors team management</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","vendors",":id","users"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{vendor_id}}","key":"id"}]}},"response":[{"id":"d6eebc85-5d24-4fbc-86e7-e9736c32aa91","name":"Add Vendor User","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"user\": {\n        \"username\": \"eriks94\",\n        \"first_name\": \"dung\", \n        \"last_name\": \"do\", \n        \"title\": \"superman\",\n        \"email\": \"dungbme12@gmail.com\", \n        \"passwd\": \"123456Nhat\",\n        \"role\": \"manager\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/vendors/:id/users","host":["{{endpoint}}"],"path":["api","v1","vendors",":id","users"],"variable":[{"key":"id","value":"{{vendor_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"590"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImJjMzY1ZjQzZWYyN2QzZWQ3MDhiMjhmYjdkOTdiYjk4YjdjZjQ2YTgi.XwlVgQ.HxMoX_xCjTolxA9xJDK2Y06D-lo"},{"key":"Set-Cookie","value":"session=62da0918-1edc-4547-8078-99580856c68f.8VlDCTpB5ZyEH84AUfufaFiUu-c; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Sat, 11 Jul 2020 06:00:33 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"account_status\": 1,\n        \"block_count\": 0,\n        \"created_at\": \"2020-07-11T06:00:33.369270\",\n        \"deleted_at\": null,\n        \"email\": \"dungbme12@gmail.com\",\n        \"first_name\": \"dung\",\n        \"hotel_id\": null,\n        \"id\": \"5f0955816c60f68501d17712\",\n        \"last_name\": \"do\",\n        \"name\": \"dung do\",\n        \"phone\": {\n            \"cc\": \"\",\n            \"contact\": \"\",\n            \"country_code\": \"\"\n        },\n        \"phone_contact\": \"\",\n        \"role\": null,\n        \"type\": 1\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"7e7b1612-25f5-4d48-a49f-5853608063e2"}],"id":"2f53b096-55a2-45d9-89ea-153e0de71e06","_postman_id":"2f53b096-55a2-45d9-89ea-153e0de71e06","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Delete Vendor","id":"b0350d5d-1bbb-4414-92ee-9eb8273a1af3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{}"},"url":"{{endpoint}}/api/v1/vendors/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","vendors",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{vendor_id}}","key":"id"}]}},"response":[{"id":"8378a310-9f6f-49f8-9083-e0c7ac8bc9ff","name":"Delete Vendor","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{}"},"url":{"raw":"{{endpoint}}/api/v1/vendors/:id","host":["{{endpoint}}"],"path":["api","v1","vendors",":id"],"variable":[{"key":"id","value":"5ee74d8188f9850fa853c30d"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"64"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"Ijc3ODFmOTlmNGY2MjgyMzQzN2U0MzJlMzBhNDQzYTNjM2RiMDE5NDki.XudN9A.Eip3EyVdDmCSzbjjLQ3UfE2Rzsg"},{"key":"Set-Cookie","value":"session=e183635d-32c9-42c1-8b96-15e0832984b3.3wXCF42tPzmkR-tJ2qbxdkF90VU; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Mon, 15 Jun 2020 10:31:16 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {},\n    \"status\": \"success\"\n}"}],"_postman_id":"b0350d5d-1bbb-4414-92ee-9eb8273a1af3"},{"name":"Get Vendor List Redemption Portal","id":"b5e3f67b-1204-4212-b4bc-85609292afff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/:id/vendors?sort={{sort}}&order={{order}}","description":"<p>Get Vendor List for portal redeemption login</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","vendors"],"host":["{{endpoint}}"],"query":[{"key":"sort","value":"{{sort}}"},{"key":"order","value":"{{order}}"}],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"7408a245-ed34-47f3-97ca-545046074905","name":"Get Vendor List","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/hotels/:id/vendors","host":["{{endpoint}}"],"path":["api","v1","hotels",":id","vendors"],"variable":[{"key":"id","type":"string","value":"{{hotel_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"347"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"Ijc3ODFmOTlmNGY2MjgyMzQzN2U0MzJlMzBhNDQzYTNjM2RiMDE5NDki.XudNEg.2KkZp8z2TiPNM3t_5G0s_tTO-NY"},{"key":"Set-Cookie","value":"session=e183635d-32c9-42c1-8b96-15e0832984b3.3wXCF42tPzmkR-tJ2qbxdkF90VU; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Mon, 15 Jun 2020 10:27:30 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": [\n        {\n            \"business_type\": [\n                {\n                    \"id\": \"Spa\",\n                    \"in_use\": false,\n                    \"name\": null\n                }\n            ],\n            \"description\": \"A spa. In your hometown.\",\n            \"hotel_id\": \"5e6f3fead3d58d95d94f5547\",\n            \"id\": \"5ef5a5ad3ab0c67d8fc28700\",\n            \"location\": \"Your hometown.\",\n            \"name\": \"Hometown Spa\"\n        },\n        {\n            \"business_type\": [\n                {\n                    \"id\": \"Restaurant\",\n                    \"in_use\": false,\n                    \"name\": null\n                },\n                {\n                    \"id\": \"Bar\",\n                    \"in_use\": false,\n                    \"name\": null\n                }\n            ],\n            \"description\": \"sample vendor description data.\",\n            \"hotel_id\": \"5e6f3fead3d58d95d94f5547\",\n            \"id\": \"5efb1614529974807add7785\",\n            \"location\": \"sample location\",\n            \"name\": \"vendor name data 3\"\n        }\n    ],\n    \"status\": \"success\"\n}"}],"_postman_id":"b5e3f67b-1204-4212-b4bc-85609292afff"},{"name":"Add Vendor","id":"d758edf4-bf47-41ab-a890-c3eba571da5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"vendor\": {\n        \"name\": \"req:string(objectid)\", \n        \"business_type\": \"req:list(string)\", \n        \"description\": \"req:string\", \n        \"location\": \"req:string\", \n        \"capacity\": \"req:int\",\n        \"dress_code\": \"req:string\", \n        \"opening_hours\": \"req:string\", \n        \"phone\": {\n            \"cc\": \"req:string\", \n            \"contact\": \"req:string\", \n            \"country_code\": \"req:string\"\n        }, \n        \"fax_no\": {\n            \"cc\": \"req:string\", \n            \"contact\": \"req:string\", \n            \"country_code\": \"req:string\"\n        }, \n        \"social\": {\n            \"facebook\": \"string\", \n            \"twitter\": \"string\", \n            \"instagram\": \"string\", \n            \"linkedin\": \"string\", \n            \"youtube\": \"string\"\n        }, \n        \"website\": \"string\",\n        \"reservation_website\": \"string\", \n        \"email\": \"string\",\n        \"gallery\": [\"string(objectid)\"]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/hotels/:id/vendors","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":id","vendors"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[],"_postman_id":"d758edf4-bf47-41ab-a890-c3eba571da5e"},{"name":"Edit Vendor","id":"303132c3-6610-4136-95e5-04c1d05ccb5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"vendor\": {\n        \"name\": \"req:string(objectid)\", \n        \"business_type\": \"req:list(string)\", \n        \"description\": \"req:string\", \n        \"location\": \"req:string\", \n        \"capacity\": \"req:int\",\n        \"dress_code\": \"req:string\", \n        \"opening_hours\": \"req:string\", \n        \"phone\": \"req:string\", \n        \"fax_no\": \"req:string\", \n        \"social\": {\n            \"facebook\": \"string\", \n            \"twitter\": \"string\", \n            \"instagram\": \"string\", \n            \"linkedin\": \"string\", \n            \"youtube\": \"string\"\n        }, \n        \"website\": \"string\",\n        \"reservation_website\": \"string\", \n        \"email\": \"string\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/vendors/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","vendors",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"303132c3-6610-4136-95e5-04c1d05ccb5f"},{"name":"Get Vendor List","id":"799e286b-fc5d-4f4a-a64b-a214b7a5d1eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"}],"url":"{{base_url}}/hotels/:id/vendors?limit={{limit}}&page={{page}}&sort={{sort}}&order={{order}}&has_packages=False","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":id","vendors"],"host":["{{base_url}}"],"query":[{"key":"limit","value":"{{limit}}"},{"key":"page","value":"{{page}}"},{"key":"sort","value":"{{sort}}"},{"key":"order","value":"{{order}}"},{"disabled":true,"key":"search","value":"{{search}}"},{"key":"has_packages","value":"False"}],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"8d8f433a-b4d8-41e6-a4b0-625b627b2c9e","name":"Get Vendor List","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/hotels/:id/vendors","host":["{{endpoint}}"],"path":["api","v1","hotels",":id","vendors"],"query":[{"key":"limit","value":"{{limit}}","disabled":true},{"key":"page","value":"{{page}}","disabled":true},{"key":"sort","value":"{{sort}}","disabled":true},{"key":"order","value":"{{order}}","disabled":true},{"key":"search","value":"{{search}}","disabled":true}],"variable":[{"key":"id","value":"{{hotel_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1302"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjA3ZmE0M2E2N2U2OGJlZTY2OGM5MDBiNjNiNGI2ZDYwM2QwZWYwZTAi.XwbuyA.SEX0F6_he6gOawPLvEpm8-hDHY8"},{"key":"Set-Cookie","value":"session=7fcedfaa-5fed-411e-8f46-4cccefc29578.GzDtMPGP3fmRND6m5FT1QPt0MfY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Thu, 09 Jul 2020 10:17:44 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 2,\n        \"filter\": {\n            \"limit\": 10,\n            \"order\": \"desc\",\n            \"page\": 1,\n            \"sort\": \"created_at\"\n        },\n        \"results\": [\n            {\n                \"business_type\": [\n                    {\n                        \"id\": \"5f06e7b45a7c8e318ca1f161\",\n                        \"in_use\": true,\n                        \"name\": \"Restaurant\"\n                    }\n                ],\n                \"description\": \"A palace of cheese.\",\n                \"hotel_id\": \"5e3bbd1626ef9b0b5ce8e2e7\",\n                \"id\": \"5f06e7b45a7c8e318ca1f165\",\n                \"location\": \"Heaven.\",\n                \"name\": \"Cheese Palace\"\n            },\n            {\n                \"business_type\": [\n                    {\n                        \"id\": \"5f06e7b45a7c8e318ca1f160\",\n                        \"in_use\": true,\n                        \"name\": \"Spa\"\n                    }\n                ],\n                \"description\": \"A spa. In your hometown.\",\n                \"hotel_id\": \"5e3bbd1626ef9b0b5ce8e2e7\",\n                \"id\": \"5f06e7b45a7c8e318ca1f164\",\n                \"location\": \"Your hometown.\",\n                \"name\": \"Hometown Spa\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"799e286b-fc5d-4f4a-a64b-a214b7a5d1eb"},{"name":"Get Vendor Detail","id":"4338106b-db73-4e91-8c16-3d4b6ca61bc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/vendors/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","vendors",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{vendor_id}}","key":"id"}]}},"response":[{"id":"01c7665a-e43f-43cb-9da9-73f8e7c96fb0","name":"Get Vendor Detail","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/vendors/:id","host":["{{endpoint}}"],"path":["api","v1","vendors",":id"],"variable":[{"key":"id","value":"{{vendor_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"928"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjA3ZmE0M2E2N2U2OGJlZTY2OGM5MDBiNjNiNGI2ZDYwM2QwZWYwZTAi.XwRncA.2WfJsmnoU7RrmEGgzyCyfP2x7hI"},{"key":"Set-Cookie","value":"session=7fcedfaa-5fed-411e-8f46-4cccefc29578.GzDtMPGP3fmRND6m5FT1QPt0MfY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Tue, 07 Jul 2020 12:15:44 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"business_type\": [\n            \"Restaurant\"\n        ],\n        \"capacity\": 0,\n        \"description\": \"A palace of cheese.\",\n        \"dress_code\": null,\n        \"email\": \"\",\n        \"fax_no\": {\n            \"cc\": \"\",\n            \"contact\": \"\",\n            \"country_code\": \"\"\n        },\n        \"gallery\": [],\n        \"hotel_id\": \"5e3bbd1626ef9b0b5ce8e2e7\",\n        \"id\": \"5efc4251e92878d4120584af\",\n        \"location\": \"Heaven.\",\n        \"name\": \"Cheese Palace\",\n        \"opening_hours\": null,\n        \"phone\": {\n            \"cc\": \"\",\n            \"contact\": \"\",\n            \"country_code\": \"\"\n        },\n        \"reservation_website\": \"\",\n        \"social\": {\n            \"facebook\": \"\",\n            \"instagram\": \"\",\n            \"linkedin\": \"\",\n            \"twitter\": \"\",\n            \"youtube\": \"\"\n        },\n        \"website\": \"\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"4338106b-db73-4e91-8c16-3d4b6ca61bc3"},{"name":"Get Business Types","id":"6627c08f-e5c4-4a8e-a6a4-6f96915a6f63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/hotels/:id/business-types","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":id","business-types"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"515e069a-19a8-465c-896d-5907ce53bacf","name":"Get Business Types","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/hotels/:id/business-types","host":["{{endpoint}}"],"path":["api","v1","hotels",":id","business-types"],"variable":[{"key":"id","type":"string","value":"{{hotel_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"873"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjA3ZmE0M2E2N2U2OGJlZTY2OGM5MDBiNjNiNGI2ZDYwM2QwZWYwZTAi.XwWNTA.7cfcdhIHvWT1oOUfMefRsj_owvM"},{"key":"Set-Cookie","value":"session=7fcedfaa-5fed-411e-8f46-4cccefc29578.GzDtMPGP3fmRND6m5FT1QPt0MfY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Wed, 08 Jul 2020 09:09:32 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 5,\n        \"results\": [\n            {\n                \"id\": \"5f058ce0c2fa385ea63507cd\",\n                \"in_use\": true,\n                \"name\": \"Spa\"\n            },\n            {\n                \"id\": \"5f058ce0c2fa385ea63507ce\",\n                \"in_use\": true,\n                \"name\": \"Restaurant\"\n            },\n            {\n                \"id\": \"5f058ce0c2fa385ea63507cf\",\n                \"in_use\": false,\n                \"name\": \"Fitness Centre\"\n            },\n            {\n                \"id\": \"5f058ce0c2fa385ea63507d0\",\n                \"in_use\": false,\n                \"name\": \"Bar/Club\"\n            },\n            {\n                \"id\": \"5f058d364b02094fdf1a48c7\",\n                \"in_use\": false,\n                \"name\": \"Coffee Shop\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"6627c08f-e5c4-4a8e-a6a4-6f96915a6f63"},{"name":"Add Business Type","id":"73d3b74c-27cd-41ca-8eab-0d1d07cad364","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"cafe\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/hotels/:id/business-types","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":id","business-types"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"8faf8abe-4282-49c3-bce9-548e71bbaf6e","name":"Add Business Type","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Club\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/hotels/:id/business-types","host":["{{endpoint}}"],"path":["api","v1","hotels",":id","business-types"],"variable":[{"key":"id","value":"{{hotel_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjA3ZmE0M2E2N2U2OGJlZTY2OGM5MDBiNjNiNGI2ZDYwM2QwZWYwZTAi.XwWOQw.u7BiLCI_BoHxWaOXgXfV0eo8viQ"},{"key":"Set-Cookie","value":"session=7fcedfaa-5fed-411e-8f46-4cccefc29578.GzDtMPGP3fmRND6m5FT1QPt0MfY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Wed, 08 Jul 2020 09:13:39 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5f058e434b02094fdf1a48d1\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"73d3b74c-27cd-41ca-8eab-0d1d07cad364"},{"name":"Delete Business Type","id":"7503945e-a80d-486d-97e8-95f395dde8b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{endpoint}}/api/v1/business-types/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","business-types",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{business_type}}","key":"id"}]}},"response":[{"id":"5c347490-ee70-4452-bf17-ed105b3c26a3","name":"Delete Business Type","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{endpoint}}/api/v1/business-types/:id","host":["{{endpoint}}"],"path":["api","v1","business-types",":id"],"variable":[{"key":"id","value":"5f058ce0c2fa385ea63507cd"}]}},"status":"FORBIDDEN","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"148"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjA3ZmE0M2E2N2U2OGJlZTY2OGM5MDBiNjNiNGI2ZDYwM2QwZWYwZTAi.XwWNsw.WBojSaisN6efCGe1hlwzuFzrZAc"},{"key":"Set-Cookie","value":"session=7fcedfaa-5fed-411e-8f46-4cccefc29578.GzDtMPGP3fmRND6m5FT1QPt0MfY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Wed, 08 Jul 2020 09:11:15 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"ERROR\",\n    \"http_status\": 403,\n    \"message\": \"Cannot delete a business type that's currently in use\",\n    \"status\": \"failure\"\n}"},{"id":"784470c1-dc67-466e-81bb-a4782969abec","name":"Delete Business Type","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{endpoint}}/api/v1/business-types/:id","host":["{{endpoint}}"],"path":["api","v1","business-types",":id"],"variable":[{"key":"id","value":"5f058d364b02094fdf1a48c7"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"64"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjA3ZmE0M2E2N2U2OGJlZTY2OGM5MDBiNjNiNGI2ZDYwM2QwZWYwZTAi.XwWNpA.QYHOZEHrthspAWuDKSFyObOUPxE"},{"key":"Set-Cookie","value":"session=7fcedfaa-5fed-411e-8f46-4cccefc29578.GzDtMPGP3fmRND6m5FT1QPt0MfY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Wed, 08 Jul 2020 09:11:00 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {},\n    \"status\": \"success\"\n}"}],"_postman_id":"7503945e-a80d-486d-97e8-95f395dde8b6"},{"name":"Edit Business Type","id":"95b4c890-6784-4def-b7bb-8f9059de02e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Night Club\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/business-types/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","business-types",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{business_type}}","key":"id"}]}},"response":[{"id":"ff71d4d9-9d1d-4de3-aca8-df2d81ce26d4","name":"Edit Business Type","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Night Club\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api/v1/business-types/:id","host":["{{endpoint}}"],"path":["api","v1","business-types",":id"],"variable":[{"key":"id","value":"5f058ce0c2fa385ea63507d0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"64"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"IjA3ZmE0M2E2N2U2OGJlZTY2OGM5MDBiNjNiNGI2ZDYwM2QwZWYwZTAi.XwWOBA.4njYPawRbIJJLKAdvlE2-y9H70c"},{"key":"Set-Cookie","value":"session=7fcedfaa-5fed-411e-8f46-4cccefc29578.GzDtMPGP3fmRND6m5FT1QPt0MfY; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Wed, 08 Jul 2020 09:12:36 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {},\n    \"status\": \"success\"\n}"}],"_postman_id":"95b4c890-6784-4def-b7bb-8f9059de02e2"},{"name":"Get Vendor Permission","id":"f0c6316c-5be4-4235-afd2-d75328493f28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/vendors/:id/roles","description":"<p>Get all permission from one specific vendor node</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","vendors",":id","roles"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{vendor_id}}","key":"id"}]}},"response":[],"_postman_id":"f0c6316c-5be4-4235-afd2-d75328493f28"}],"id":"4c432334-61d2-40b3-8d68-12950d1d28e0","_postman_id":"4c432334-61d2-40b3-8d68-12950d1d28e0","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Categories","item":[{"name":"Add Category","id":"10194c54-059f-4399-a239-e244827904a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Food & Beverage\",\n    \"description\": \"Vouchers related to food and beverages.\",\n    \"media_ids\": [\"5e7c72b007f21cc9195c3544\"]\n}"},"url":"{{base_url}}/hotels/:id/package-categories","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":id","package-categories"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"26a20ed4-03a8-4150-8697-527bfa9df3eb","name":"Add Category","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Food & Beverage\"\n}"},"url":{"raw":"{{endpoint}}/api/v1/hotels/:id/package-categories","host":["{{endpoint}}"],"path":["api","v1","hotels",":id","package-categories"],"variable":[{"key":"id","value":"{{hotel_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"Ijc3ODFmOTlmNGY2MjgyMzQzN2U0MzJlMzBhNDQzYTNjM2RiMDE5NDki.XudTIg.gJ2C6ty9zfLgLx7u8H1GKJVQX50"},{"key":"Set-Cookie","value":"session=e183635d-32c9-42c1-8b96-15e0832984b3.3wXCF42tPzmkR-tJ2qbxdkF90VU; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Mon, 15 Jun 2020 10:53:22 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5ee75322d1b7e3f35fcb9843\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"10194c54-059f-4399-a239-e244827904a8"},{"name":"Get Category List","id":"85304b25-2d9e-4a09-a288-49f5e452e352","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/hotels/:id/package-categories","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":id","package-categories"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"e8050797-d705-45b6-a4ec-571ebc91ee1a","name":"Get Category List","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/hotels/:id/package-categories","host":["{{endpoint}}"],"path":["api","v1","hotels",":id","package-categories"],"variable":[{"key":"id","type":"string","value":"{{hotel_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"360"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"Ijc3ODFmOTlmNGY2MjgyMzQzN2U0MzJlMzBhNDQzYTNjM2RiMDE5NDki.XudVFw.oxTnh_fM6UeMk39f9iEiBmnH_O0"},{"key":"Set-Cookie","value":"session=e183635d-32c9-42c1-8b96-15e0832984b3.3wXCF42tPzmkR-tJ2qbxdkF90VU; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Mon, 15 Jun 2020 11:01:43 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 2,\n        \"results\": [\n            {\n                \"id\": \"5ee75322d1b7e3f35fcb9843\",\n                \"name\": \"Food & Beverage\",\n                \"description\": \"Great deals on food and beverages\",\n                \"slug\": \"Food-Beverage-9843\"\n            },\n            {\n                \"id\": \"5ee754d892b8479ebb71c273\",\n                \"name\": \"Meal Deals\",\n                \"description\": \"\",\n                \"slug\": \"Meal-Deals-c273\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"},{"id":"ee020b32-5aca-4675-b458-b8075b92f370","name":"Get Category List","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/hotels/:id/package-categories","host":["{{base_url}}"],"path":["hotels",":id","package-categories"],"variable":[{"key":"id","type":"string","value":"{{hotel_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2247"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImRlYTNiN2U2YjRlMGI5ZTAwYzcyZjI5NmU5YTA5MGVlZmU1M2NjOTki.X3xQwg.XRoEHEDUoLaDutoJDM8GzmV5RyY"},{"key":"Set-Cookie","value":"session=b199fa9d-3e36-4e67-b767-81f0513c1bfa.U0fxauJX24Ikcqy32WdE8wTzvNk; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Tue, 06 Oct 2020 11:10:58 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 6,\n        \"results\": [\n            {\n                \"description\": \"\",\n                \"id\": \"5ef0344319c87697c21a8bde\",\n                \"image_gallery\": [],\n                \"in_use\": false,\n                \"name\": \"Food & Beverage\",\n                \"slug\": null\n            },\n            {\n                \"description\": \"\",\n                \"id\": \"5ef0344319c87697c21a8bdf\",\n                \"image_gallery\": [],\n                \"in_use\": true,\n                \"name\": \"Spa\",\n                \"slug\": null\n            },\n            {\n                \"description\": \"\",\n                \"id\": \"5ef0344319c87697c21a8be0\",\n                \"image_gallery\": [],\n                \"in_use\": false,\n                \"name\": \"Days Out\",\n                \"slug\": null\n            },\n            {\n                \"description\": \"\",\n                \"id\": \"5f7ab08fc44884178b22b595\",\n                \"image_gallery\": [],\n                \"in_use\": true,\n                \"name\": \"Sport\",\n                \"slug\": null\n            },\n            {\n                \"description\": \"Vouchers related to food and beverages.\",\n                \"id\": \"5f7c50430a19ab2ae823ae57\",\n                \"image_gallery\": [],\n                \"in_use\": false,\n                \"name\": \"Food & Beverage\",\n                \"slug\": \"food-beverage-ae57\"\n            },\n            {\n                \"description\": \"Vouchers related to food and beverages.\",\n                \"id\": \"5f7c50bf0df8d9d0fa69c9be\",\n                \"image_gallery\": [\n                    {\n                        \"created_at\": \"2020-03-26T09:15:28.545000\",\n                        \"file_type\": \"img\",\n                        \"id\": \"5e7c72b007f21cc9195c3544\",\n                        \"name\": \"Image from iOS.jpg\",\n                        \"size\": 960991,\n                        \"url\": \"https://d30qdklwrf4p1t.cloudfront.net/guests/OT2AKC9G-Image_from_iOS.jpg\",\n                        \"user_type\": 1\n                    }\n                ],\n                \"in_use\": false,\n                \"name\": \"Food & Beverage\",\n                \"slug\": \"food-beverage-c9be\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"85304b25-2d9e-4a09-a288-49f5e452e352"},{"name":"Delete Category","id":"bef30c37-cabd-43bd-a7c0-1c940204071b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{}"},"url":"{{endpoint}}/api/v1/package-categories/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","package-categories",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{category_id}}","key":"id"}]}},"response":[{"id":"416311f1-a5fc-4916-8b89-4dedec54d274","name":"Delete Category","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{}"},"url":{"raw":"{{endpoint}}/api/v1/package-categories/:id","host":["{{endpoint}}"],"path":["api","v1","package-categories",":id"],"variable":[{"key":"id","value":"{{category_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"64"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"Ijc3ODFmOTlmNGY2MjgyMzQzN2U0MzJlMzBhNDQzYTNjM2RiMDE5NDki.XudVPg.2Oe5li988JFTt2H-BKybFzP-k8Q"},{"key":"Set-Cookie","value":"session=e183635d-32c9-42c1-8b96-15e0832984b3.3wXCF42tPzmkR-tJ2qbxdkF90VU; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Mon, 15 Jun 2020 11:02:22 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {},\n    \"status\": \"success\"\n}"}],"_postman_id":"bef30c37-cabd-43bd-a7c0-1c940204071b"},{"name":"Edit Category","id":"c1472fb3-4af0-4c45-8a7a-480c12b4a04a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Meal Deals\",\n    \"description\": \"Vouchers related to food and beverages.\",\n    \"media_ids\": [\"5e7c72b007f21cc9195c3544\"]\n}"},"url":"{{endpoint}}/api/v1/package-categories/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","package-categories",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{category_id}}","key":"id"}]}},"response":[{"id":"3697bbed-c118-4b08-a7f6-5eabeffaebd1","name":"Edit Category","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Meal Deals\"\n}"},"url":{"raw":"{{endpoint}}/api/v1/package-categories/:id","host":["{{endpoint}}"],"path":["api","v1","package-categories",":id"],"variable":[{"key":"id","value":"5ee754d892b8479ebb71c273"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"Ijc3ODFmOTlmNGY2MjgyMzQzN2U0MzJlMzBhNDQzYTNjM2RiMDE5NDki.XudVFA.34xb2CI56yRmd3i8Yh8XRoZHHAE"},{"key":"Set-Cookie","value":"session=e183635d-32c9-42c1-8b96-15e0832984b3.3wXCF42tPzmkR-tJ2qbxdkF90VU; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Mon, 15 Jun 2020 11:01:40 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5ee754d892b8479ebb71c273\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"c1472fb3-4af0-4c45-8a7a-480c12b4a04a"}],"id":"e293ecba-1e09-4411-8b1c-eda4cff4761d","_postman_id":"e293ecba-1e09-4411-8b1c-eda4cff4761d","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Tags","item":[{"name":"Add Tag","id":"d70805fe-7e40-4289-8e38-dd0a6b117a60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Recommended\"\n}"},"url":"{{endpoint}}/api/v1/hotels/:id/item-tags","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","item-tags"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"0f93b628-28fa-4d47-a1d0-0a4873712342","name":"Add Tag","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Recommended\"\n}"},"url":{"raw":"{{endpoint}}/api/v1/hotels/:id/item-tags","host":["{{endpoint}}"],"path":["api","v1","hotels",":id","item-tags"],"variable":[{"key":"id","value":"{{hotel_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"Ijc3ODFmOTlmNGY2MjgyMzQzN2U0MzJlMzBhNDQzYTNjM2RiMDE5NDki.XudYjQ.Sd7s98nt8EcYCyuFfSCEbzQz5bM"},{"key":"Set-Cookie","value":"session=e183635d-32c9-42c1-8b96-15e0832984b3.3wXCF42tPzmkR-tJ2qbxdkF90VU; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Mon, 15 Jun 2020 11:16:29 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5ee7588de540cd7ebaf359da\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"d70805fe-7e40-4289-8e38-dd0a6b117a60"},{"name":"Get Tag List","id":"4c3e97ef-d8c0-4631-9eed-942f24be360b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/:id/item-tags","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":id","item-tags"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[{"id":"edb5d998-a4d9-4480-bd43-041786d9868e","name":"Get Tag List","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/hotels/:id/item-tags","host":["{{endpoint}}"],"path":["api","v1","hotels",":id","item-tags"],"variable":[{"key":"id","type":"string","value":"{{hotel_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"359"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"Ijc3ODFmOTlmNGY2MjgyMzQzN2U0MzJlMzBhNDQzYTNjM2RiMDE5NDki.XudYpA.ssj4T6gnlKNoTdLdya0j60CjzWk"},{"key":"Set-Cookie","value":"session=e183635d-32c9-42c1-8b96-15e0832984b3.3wXCF42tPzmkR-tJ2qbxdkF90VU; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Mon, 15 Jun 2020 11:16:52 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 2,\n        \"results\": [\n            {\n                \"id\": \"5ee7588de540cd7ebaf359da\",\n                \"name\": \"Recommended\"\n            },\n            {\n                \"id\": \"5ee758a2e540cd7ebaf359dd\",\n                \"name\": \"Special Offer\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"4c3e97ef-d8c0-4631-9eed-942f24be360b"},{"name":"Delete Tag","id":"fff50b0d-35ae-4a8f-a475-fe4f84af9e5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{}"},"url":"{{endpoint}}/api/v1/item-tags/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","item-tags",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{item_tag}}","key":"id"}]}},"response":[{"id":"3a634797-23b1-409a-9937-8d42280bb60b","name":"Delete Tag","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{}"},"url":{"raw":"{{endpoint}}/api/v1/item-tags/:id","host":["{{endpoint}}"],"path":["api","v1","item-tags",":id"],"variable":[{"key":"id","value":"5ee758a2e540cd7ebaf359dd"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"64"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"Ijc3ODFmOTlmNGY2MjgyMzQzN2U0MzJlMzBhNDQzYTNjM2RiMDE5NDki.XudY1g.qVScSvi_iCxSa_IJVd--XLuN8_A"},{"key":"Set-Cookie","value":"session=e183635d-32c9-42c1-8b96-15e0832984b3.3wXCF42tPzmkR-tJ2qbxdkF90VU; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Mon, 15 Jun 2020 11:17:42 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {},\n    \"status\": \"success\"\n}"}],"_postman_id":"fff50b0d-35ae-4a8f-a475-fe4f84af9e5b"},{"name":"Edit Tag","id":"62f2853d-771f-4d28-a5e7-4236bf93517b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Lowest Price!\"\n}"},"url":"{{endpoint}}/api/v1/item-tags/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","item-tags",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"{{tag_id}}","key":"id"}]}},"response":[{"id":"8ea655ba-e31c-4370-9328-a5861ccbe1b9","name":"Edit Tag","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Lowest Price!\"\n}"},"url":{"raw":"{{endpoint}}/api/v1/item-tags/:id","host":["{{endpoint}}"],"path":["api","v1","item-tags",":id"],"variable":[{"key":"id","value":"5ee758a2e540cd7ebaf359dd"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"Ijc3ODFmOTlmNGY2MjgyMzQzN2U0MzJlMzBhNDQzYTNjM2RiMDE5NDki.XudYtQ.fS1q2Codm8-jZO8g15Yj5dQASbQ"},{"key":"Set-Cookie","value":"session=e183635d-32c9-42c1-8b96-15e0832984b3.3wXCF42tPzmkR-tJ2qbxdkF90VU; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Mon, 15 Jun 2020 11:17:09 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"5ee758a2e540cd7ebaf359dd\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"62f2853d-771f-4d28-a5e7-4236bf93517b"}],"id":"b0a1bf25-4ac2-458a-b9cf-daa799b52358","_postman_id":"b0a1bf25-4ac2-458a-b9cf-daa799b52358","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Email","item":[{"name":"Send Email","id":"841dbeeb-68fa-4c38-8e41-c7a92a627bc1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{endpoint}}/api/v1/send-email","description":"<p>An api used to test new email templates. Make sure you've updated the resource before calling this api.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","send-email"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"841dbeeb-68fa-4c38-8e41-c7a92a627bc1"}],"id":"2d3a560c-ca49-4a36-b679-70090e075904","_postman_id":"2d3a560c-ca49-4a36-b679-70090e075904","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Promo Code","item":[{"name":"Create","id":"3a27274f-3c29-43f4-85de-b4e214166479","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"20% off Fairmont Stays and Mikuni Tea\", \n\t\"code\": \"SPECIAL20\",\n\t\"package_ids\": [\"5f80505e91b8b20de332b193\"],\n    \"delivery_applicable\": true,\n\t\"amount_type\": \"absolute\", \n\t\"amount_value\": 10, \n\t\"quantity\": 20,\n\t\"start_date\": \"09 Jun 2020, 12:30 pm\", \n\t\"end_date\": \"09 Aug 2020, 12:30 pm\", \n\t\"valid_dates\": [\"monday\", \"tuesday\", \"wednesday\", \"thursday\"], \n\t\"min_spend_value\": 30, \n\t\"remarks\": \"example remarks.\", \n\t\"all_package\": true,\n\t\"site_wide_discount\": true,\n    \"delivery_rate_applicable\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/hotels/:id/promos","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["hotels",":id","promos"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"{{hotel_id}}","key":"id"}]}},"response":[],"_postman_id":"3a27274f-3c29-43f4-85de-b4e214166479"},{"name":"Edit","id":"ac936af2-64f3-431e-91d4-241d5a969f50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\t\"name\": \"20% off Fairmont Stays and Mikuni Tea\", \n\t\"promo_code\": \"SPECIAL20\",\n\t\"package_ids\": [\"5f0eae30c97b8897c6237575\"],\n    \"delivery_applicable\": true,\n\t\"amount_type\": \"percent\", \n\t\"amount_value\": 10, \n\t\"quantity\": 20,\n\t\"start_date\": \"09 Jun 2020, 12:30 pm\", \n\t\"end_date\": \"09 Aug 2020, 12:30 pm\", \n\t\"valid_dates\": [\"monday\", \"tuesday\", \"wednesday\", \"thursday\"], \n\t\"min_speed_value\": 30, \n\t\"remarks\": \"example remarks.\", \n\t\"all_package\": true,\n\t\"site_wide_discount\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api/v1/promos/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","promos",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"ac936af2-64f3-431e-91d4-241d5a969f50"},{"name":"List","id":"08686f27-80b6-4a28-86aa-1b11d1ff78b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/hotels/:hotel_id/promos?limit={{limit}}&page={{page}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","hotels",":hotel_id","promos"],"host":["{{endpoint}}"],"query":[{"key":"limit","value":"{{limit}}"},{"key":"page","value":"{{page}}"}],"variable":[{"type":"string","value":"","key":"hotel_id"}]}},"response":[{"id":"4545b0a9-62ee-42eb-860d-d0c718fcd26d","name":"Get promo List","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/hotels/:hotel_id/promos","host":["{{endpoint}}"],"path":["api","v1","hotels",":hotel_id","promos"],"variable":[{"key":"hotel_id","value":"","type":"string"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"count\": 1,\n        \"filter\": {\n            \"limit\": 50,\n            \"order\": \"desc\",\n            \"page\": 1,\n            \"sort\": \"total_redeemed\"\n        },\n        \"results\": [\n            {\n                \"created_at\": \"2020-07-29T07:06:49.828000\",\n                \"amount_type\": \"absolute\",\n                \"amount_value\": 20,\n                \"end_date\": \"2020-08-09T12:30:00\",\n                \"id\": \"5f21200a124b664d46434dbd\",\n                \"name\": \"20% off Fairmont Stays and Mikuni Tea\",\n                \"promo_code\": \"SPECIAL20\",\n                \"start_date\": \"2020-06-09T12:30:00\",\n                \"status\": \"active\",\n                \"total_redeemed\": 0,\n                \"updated_at\": \"2020-07-29T07:06:50.373000\"\n            }\n        ]\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"08686f27-80b6-4a28-86aa-1b11d1ff78b0"},{"name":"Cancel","id":"b0420800-5f36-4f6f-8097-72039bcf09f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{endpoint}}/api/v1/promos/:id/cancel","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","promos",":id","cancel"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"b0420800-5f36-4f6f-8097-72039bcf09f6"},{"name":"Get Promo detail","id":"1d23d178-a8a0-4b0a-b0ab-4e3d09bc1cb0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api/v1/promos/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api","v1","promos",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"57097847-a155-43ac-a691-9c7e651db9e6","name":"Get Promo detail","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api/v1/promos/:id","host":["{{endpoint}}"],"path":["api","v1","promos",":id"],"variable":[{"key":"id","value":""}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"created_at\": \"2020-07-29T07:06:49.828000\",\n        \"amount_type\": \"absolute\",\n        \"amount_value\": 10,\n        \"end_date\": \"2020-08-09T12:30:00\",\n        \"id\": \"5f21200a124b664d46434dbd\",\n        \"min_speed_value\": 30,\n        \"name\": \"20% off Fairmont Stays and Mikuni Tea\",\n        \"packages\": [\n            {   \n                \"id\": \"5f21200a124b664d46434dbd\",\n                \"description\": \"<p>description long</p>\",\n                \"name\": \"Cheese Outlet\",\n                \"notes\": \"<p>thing to note sample</p>\",\n                \"type\": \"voucher\",\n                \"validity\": {\n                    \"count\": 0,\n                    \"period\": null,\n                    \"valid_from\": null,\n                    \"valid_to\": null\n                }\n            }\n        ],\n        \"delivery_applicable\": true,\n        \"promo_code\": \"SPECIAL20\",\n        \"quantity\": 20,\n        \"remarks\": \"example remarks.\",\n        \"site_wide_discount\": true,\n        \"start_date\": \"2020-06-09T12:30:00\",\n        \"status\": \"active\",\n        \"total_redeemed\": 0,\n        \"updated_at\": \"2020-07-29T07:06:50.373000\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"1d23d178-a8a0-4b0a-b0ab-4e3d09bc1cb0"}],"id":"fee285ff-9890-4d7c-b67b-8940c7da00b8","_postman_id":"fee285ff-9890-4d7c-b67b-8940c7da00b8","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Notification Webhook","item":[{"name":"Receive a notification","id":"ba51c761-be48-42a2-8f23-ab9fd9167760","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Basic dXNlcm5hbWU6cGFzc3dvcmQ=","type":"text"},{"key":"User-Agent","value":"Adyen HttpClient 1.0","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"live\": \"false\",\n    \"notificationItems\": [\n        {\n            \"NotificationRequestItem\": {\n                \"additionalData\": {\n                    \"hmacSignature\": \"W1n14OcWtXdkywYXAhPIq25BGHl73Su5sfHEewKMqTU=\"\n                },\n                \"eventCode\": \"REFUND\",\n                \"merchantReference\": \"res-e866af7e127740d8b19d1415abf827e4\",\n                \"merchantAccountCode\": \"IdemLabsPteLtdCOM\",\n                \"pspReference\": \"853636038506245F\",\n                \"reason\": \"\",\n                \"amount\": {\n                    \"currency\": \"USD\",\n                    \"value\": 100\n                },\n                \"originalReference\": \"863636038500111E\",\n                \"success\": \"true\",\n                \"paymentMethod\": \"visa\",\n                \"eventDate\": \"2021-11-04T16:08:28+01:00\"\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{api_service_url}}/payments/notifications","description":"<p>A notification webhook to receive webhook POST request sending from payment service provider (PSP)</p>\n<h2 id=\"url-variable\">URL Variable:</h2>\n<ul>\n<li>No URL variable documented</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<ul>\n<li>Body payload is a notification object with the format is defined by PSP separately. For instance: Adyen notification structure <a href=\"https://docs.adyen.com/development-resources/webhooks/understand-notifications#notification-structure\">here</a></li>\n</ul>\n<h2 id=\"return\">Return:</h2>\n<ul>\n<li>As notifications come in, we’ll first acknowledge the notifications with a response depends to PSP response format. This helps ensure that our application server continues to properly accept notifications.</li>\n</ul>\n<h2 id=\"adyen-refund-webhook-setup\">Adyen REFUND webhook setup</h2>\n<ul>\n<li>Reference Adyen docs <a href=\"https://docs.adyen.com/development-resources/webhooks#set-up-notifications-in-your-customer-area\">here</a></li>\n<li>Log in to your <a href=\"https://ca-test.adyen.com/\">Customer Area</a>. If you want to configure notifications at merchant level, <a href=\"https://docs.adyen.com/account/manage-account-structure#switching-between-accounts\">switch to your merchant account</a>.</li>\n<li>Go to <strong>Developers &gt; Webhooks.</strong></li>\n<li>In the upper-right corner, select the <strong>+ Webhook</strong> button.</li>\n<li>Next to <strong>Standard notification</strong>, select <strong>Add.</strong></li>\n<li>Under <strong>Transport</strong>, enter:</li>\n<li><strong>URL.</strong> Notification webhook public URL. e.g: staging <code>https://services.stg.idemapis.com/api/v1/payments/notifications</code></li>\n<li><strong>SSL (TLS) Version</strong>. Select TLSv1.2.</li>\n<li><strong>Method</strong>. Choose one from JSON, HTTP POST.</li>\n<li>Select the <strong>Active</strong> check box.</li>\n<li>Under <strong>Authentication</strong>, enter your server's username and password for basic authentication. We include these details in the header of the notification request to authenticate with your server.</li>\n<li>Under <strong>Additional settings</strong>, To receive <a href=\"https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures\">HMAC signed notifications</a>, select <strong>Generate new HMAC key</strong></li>\n<li>Select <strong>Save Configuration</strong>.</li>\n<li>Add <strong>Authentication username</strong> and <strong>password</strong>, and <strong>HMAC key</strong> to corresponding fields <strong>notification_username</strong>, <strong>notification_password</strong>, and <strong>notification_secret</strong> in <strong>services</strong> collection a specific hotel.</li>\n</ul>\n<p>For instance <strong>Adyen service:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"_id\" : ObjectId(\"603cc263ebb763cdd273a203\"),\n    \"account\" : \"ADYEN_MERCHANT_ACCOUNT\",\n    \"api_key\" : \"ADYEN_API_KEY\",\n    \"client_id\" : \"ADYEN_CLIENT_KEY\",\n    \"hotel\" : ObjectId(\"5b64304986819e07d799b133\"),\n    \"params\" : {\n        \"live_url_prefix\" : \"\"\n    },\n    \"provider\" : \"adyen\",\n    \"provider_type\" : \"payment\",\n    \"sandbox\" : true,\n    \"secret_key\" : null,\n    \"acquirer\" : \"bbl\",\n    \"notification_username\" : \"NOTIFICATION_AUTH_USERNAME\",\n    \"notification_password\" : \"NOTIFICATION_AUTH_PASSWORD\",\n    \"notification_secret\" : \"NOTIFICATION_HMAC_KEY\"\n}\n</code></pre>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["payments","notifications"],"host":["{{api_service_url}}"],"query":[],"variable":[]}},"response":[{"id":"b2efcbff-c1e0-408e-9183-00db420fa30d","name":"OK - Successful received Adyen Refund webhook","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Basic dXNlcm5hbWU6cGFzc3dvcmQ=","type":"text"},{"key":"User-Agent","value":"Adyen HttpClient 1.0","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"live\": \"false\",\n    \"notificationItems\": [\n        {\n            \"NotificationRequestItem\": {\n                \"additionalData\": {\n                    \"hmacSignature\": \"W1n14OcWtXdkywYXAhPIq25BGHl73Su5sfHEewKMqTU=\"\n                },\n                \"eventCode\": \"REFUND\",\n                \"merchantReference\": \"res-e866af7e127740d8b19d1415abf827e4\",\n                \"merchantAccountCode\": \"IdemLabsPteLtdCOM\",\n                \"pspReference\": \"853636038506245F\",\n                \"reason\": \"\",\n                \"amount\": {\n                    \"currency\": \"USD\",\n                    \"value\": 100\n                },\n                \"originalReference\": \"863636038500111E\",\n                \"success\": \"true\",\n                \"paymentMethod\": \"visa\",\n                \"eventDate\": \"2021-11-04T16:08:28+01:00\"\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/payments/notifications"},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"10"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.16"},{"key":"Date","value":"Thu, 04 Nov 2021 15:12:30 GMT"}],"cookie":[],"responseTime":null,"body":"[accepted]"}],"_postman_id":"ba51c761-be48-42a2-8f23-ab9fd9167760"}],"id":"ab6c9a43-2406-4823-b673-4058e5d827d0","_postman_id":"ab6c9a43-2406-4823-b673-4058e5d827d0","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Auth","item":[{"name":"Token","event":[{"listen":"test","script":{"id":"1911926b-889f-454a-b602-d36a782bca6d","exec":["var jsonData = pm.response.json();","pm.environment.set(\"access_token\", jsonData.access_token);"],"type":"text/javascript"}}],"id":"202c5799-b907-4251-bf34-1dff600126f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"admin@example.com\",\n    \"password\": \"password\",\n    \"redirect_uri\": \"localhost:8080\",\n    \"grant_type\": \"password\"\n}","options":{"raw":{"language":"json"}}},"url":"{{identity_url}}/oauth/token","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["oauth","token"],"host":["{{identity_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"202c5799-b907-4251-bf34-1dff600126f4"}],"id":"c7b20478-f657-43c0-8e25-4e9b2145354d","_postman_id":"c7b20478-f657-43c0-8e25-4e9b2145354d","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}},{"name":"Booking V2","item":[{"name":"Create a booking","id":"7f55ccbc-5d81-4aba-9577-4472ed98a210","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"reservations\": [\n        {\n            \"check_in\": \"2024-01-01T00:00:00Z\",\n            \"check_out\": \"2024-01-05T00:00:00Z\",\n            \"adults\": 2,\n            \"children\": 3,\n            \"child_age_list\": [\n                1,\n                2,\n                3\n            ],\n            \"rate_plan_id\": \"{{rate_plan_id}}\",\n            \"room_class_id\": null,\n            \"upsell_rateplan_from\": \"634e30e4d3c188b25cd6b7ab\",\n            \"upsell_roomclass_from\": \"634e30ecd3c188b25cd6b7ac\",\n            \"is_booker_reserved\": false,\n            \"primary_guest\": {\n                \"salutation\": \"Miss\",\n                \"first_name\": \"Mabel\",\n                \"last_name\": \"Hansen\",\n                \"email\": \"Frida_Kunze17@yahoo.com\",\n                \"job_title\": \"Lead Accountability Agent\",\n                \"company\": \"Feest, McLaughlin and Raynor\",\n                \"address\": {\n                    \"line1\": \"402 Strafford Ave\",\n                    \"city\": \"Wayne\",\n                    \"postal_code\": \"19087\",\n                    \"state\": \"PA\",\n                    \"country\": \"us\"\n                }\n            },\n            \"additional_guests\": [\n                {\n                    \"salutation\": \"Dr.\",\n                    \"first_name\": \"Golden\",\n                    \"last_name\": \"Gleason\",\n                    \"email\": \"Caleb.McGlynn8@yahoo.com\",\n                    \"job_title\": \"Dynamic Operations Specialist\",\n                    \"company\": \"Kertzmann - Huels\",\n                    \"address\": {\n                        \"line1\": \"402 Strafford Ave\",\n                        \"city\": \"Wayne\",\n                        \"postal_code\": \"19087\",\n                        \"state\": \"PA\",\n                        \"country\": \"us\"\n                    }\n                }\n            ]\n        }\n    ],\n    \"type\": \"multiple\",\n    \"slug\": \"tempora-at-reiciendis\",\n    \"mailing\": true,\n    \"is_hotel_promoted\": true,\n    \"is_hotel_member\": true,\n    \"signup_hotel_member\": false,\n    \"hotel_message\": \"Non culpa accusamus quaerat voluptatem omnis vero. Et sapiente cupiditate eius ad distinctio fuga recusandae nulla. Eum nisi recusandae adipisci maxime sed velit ab assumenda.\",\n    \"private_hotel_message\": \"Quo ab asperiores et. Qui nesciunt aut quisquam corporis voluptatum qui. Rerum corporis dolorem ullam. Velit qui voluptatem illo. Sint quos eligendi quibusdam.\",\n    \"membership_id\": \"1234ABCD\",\n    \"est_arrival\": \"12:00pm\",\n    \"arrival_flight\": \"123ABC\",\n    \"est_departure\": \"6:00am\",\n    \"departure_flight\": \"123ABC\",\n    \"tos_agree\": true,\n    \"source\": \"guest\",\n    \"booker\": {\n        \"salutation\": \"Mr.\",\n        \"first_name\": \"Alexandrea\",\n        \"last_name\": \"Gibson\",\n        \"email\": \"Miguel.Effertz57@yahoo.com\",\n        \"job_title\": \"Regional Solutions Liaison\",\n        \"company\": \"Kshlerin, Hickle and Moen\",\n        \"address\": {\n            \"line1\": \"402 Strafford Ave\",\n            \"city\": \"Wayne\",\n            \"postal_code\": \"19087\",\n            \"state\": \"PA\",\n            \"country\": \"us\"\n        }\n    },\n    \"billing\": {\n        \"billing_address\": {\n            \"email\": \"Brennon52@gmail.com\",\n            \"phone_number\": \"88-931-342-6958\",\n            \"first_name\": \"Johanna\",\n            \"last_name\": \"Hermiston\",\n            \"company\": \"Doyle, Kohler and Zulauf\",\n            \"line1\": \"644 Jacynthe Burg\",\n            \"line2\": \"022 Ullrich Views\",\n            \"city\": \"Ullrichmouth\",\n            \"country\": \"KZ\",\n            \"postal_code\": \"500000\",\n            \"state\": \"NA\"\n        },\n        \"payment_reference\": {\n            \"provider\": \"adyen\",\n            \"token\": \"CARD_TOKEN\",\n            \"customer_id\": \"CUSTOMER_ID\",\n            \"auth_token\": \"AUTH_TOKEN\",\n            \"payment_key\": \"PAYMENT_KEY\"\n        },\n        \"name\": \"Brittany Ward\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api-portal/v2/sub-blocks/:sub_block_id/bookings","description":"<p>Create a booking which contains one or many reservations</p>\n<h2 id=\"url-variable\">URL Variable:</h2>\n<ul>\n<li><strong>sub_block_id</strong> (object_id, required) - The sub-block's ID.</li>\n</ul>\n<h2 id=\"payload-schema\">Payload Schema:</h2>\n<ul>\n<li><strong>reservations</strong> (array[object]) - A list of reservation objects<ul>\n<li>(object) - A <code>reservation</code> schema<ul>\n<li><strong>check_in</strong> (ISO8601 UTC DateTime <code>YYYY-MM-DDThh:mm:ssZ</code>, required) - The check-in date, example: <code>2024-01-01T00:00:00Z</code></li>\n<li><strong>check_out</strong> (ISO8601 UTC DateTime <code>YYYY-MM-DDThh:mm:ssZ</code>, required) - The check-out date, example: <code>2024-01-05T00:00:00Z</code></li>\n<li><strong>adults</strong> (Integer, required) - The number of adults</li>\n<li><strong>children</strong> (Integer, required) - The number of children</li>\n<li><strong>child_age_list</strong> (array[Integer], required) - A list of children ages</li>\n<li><strong>rate_plan_id</strong> (object_id, required) - The rate plan's ID</li>\n<li><strong>room_class_id</strong> (object_id, required) - The room class's ID</li>\n<li><strong>upsell_rateplan_from</strong></li>\n<li><strong>upsell_rateplan_from</strong></li>\n<li><strong>is_booker_reserved</strong> (boolean, required) - True if booker is the primary guest of the reservation, False otherwise</li>\n<li><strong>primary_guest</strong> (object, is_booker_reserved? optional:required) - Primary Guest Account Detail Schema<ul>\n<li><strong>salutation</strong> (enum, optional) - The salutation of the primary guest</li>\n<li><strong>first_name</strong> (string, depend on feature settings) - The first name of the primary guest</li>\n<li><strong>last_name</strong> (string, depend on feature settings) - The last name of the primary guest</li>\n<li><strong>email</strong> (string, required) - The email of the primary guest</li>\n<li><strong>job_title</strong> (string, optional) - The job title of the primary guest</li>\n<li><strong>company</strong> (string, optional) - The company of the primary guest</li>\n<li><strong>address</strong> (object, required) - The address information of the primary guest<ul>\n<li><strong>line1</strong> (string, required) - self-explained</li>\n<li><strong>city</strong> (string, required) - self-explained</li>\n<li><strong>postal_code</strong> (string, required) - self-explained</li>\n<li><strong>state</strong> (string, required) - self-explained</li>\n<li><strong>country</strong> (string, required) - self-explained</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><strong>additional_guests</strong> NOT USE</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><strong>type</strong> (enum, required) - \"multiple\" if there are more than 1 reservation object, \"single\" otherwise</li>\n<li><strong>slug</strong> (string, required) - The sub-block's ID in human-friendly terms</li>\n<li><strong>mailing</strong> (boolean, required) - True if there is any email sending, False otherwise</li>\n<li><strong>is_hotel_promoted</strong> (boolean, required) - True if booker accepts promote emails, False otherwise</li>\n<li><strong>is_hotel_member</strong> (string, required) - True if booker is a member of hotel's loyalty club or want to register for membership, False otherwise</li>\n<li><strong>signup_hotel_member</strong> (string, required) - True if booker wants to register for membership at hotel's loyalty site</li>\n<li><strong>hotel_message</strong> (string, required) - self-explained</li>\n<li><strong>private_hotel_message</strong> (string, required) - self-explained</li>\n<li><strong>membership_id</strong> (string, required) - self-explained</li>\n<li><strong>est_arrival</strong> (string, required) - self-explained</li>\n<li><strong>arrival_flight</strong> (string, required) - self-explained</li>\n<li><strong>est_departure</strong> (string, required) - self-explained</li>\n<li><strong>departure_flight</strong> (string, required) - self-explained</li>\n<li><strong>tos_agree</strong> (boolean, required) - True if booker agrees with Term of Services, False otherwise</li>\n<li><strong>booker</strong> (object, required) - Booker Account Detail Schema<ul>\n<li><strong>salutation</strong> (enum, optional) - The salutation of the booker</li>\n<li><strong>first_name</strong> (string, depend on feature settings) - The first name of the booker</li>\n<li><strong>last_name</strong> (string, depend on feature settings) - The last name of the booker</li>\n<li><strong>email</strong> (string, required) - The email of the booker</li>\n<li><strong>job_title</strong> (string, optional) - The job title of the booker</li>\n<li><strong>company</strong> (string, optional) - The company of the booker</li>\n<li><strong>address</strong> (object, required) - The address information of the booker<ul>\n<li><strong>line1</strong> (string, required) - self-explained</li>\n<li><strong>city</strong> (string, required) - self-explained</li>\n<li><strong>postal_code</strong> (string, required) - self-explained</li>\n<li><strong>state</strong> (string, required) - self-explained</li>\n<li><strong>country</strong> (string, required) - self-explained</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><strong>billing</strong> (object, required) - Billing Detail Schema<ul>\n<li><strong>billing_address</strong> (object, required) Billing Address Detail<ul>\n<li><strong>email</strong> (string, required) - self-explained</li>\n<li><strong>phone_number</strong> (string, required) - self-explained</li>\n<li><strong>first_name</strong> (string, required) - self-explained</li>\n<li><strong>last_name</strong> (string, required) - self-explained</li>\n<li><strong>company</strong> (string, required) - self-explained</li>\n<li><strong>line1</strong> (string, required) - self-explained</li>\n<li><strong>line2</strong> (string, required) - self-explained</li>\n<li><strong>city</strong> (string, required) - self-explained</li>\n<li><strong>country</strong> (string, required) - The country code of the billing address</li>\n<li><strong>postal_code</strong> (string, required) - self-explained</li>\n<li><strong>state</strong> (string, required) - self-explained</li>\n</ul>\n</li>\n<li><strong>payment_reference</strong> (object, required) - Payment Reference Detail<ul>\n<li><strong>provider</strong> (enum, required) - One of predefined payment providers</li>\n<li><strong>token</strong> (string, required) - Token for the transaction reference</li>\n<li><strong>customer_id</strong> (string, required) - Customer ID from transaction detail</li>\n</ul>\n</li>\n<li>Return:</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api-portal","v2","sub-blocks",":sub_block_id","bookings"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"{{subblock_id}}","key":"sub_block_id"}]}},"response":[{"id":"21a2efbe-40a2-4384-a1f1-7f279664bdba","name":"200 OK - Successful creates new booking","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"reservations\": [\n        {\n            \"check_in\": \"2024-01-01T00:00:00Z\",\n            \"check_out\": \"2024-01-05T00:00:00Z\",\n            \"adults\": 2,\n            \"children\": 3,\n            \"child_age_list\": [\n                1,\n                2,\n                3\n            ],\n            \"rate_plan_id\": \"{{rate_plan_id}}\",\n            \"room_class_id\": null,\n            \"upsell_rateplan_from\": \"634e30e4d3c188b25cd6b7ab\",\n            \"upsell_roomclass_from\": \"634e30ecd3c188b25cd6b7ac\",\n            \"is_booker_reserved\": false,\n            \"primary_guest\": {\n                \"salutation\": \"Miss\",\n                \"first_name\": \"Burnice\",\n                \"last_name\": \"Legros\",\n                \"email\": \"Alessandra.Weber@gmail.com\",\n                \"job_title\": \"Regional Configuration Liaison\",\n                \"company\": \"Walker and Sons\",\n                \"address\": {\n                    \"line1\": \"402 Strafford Ave\",\n                    \"city\": \"Wayne\",\n                    \"postal_code\": \"19087\",\n                    \"state\": \"PA\",\n                    \"country\": \"us\"\n                }\n            },\n            \"additional_guests\": [\n                {\n                    \"salutation\": \"Mr.\",\n                    \"first_name\": \"Chelsie\",\n                    \"last_name\": \"Goyette\",\n                    \"email\": \"Reece_McClure25@gmail.com\",\n                    \"job_title\": \"Lead Optimization Coordinator\",\n                    \"company\": \"Grant, Bruen and Harvey\",\n                    \"address\": {\n                        \"line1\": \"402 Strafford Ave\",\n                        \"city\": \"Wayne\",\n                        \"postal_code\": \"19087\",\n                        \"state\": \"PA\",\n                        \"country\": \"us\"\n                    }\n                }\n            ]\n        }\n    ],\n    \"type\": \"multiple\",\n    \"slug\": \"sint-ullam-incidunt\",\n    \"mailing\": true,\n    \"is_hotel_promoted\": true,\n    \"is_hotel_member\": true,\n    \"signup_hotel_member\": false,\n    \"hotel_message\": \"Sed rerum et magnam commodi. Odio perferendis reiciendis eius quibusdam quam. Laboriosam ad sint similique aut voluptatem id nemo ipsa earum. Aut officiis eveniet et alias quia qui vero quos dolore. Harum voluptatem nobis quia quo occaecati nemo aperiam et. Dolorem ex ipsa inventore minima eius voluptas.\",\n    \"private_hotel_message\": \"Ducimus modi doloremque qui inventore. Autem omnis fugiat sit a eum. Molestiae deserunt doloribus delectus atque deleniti error nihil. Amet a iusto vitae possimus et et tenetur aut. Quod voluptatem iste aperiam.\",\n    \"membership_id\": \"1234ABCD\",\n    \"est_arrival\": \"12:00pm\",\n    \"arrival_flight\": \"123ABC\",\n    \"est_departure\": \"6:00am\",\n    \"departure_flight\": \"123ABC\",\n    \"tos_agree\": true,\n    \"source\": \"guest\",\n    \"booker\": {\n        \"salutation\": \"Mrs.\",\n        \"first_name\": \"Queenie\",\n        \"last_name\": \"Hintz\",\n        \"email\": \"Kylie85@gmail.com\",\n        \"job_title\": \"Dynamic Web Associate\",\n        \"company\": \"Runolfsdottir, Conroy and Jaskolski\",\n        \"address\": {\n            \"line1\": \"402 Strafford Ave\",\n            \"city\": \"Wayne\",\n            \"postal_code\": \"19087\",\n            \"state\": \"PA\",\n            \"country\": \"us\"\n        }\n    },\n    \"billing\": {\n        \"billing_address\": {\n            \"email\": \"Gabrielle74@hotmail.com\",\n            \"phone_number\": \"45-844-454-5382\",\n            \"first_name\": \"Cameron\",\n            \"last_name\": \"Batz\",\n            \"company\": \"Bechtelar and Sons\",\n            \"line1\": \"6820 Klein Mission\",\n            \"line2\": \"39499 Morgan Lodge\",\n            \"city\": \"New Claudie\",\n            \"country\": \"KZ\",\n            \"postal_code\": \"500000\",\n            \"state\": \"NA\"\n        },\n        \"payment_reference\": {\n            \"provider\": \"adyen\",\n            \"token\": \"8416196042151926\",\n            \"customer_id\": \"cus-2e6064bef4814f5eb6b88731c8ab94d8\",\n            \"auth_token\": \"AUTH_TOKEN\",\n            \"payment_key\": \"PAYMENT_KEY\"\n        },\n        \"name\": \"Mrs. Eunice Flatley\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint}}/api-portal/v2/sub-blocks/:sub_block_id/bookings","host":["{{endpoint}}"],"path":["api-portal","v2","sub-blocks",":sub_block_id","bookings"],"variable":[{"key":"sub_block_id","value":"{{subblock_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"122"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImRmNmYxZDE2ODA0NmZiOTcwMTZjZmM4Mjg2MjdhNzdhNzFmZjAzY2Mi.Y14gaA.fcBel4p4XFSmPuYV-TH5C_0lGRQ"},{"key":"Set-Cookie","value":"session=0088af8e-b43b-4b9f-bb24-2eb29afa9463.XRpxqljwZG-ub_Ybqj_m5aVqxrQ; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Sun, 30 Oct 2022 06:57:44 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"9427f4dc-02d9-4c0c-a8cc-425b23246ca8\"\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"7f55ccbc-5d81-4aba-9577-4472ed98a210"},{"name":"Retrieve a booking","id":"2e3469ad-ce11-4ead-acc6-4201916c9110","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/api-portal/v2/sub-blocks/:sub_block_id/bookings/:booking_id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api-portal","v2","sub-blocks",":sub_block_id","bookings",":booking_id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"{{subblock_id}}","key":"sub_block_id"},{"type":"any","value":"{{booking_id}}","key":"booking_id"}]}},"response":[{"id":"5f1a0a33-5df0-449b-9a1d-079489a8feb5","name":"200 OK - Successful retrieves a booking","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/api-portal/v2/sub-blocks/:sub_block_id/bookings/:booking_id","host":["{{endpoint}}"],"path":["api-portal","v2","sub-blocks",":sub_block_id","bookings",":booking_id"],"variable":[{"key":"sub_block_id","value":"{{subblock_id}}"},{"key":"booking_id","value":"21f4c6bd-d1e1-4ac0-be29-0519f13112b2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"9675"},{"key":"Cache-Control","value":"no-cache, no-store"},{"key":"X-Idem-CSRF-Token","value":"ImRmNmYxZDE2ODA0NmZiOTcwMTZjZmM4Mjg2MjdhNzdhNzFmZjAzY2Mi.Y14f9g.qrI9QCgsGlTvm-9JydwTMvhcxHE"},{"key":"Set-Cookie","value":"session=0088af8e-b43b-4b9f-bb24-2eb29afa9463.XRpxqljwZG-ub_Ybqj_m5aVqxrQ; HttpOnly; Path=/"},{"key":"Server","value":"Werkzeug/1.0.1 Python/2.7.18"},{"key":"Date","value":"Sun, 30 Oct 2022 06:55:50 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"code\": \"OK\",\n    \"data\": {\n        \"id\": \"21f4c6bd-d1e1-4ac0-be29-0519f13112b2\",\n        \"event\": {\n            \"id\": \"6352869a67a54805275f41bd\",\n            \"name\": \"Multi-room booking\",\n            \"type\": \"Test / Training Block\",\n            \"dates_time\": true,\n            \"dates\": [],\n            \"section_headings\": [],\n            \"banner_details\": \"Book your hotel room at a special rate, exclusive to this event.\",\n            \"description\": \"\"\n        },\n        \"reservations\": [\n            {\n                \"additional_guests\": [],\n                \"adults\": 2,\n                \"confirmed_at\": null,\n                \"operation_email_flag\": null,\n                \"updated_at\": \"2022-10-30T06:55:38.271000+00:00\",\n                \"is_editable\": true,\n                \"pricing\": {\n                    \"avg_rate\": 120.0,\n                    \"avg_fee\": 93.75,\n                    \"subtotal\": 480.0,\n                    \"total_fees\": 375.0,\n                    \"total\": 855.0,\n                    \"prepaid\": 0.0,\n                    \"subprepaid\": 0.0,\n                    \"period\": null,\n                    \"payment\": false,\n                    \"tax_setup\": \"excluded\",\n                    \"currency\": \"USD\",\n                    \"currency_symbol\": \"$\",\n                    \"night_count\": 4,\n                    \"charged_night_count\": 4,\n                    \"dates\": [\n                        {\n                            \"fee\": 93.75,\n                            \"date\": \"01 Jan 2024\",\n                            \"master_billing\": false,\n                            \"rate\": 120.0\n                        },\n                        {\n                            \"fee\": 93.75,\n                            \"date\": \"02 Jan 2024\",\n                            \"master_billing\": false,\n                            \"rate\": 120.0\n                        },\n                        {\n                            \"fee\": 93.75,\n                            \"date\": \"03 Jan 2024\",\n                            \"master_billing\": false,\n                            \"rate\": 120.0\n                        },\n                        {\n                            \"fee\": 93.75,\n                            \"date\": \"04 Jan 2024\",\n                            \"master_billing\": false,\n                            \"rate\": 120.0\n                        }\n                    ],\n                    \"fees\": [\n                        {\n                            \"name\": \"Service Charge\",\n                            \"title\": \"Service Charge\",\n                            \"amount\": 48.0,\n                            \"form_type\": \"applied_amount\",\n                            \"description\": \"\"\n                        },\n                        {\n                            \"name\": \"Goods & Service Tax\",\n                            \"title\": \"Goods & Service Tax\",\n                            \"amount\": 7.0,\n                            \"form_type\": \"applied_amount\",\n                            \"description\": \"\"\n                        },\n                        {\n                            \"name\": \"Sample Tax/Fee\",\n                            \"title\": \"Sample Tax/Fee\",\n                            \"amount\": 96.0,\n                            \"form_type\": \"applied_amount\",\n                            \"description\": \"\"\n                        },\n                        {\n                            \"name\": \"Free Form Tax\",\n                            \"title\": \"Free Form Tax\",\n                            \"amount\": 0,\n                            \"form_type\": \"free_form\",\n                            \"description\": \"<p>QA Test</p>\\n\"\n                        },\n                        {\n                            \"name\": \"Whatever tax\",\n                            \"title\": \"Whatever tax\",\n                            \"amount\": 24.0,\n                            \"form_type\": \"applied_amount\",\n                            \"description\": \"\"\n                        },\n                        {\n                            \"name\": \"50 USD tax\",\n                            \"title\": \"50 USD tax\",\n                            \"amount\": 200.0,\n                            \"form_type\": \"applied_amount\",\n                            \"description\": \"\"\n                        }\n                    ]\n                },\n                \"children\": 3,\n                \"check_in\": \"2024-01-01T00:00:00+00:00\",\n                \"child_age_list\": [\n                    1,\n                    2,\n                    3\n                ],\n                \"id\": \"635e1fea8477f51b1fa6bcd4\",\n                \"market_code\": null,\n                \"is_processing\": false,\n                \"status\": \"pending\",\n                \"room_class\": null,\n                \"pms_confirmation_number\": null,\n                \"primary_guest\": {\n                    \"id\": \"635e1fea8477f51b1fa6bcd3\",\n                    \"salutation\": null,\n                    \"first_name\": \"Keegan\",\n                    \"last_name\": \"Upton\",\n                    \"email\": \"Jakob_Bartell18@yahoo.com\",\n                    \"job_title\": null,\n                    \"company\": null,\n                    \"address\": {\n                        \"line1\": \"\",\n                        \"line2\": \"\",\n                        \"city\": \"\",\n                        \"state\": \"\",\n                        \"postal_code\": \"\",\n                        \"country\": \"\"\n                    }\n                },\n                \"rate_plan\": {\n                    \"occupancy_rates\": [\n                        {\n                            \"master_billing\": false,\n                            \"rate\": 0.0\n                        },\n                        {\n                            \"master_billing\": false,\n                            \"rate\": 0.0\n                        },\n                        {\n                            \"master_billing\": false,\n                            \"rate\": 0.0\n                        }\n                    ],\n                    \"code\": \"635286a267a54805275f41e2\",\n                    \"name\": \"1914 translation by H. Rackham\",\n                    \"booking_policy\": {\n                        \"cancellation_days\": 10,\n                        \"description\": \"<p><strong>Guarantee:</strong>&nbsp;A valid credit card number is required to confirm and guarantee the booking. Credit card used for booking must be presented at check in.</p>\\n\\n<p><strong>Children policy</strong>: Free accommodation and breakfast for up to 1 child(ren) under 12 y. sharing the parents room (by using existing bedding, or if the room is large enough, a crib or a rollaway bed) having breakfast as a family.</p>\\n\\n<p><strong>Special term for children</strong>: Minors under 18 must be accompanied by at least one of the parents and present official ID. A responsible person named by parents must present with parents written authorization (with certified signature).</p>\\n\\n<p><strong>Roll-away Bed:</strong>&nbsp;Roll-away bed - $80 per night. Crib - no charge</p>\\n\\n<p><strong>Hotel Information:&nbsp;</strong></p>\\n\\n<ul>\\n\\t<li>Check-In: 15:00</li>\\n\\t<li>Check-Out: 12:00</li>\\n\\t<li>High speed Internet Access</li>\\n\\t<li>Business Center available</li>\\n\\t<li>Limousine transfer available</li>\\n\\t<li>Tennis courts, spa, fitness club</li>\\n</ul>\\n\\n<p>VALET PARKING AVAILABLE AT $ 30.00 / 24 hrs</p>\\n\",\n                        \"name\": \"GUARANTEED GROUPS - INDIVIDUALLY BILLED\"\n                    },\n                    \"room_inclusion\": \"\",\n                    \"id\": \"635286a267a54805275f41e2\"\n                },\n                \"source_code\": null,\n                \"check_out\": \"2024-01-05T00:00:00+00:00\",\n                \"channel_code\": null,\n                \"room\": {\n                    \"id\": \"635286a267a54805275f41d8\",\n                    \"name\": \"Deluxe Room\"\n                },\n                \"created_at\": \"2022-10-30T06:55:32.321000+00:00\",\n                \"editable_days\": 3,\n                \"is_pms\": false,\n                \"operation_status\": \"completed\",\n                \"is_booker_reserved\": false\n            }\n        ],\n        \"slug\": \"excepturi-aut-architecto\",\n        \"is_hotel_promoted\": true,\n        \"is_hotel_member\": true,\n        \"signup_hotel_member\": false,\n        \"hotel_message\": \"Magnam molestiae qui. Voluptatem ducimus voluptatem qui qui quisquam impedit porro.\",\n        \"private_hotel_message\": \"Minima vel quidem dicta eligendi et. Ut corporis animi ea. Aut velit eos voluptatibus dicta a.\",\n        \"membership_id\": \"1234ABCD\",\n        \"est_arrival\": \"12:00pm\",\n        \"arrival_flight\": \"123ABC\",\n        \"est_departure\": \"6:00am\",\n        \"departure_flight\": \"123ABC\",\n        \"tos_agree\": true,\n        \"booker\": {\n            \"id\": \"635e1fec8477f51b1fa6bcd6\",\n            \"salutation\": null,\n            \"first_name\": \"Demetris\",\n            \"last_name\": \"Fahey\",\n            \"email\": \"Estefania_Gibson3@gmail.com\",\n            \"phone_number\": null,\n            \"job_title\": null,\n            \"company\": null,\n            \"address\": {\n                \"line1\": \"\",\n                \"line2\": \"\",\n                \"city\": \"\",\n                \"state\": \"\",\n                \"postal_code\": \"\",\n                \"country\": \"\"\n            }\n        },\n        \"type\": \"multiple\",\n        \"source\": \"guest\",\n        \"billing\": {\n            \"payment_reference\": {\n                \"exp_month\": null,\n                \"name\": null,\n                \"brand\": null,\n                \"updated_at\": null,\n                \"card_display\": null,\n                \"last4\": null,\n                \"token\": \"8416196042151926\",\n                \"payment_key\": \"PAYMENT_KEY\",\n                \"provider\": \"adyen\",\n                \"exp_year\": null,\n                \"customer_id\": \"cus-2e6064bef4814f5eb6b88731c8ab94d8\",\n                \"auth_token\": \"AUTH_TOKEN\",\n                \"method_display\": null\n            },\n            \"billing_address\": {\n                \"phone_number\": \"75-432-899-1227\",\n                \"city\": \"Orem\",\n                \"first_name\": \"Kelvin\",\n                \"last_name\": \"Lubowitz\",\n                \"country\": \"AQ\",\n                \"line2\": \"652 Lola Knolls\",\n                \"line1\": \"33126 Metz Trace\",\n                \"state\": \"NA\",\n                \"postal_code\": \"500000\",\n                \"email\": \"Meaghan.Grant97@yahoo.com\"\n            },\n            \"name\": \"Colin Predovic\"\n        },\n        \"created_at\": \"2022-10-30T06:55:32.330000+00:00\",\n        \"updated_at\": \"2022-10-30T06:55:40.452000+00:00\"\n    }\n}"}],"_postman_id":"2e3469ad-ce11-4ead-acc6-4201916c9110"},{"name":"Update a booking","id":"5bb16ab8-be87-4ec5-bc4d-22901c54333c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"reservations\": [\n        {\n            \"id\": \"6357b0dce1b4d348cb327095\",\n            \"check_in\": \"2024-01-01\",\n            \"check_out\": \"2024-01-05\",\n            \"adults\": 2,\n            \"children\": 3,\n            \"child_age_list\": [\n                1,\n                2,\n                3\n            ],\n            \"rate_plan_id\": \"{{rate_plan_id}}\",\n            \"room_class_id\": null,\n            \"upsell_rateplan_from\": \"634e30e4d3c188b25cd6b7ab\",\n            \"upsell_roomclass_from\": \"634e30ecd3c188b25cd6b7ac\",\n            \"is_booker_reserved\": false,\n            \"primary_guest\": {\n                \"id\": \"6357b0eee1b4d348cb327096\",\n                \"salutation\": \"Miss\",\n                \"first_name\": \"Ramona\",\n                \"last_name\": \"Daugherty\",\n                \"email\": \"Anais_Klein@gmail.com\",\n                \"job_title\": \"Direct Factors Coordinator\",\n                \"company\": \"Dach - Cole\",\n                \"address\": {\n                    \"line1\": \"402 Strafford Ave\",\n                    \"city\": \"Wayne\",\n                    \"postal_code\": \"19087\",\n                    \"state\": \"PA\",\n                    \"country\": \"us\"\n                }\n            },\n            \"additional_guests\": [\n                {\n                    \"id\": \"6357b101e1b4d348cb327097\",\n                    \"salutation\": \"Ms.\",\n                    \"first_name\": \"Kamren\",\n                    \"last_name\": \"Glover\",\n                    \"email\": \"Armand8@yahoo.com\",\n                    \"job_title\": \"Human Solutions Associate\",\n                    \"company\": \"Gutmann Group\",\n                    \"address\": {\n                        \"line1\": \"402 Strafford Ave\",\n                        \"city\": \"Wayne\",\n                        \"postal_code\": \"19087\",\n                        \"state\": \"PA\",\n                        \"country\": \"us\"\n                    }\n                }\n            ]\n        }\n    ],\n    \"type\": \"multiple\",\n    \"slug\": \"sed-aut-aliquid\",\n    \"mailing\": true,\n    \"is_hotel_promoted\": true,\n    \"is_hotel_member\": true,\n    \"signup_hotel_member\": false,\n    \"hotel_message\": \"Qui consequatur architecto dolorem. Totam ipsam officiis dolores. Dolores tenetur quibusdam qui modi nulla aut dolorum. Excepturi reiciendis porro dolor esse velit tempora reprehenderit. Delectus in voluptatibus consectetur repellendus impedit est ea consectetur.\",\n    \"private_hotel_message\": \"Explicabo porro quis. Quas illo fugiat nostrum ad voluptates omnis. Totam sed nisi quia voluptatem debitis velit. Libero ut et reiciendis aut sint perspiciatis aperiam molestias ut. Occaecati provident vel corrupti tempore expedita. Est odio consectetur similique.\",\n    \"membership_id\": \"1234ABCD\",\n    \"est_arrival\": \"12:00pm\",\n    \"arrival_flight\": \"123ABC\",\n    \"est_departure\": \"6:00am\",\n    \"departure_flight\": \"123ABC\",\n    \"tos_agree\": true,\n    \"booker\": {\n        \"id\": \"6357b110e1b4d348cb327098\",\n        \"salutation\": \"Mr.\",\n        \"first_name\": \"Cale\",\n        \"last_name\": \"Kris\",\n        \"email\": \"Woodrow32@hotmail.com\",\n        \"job_title\": \"Investor Accounts Director\",\n        \"company\": \"Conn and Sons\",\n        \"address\": {\n            \"line1\": \"402 Strafford Ave\",\n            \"city\": \"Wayne\",\n            \"postal_code\": \"19087\",\n            \"state\": \"PA\",\n            \"country\": \"us\"\n        }\n    },\n    \"billing\": {\n        \"billing_address\": {\n            \"email\": \"Bridie60@yahoo.com\",\n            \"phone_number\": \"61-395-676-3342\",\n            \"first_name\": \"Zola\",\n            \"last_name\": \"Koss\",\n            \"company\": \"Connelly, Yundt and Schowalter\",\n            \"line1\": \"6148 Wilkinson Coves\",\n            \"line2\": \"056 Jerde Underpass\",\n            \"city\": \"North Busterland\",\n            \"country\": \"UG\",\n            \"postal_code\": \"500000\",\n            \"state\": \"NA\"\n        },\n        \"payment_reference\": {\n            \"provider\": \"stripe\",\n            \"token\": \"CARD_TOKEN\",\n            \"customer_id\": \"CUSTOMER_ID\"\n        },\n        \"name\": \"Marianne Feest V\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/api-portal/v2/sub-blocks/:sub_block_id/bookings/:booking_id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}},"urlObject":{"path":["api-portal","v2","sub-blocks",":sub_block_id","bookings",":booking_id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"{{subblock_id}}","key":"sub_block_id"},{"type":"any","value":"{{booking_id}}","key":"booking_id"}]}},"response":[],"_postman_id":"5bb16ab8-be87-4ec5-bc4d-22901c54333c"},{"name":"Retrieve booking stats","id":"393daff0-0bab-4d68-a04a-f1a07da6b078","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Idem-Guest-Access","value":"66a8f6a70b80d34bc0fabb9becf039f56ff3a5f2","type":"text"}],"url":"{{endpoint}}/api-portal/v2/sub-blocks/:sub_block_id/booking-stats","urlObject":{"path":["api-portal","v2","sub-blocks",":sub_block_id","booking-stats"],"host":["{{endpoint}}"],"query":[],"variable":[{"id":"ee1c56b3-1a2c-459f-8169-c7cf2ae826a9","description":{"content":"<p>The ID of a specific sub block</p>\n","type":"text/plain"},"type":"any","value":"{{subblock_id}}","key":"sub_block_id"}]}},"response":[{"id":"9f912a21-5e51-4db3-a581-2a837e2cea21","name":"200 OK - Successful retreived booking stats","originalRequest":{"method":"GET","header":[{"key":"Idem-Guest-Access","value":"66a8f6a70b80d34bc0fabb9becf039f56ff3a5f2","type":"text"}],"url":{"raw":"{{endpoint}}/api-portal/v2/sub-blocks/:sub_block_id/booking-stats","host":["{{endpoint}}"],"path":["api-portal","v2","sub-blocks",":sub_block_id","booking-stats"],"variable":[{"key":"sub_block_id","value":"{{subblock_id}}","description":"The ID of a specific sub block"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"cancelled\": 0,\n        \"completed\": 0,\n        \"upcoming\": 1\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"393daff0-0bab-4d68-a04a-f1a07da6b078"},{"name":"List my bookings","id":"ea5db52a-2da9-413b-9ae9-a71bc86344aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Idem-Guest-Access","value":"66a8f6a70b80d34bc0fabb9becf039f56ff3a5f2","type":"text"}],"url":"{{endpoint}}/api-portal/v2/sub-blocks/:sub_block_id/bookings?status=upcoming&sort=check_in&order=desc","urlObject":{"path":["api-portal","v2","sub-blocks",":sub_block_id","bookings"],"host":["{{endpoint}}"],"query":[{"description":{"content":"<p>(Optional) String status is one in the list <code>upcoming</code>, <code>completed</code> and <code>cancelled</code>. Default is <code>upcoming</code></p>\n","type":"text/plain"},"key":"status","value":"upcoming"},{"description":{"content":"<p>(Optional) String sort is one of values <code>check_in</code>, <code>created_at</code>. Default is <code>check_in</code></p>\n","type":"text/plain"},"key":"sort","value":"check_in"},{"description":{"content":"<p>(Optional) String order is one of values <code>desc</code>, <code>asc</code>. Default is <code>desc</code></p>\n","type":"text/plain"},"key":"order","value":"desc"}],"variable":[{"description":{"content":"<p>The ID of a specific sub block</p>\n","type":"text/plain"},"type":"any","value":"{{subblock_id}}","key":"sub_block_id"}]}},"response":[{"id":"64f752f6-390a-4ac8-8f79-40529bee12b1","name":"200 OK - Successful listed my bookings","originalRequest":{"method":"GET","header":[{"key":"Idem-Guest-Access","value":"66a8f6a70b80d34bc0fabb9becf039f56ff3a5f2","type":"text"}],"url":{"raw":"{{endpoint}}/api-portal/v2/sub-blocks/:sub_block_id/bookings?status=upcoming&sort=check_in&order=desc","host":["{{endpoint}}"],"path":["api-portal","v2","sub-blocks",":sub_block_id","bookings"],"query":[{"key":"status","value":"upcoming","description":"(Optional) String status is one in the list `upcoming`, `completed` and `cancelled`. Default is `upcoming`"},{"key":"sort","value":"check_in","description":"(Optional) String sort is one of values `check_in`, `created_at`. Default is `check_in`"},{"key":"order","value":"desc","description":"(Optional) String order is one of values `desc`, `asc`. Default is `desc`"}],"variable":[{"key":"sub_block_id","value":"{{subblock_id}}","description":"The ID of a specific sub block"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"OK\",\n    \"data\": {\n        \"results\": [\n            {\n                \"id\": \"GRP360\",\n                \"created_at\": \"2022-10-30T06:55:32.330000+00:00\",\n                \"updated_at\": \"2022-10-30T06:55:40.452000+00:00\"\n            },\n            {\n                \"id\": \"GRP361\",\n                \"created_at\": \"2022-10-30T06:55:32.330000+00:00\",\n                \"updated_at\": \"2022-10-30T06:55:40.452000+00:00\"\n            },\n            {\n                \"id\": \"GRP362\",\n                \"created_at\": \"2022-10-30T06:55:32.330000+00:00\",\n                \"updated_at\": \"2022-10-30T06:55:40.452000+00:00\"\n            }\n        ],\n        \"filter\": {\n            \"sort\": \"check_in\",\n            \"order\": \"desc\",\n            \"status\": \"upcoming\"\n        }\n    },\n    \"status\": \"success\"\n}"}],"_postman_id":"ea5db52a-2da9-413b-9ae9-a71bc86344aa"}],"id":"6066a671-eeb8-4d7b-b3db-6db0747ccc4d","_postman_id":"6066a671-eeb8-4d7b-b3db-6db0747ccc4d","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]},"isInherited":true,"source":{"_postman_id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","id":"14c3c4f2-7c6f-4166-8567-effce069e1e8","name":"(G360) Idem Service API","type":"collection"}}}],"auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"scope","value":"<scope>"},{"key":"password","value":"<password>"},{"key":"username","value":"<username>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"grant_type","value":"<grant_type>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"}]}},"event":[{"listen":"prerequest","script":{"id":"aa130635-938b-4ec1-8449-cd7ad9e78721","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"cc5e3d96-25a8-4143-982e-80b82c557fb6","type":"text/javascript","exec":[""]}}]}