{"info":{"_postman_id":"aed4eb0c-8d48-4580-9787-5c92c0cb6381","name":"SmartClick Documentation","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"12250365","collectionId":"aed4eb0c-8d48-4580-9787-5c92c0cb6381","publishedId":"2s9YCBuVXN","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-09-22T11:52:07.000Z"},"item":[{"name":"Button Configurator Example","item":[{"name":"Button Message","id":"a504cd59-cf22-42f7-9201-706690afab73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"device\": {\"imei\": \"867997032379645\", \"imsi\": \"example_imsi\", \"fw_version\": \"example_fw_1.0.0\", \"battery\": 2801, \"rsrp\": -108, \"cellid\": \"1E2D107\", \"uptime\": 189777190}, \"payload\": {\"commands\": \"ordered\"}, \"device_id\": \"867997032379645\"}","options":{"raw":{"language":"json"}}},"url":"https://561ad62f-fd23-4406-a464-caa6acf3b76f.mock.pstmn.io/button","urlObject":{"path":["button"],"host":["https://561ad62f-fd23-4406-a464-caa6acf3b76f.mock.pstmn.io"],"query":[],"variable":[]}},"response":[{"id":"2ec6e6fe-fe15-4fae-a6c7-a42b330d2a93","name":"Button Message Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"device\": {\"imei\": \"867997032379645\", \"imsi\": \"example_imsi\", \"fw_version\": \"example_fw_1.0.0\", \"battery\": 2801, \"rsrp\": -108, \"cellid\": \"1E2D107\", \"uptime\": 189777190}, \"payload\": {\"commands\": \"ordered\"}, \"device_id\": \"867997032379645\"}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/button"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"displaynr\": 4,\n        \"text1\": \"smart.click\",\n        \"text2\": \"Hello\",\n        \"text3\": \"pickup\",\n        \"text4\": \"is happening\",\n        \"text5\": \"Sleeping\"\n    },\n    {\n        \"displaynr\": 0,\n        \"text1\": \"smart.click\",\n        \"text2\": \"Hello\",\n        \"text3\": \"this is the\",\n        \"text4\": \"idle screen\",\n        \"text5\": \"Idle\"\n    },\n    {\n        \"displaynr\": 6,\n        \"text1\": \"smart.click\",\n        \"text2\": \"Hello\",\n        \"text3\": \"this is the\",\n        \"text4\": \"cooldown screen\",\n        \"text5\": \"cooldown\"\n    }\n]"}],"_postman_id":"a504cd59-cf22-42f7-9201-706690afab73"}],"id":"c39847b7-4a44-459c-bf8f-5573acbd2e76","description":"<p>This is an example for how the smart.click Button Webhook Configurator can be used.</p>\n<p>The Button has to be configured to call the \"Button Message\" URL. The Server has to respond with a message like the one detailed in the response.</p>\n<p>If you want to try it with your own Button, you can use our Mock Server.</p>\n<p>As the Webhook URL, set this:</p>\n<p><a href=\"https://\">https://561ad62f-fd23-4406-a464-caa6acf3b76f.mock.pstmn.io/button</a></p>\n<p>More Details here:</p>\n<p><a href=\"https://\">https://ioxlab.atlassian.net/wiki/spaces/SCCC/pages/3748429825/How+to+use+the+Button+Webhook+Configurator</a></p>\n","_postman_id":"c39847b7-4a44-459c-bf8f-5573acbd2e76"},{"name":"Device Control API","item":[{"name":"orgatex-esl","item":[{"name":"Read button configuration.","id":"ee02e4e5-24e7-49d1-b4e8-f96c87a5aeb1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) </p>\n","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://api.smart.click//v1-4-0/device-control/orgatex-esl/:device_id_orgatex_esl","urlObject":{"path":["v1-4-0","device-control","orgatex-esl",":device_id_orgatex_esl"],"host":["https://api.smart.click/"],"query":[],"variable":[{"id":"a785deb7-7fce-44b1-8b53-83a37090753b","type":"any","value":"<string>","key":"device_id_orgatex_esl"}]}},"response":[{"id":"f37dfc7e-39b3-4842-9551-3c8b5fe25319","name":"Device exists.","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/orgatex-esl/:device_id_orgatex_esl","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","orgatex-esl",":device_id_orgatex_esl"],"variable":[{"key":"device_id_orgatex_esl"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"device_id\": 99396516,\n  \"last_connect\": \"com\"\n}"},{"id":"0c5002f9-7c77-4843-983a-56f090ea1e26","name":"Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription.","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/orgatex-esl/:device_id_orgatex_esl","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","orgatex-esl",":device_id_orgatex_esl"],"variable":[{"key":"device_id_orgatex_esl"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"c99da683-71d4-409b-8892-e4256e23cdb1","name":"Device does not exist or does not belong to this user.","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/orgatex-esl/:device_id_orgatex_esl","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","orgatex-esl",":device_id_orgatex_esl"],"variable":[{"key":"device_id_orgatex_esl"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"ee02e4e5-24e7-49d1-b4e8-f96c87a5aeb1"},{"name":"Control and configure Buttons","id":"22c48cbb-2cb0-4e4c-8d29-e5b4313471aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"description":"<p>(Required) </p>\n","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"product\": 96772527\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.smart.click//v1-4-0/device-control/orgatex-esl/:device_id_orgatex_esl","urlObject":{"path":["v1-4-0","device-control","orgatex-esl",":device_id_orgatex_esl"],"host":["https://api.smart.click/"],"query":[],"variable":[{"id":"85e9dac9-b206-4160-b369-7791556ad78f","type":"any","value":"<string>","key":"device_id_orgatex_esl"}]}},"response":[{"id":"deaff3b2-ee66-40a0-bb1e-f148878e938e","name":"Device configuration updated successfully. Returns updated device configuration.","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"product\": 96772527\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/orgatex-esl/:device_id_orgatex_esl","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","orgatex-esl",":device_id_orgatex_esl"],"variable":[{"key":"device_id_orgatex_esl"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"product\": 96772527\n}"},{"id":"3ea09f4e-6fcf-4dbc-ac3d-8a1218e2d596","name":"Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription.","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"product\": 96772527\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/orgatex-esl/:device_id_orgatex_esl","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","orgatex-esl",":device_id_orgatex_esl"],"variable":[{"key":"device_id_orgatex_esl"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"65f6aae4-d0d6-4ad2-996d-62f4212b9111","name":"Device does not exist or does not belong to this user.","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"product\": 96772527\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/orgatex-esl/:device_id_orgatex_esl","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","orgatex-esl",":device_id_orgatex_esl"],"variable":[{"key":"device_id_orgatex_esl"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"22c48cbb-2cb0-4e4c-8d29-e5b4313471aa"},{"name":"Control and configure Buttons","id":"9bb36233-37a8-4b5f-8d2f-5028ce57574a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) </p>\n","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"product\": 96772527\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.smart.click//v1-4-0/device-control/orgatex-esl/:device_id_orgatex_esl","urlObject":{"path":["v1-4-0","device-control","orgatex-esl",":device_id_orgatex_esl"],"host":["https://api.smart.click/"],"query":[],"variable":[{"id":"11577367-2535-4baf-b859-3eba19860bf6","type":"any","value":"<string>","key":"device_id_orgatex_esl"}]}},"response":[{"id":"0919e3c9-7b56-4600-9d5e-99475cd06692","name":"Device configuration updated successfully. Returns updated device configuration.","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"product\": 96772527\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/orgatex-esl/:device_id_orgatex_esl","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","orgatex-esl",":device_id_orgatex_esl"],"variable":[{"key":"device_id_orgatex_esl"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"product\": 96772527\n}"},{"id":"e44beb52-072a-4893-849a-fdfdeba84eec","name":"Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription.","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"product\": 96772527\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/orgatex-esl/:device_id_orgatex_esl","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","orgatex-esl",":device_id_orgatex_esl"],"variable":[{"key":"device_id_orgatex_esl"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"44d1e891-1ab0-4364-978c-eca08340aabd","name":"Device does not exist or does not belong to this user.","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"product\": 96772527\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/orgatex-esl/:device_id_orgatex_esl","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","orgatex-esl",":device_id_orgatex_esl"],"variable":[{"key":"device_id_orgatex_esl"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"9bb36233-37a8-4b5f-8d2f-5028ce57574a"}],"id":"066d38e0-80a8-4514-8a4f-04e39189f05d","_postman_id":"066d38e0-80a8-4514-8a4f-04e39189f05d","description":""},{"name":"iox-button","item":[{"name":"Read button configuration.","id":"0ae950a8-8fc7-44ce-b242-f5207f08cf84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) </p>\n","key":"Ocp-Apim-Subscription-Key","value":"{{Subscription-Key}}"},{"key":"Accept","value":"application/json"}],"url":"https://api.smart.click//v1-4-0/device-control/iox-button/:device_id_iox_button","urlObject":{"path":["v1-4-0","device-control","iox-button",":device_id_iox_button"],"host":["https://api.smart.click/"],"query":[],"variable":[{"id":"5fdf019b-a87b-48fc-9f2b-2ac49d1f757c","type":"any","value":"<string>","key":"device_id_iox_button"}]}},"response":[{"id":"7616632f-6ced-437c-a568-e52d7e21758e","name":"Device exists.","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/iox-button/:device_id_iox_button","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","iox-button",":device_id_iox_button"],"variable":[{"key":"device_id_iox_button"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"device_id\": 30346050.871653408,\n  \"last_connect\": -4119694\n}"},{"id":"ef148227-bb92-4f52-af76-d2509b1f3255","name":"Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription.","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/iox-button/:device_id_iox_button","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","iox-button",":device_id_iox_button"],"variable":[{"key":"device_id_iox_button"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"5cd44dcb-60b3-46bd-8e67-a400aee8e7d1","name":"Device does not exist or does not belong to this user.","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/iox-button/:device_id_iox_button","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","iox-button",":device_id_iox_button"],"variable":[{"key":"device_id_iox_button"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"0ae950a8-8fc7-44ce-b242-f5207f08cf84"}],"id":"8a429940-2f64-458b-a558-31a3233eb84b","_postman_id":"8a429940-2f64-458b-a558-31a3233eb84b","description":""},{"name":"smart-climate","item":[{"name":"Read Smart Climate device configuration.","id":"2d9f87ca-3565-401c-8c4d-e88490bf4778","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) </p>\n","key":"Ocp-Apim-Subscription-Key","value":"{{Subscription-Key}}"},{"key":"Accept","value":"application/json"}],"url":"https://api.smart.click//v1-4-0/device-control/smart-climate/:device_id_climate","urlObject":{"path":["v1-4-0","device-control","smart-climate",":device_id_climate"],"host":["https://api.smart.click/"],"query":[],"variable":[{"id":"96f92e98-d83b-4ceb-b8b3-d03ab967f4d7","type":"any","value":"your-device-id","key":"device_id_climate"}]}},"response":[{"id":"d1b26fe2-32b5-4911-89b9-bf657d219450","name":"Device exists.","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/smart-climate/:device_id_climate","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","smart-climate",":device_id_climate"],"variable":[{"key":"device_id_climate"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"device_id\": \"<string>\",\n  \"last_connect\": \"<integer>\",\n  \"reported\": {\n    \"lower_temperature\": \"<integer>\",\n    \"upper_temperature\": \"<integer>\",\n    \"lower_humidity\": \"<integer>\",\n    \"upper_humidity\": \"<integer>\",\n    \"measure_interval\": \"<integer>\",\n    \"send_interval\": \"<integer>\"\n  },\n  \"desired\": {\n    \"lower_temperature\": \"<integer>\",\n    \"upper_temperature\": \"<integer>\",\n    \"lower_humidity\": \"<integer>\",\n    \"upper_humidity\": \"<integer>\",\n    \"measure_interval\": \"<integer>\",\n    \"send_interval\": \"<integer>\"\n  }\n}"},{"id":"15063133-2352-4e23-9abb-f0bd3aa5d400","name":"Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription.","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/smart-climate/:device_id_climate","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","smart-climate",":device_id_climate"],"variable":[{"key":"device_id_climate"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"84b7faf4-58b5-4bb7-a686-8b998f5a53c4","name":"Device does not exist or does not belong to this user.","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/smart-climate/:device_id_climate","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","smart-climate",":device_id_climate"],"variable":[{"key":"device_id_climate"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"2d9f87ca-3565-401c-8c4d-e88490bf4778"},{"name":"Configure Smart Climates","id":"5ea23d80-aa44-4589-bb97-011417d11cf3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"description":"<p>(Required) </p>\n","key":"Ocp-Apim-Subscription-Key","value":"{{Subscription-Key}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"desired\": {\n    \"lower_temperature\": 0,\n    \"upper_temperature\": 30,\n    \"lower_humidity\": 25,\n    \"upper_humidity\": 75,\n    \"measurement_interval\": 300,\n    \"send_interval\": 600\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.smart.click//v1-4-0/device-control/smart-climate/:device_id_climate","urlObject":{"path":["v1-4-0","device-control","smart-climate",":device_id_climate"],"host":["https://api.smart.click/"],"query":[],"variable":[{"id":"7dd7149f-e3fd-4d04-8d76-dac87266e52a","type":"any","value":"your-device-id","key":"device_id_climate"}]}},"response":[{"id":"7e057555-6ea4-4a08-9484-618ad9328067","name":"Device configuration updated successfully. Returns updated device configuration.","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"desired\": {\n    \"lower_temperature\": \"<integer>\",\n    \"upper_temperature\": \"<integer>\",\n    \"lower_humidity\": \"<integer>\",\n    \"upper_humidity\": \"<integer>\",\n    \"measure_interval\": \"<integer>\",\n    \"send_interval\": \"<integer>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/smart-climate/:device_id_climate","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","smart-climate",":device_id_climate"],"variable":[{"key":"device_id_climate"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"device_id\": \"<string>\",\n  \"last_connect\": \"<integer>\",\n  \"reported\": {\n    \"lower_temperature\": \"<integer>\",\n    \"upper_temperature\": \"<integer>\",\n    \"lower_humidity\": \"<integer>\",\n    \"upper_humidity\": \"<integer>\",\n    \"measure_interval\": \"<integer>\",\n    \"send_interval\": \"<integer>\"\n  },\n  \"desired\": {\n    \"lower_temperature\": \"<integer>\",\n    \"upper_temperature\": \"<integer>\",\n    \"lower_humidity\": \"<integer>\",\n    \"upper_humidity\": \"<integer>\",\n    \"measure_interval\": \"<integer>\",\n    \"send_interval\": \"<integer>\"\n  }\n}"},{"id":"935f1fd8-59e0-4e90-b54e-03e8092dfd4a","name":"Request body is not valid.","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"desired\": {\n    \"lower_temperature\": \"<integer>\",\n    \"upper_temperature\": \"<integer>\",\n    \"lower_humidity\": \"<integer>\",\n    \"upper_humidity\": \"<integer>\",\n    \"measure_interval\": \"<integer>\",\n    \"send_interval\": \"<integer>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/smart-climate/:device_id_climate","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","smart-climate",":device_id_climate"],"variable":[{"key":"device_id_climate"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"examples\": {\n    \"error_response_with_measurements\": {\n      \"value\": {\n        \"desired\": {\n          \"measurement_interval\": \"must be integer\",\n          \"send_interval\": \"must be integer\",\n          \"lower_temperature\": \"must be integer\",\n          \"upper_temperature\": \"must be integer\",\n          \"lower_humidity\": \"must be integer\",\n          \"upper_humidity\": \"must be integer\"\n        },\n        \"reported\": {\n          \"measurement_interval\": \"must be integer\",\n          \"send_interval\": \"must be integer\",\n          \"lower_temperature\": \"must be integer\",\n          \"upper_temperature\": \"must be integer\",\n          \"lower_humidity\": \"must be integer\",\n          \"upper_humidity\": \"must be integer\"\n        }\n      }\n    },\n    \"error_response_required_fields\": {\n      \"value\": {\n        \"device_id\": \"est nostrud\"\n      }\n    },\n    \"error_response_invalid_temperatures\": {\n      \"value\": \"upper_temperature should be greater then lower_temperature\"\n    },\n    \"error_response_invalid_humidities\": {\n      \"value\": \"upper_humidity should be greater then lower_humidity\"\n    },\n    \"error_response_invalid_parameter_ranges\": {\n      \"value\": \"Temperatures should be in the range [-40, +85] with an accuracy of up to +/- 0.5°C. Humidities should be in the range [0%, 100%] with an accuracy of up to +/- 2%\"\n    }\n  }\n}"},{"id":"ac08ce9d-8710-4d7a-b542-693d6902d2e2","name":"Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription.","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"desired\": {\n    \"lower_temperature\": \"<integer>\",\n    \"upper_temperature\": \"<integer>\",\n    \"lower_humidity\": \"<integer>\",\n    \"upper_humidity\": \"<integer>\",\n    \"measure_interval\": \"<integer>\",\n    \"send_interval\": \"<integer>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/smart-climate/:device_id_climate","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","smart-climate",":device_id_climate"],"variable":[{"key":"device_id_climate"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"a6c6fc32-a922-4db1-83fc-9d8734ff4d29","name":"Device does not exist or does not belong to this user.","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"desired\": {\n    \"lower_temperature\": \"<integer>\",\n    \"upper_temperature\": \"<integer>\",\n    \"lower_humidity\": \"<integer>\",\n    \"upper_humidity\": \"<integer>\",\n    \"measure_interval\": \"<integer>\",\n    \"send_interval\": \"<integer>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/smart-climate/:device_id_climate","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","smart-climate",":device_id_climate"],"variable":[{"key":"device_id_climate"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"5ea23d80-aa44-4589-bb97-011417d11cf3"},{"name":"Configure Smart Climates","id":"22f25d59-e28d-45f9-b7aa-a5e1f02cef52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) </p>\n","key":"Ocp-Apim-Subscription-Key","value":"{{Subscription-Key}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"desired\": {\n    \"lower_temperature\": \"<integer>\",\n    \"upper_temperature\": \"<integer>\",\n    \"lower_humidity\": \"<integer>\",\n    \"upper_humidity\": \"<integer>\",\n    \"measurement_interval\": \"<integer>\",\n    \"send_interval\": \"<integer>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.smart.click//v1-4-0/device-control/smart-climate/:device_id_climate","urlObject":{"path":["v1-4-0","device-control","smart-climate",":device_id_climate"],"host":["https://api.smart.click/"],"query":[],"variable":[{"id":"0b952df0-22ae-4655-a83b-351652a6335b","type":"any","value":"your-device-id","key":"device_id_climate"}]}},"response":[{"id":"562cf66c-30b3-4a14-9354-bb7d8f7c57ab","name":"Device configuration updated successfully. Returns updated device configuration.","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"desired\": {\n    \"lower_temperature\": \"<integer>\",\n    \"upper_temperature\": \"<integer>\",\n    \"lower_humidity\": \"<integer>\",\n    \"upper_humidity\": \"<integer>\",\n    \"measure_interval\": \"<integer>\",\n    \"send_interval\": \"<integer>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/smart-climate/:device_id_climate","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","smart-climate",":device_id_climate"],"variable":[{"key":"device_id_climate"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"device_id\": \"<string>\",\n  \"last_connect\": \"<integer>\",\n  \"reported\": {\n    \"lower_temperature\": \"<integer>\",\n    \"upper_temperature\": \"<integer>\",\n    \"lower_humidity\": \"<integer>\",\n    \"upper_humidity\": \"<integer>\",\n    \"measure_interval\": \"<integer>\",\n    \"send_interval\": \"<integer>\"\n  },\n  \"desired\": {\n    \"lower_temperature\": \"<integer>\",\n    \"upper_temperature\": \"<integer>\",\n    \"lower_humidity\": \"<integer>\",\n    \"upper_humidity\": \"<integer>\",\n    \"measure_interval\": \"<integer>\",\n    \"send_interval\": \"<integer>\"\n  }\n}"},{"id":"334e1b3b-94bb-4522-9b31-c099fe15c246","name":"Request body is not valid.","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"desired\": {\n    \"lower_temperature\": \"<integer>\",\n    \"upper_temperature\": \"<integer>\",\n    \"lower_humidity\": \"<integer>\",\n    \"upper_humidity\": \"<integer>\",\n    \"measure_interval\": \"<integer>\",\n    \"send_interval\": \"<integer>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/smart-climate/:device_id_climate","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","smart-climate",":device_id_climate"],"variable":[{"key":"device_id_climate"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"examples\": {\n    \"error_response_with_measurement_intervals\": {\n      \"value\": {\n        \"desired\": {\n          \"measurement_interval\": \"must be integer\",\n          \"send_interval\": \"must be integer\",\n          \"lower_temperature\": \"must be integer\",\n          \"upper_temperature\": \"must be integer\",\n          \"lower_humidity\": \"must be integer\",\n          \"upper_humidity\": \"must be integer\"\n        },\n        \"reported\": {\n          \"measurement_interval\": \"must be integer\",\n          \"send_interval\": \"must be integer\",\n          \"lower_temperature\": \"must be integer\",\n          \"upper_temperature\": \"must be integer\",\n          \"lower_humidity\": \"must be integer\",\n          \"upper_humidity\": \"must be integer\"\n        }\n      }\n    },\n    \"error_response_required_fields\": {\n      \"value\": {\n        \"device_id\": true\n      }\n    },\n    \"error_response_invalid_temperatures\": {\n      \"value\": \"upper_temperature should be greater then lower_temperature\"\n    },\n    \"error_response_invalid_humidities\": {\n      \"value\": \"upper_humidity should be greater then lower_humidity\"\n    },\n    \"error_response_invalid_parameter_ranges\": {\n      \"value\": \"Temperatures should be in the range [-40, +85] with an accuracy of up to +/- 0.5°C. Humidities should be in the range [0%, 100%] with an accuracy of up to +/- 2%\"\n    }\n  }\n}"},{"id":"99bbcf31-467a-43c7-804a-1dda1046d700","name":"Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription.","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"desired\": {\n    \"lower_temperature\": \"<integer>\",\n    \"upper_temperature\": \"<integer>\",\n    \"lower_humidity\": \"<integer>\",\n    \"upper_humidity\": \"<integer>\",\n    \"measure_interval\": \"<integer>\",\n    \"send_interval\": \"<integer>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/smart-climate/:device_id_climate","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","smart-climate",":device_id_climate"],"variable":[{"key":"device_id_climate"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"af188fc5-cdc4-4333-ae33-5730cdd964c5","name":"Device does not exist or does not belong to this user.","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"desired\": {\n    \"lower_temperature\": \"<integer>\",\n    \"upper_temperature\": \"<integer>\",\n    \"lower_humidity\": \"<integer>\",\n    \"upper_humidity\": \"<integer>\",\n    \"measure_interval\": \"<integer>\",\n    \"send_interval\": \"<integer>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/smart-climate/:device_id_climate","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","smart-climate",":device_id_climate"],"variable":[{"key":"device_id_climate"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"22f25d59-e28d-45f9-b7aa-a5e1f02cef52"}],"id":"9182d955-9c52-419e-b4ca-37006ebe0f90","_postman_id":"9182d955-9c52-419e-b4ca-37006ebe0f90","description":""},{"name":"data","item":[{"name":"Get Smart Climate data","id":"1f82c030-c095-4742-b101-af05170237de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) </p>\n","key":"Ocp-Apim-Subscription-Key","value":"{{Subscription-Key}}"},{"key":"Accept","value":"application/json"}],"url":"https://api.smart.click//v1-4-0/device-control/smart-climate/:device_id_climate","urlObject":{"path":["v1-4-0","device-control","smart-climate",":device_id_climate"],"host":["https://api.smart.click/"],"query":[],"variable":[{"id":"96f92e98-d83b-4ceb-b8b3-d03ab967f4d7","type":"any","value":"your-device-id","key":"device_id_climate"}]}},"response":[{"id":"ccd2507b-d386-44c9-8884-f9df60364bb1","name":"Device exists.","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/smart-climate/:device_id_climate","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","smart-climate",":device_id_climate"],"variable":[{"key":"device_id_climate"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"device_id\": \"<string>\",\n  \"last_connect\": \"<integer>\",\n  \"reported\": {\n    \"lower_temperature\": \"<integer>\",\n    \"upper_temperature\": \"<integer>\",\n    \"lower_humidity\": \"<integer>\",\n    \"upper_humidity\": \"<integer>\",\n    \"measure_interval\": \"<integer>\",\n    \"send_interval\": \"<integer>\"\n  },\n  \"desired\": {\n    \"lower_temperature\": \"<integer>\",\n    \"upper_temperature\": \"<integer>\",\n    \"lower_humidity\": \"<integer>\",\n    \"upper_humidity\": \"<integer>\",\n    \"measure_interval\": \"<integer>\",\n    \"send_interval\": \"<integer>\"\n  }\n}"},{"id":"f3246df5-f989-4cd0-8e11-b863acf8a06b","name":"Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription.","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/smart-climate/:device_id_climate","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","smart-climate",":device_id_climate"],"variable":[{"key":"device_id_climate"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"4e78210f-834c-4d38-a62d-29dc81fd460d","name":"Device does not exist or does not belong to this user.","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"Ocp-Apim-Subscription-Key","value":"<string>"},{"description":"Added as a part of security scheme: apikey","key":"API-Key","value":"<API Key>"}],"url":{"raw":"{{baseUrl}}/v1-4-0/device-control/smart-climate/:device_id_climate","host":["{{baseUrl}}"],"path":["v1-4-0","device-control","smart-climate",":device_id_climate"],"variable":[{"key":"device_id_climate"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"1f82c030-c095-4742-b101-af05170237de"}],"id":"d145d330-b844-4761-8265-534ddef7be9f","_postman_id":"d145d330-b844-4761-8265-534ddef7be9f","description":""},{"name":"power-control","item":[{"name":"{device_id}","item":[{"name":"schedules","item":[{"name":"Set schedules for PowerControl. Updates the complete schedule array.","id":"cec5f6c8-0280-46cd-be1b-4e3913125acb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[\n    {\n        \"schedule_id\": \"<integer>\",\n        \"trigger_event\": \"<integer>\",\n        \"minute\": \"<string>\",\n        \"hour\": \"<string>\",\n        \"day_of_month\": \"<string>\",\n        \"month\": \"<string>\",\n        \"day_of_week\": \"<string>\",\n        \"desired_relay_state\": \"<boolean>\"\n    },\n    {\n        \"schedule_id\": \"<integer>\",\n        \"trigger_event\": \"<integer>\",\n        \"minute\": \"<string>\",\n        \"hour\": \"<string>\",\n        \"day_of_month\": \"<string>\",\n        \"month\": \"<string>\",\n        \"day_of_week\": \"<string>\",\n        \"desired_relay_state\": \"<boolean>\"\n    }\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.smart.click//power-control/:device_id/schedules","description":"<p>Set schedules for PowerControl. Updates the complete schedule array.</p>\n","urlObject":{"path":["power-control",":device_id","schedules"],"host":["https://api.smart.click/"],"query":[],"variable":[{"description":{"content":"<p>(Required) Device-ID of PowerControl Device</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"device_id"}]}},"response":[{"id":"de2bebc9-ae78-4841-8495-116bda02cf52","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Api-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"[\n  {\n    \"schedule_id\": \"<integer>\",\n    \"weekday\": \"<integer>\",\n    \"event\": \"<integer>\",\n    \"desired_relay_state\": \"<boolean>\",\n    \"hour\": \"<integer>\",\n    \"minute\": 54,\n    \"offset\": \"<integer>\"\n  },\n  {\n    \"schedule_id\": \"<integer>\",\n    \"weekday\": \"<integer>\",\n    \"event\": \"<integer>\",\n    \"desired_relay_state\": \"<boolean>\",\n    \"hour\": \"<integer>\",\n    \"minute\": 5,\n    \"offset\": \"<integer>\"\n  }\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/power-control/:device_id/schedules","host":["{{baseUrl}}"],"path":["power-control",":device_id","schedules"],"variable":[{"key":"device_id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"cec5f6c8-0280-46cd-be1b-4e3913125acb"}],"id":"990b413c-f6c6-40cc-96a9-a19e76148e7b","_postman_id":"990b413c-f6c6-40cc-96a9-a19e76148e7b","description":""},{"name":"relay","item":[{"name":"Sets the desired relay state of PowerControl. Command will be transmitted immediatly if device is online.","id":"6be219bb-770f-4ad6-a7bb-07b956f9a8b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"desired_relay_state\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.smart.click//power-control/:device_id/relay","description":"<p>Sets the desired relay state of PowerControl. Command will be transmitted immediatly if device is online.</p>\n","urlObject":{"path":["power-control",":device_id","relay"],"host":["https://api.smart.click/"],"query":[],"variable":[{"description":{"content":"<p>(Required) Device-ID of PowerControl Device</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"device_id"}]}},"response":[{"id":"991dfb8f-b175-4bc3-a23b-8480032fc85c","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Api-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"desired_relay_state\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/power-control/:device_id/relay","host":["{{baseUrl}}"],"path":["power-control",":device_id","relay"],"variable":[{"key":"device_id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"6be219bb-770f-4ad6-a7bb-07b956f9a8b8"}],"id":"4eee6af8-e8fa-4c52-934d-394489026404","_postman_id":"4eee6af8-e8fa-4c52-934d-394489026404","description":""},{"name":"Get full PowerControl Object","id":"6bf30de2-fe85-462d-a600-f79901444209","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.smart.click//power-control/:device_id","description":"<p>Get full PowerControl Object</p>\n","urlObject":{"path":["power-control",":device_id"],"host":["https://api.smart.click/"],"query":[],"variable":[{"description":{"content":"<p>(Required) Device-ID of PowerControl Device</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"device_id"}]}},"response":[{"id":"206352fb-cedf-4a6c-9551-01d0a926228d","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Api-Key","value":"<API Key>"}],"url":{"raw":"{{baseUrl}}/power-control/:device_id","host":["{{baseUrl}}"],"path":["power-control",":device_id"],"variable":[{"key":"device_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"device_id\": \"<string>\",\n  \"device_name\": \"<string>\",\n  \"latitude\": \"<number>\",\n  \"longitude\": -79,\n  \"last_connect_timestamp\": \"<integer>\",\n  \"desired_relay_state\": \"<boolean>\",\n  \"reported_relay_state\": \"<boolean>\",\n  \"schedules\": [\n    {\n      \"schedule_id\": \"<integer>\",\n      \"weekday\": \"<integer>\",\n      \"event\": \"<integer>\",\n      \"desired_relay_state\": \"<boolean>\",\n      \"hour\": \"<integer>\",\n      \"minute\": 1,\n      \"offset\": \"<integer>\"\n    },\n    {\n      \"schedule_id\": \"<integer>\",\n      \"weekday\": \"<integer>\",\n      \"event\": \"<integer>\",\n      \"desired_relay_state\": \"<boolean>\",\n      \"hour\": \"<integer>\",\n      \"minute\": 15,\n      \"offset\": \"<integer>\"\n    }\n  ]\n}"},{"id":"524299a9-8e2a-44a1-b7e9-cfe3e52bdf37","name":"Not Found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Api-Key","value":"<API Key>"}],"url":{"raw":"{{baseUrl}}/power-control/:device_id","host":["{{baseUrl}}"],"path":["power-control",":device_id"],"variable":[{"key":"device_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"6bf30de2-fe85-462d-a600-f79901444209"},{"name":"Set Device-Name and Device-Location","id":"7e47f1b0-06c1-4811-b285-11a8e5aa421c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"device_id\": \"<string>\",\n  \"device_name\": \"<string>\",\n  \"latitude\": \"<number>\",\n  \"longitude\": -79,\n  \"last_connect_timestamp\": \"<integer>\",\n  \"desired_relay_state\": \"<boolean>\",\n  \"reported_relay_state\": \"<boolean>\",\n  \"schedules\": [\n    {\n      \"schedule_id\": \"<integer>\",\n      \"weekday\": \"<integer>\",\n      \"event\": \"<integer>\",\n      \"desired_relay_state\": \"<boolean>\",\n      \"hour\": \"<integer>\",\n      \"minute\": 1,\n      \"offset\": \"<integer>\"\n    },\n    {\n      \"schedule_id\": \"<integer>\",\n      \"weekday\": \"<integer>\",\n      \"event\": \"<integer>\",\n      \"desired_relay_state\": \"<boolean>\",\n      \"hour\": \"<integer>\",\n      \"minute\": 15,\n      \"offset\": \"<integer>\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.smart.click//power-control/:device_id","description":"<p>Set Device-Name and Device-Location</p>\n","urlObject":{"path":["power-control",":device_id"],"host":["https://api.smart.click/"],"query":[],"variable":[{"description":{"content":"<p>(Required) Device-ID of PowerControl Device</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"device_id"}]}},"response":[{"id":"2dc2199e-28de-4946-bcb3-2b6ba9580ee7","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Api-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"device_id\": \"<string>\",\n  \"device_name\": \"<string>\",\n  \"latitude\": \"<number>\",\n  \"longitude\": -79,\n  \"last_connect_timestamp\": \"<integer>\",\n  \"desired_relay_state\": \"<boolean>\",\n  \"reported_relay_state\": \"<boolean>\",\n  \"schedules\": [\n    {\n      \"schedule_id\": \"<integer>\",\n      \"weekday\": \"<integer>\",\n      \"event\": \"<integer>\",\n      \"desired_relay_state\": \"<boolean>\",\n      \"hour\": \"<integer>\",\n      \"minute\": 1,\n      \"offset\": \"<integer>\"\n    },\n    {\n      \"schedule_id\": \"<integer>\",\n      \"weekday\": \"<integer>\",\n      \"event\": \"<integer>\",\n      \"desired_relay_state\": \"<boolean>\",\n      \"hour\": \"<integer>\",\n      \"minute\": 15,\n      \"offset\": \"<integer>\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/power-control/:device_id","host":["{{baseUrl}}"],"path":["power-control",":device_id"],"variable":[{"key":"device_id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"7e47f1b0-06c1-4811-b285-11a8e5aa421c"}],"id":"62b6a15e-f323-4126-9f65-915c05e599e3","_postman_id":"62b6a15e-f323-4126-9f65-915c05e599e3","description":""}],"id":"01ed4a7c-1ee8-4c5d-aa9c-34e18330dae5","_postman_id":"01ed4a7c-1ee8-4c5d-aa9c-34e18330dae5","description":""}],"id":"77b94aa3-0f45-46bc-982e-f05a9b466e87","description":"<p>This API can be used to configure some of the Devices via REST-API instead of using my.smart.click</p>\n","_postman_id":"77b94aa3-0f45-46bc-982e-f05a9b466e87"}],"event":[{"listen":"prerequest","script":{"id":"eb50dce4-b01b-4ff6-a8c4-b49e3862d6f5","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f68c88de-ee99-4437-9269-1f56887d8fd3","type":"text/javascript","exec":[""]}}],"variable":[{"key":"deviceControlURL","value":"https://api.smart.click/"},{"key":"device_id_climate","value":"smart-climate-test","type":"string"},{"key":"device_id_power_plug","value":"power_plug_test","type":"string"},{"key":"device_id_power_control","value":"test-power-control","type":"string"},{"key":"device_id_iox_button","value":"iox_button_test_device","type":"string"},{"key":"device_id_orgatex_esl","value":"orgatex-esl-test","type":"string"},{"key":"buttonConfiguratorURL","value":"https://561ad62f-fd23-4406-a464-caa6acf3b76f.mock.pstmn.io","type":"string"}]}