| 1 | { |
| 2 | "info": { |
| 3 | "_postman_id": "2d4009e7-04a8-4516-adaf-8b60780df9f4", |
| 4 | "name": "CSSimulatorUIProtocol", |
| 5 | "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", |
| 6 | "_exporter_id": "23011687" |
| 7 | }, |
| 8 | "item": [ |
| 9 | { |
| 10 | "name": "listChargingStations", |
| 11 | "request": { |
| 12 | "method": "POST", |
| 13 | "header": [], |
| 14 | "body": { |
| 15 | "mode": "raw", |
| 16 | "raw": "{}", |
| 17 | "options": { |
| 18 | "raw": { |
| 19 | "language": "json" |
| 20 | } |
| 21 | } |
| 22 | }, |
| 23 | "url": { |
| 24 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/listChargingStations", |
| 25 | "host": [ |
| 26 | "{{baseUrl}}" |
| 27 | ], |
| 28 | "path": [ |
| 29 | "{{protocol}}", |
| 30 | "{{version}}", |
| 31 | "listChargingStations" |
| 32 | ] |
| 33 | } |
| 34 | }, |
| 35 | "response": [] |
| 36 | }, |
| 37 | { |
| 38 | "name": "startChargingStation", |
| 39 | "request": { |
| 40 | "method": "POST", |
| 41 | "header": [], |
| 42 | "body": { |
| 43 | "mode": "raw", |
| 44 | "raw": "{\n \"hashIds\": [\n \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\",\n \"331d024fea36e3e2483a0e5dc9376234241c8c099ad201a441437b23622c308555183f37cbc84a1818c1c45aaae50896\"\n ]\n}", |
| 45 | "options": { |
| 46 | "raw": { |
| 47 | "language": "json" |
| 48 | } |
| 49 | } |
| 50 | }, |
| 51 | "url": { |
| 52 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/startChargingStation", |
| 53 | "host": [ |
| 54 | "{{baseUrl}}" |
| 55 | ], |
| 56 | "path": [ |
| 57 | "{{protocol}}", |
| 58 | "{{version}}", |
| 59 | "startChargingStation" |
| 60 | ] |
| 61 | } |
| 62 | }, |
| 63 | "response": [] |
| 64 | }, |
| 65 | { |
| 66 | "name": "stopChargingStation", |
| 67 | "request": { |
| 68 | "method": "POST", |
| 69 | "header": [], |
| 70 | "body": { |
| 71 | "mode": "raw", |
| 72 | "raw": "{\n \"hashIds\": [\n \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\",\n \"331d024fea36e3e2483a0e5dc9376234241c8c099ad201a441437b23622c308555183f37cbc84a1818c1c45aaae50896\"\n ]\n}", |
| 73 | "options": { |
| 74 | "raw": { |
| 75 | "language": "json" |
| 76 | } |
| 77 | } |
| 78 | }, |
| 79 | "url": { |
| 80 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/stopChargingStation", |
| 81 | "host": [ |
| 82 | "{{baseUrl}}" |
| 83 | ], |
| 84 | "path": [ |
| 85 | "{{protocol}}", |
| 86 | "{{version}}", |
| 87 | "stopChargingStation" |
| 88 | ] |
| 89 | } |
| 90 | }, |
| 91 | "response": [] |
| 92 | }, |
| 93 | { |
| 94 | "name": "startSimulator", |
| 95 | "request": { |
| 96 | "method": "POST", |
| 97 | "header": [], |
| 98 | "body": { |
| 99 | "mode": "raw", |
| 100 | "raw": "{}", |
| 101 | "options": { |
| 102 | "raw": { |
| 103 | "language": "json" |
| 104 | } |
| 105 | } |
| 106 | }, |
| 107 | "url": { |
| 108 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/startSimulator", |
| 109 | "host": [ |
| 110 | "{{baseUrl}}" |
| 111 | ], |
| 112 | "path": [ |
| 113 | "{{protocol}}", |
| 114 | "{{version}}", |
| 115 | "startSimulator" |
| 116 | ] |
| 117 | } |
| 118 | }, |
| 119 | "response": [] |
| 120 | }, |
| 121 | { |
| 122 | "name": "stopSimulator", |
| 123 | "request": { |
| 124 | "method": "POST", |
| 125 | "header": [], |
| 126 | "body": { |
| 127 | "mode": "raw", |
| 128 | "raw": "{}", |
| 129 | "options": { |
| 130 | "raw": { |
| 131 | "language": "json" |
| 132 | } |
| 133 | } |
| 134 | }, |
| 135 | "url": { |
| 136 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/stopSimulator", |
| 137 | "host": [ |
| 138 | "{{baseUrl}}" |
| 139 | ], |
| 140 | "path": [ |
| 141 | "{{protocol}}", |
| 142 | "{{version}}", |
| 143 | "stopSimulator" |
| 144 | ] |
| 145 | } |
| 146 | }, |
| 147 | "response": [] |
| 148 | }, |
| 149 | { |
| 150 | "name": "openConnection", |
| 151 | "request": { |
| 152 | "method": "POST", |
| 153 | "header": [], |
| 154 | "body": { |
| 155 | "mode": "raw", |
| 156 | "raw": "{\n \"hashIds\": [\n \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\",\n \"331d024fea36e3e2483a0e5dc9376234241c8c099ad201a441437b23622c308555183f37cbc84a1818c1c45aaae50896\"\n ]\n}", |
| 157 | "options": { |
| 158 | "raw": { |
| 159 | "language": "json" |
| 160 | } |
| 161 | } |
| 162 | }, |
| 163 | "url": { |
| 164 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/openConnection", |
| 165 | "host": [ |
| 166 | "{{baseUrl}}" |
| 167 | ], |
| 168 | "path": [ |
| 169 | "{{protocol}}", |
| 170 | "{{version}}", |
| 171 | "openConnection" |
| 172 | ] |
| 173 | } |
| 174 | }, |
| 175 | "response": [] |
| 176 | }, |
| 177 | { |
| 178 | "name": "closeConnection", |
| 179 | "request": { |
| 180 | "method": "POST", |
| 181 | "header": [], |
| 182 | "body": { |
| 183 | "mode": "raw", |
| 184 | "raw": "{\n \"hashIds\": [\n \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\",\n \"331d024fea36e3e2483a0e5dc9376234241c8c099ad201a441437b23622c308555183f37cbc84a1818c1c45aaae50896\"\n ]\n}", |
| 185 | "options": { |
| 186 | "raw": { |
| 187 | "language": "json" |
| 188 | } |
| 189 | } |
| 190 | }, |
| 191 | "url": { |
| 192 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/closeConnection", |
| 193 | "host": [ |
| 194 | "{{baseUrl}}" |
| 195 | ], |
| 196 | "path": [ |
| 197 | "{{protocol}}", |
| 198 | "{{version}}", |
| 199 | "closeConnection" |
| 200 | ] |
| 201 | } |
| 202 | }, |
| 203 | "response": [] |
| 204 | }, |
| 205 | { |
| 206 | "name": "startTransaction", |
| 207 | "request": { |
| 208 | "method": "POST", |
| 209 | "header": [], |
| 210 | "body": { |
| 211 | "mode": "raw", |
| 212 | "raw": "{\n \"hashIds\": [\n \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\"\n ],\n \"connectorId\": 1,\n \"idTag\": \"test\"\n}", |
| 213 | "options": { |
| 214 | "raw": { |
| 215 | "language": "json" |
| 216 | } |
| 217 | } |
| 218 | }, |
| 219 | "url": { |
| 220 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/startTransaction", |
| 221 | "host": [ |
| 222 | "{{baseUrl}}" |
| 223 | ], |
| 224 | "path": [ |
| 225 | "{{protocol}}", |
| 226 | "{{version}}", |
| 227 | "startTransaction" |
| 228 | ] |
| 229 | } |
| 230 | }, |
| 231 | "response": [] |
| 232 | }, |
| 233 | { |
| 234 | "name": "stopTransaction", |
| 235 | "request": { |
| 236 | "method": "POST", |
| 237 | "header": [], |
| 238 | "body": { |
| 239 | "mode": "raw", |
| 240 | "raw": "{\n \"hashIds\": [\n \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\"\n ],\n \"transactionId\": 1236043451\n}", |
| 241 | "options": { |
| 242 | "raw": { |
| 243 | "language": "json" |
| 244 | } |
| 245 | } |
| 246 | }, |
| 247 | "url": { |
| 248 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/stopTransaction", |
| 249 | "host": [ |
| 250 | "{{baseUrl}}" |
| 251 | ], |
| 252 | "path": [ |
| 253 | "{{protocol}}", |
| 254 | "{{version}}", |
| 255 | "stopTransaction" |
| 256 | ] |
| 257 | } |
| 258 | }, |
| 259 | "response": [] |
| 260 | } |
| 261 | ], |
| 262 | "event": [ |
| 263 | { |
| 264 | "listen": "prerequest", |
| 265 | "script": { |
| 266 | "type": "text/javascript", |
| 267 | "exec": [ |
| 268 | "" |
| 269 | ] |
| 270 | } |
| 271 | }, |
| 272 | { |
| 273 | "listen": "test", |
| 274 | "script": { |
| 275 | "type": "text/javascript", |
| 276 | "exec": [ |
| 277 | "" |
| 278 | ] |
| 279 | } |
| 280 | } |
| 281 | ], |
| 282 | "variable": [ |
| 283 | { |
| 284 | "key": "baseUrl", |
| 285 | "value": "http://localhost:8080", |
| 286 | "type": "string" |
| 287 | }, |
| 288 | { |
| 289 | "key": "protocol", |
| 290 | "value": "ui", |
| 291 | "type": "string" |
| 292 | }, |
| 293 | { |
| 294 | "key": "version", |
| 295 | "value": "0.0.1", |
| 296 | "type": "string" |
| 297 | } |
| 298 | ] |
| 299 | } |