diff --git a/Postman/MiGenit.postman_collection.json b/Postman/MiGenit.postman_collection.json index 69bbc30..01e0c37 100644 --- a/Postman/MiGenit.postman_collection.json +++ b/Postman/MiGenit.postman_collection.json @@ -6,7 +6,7 @@ }, "item": [ { - "name": "pua_init", + "name": "Get Endpoints", "request": { "auth": { "type": "basic", @@ -25,27 +25,15 @@ }, "method": "POST", "header": [ - { - "key": "Partner-Key", - "type": "text", - "value": "Z54dtzwUVwYT6kr1hNkakNlfFBxiT5ZRRF9wWByEDny2JhreIscReFf6GfGhCqLNcTZWi0us7jGaf9dyM3NtopeCEf4skuKkl3x3", - "disabled": true - }, { "key": "User-Agent-Wiser", "value": "iPhoneTestTool;iOS6;WiserApp2.0.0", "type": "text" - }, - { - "key": "Accept", - "value": "*/*", - "type": "text", - "disabled": true } ], "body": { "mode": "raw", - "raw": "{ \"sessionToken\" : 1341220968, \"zoneId\" : [0], \"setpoint\" : 86 }" + "raw": "{}" }, "url": { "raw": "https://public.wcs.schneider-electric.ws/rpc/public_ssp/pua_init", @@ -66,7 +54,7 @@ "response": [] }, { - "name": "adjust_setpoint", + "name": "Turn Off Heating", "request": { "auth": { "type": "basic", @@ -85,27 +73,63 @@ }, "method": "POST", "header": [ - { - "key": "Partner-Key", - "type": "text", - "value": "tesf", - "disabled": true - }, { "key": "User-Agent-Wiser", "type": "text", "value": "iPhoneTestTool;iOS6;WiserApp2.0.0" - }, - { - "key": "Accept", - "type": "text", - "value": "*/*", - "disabled": true } ], "body": { "mode": "raw", - "raw": "{ \"zoneId\" : [0], \"setpoint\" : 0 }" + "raw": "{ \n\"zoneId\" : [0],\n\"setpoint\" : 0 \n}" + }, + "url": { + "raw": "https://public.wcs.schneider-electric.ws/rpc/public_genie/adjust_setpoint", + "protocol": "https", + "host": [ + "public", + "wcs", + "schneider-electric", + "ws" + ], + "path": [ + "rpc", + "public_genie", + "adjust_setpoint" + ] + } + }, + "response": [] + }, + { + "name": "Turn On Heating 22Deg", + "request": { + "auth": { + "type": "basic", + "basic": [ + { + "key": "password", + "value": "Grd.555269", + "type": "string" + }, + { + "key": "username", + "value": "karl@k-world.me.uk", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "User-Agent-Wiser", + "type": "text", + "value": "iPhoneTestTool;iOS6;WiserApp2.0.0" + } + ], + "body": { + "mode": "raw", + "raw": "{ \n\"zoneId\" : [0],\n\"setpoint\" : 84 \n}" }, "url": { "raw": "https://public.wcs.schneider-electric.ws/rpc/public_genie/adjust_setpoint", @@ -145,20 +169,10 @@ }, "method": "POST", "header": [ - { - "key": "Partner-Key", - "type": "text", - "value": "Z54dtzwUVwYT6kr1hNkakNlfFBxiT5ZRRF9wWByEDny2JhreIscReFf6GfGhCqLNcTZWi0us7jGaf9dyM3NtopeCEf4skuKkl3x3" - }, { "key": "User-Agent-Wiser", "type": "text", "value": "iPhoneTestTool;iOS6;WiserApp2.0.0" - }, - { - "key": "Accept", - "type": "text", - "value": "*/*" } ], "body": { @@ -182,6 +196,102 @@ } }, "response": [] + }, + { + "name": "Boost Hot Water 90 Mins", + "request": { + "auth": { + "type": "basic", + "basic": [ + { + "key": "password", + "value": "Grd.555269", + "type": "string" + }, + { + "key": "username", + "value": "karl@k-world.me.uk", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "User-Agent-Wiser", + "type": "text", + "value": "iPhoneTestTool;iOS6;WiserApp2.0.0" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\"zoneId\": [1],\n\"setPoint\": 255,\n\"durationMinutes\": 90\n}" + }, + "url": { + "raw": "https://public.wcs.schneider-electric.ws/rpc/public_genie/apply_timer", + "protocol": "https", + "host": [ + "public", + "wcs", + "schneider-electric", + "ws" + ], + "path": [ + "rpc", + "public_genie", + "apply_timer" + ] + } + }, + "response": [] + }, + { + "name": "UnBoots Hot Water", + "request": { + "auth": { + "type": "basic", + "basic": [ + { + "key": "password", + "value": "Grd.555269", + "type": "string" + }, + { + "key": "username", + "value": "karl@k-world.me.uk", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "User-Agent-Wiser", + "type": "text", + "value": "iPhoneTestTool;iOS6;WiserApp2.0.0" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\"zoneId\": [1]\n}" + }, + "url": { + "raw": "https://public.wcs.schneider-electric.ws/rpc/public_genie/cancel_timer", + "protocol": "https", + "host": [ + "public", + "wcs", + "schneider-electric", + "ws" + ], + "path": [ + "rpc", + "public_genie", + "cancel_timer" + ] + } + }, + "response": [] } ], "protocolProfileBehavior": {}