Commit | Line | Data |
---|---|---|
17bfa1b6 | 1 | { |
6a619cce JB |
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": ["{{baseUrl}}"], | |
26 | "path": ["{{protocol}}", "{{version}}", "listChargingStations"] | |
27 | } | |
28 | }, | |
29 | "response": [] | |
30 | }, | |
31 | { | |
32 | "name": "startChargingStation", | |
33 | "request": { | |
34 | "method": "POST", | |
35 | "header": [], | |
36 | "body": { | |
37 | "mode": "raw", | |
38 | "raw": "{\n \"hashIds\": [\n \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\",\n \"331d024fea36e3e2483a0e5dc9376234241c8c099ad201a441437b23622c308555183f37cbc84a1818c1c45aaae50896\"\n ]\n}", | |
39 | "options": { | |
40 | "raw": { | |
41 | "language": "json" | |
42 | } | |
43 | } | |
44 | }, | |
45 | "url": { | |
46 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/startChargingStation", | |
47 | "host": ["{{baseUrl}}"], | |
48 | "path": ["{{protocol}}", "{{version}}", "startChargingStation"] | |
49 | } | |
50 | }, | |
51 | "response": [] | |
52 | }, | |
53 | { | |
54 | "name": "stopChargingStation", | |
55 | "request": { | |
56 | "method": "POST", | |
57 | "header": [], | |
58 | "body": { | |
59 | "mode": "raw", | |
60 | "raw": "{\n \"hashIds\": [\n \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\",\n \"331d024fea36e3e2483a0e5dc9376234241c8c099ad201a441437b23622c308555183f37cbc84a1818c1c45aaae50896\"\n ]\n}", | |
61 | "options": { | |
62 | "raw": { | |
63 | "language": "json" | |
64 | } | |
65 | } | |
66 | }, | |
67 | "url": { | |
68 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/stopChargingStation", | |
69 | "host": ["{{baseUrl}}"], | |
70 | "path": ["{{protocol}}", "{{version}}", "stopChargingStation"] | |
71 | } | |
72 | }, | |
73 | "response": [] | |
74 | }, | |
75 | { | |
76 | "name": "startSimulator", | |
77 | "request": { | |
78 | "method": "POST", | |
79 | "header": [], | |
80 | "body": { | |
81 | "mode": "raw", | |
82 | "raw": "{}", | |
83 | "options": { | |
84 | "raw": { | |
85 | "language": "json" | |
86 | } | |
87 | } | |
88 | }, | |
89 | "url": { | |
90 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/startSimulator", | |
91 | "host": ["{{baseUrl}}"], | |
92 | "path": ["{{protocol}}", "{{version}}", "startSimulator"] | |
93 | } | |
94 | }, | |
95 | "response": [] | |
96 | }, | |
97 | { | |
98 | "name": "stopSimulator", | |
99 | "request": { | |
100 | "method": "POST", | |
101 | "header": [], | |
102 | "body": { | |
103 | "mode": "raw", | |
104 | "raw": "{}", | |
105 | "options": { | |
106 | "raw": { | |
107 | "language": "json" | |
108 | } | |
109 | } | |
110 | }, | |
111 | "url": { | |
112 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/stopSimulator", | |
113 | "host": ["{{baseUrl}}"], | |
114 | "path": ["{{protocol}}", "{{version}}", "stopSimulator"] | |
115 | } | |
116 | }, | |
117 | "response": [] | |
118 | }, | |
119 | { | |
120 | "name": "openConnection", | |
121 | "request": { | |
122 | "method": "POST", | |
123 | "header": [], | |
124 | "body": { | |
125 | "mode": "raw", | |
126 | "raw": "{\n \"hashIds\": [\n \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\",\n \"331d024fea36e3e2483a0e5dc9376234241c8c099ad201a441437b23622c308555183f37cbc84a1818c1c45aaae50896\"\n ]\n}", | |
127 | "options": { | |
128 | "raw": { | |
129 | "language": "json" | |
130 | } | |
131 | } | |
132 | }, | |
133 | "url": { | |
134 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/openConnection", | |
135 | "host": ["{{baseUrl}}"], | |
136 | "path": ["{{protocol}}", "{{version}}", "openConnection"] | |
137 | } | |
138 | }, | |
139 | "response": [] | |
140 | }, | |
141 | { | |
142 | "name": "closeConnection", | |
143 | "request": { | |
144 | "method": "POST", | |
145 | "header": [], | |
146 | "body": { | |
147 | "mode": "raw", | |
148 | "raw": "{\n \"hashIds\": [\n \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\",\n \"331d024fea36e3e2483a0e5dc9376234241c8c099ad201a441437b23622c308555183f37cbc84a1818c1c45aaae50896\"\n ]\n}", | |
149 | "options": { | |
150 | "raw": { | |
151 | "language": "json" | |
152 | } | |
153 | } | |
154 | }, | |
155 | "url": { | |
156 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/closeConnection", | |
157 | "host": ["{{baseUrl}}"], | |
158 | "path": ["{{protocol}}", "{{version}}", "closeConnection"] | |
159 | } | |
160 | }, | |
161 | "response": [] | |
162 | }, | |
163 | { | |
164 | "name": "startTransaction", | |
165 | "request": { | |
166 | "method": "POST", | |
167 | "header": [], | |
168 | "body": { | |
169 | "mode": "raw", | |
170 | "raw": "{\n \"hashIds\": [\n \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\"\n ],\n \"connectorId\": 1,\n \"idTag\": \"test\"\n}", | |
171 | "options": { | |
172 | "raw": { | |
173 | "language": "json" | |
174 | } | |
175 | } | |
176 | }, | |
177 | "url": { | |
178 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/startTransaction", | |
179 | "host": ["{{baseUrl}}"], | |
180 | "path": ["{{protocol}}", "{{version}}", "startTransaction"] | |
181 | } | |
182 | }, | |
183 | "response": [] | |
184 | }, | |
185 | { | |
186 | "name": "stopTransaction", | |
187 | "request": { | |
188 | "method": "POST", | |
189 | "header": [], | |
190 | "body": { | |
191 | "mode": "raw", | |
192 | "raw": "{\n \"hashIds\": [\n \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\"\n ],\n \"transactionId\": 1236043451\n}", | |
193 | "options": { | |
194 | "raw": { | |
195 | "language": "json" | |
196 | } | |
197 | } | |
198 | }, | |
199 | "url": { | |
200 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/stopTransaction", | |
201 | "host": ["{{baseUrl}}"], | |
202 | "path": ["{{protocol}}", "{{version}}", "stopTransaction"] | |
203 | } | |
204 | }, | |
205 | "response": [] | |
206 | } | |
207 | ], | |
208 | "event": [ | |
209 | { | |
210 | "listen": "prerequest", | |
211 | "script": { | |
212 | "type": "text/javascript", | |
213 | "exec": [""] | |
214 | } | |
215 | }, | |
216 | { | |
217 | "listen": "test", | |
218 | "script": { | |
219 | "type": "text/javascript", | |
220 | "exec": [""] | |
221 | } | |
222 | } | |
223 | ], | |
224 | "variable": [ | |
225 | { | |
226 | "key": "baseUrl", | |
227 | "value": "http://localhost:8080", | |
228 | "type": "string" | |
229 | }, | |
230 | { | |
231 | "key": "protocol", | |
232 | "value": "ui", | |
233 | "type": "string" | |
234 | }, | |
235 | { | |
236 | "key": "version", | |
237 | "value": "0.0.1", | |
238 | "type": "string" | |
239 | } | |
240 | ] | |
241 | } |