From a161f436529da20b28429466e5007bde5e6f7de1 Mon Sep 17 00:00:00 2001 From: "karl.hudgell" Date: Wed, 6 May 2020 17:30:48 +0100 Subject: [PATCH] postman collection --- Postman/MiGenit.postman_collection.json | 188 ++++++++++++++++++++++++ 1 file changed, 188 insertions(+) create mode 100644 Postman/MiGenit.postman_collection.json diff --git a/Postman/MiGenit.postman_collection.json b/Postman/MiGenit.postman_collection.json new file mode 100644 index 0000000..69bbc30 --- /dev/null +++ b/Postman/MiGenit.postman_collection.json @@ -0,0 +1,188 @@ +{ + "info": { + "_postman_id": "4539bb18-0f15-42a0-93f2-c510fc469350", + "name": "MiGenit", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" + }, + "item": [ + { + "name": "pua_init", + "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": "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 }" + }, + "url": { + "raw": "https://public.wcs.schneider-electric.ws/rpc/public_ssp/pua_init", + "protocol": "https", + "host": [ + "public", + "wcs", + "schneider-electric", + "ws" + ], + "path": [ + "rpc", + "public_ssp", + "pua_init" + ] + } + }, + "response": [] + }, + { + "name": "adjust_setpoint", + "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": "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 }" + }, + "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": "poll Genie", + "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": "Partner-Key", + "type": "text", + "value": "Z54dtzwUVwYT6kr1hNkakNlfFBxiT5ZRRF9wWByEDny2JhreIscReFf6GfGhCqLNcTZWi0us7jGaf9dyM3NtopeCEf4skuKkl3x3" + }, + { + "key": "User-Agent-Wiser", + "type": "text", + "value": "iPhoneTestTool;iOS6;WiserApp2.0.0" + }, + { + "key": "Accept", + "type": "text", + "value": "*/*" + } + ], + "body": { + "mode": "raw", + "raw": "{}" + }, + "url": { + "raw": "https://public.wcs.schneider-electric.ws/rpc/public_genie/poll", + "protocol": "https", + "host": [ + "public", + "wcs", + "schneider-electric", + "ws" + ], + "path": [ + "rpc", + "public_genie", + "poll" + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} +} \ No newline at end of file