{"info":{"_postman_id":"83187b88-8f14-42fc-a38e-992a600de08f","name":"Jotto API","description":"<html><head></head><body><p><strong>Jotto API</strong> allow you to interface with our platform to set and receive data from our Clouds.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"7054484","collectionId":"83187b88-8f14-42fc-a38e-992a600de08f","publishedId":"SVmwvHUr","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-09-18T17:51:53.000Z"},"item":[{"name":"authenticate","id":"3f7f3f5c-a071-45f3-9270-e302603a80ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"description":"<p>Set the header with user credentials in the following format: <a href=\"https://en.wikipedia.org/wiki/Basic_access_authentication\">Basic BASE64 (email: password)</a>.</p>\n","key":"Authorization","type":"text","value":"Basic cmFmZmFlbGV0cmFuY2hlc2UzQGdtYWlsLmNvbTplbGl0dGljYTk5"}],"url":"https://jotto.io/api/authenticate","description":"<p>Call this function to receive a user's access token, the tokens will be used for all future requests.</p>\n","urlObject":{"protocol":"https","path":["api","authenticate"],"host":["jotto","io"],"query":[],"variable":[]}},"response":[{"id":"ce50c012-a93a-48b1-bd0c-2ceb06eb6325","name":"authenticate","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Basic dGVzdEB0ZXN0LnRlc3Q6dGVzdA==","description":"BASE64(email:password)","type":"text"}],"url":"https://jotto.io/api/authenticate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 19 Sep 2019 07:26:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"alt-svc","value":"quic=\":443\"; ma=86400; v=\"43,39\""}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"TokenA\": \"60e831fc1abfc323f473c2ac50aa703e5873d42cfd3bae062b426dd51c7ad811\",\n    \"TokenB\": \"a9b6ea7e9127561de94d46f3d5a39a277ca0246fe04521638ebc280015110643\"\n}"}],"_postman_id":"3f7f3f5c-a071-45f3-9270-e302603a80ac"},{"name":"getDevices","id":"02ea2693-3556-413e-bfb9-b26686535739","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://jotto.io/api/getDevices?tokenA=60e831fc1abfc323f473c2ac50aa703e5873d42cfd3bae062b426dd51c7ad811&tokenB=a9b6ea7e9127561de94d46f3d5a39a277ca0246fe04521638ebc280015110643","description":"<p>This function returns all devices connected to an account.</p>\n","urlObject":{"protocol":"https","path":["api","getDevices"],"host":["jotto","io"],"query":[{"description":{"content":"<p>TokenA (received in \"Authenticate\")</p>\n","type":"text/plain"},"key":"tokenA","value":"60e831fc1abfc323f473c2ac50aa703e5873d42cfd3bae062b426dd51c7ad811"},{"description":{"content":"<p>TokenB (received in \"Authenticate\")</p>\n","type":"text/plain"},"key":"tokenB","value":"a9b6ea7e9127561de94d46f3d5a39a277ca0246fe04521638ebc280015110643"}],"variable":[]}},"response":[{"id":"c65cc94a-be29-4bdc-a575-a18e08ecb272","name":"getDevices","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://jotto.io/api/getDevices?tokenA=60e831fc1abfc323f473c2ac50aa703e5873d42cfd3bae062b426dd51c7ad811&tokenB=a9b6ea7e9127561de94d46f3d5a39a277ca0246fe04521638ebc280015110643","protocol":"https","host":["jotto","io"],"path":["api","getDevices"],"query":[{"key":"tokenA","value":"60e831fc1abfc323f473c2ac50aa703e5873d42cfd3bae062b426dd51c7ad811","description":"TokenA"},{"key":"tokenB","value":"a9b6ea7e9127561de94d46f3d5a39a277ca0246fe04521638ebc280015110643","description":"TokenB"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 19 Sep 2019 07:30:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Location","value":"getDevices.php"},{"key":"Vary","value":"negotiate"},{"key":"TCN","value":"choice"},{"key":"X-Proxy-Cache","value":"MISS"},{"key":"alt-svc","value":"quic=\":443\"; ma=86400; v=\"43,39\""}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"gateways\": [\n        {\n            \"thingId\": \"e936fa73c6e351f3a6097d818a149f72f21bb5f902482e58719f28154557d7d5\",\n            \"info\": [\n                {\n                    \"name\": \"kitchen\",\n                    \"tempOff\": 0\n                },\n                {\n                    \"name\": \"bathroom\",\n                    \"tempOff\": 12\n                },\n                {\n                    \"name\": \"bedroom\",\n                    \"tempOff\": 7\n                }\n            ]\n        },\n        {\n            \"thingId\": \"8c4ebab40a0da973729e401a5bd3e3da23d4e585e9b7144756ab933ba06b6f07\",\n            \"info\": [\n                {\n                    \"name\": \"living room\",\n                    \"tempOff\": 15\n                },\n                {\n                    \"name\": \"garage\",\n                    \"tempOff\": 5\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"02ea2693-3556-413e-bfb9-b26686535739"},{"name":"setTemp","id":"1d918d15-a21b-4c1c-89d2-7b8d9a18920e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://jotto.io/api/setTemp?tokenA=60e831fc1abfc323f473c2ac50aa703e5873d42cfd3bae062b426dd51c7ad811&tokenB=a9b6ea7e9127561de94d46f3d5a39a277ca0246fe04521638ebc280015110643&id=e936fa73c6e351f3a6097d818a149f72f21bb5f902482e58719f28154557d7d5&device=kitchen&temp=20.5","description":"<p>Set the Jotto temperature</p>\n","urlObject":{"protocol":"https","path":["api","setTemp"],"host":["jotto","io"],"query":[{"description":{"content":"<p>TokenA (received in \"Authenticate\")</p>\n","type":"text/plain"},"key":"tokenA","value":"60e831fc1abfc323f473c2ac50aa703e5873d42cfd3bae062b426dd51c7ad811"},{"description":{"content":"<p>TokenB (received in \"Authenticate\")</p>\n","type":"text/plain"},"key":"tokenB","value":"a9b6ea7e9127561de94d46f3d5a39a277ca0246fe04521638ebc280015110643"},{"description":{"content":"<p>Gateway ID (Select a gateway after calling \"getDevices\")</p>\n","type":"text/plain"},"key":"id","value":"e936fa73c6e351f3a6097d818a149f72f21bb5f902482e58719f28154557d7d5"},{"description":{"content":"<p>Device to set temperature  (Select a device after calling \"getDevices\")</p>\n","type":"text/plain"},"key":"device","value":"kitchen"},{"description":{"content":"<p>The new temperature must comply with the following rules:</p>\n<ul>\n<li>The accepted temperatures must have the decimal part at .0 or .5 (example: 21, 22.5, 27)</li>\n<li>The new temperature must be greater than or equal to 4.5 ° C / 42 ° F and less than or equal to 30 ° C / 99 ° F</li>\n</ul>\n","type":"text/plain"},"key":"temp","value":"20.5"}],"variable":[]}},"response":[{"id":"6df2b612-648e-46b2-bfe8-be838efd305d","name":"setTemp","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://jotto.io/api/setTemp?tokenA=60e831fc1abfc323f473c2ac50aa703e5873d42cfd3bae062b426dd51c7ad811&tokenB=a9b6ea7e9127561de94d46f3d5a39a277ca0246fe04521638ebc280015110643&id=e936fa73c6e351f3a6097d818a149f72f21bb5f902482e58719f28154557d7d5&device=kitchen&temp=20.5","protocol":"https","host":["jotto","io"],"path":["api","setTemp"],"query":[{"key":"tokenA","value":"60e831fc1abfc323f473c2ac50aa703e5873d42cfd3bae062b426dd51c7ad811","description":"TokenA"},{"key":"tokenB","value":"a9b6ea7e9127561de94d46f3d5a39a277ca0246fe04521638ebc280015110643","description":"TokenB"},{"key":"id","value":"e936fa73c6e351f3a6097d818a149f72f21bb5f902482e58719f28154557d7d5","description":"Gateway ID"},{"key":"device","value":"kitchen","description":"Device to set temperature"},{"key":"temp","value":"20.5","description":"New temperature"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 19 Sep 2019 07:37:05 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Location","value":"setTemp.php"},{"key":"Vary","value":"negotiate"},{"key":"TCN","value":"choice"},{"key":"X-Proxy-Cache","value":"MISS"},{"key":"alt-svc","value":"quic=\":443\"; ma=86400; v=\"43,39\""}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"msg\": \"The temperature has been set successfully\"\n}"}],"_postman_id":"1d918d15-a21b-4c1c-89d2-7b8d9a18920e"},{"name":"getTemp","id":"520ef047-e347-42af-a6ce-55c45d361520","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://jotto.io/api/getTemp?tokenA=60e831fc1abfc323f473c2ac50aa703e5873d42cfd3bae062b426dd51c7ad811&tokenB=a9b6ea7e9127561de94d46f3d5a39a277ca0246fe04521638ebc280015110643&id=e936fa73c6e351f3a6097d818a149f72f21bb5f902482e58719f28154557d7d5&device=kitchen&scheduler=0","description":"<p>Get Jotto temperature, status and schedule</p>\n","urlObject":{"protocol":"https","path":["api","getTemp"],"host":["jotto","io"],"query":[{"description":{"content":"<p>TokenA (received in \"Authenticate\")</p>\n","type":"text/plain"},"key":"tokenA","value":"60e831fc1abfc323f473c2ac50aa703e5873d42cfd3bae062b426dd51c7ad811"},{"description":{"content":"<p>TokenB (received in \"Authenticate\")</p>\n","type":"text/plain"},"key":"tokenB","value":"a9b6ea7e9127561de94d46f3d5a39a277ca0246fe04521638ebc280015110643"},{"description":{"content":"<p>Gateway ID (Select a gateway after calling \"getDevices\")</p>\n","type":"text/plain"},"key":"id","value":"e936fa73c6e351f3a6097d818a149f72f21bb5f902482e58719f28154557d7d5"},{"description":{"content":"<p>Device to get temperature  (Select a device after calling \"getDevices\")</p>\n","type":"text/plain"},"key":"device","value":"kitchen"},{"description":{"content":"<p>Set 1 if you want the data concerning the schedule, otherwise set 0</p>\n","type":"text/plain"},"key":"scheduler","value":"0"}],"variable":[]}},"response":[{"id":"2579e284-f884-47d8-903e-512ebeb2239c","name":"getTemp","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://jotto.io/api/getTemp?tokenA=60e831fc1abfc323f473c2ac50aa703e5873d42cfd3bae062b426dd51c7ad811&tokenB=a9b6ea7e9127561de94d46f3d5a39a277ca0246fe04521638ebc280015110643&id=e936fa73c6e351f3a6097d818a149f72f21bb5f902482e58719f28154557d7d5&device=kitchen&scheduler=0","protocol":"https","host":["jotto","io"],"path":["api","getTemp"],"query":[{"key":"tokenA","value":"60e831fc1abfc323f473c2ac50aa703e5873d42cfd3bae062b426dd51c7ad811","description":"TokenA"},{"key":"tokenB","value":"a9b6ea7e9127561de94d46f3d5a39a277ca0246fe04521638ebc280015110643","description":"TokenB"},{"key":"id","value":"e936fa73c6e351f3a6097d818a149f72f21bb5f902482e58719f28154557d7d5","description":"Gateway ID"},{"key":"device","value":"kitchen","description":"Device to get temperature"},{"key":"scheduler","value":"0","description":"0 - OFF / 1- ON"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 19 Sep 2019 07:41:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Location","value":"getTemp.php"},{"key":"Vary","value":"negotiate"},{"key":"TCN","value":"choice"},{"key":"X-Proxy-Cache","value":"MISS"},{"key":"alt-svc","value":"quic=\":443\"; ma=86400; v=\"43,39\""}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"currentTemp\": \"27.3\",\n    \"settedTemp\": \"20.5\",\n    \"extTemp\": \"23.7\",\n    \"meteo\": \"4\",\n    \"status\": {\n        \"fireIcon\": false,\n        \"mode\": 2\n    },\n    \"scheduler\": null\n}"}],"_postman_id":"520ef047-e347-42af-a6ce-55c45d361520"},{"name":"getStats","id":"e8019d2e-776f-4316-9b19-d169fe837509","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://jotto.io/api/getStats?tokenA=60e831fc1abfc323f473c2ac50aa703e5873d42cfd3bae062b426dd51c7ad811&tokenB=a9b6ea7e9127561de94d46f3d5a39a277ca0246fe04521638ebc280015110643&id=e936fa73c6e351f3a6097d818a149f72f21bb5f902482e58719f28154557d7d5&device=kitchen&mode=1&date=2019-09-16","description":"<p>Receives Jotto's archived data relating to a date</p>\n","urlObject":{"protocol":"https","path":["api","getStats"],"host":["jotto","io"],"query":[{"description":{"content":"<p>TokenA (received in \"Authenticate\")</p>\n","type":"text/plain"},"key":"tokenA","value":"60e831fc1abfc323f473c2ac50aa703e5873d42cfd3bae062b426dd51c7ad811"},{"description":{"content":"<p>TokenB (received in \"Authenticate\")</p>\n","type":"text/plain"},"key":"tokenB","value":"a9b6ea7e9127561de94d46f3d5a39a277ca0246fe04521638ebc280015110643"},{"description":{"content":"<p>Gateway ID (Select a gateway after calling \"getDevices\")</p>\n","type":"text/plain"},"key":"id","value":"e936fa73c6e351f3a6097d818a149f72f21bb5f902482e58719f28154557d7d5"},{"description":{"content":"<p>Device to get statistics  (Select a device after calling \"getDevices\")</p>\n","type":"text/plain"},"key":"device","value":"kitchen"},{"description":{"content":"<p>The accepted display modes are:</p>\n<ul>\n<li>0 - Daily</li>\n<li>1 - Weekly</li>\n<li>2 - Monthly</li>\n<li>3 - Yearly</li>\n</ul>\n","type":"text/plain"},"key":"mode","value":"1"},{"description":{"content":"<p>Start date</p>\n","type":"text/plain"},"key":"date","value":"2019-09-16"}],"variable":[]}},"response":[{"id":"ca2cf7e9-e958-4378-be44-cce1b6cd9692","name":"getStats","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://jotto.io/api/getStats?tokenA=60e831fc1abfc323f473c2ac50aa703e5873d42cfd3bae062b426dd51c7ad811&tokenB=a9b6ea7e9127561de94d46f3d5a39a277ca0246fe04521638ebc280015110643&id=e936fa73c6e351f3a6097d818a149f72f21bb5f902482e58719f28154557d7d5&device=kitchen&mode=1&date=2019-09-16","protocol":"https","host":["jotto","io"],"path":["api","getStats"],"query":[{"key":"tokenA","value":"60e831fc1abfc323f473c2ac50aa703e5873d42cfd3bae062b426dd51c7ad811","description":"TokenA"},{"key":"tokenB","value":"a9b6ea7e9127561de94d46f3d5a39a277ca0246fe04521638ebc280015110643","description":"TokenB"},{"key":"id","value":"e936fa73c6e351f3a6097d818a149f72f21bb5f902482e58719f28154557d7d5","description":"Gateway ID"},{"key":"device","value":"kitchen","description":"Device to set temperature"},{"key":"mode","value":"1","description":"0 - Daily / 1 - Weekly / 2 - Monthly / 3 - Yearly"},{"key":"date","value":"2019-09-16","description":"Start data"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 19 Sep 2019 07:44:07 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Location","value":"getStats.php"},{"key":"Vary","value":"negotiate"},{"key":"TCN","value":"choice"},{"key":"X-Proxy-Cache","value":"MISS"},{"key":"alt-svc","value":"quic=\":443\"; ma=86400; v=\"43,39\""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"tempSet\": 19,\n        \"tempExt\": 19.699999999999999289457264239899814128875732421875,\n        \"tempAmbient\": 26.699999999999999289457264239899814128875732421875,\n        \"ledStatus\": \"0\"\n    },\n    {\n        \"tempSet\": 19,\n        \"tempExt\": 24.300000000000000710542735760100185871124267578125,\n        \"tempAmbient\": 26.39999999999999857891452847979962825775146484375,\n        \"ledStatus\": \"0\"\n    },\n    {\n        \"tempSet\": 19,\n        \"tempExt\": 26.39999999999999857891452847979962825775146484375,\n        \"tempAmbient\": 28.199999999999999289457264239899814128875732421875,\n        \"ledStatus\": \"0\"\n    },\n    {\n        \"tempSet\": 19,\n        \"tempExt\": 21.5,\n        \"tempAmbient\": 28,\n        \"ledStatus\": \"0\"\n    },\n    {\n        \"tempSet\": 19,\n        \"tempExt\": 19.39999999999999857891452847979962825775146484375,\n        \"tempAmbient\": 26.39999999999999857891452847979962825775146484375,\n        \"ledStatus\": \"0\"\n    },\n    {\n        \"tempSet\": 19,\n        \"tempExt\": 23.5,\n        \"tempAmbient\": 26,\n        \"ledStatus\": \"0\"\n    },\n    {\n        \"tempSet\": 19,\n        \"tempExt\": 25.39999999999999857891452847979962825775146484375,\n        \"tempAmbient\": 27.300000000000000710542735760100185871124267578125,\n        \"ledStatus\": \"0\"\n    },\n    {\n        \"tempSet\": 19,\n        \"tempExt\": 21.5,\n        \"tempAmbient\": 27.89999999999999857891452847979962825775146484375,\n        \"ledStatus\": \"0\"\n    },\n    {\n        \"tempSet\": 19,\n        \"tempExt\": 19.300000000000000710542735760100185871124267578125,\n        \"tempAmbient\": 27,\n        \"ledStatus\": \"0\"\n    },\n    {\n        \"tempSet\": 19,\n        \"tempExt\": 23.60000000000000142108547152020037174224853515625,\n        \"tempAmbient\": 27.10000000000000142108547152020037174224853515625,\n        \"ledStatus\": \"0\"\n    },\n    {\n        \"tempSet\": 19,\n        \"tempExt\": 25.39999999999999857891452847979962825775146484375,\n        \"tempAmbient\": 28.300000000000000710542735760100185871124267578125,\n        \"ledStatus\": \"0.2545454545454545\"\n    },\n    {\n        \"tempSet\": 20.5,\n        \"tempExt\": 22.5,\n        \"tempAmbient\": 27.199999999999999289457264239899814128875732421875,\n        \"ledStatus\": \"0\"\n    },\n    {\n        \"tempSet\": 16.5,\n        \"tempExt\": 20.39999999999999857891452847979962825775146484375,\n        \"tempAmbient\": 26.199999999999999289457264239899814128875732421875,\n        \"ledStatus\": \"0\"\n    },\n    {\n        \"tempSet\": 21,\n        \"tempExt\": 21.699999999999999289457264239899814128875732421875,\n        \"tempAmbient\": 26.199999999999999289457264239899814128875732421875,\n        \"ledStatus\": \"0\"\n    }\n]"}],"_postman_id":"e8019d2e-776f-4316-9b19-d169fe837509"},{"name":"setMode","id":"3a901fe5-3d7b-47bf-9912-942429416a1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://jotto.io/api/setMode?tokenA=60e831fc1abfc323f473c2ac50aa703e5873d42cfd3bae062b426dd51c7ad811&tokenB=a9b6ea7e9127561de94d46f3d5a39a277ca0246fe04521638ebc280015110643&id=e936fa73c6e351f3a6097d818a149f72f21bb5f902482e58719f28154557d7d5&device=kitchen&mode=1","description":"<p>Set Jotto Mode</p>\n","urlObject":{"protocol":"https","path":["api","setMode"],"host":["jotto","io"],"query":[{"description":{"content":"<p>TokenA (received in \"Authenticate\")</p>\n","type":"text/plain"},"key":"tokenA","value":"60e831fc1abfc323f473c2ac50aa703e5873d42cfd3bae062b426dd51c7ad811"},{"description":{"content":"<p>TokenB (received in \"Authenticate\")</p>\n","type":"text/plain"},"key":"tokenB","value":"a9b6ea7e9127561de94d46f3d5a39a277ca0246fe04521638ebc280015110643"},{"description":{"content":"<p>Gateway ID (Select a gateway after calling \"getDevices\")</p>\n","type":"text/plain"},"key":"id","value":"e936fa73c6e351f3a6097d818a149f72f21bb5f902482e58719f28154557d7d5"},{"description":{"content":"<p>Device to set mode  (Select a device after calling \"getDevices\")</p>\n","type":"text/plain"},"key":"device","value":"kitchen"},{"description":{"content":"<p>The accepted modes are:</p>\n<ul>\n<li>0 - Manual</li>\n<li>1 - Automatic</li>\n</ul>\n","type":"text/plain"},"key":"mode","value":"1"}],"variable":[]}},"response":[{"id":"0451ff29-fc26-45ee-b11e-ea4e5575dbab","name":"setMode","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://jotto.io/api/setMode?tokenA=60e831fc1abfc323f473c2ac50aa703e5873d42cfd3bae062b426dd51c7ad811&tokenB=a9b6ea7e9127561de94d46f3d5a39a277ca0246fe04521638ebc280015110643&id=e936fa73c6e351f3a6097d818a149f72f21bb5f902482e58719f28154557d7d5&device=kitchen&mode=1","protocol":"https","host":["jotto","io"],"path":["api","setMode"],"query":[{"key":"tokenA","value":"60e831fc1abfc323f473c2ac50aa703e5873d42cfd3bae062b426dd51c7ad811","description":"TokenA"},{"key":"tokenB","value":"a9b6ea7e9127561de94d46f3d5a39a277ca0246fe04521638ebc280015110643","description":"TokenB"},{"key":"id","value":"e936fa73c6e351f3a6097d818a149f72f21bb5f902482e58719f28154557d7d5","description":"Gateway ID"},{"key":"device","value":"kitchen","description":"Device to set mode"},{"key":"mode","value":"1","description":"0 - Manual / 1 - Auto"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 19 Sep 2019 07:45:40 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Location","value":"setMode.php"},{"key":"Vary","value":"negotiate"},{"key":"TCN","value":"choice"},{"key":"X-Proxy-Cache","value":"MISS"},{"key":"alt-svc","value":"quic=\":443\"; ma=86400; v=\"43,39\""}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"msg\": \"Mode changed successfully\"\n}"}],"_postman_id":"3a901fe5-3d7b-47bf-9912-942429416a1b"},{"name":"[JACC]creaInstallatore","id":"27d31b13-d794-48cd-bc9d-2945f2854e85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"key","value":"prova","description":"<p>Key per l'autenticazione</p>\n","type":"text"},{"key":"password","value":"8c4e82ce75661110784cb0ea57f1ece0ae23b8f27e2b719a4b4ec00b39cef1a9","description":"<p>Password dell'installatore in SHA256</p>\n","type":"text"},{"key":"nome","value":"Raffaele","description":"<p>Nome dell'installatore</p>\n","type":"text"},{"key":"cognome","value":"Tranchese","description":"<p>Cognome dell'installatore</p>\n","type":"text"},{"key":"telefono","value":"333221100999","description":"<p>Numero di telefono dell'installatore</p>\n","type":"text"},{"key":"stato","value":"Italia","description":"<p>Stato dell'installatore</p>\n","type":"text"},{"key":"citta","value":"Napoli","description":"<p>Città dell'installatore</p>\n","type":"text"},{"key":"cap","value":"80030","description":"<p>CAP dell'installatore</p>\n","type":"text"},{"key":"email","value":"raffaeletranchese3@gmail.com","description":"<p>Email dell'installatore</p>\n","type":"text"},{"key":"subazienda","value":"Prova","description":"<p>Subazienda dell'installatore</p>\n","type":"text","disabled":true},{"key":"username","value":"RaffaeleT","description":"<p>Username dell'installatore</p>\n","type":"text","disabled":true}]},"url":"https://jacc.jotto.io/api/creaInstallatore","description":"<p>Crea un nuovo installatore</p>\n","urlObject":{"protocol":"https","path":["api","creaInstallatore"],"host":["jacc","jotto","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"27d31b13-d794-48cd-bc9d-2945f2854e85"},{"name":"[JACC]modificaInstallatore","id":"1aa06078-eb96-4ccc-ad79-86f8563f0cbb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"key","value":"prova","type":"text"},{"key":"username","value":"rraffaele1","type":"text"},{"key":"newNome","value":"Raffaele","type":"text","disabled":true},{"key":"newPassword","value":"8c4e82ce75661110784cb0ea57f1ece0ae23b8f27e2b719a4b4ec00b39cef1a9","type":"text"},{"key":"newStatus","value":"1","type":"text","disabled":true}]},"url":"http://jacc.jotto.io/api/modificaInstallatore","urlObject":{"protocol":"http","path":["api","modificaInstallatore"],"host":["jacc","jotto","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"1aa06078-eb96-4ccc-ad79-86f8563f0cbb"},{"name":"[JACC]creaInstallazione","id":"37c48452-b333-4f41-8f5b-0fe6a8ff54b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"key","value":"prova","type":"text"},{"key":"nome","value":"Raffaele","type":"text"},{"key":"cognome","value":"Tranchese","type":"text"},{"key":"telefono","value":"333221100999","type":"text"},{"key":"stato","value":"Italia","type":"text"},{"key":"citta","value":"Napoli","type":"text"},{"key":"cap","value":"80030","type":"text"},{"key":"email","value":"raffaeletranchese3@gmail.com","type":"text"},{"key":"username","value":"Jotto_hbWbA","type":"text"},{"key":"thingID","value":"Jotto_d9b078213d1593022510858934e4edcdc5ca5c5678054b64c68a1a2e50efbd1f","type":"text"},{"key":"FirstEmail","value":"raffaele@jotto.io","type":"text"},{"key":"SecondEmail","value":"","type":"text","disabled":true},{"key":"CodiceMatricola","value":"ABCDEFRG","type":"text"}]},"url":"http://jacc.jotto.io/api/creaInstallazione","urlObject":{"protocol":"http","path":["api","creaInstallazione"],"host":["jacc","jotto","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"37c48452-b333-4f41-8f5b-0fe6a8ff54b0"},{"name":"[JACC]modificaInstallazione","id":"383314f2-4fd3-45e9-9f91-d38744339c9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"key","value":"prova","type":"text"},{"key":"newNome","value":"Raffaele","type":"text"},{"key":"thingID","value":"Jotto_d9b078213d1593022510858934e4edcdc5ca5c5678054b64c68a1a2e50efbd1f","type":"text"}]},"url":"http://jacc.jotto.io/api/modificaInstallazione","urlObject":{"protocol":"http","path":["api","modificaInstallazione"],"host":["jacc","jotto","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"383314f2-4fd3-45e9-9f91-d38744339c9b"}],"event":[{"listen":"prerequest","script":{"id":"fe8d0890-3129-4c12-8054-f55eae46c191","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"4b01989f-17ac-460e-ab1e-3e9d63c7d5e2","type":"text/javascript","exec":[""]}}]}