postman collection

This commit is contained in:
karl.hudgell 2020-05-06 17:30:48 +01:00
commit a161f43652

View File

@ -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": {}
}