PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / 1.2.31
Booking for Appointments and Events Calendar – Amelia v1.2.31
2.4.9 2.4.8 2.4.7 2.4.6 2.4.5 2.4.4 2.4.3 2.4.2 2.4.1 2.4 trunk 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.28 1.2.29 1.2.3 1.2.30 1.2.31 1.2.32 1.2.33 1.2.34 1.2.35 1.2.36 1.2.37 1.2.38 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.1.3 2.2 2.2.1 2.3
ameliabooking / assets / json / amelia_api_postman.json
ameliabooking / assets / json Last commit date
amelia_api_postman.json 2 years ago
amelia_api_postman.json
3326 lines
1 {
2 "info": {
3 "_postman_id": "bc336f35-d8c9-4ee3-ab7d-145e14b9ba1e",
4 "name": "amelia api",
5 "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
6 "_exporter_id": "26497846"
7 },
8 "item": [
9 {
10 "name": "Payments",
11 "item": [
12 {
13 "name": "add payment",
14 "request": {
15 "method": "POST",
16 "header": [],
17 "body": {
18 "mode": "raw",
19 "raw": "{\n \"customerBookingId\": 901, // required; integer, id of booking related to the payment\n \"amount\": 10, // required; number\n \"dateTime\": \"2023-09-05 15:00:00\", // string in date time format of 'YYYY-MM-DD HH:mm:ss' ; the date time when the payment was made or will be made (right now for online payment methods, booking date for on-site payments)\n \"status\": \"paid\", // required; string; status of payment; possible values: 'paid', 'pending', 'partiallyPaid', 'refunded'\n \"gateway\": \"stripe\", // string, payment gateway; possible values: 'onSite', 'payPal', 'stripe', 'wc', 'mollie', 'razorpay'\n \"gatewayTitle\": null, // string; gateway title used with woocommerce (stripe, cash on delivery, bank transfer...)\n \"data\": null, // json\n \"packageCustomerId\": null,\n \"entity\": \"appointment\", // string; payment type; possible values: appointment, event, package\n \"actionsCompleted\": 1, // boolean, 1/0; whether post-booking actions (sending emails, google calendar, zoom etc.) were completed\n \"wcOrderId\": null, // integer; woocommerce order id\n \"transactionId\": null // string; online transaction id; used for refund option; transaction id of payments other than woocommerce\n}",
20 "options": {
21 "raw": {
22 "language": "json"
23 }
24 }
25 },
26 "url": {
27 "raw": "{{admin_ajax_url}}/payments",
28 "host": [
29 "{{admin_ajax_url}}"
30 ],
31 "path": [
32 "payments"
33 ]
34 }
35 },
36 "response": [
37 {
38 "name": "add payment",
39 "originalRequest": {
40 "method": "POST",
41 "header": [],
42 "body": {
43 "mode": "raw",
44 "raw": "{\n \"customerBookingId\": 268,\n \"amount\": 10,\n \"dateTime\": \"2023-05-05 15:00:00\",\n \"status\": \"paid\",\n \"gateway\": \"stripe\",\n \"data\": {},\n \"packageCustomerId\": null,\n \"entity\": \"appointment\"\n}",
45 "options": {
46 "raw": {
47 "language": "json"
48 }
49 }
50 },
51 "url": {
52 "raw": "{{admin_ajax_url}}/payments",
53 "host": [
54 "{{admin_ajax_url}}"
55 ],
56 "path": [
57 "payments"
58 ]
59 }
60 },
61 "status": "OK",
62 "code": 200,
63 "_postman_previewlanguage": "json",
64 "header": [
65 {
66 "key": "Date",
67 "value": "Fri, 05 May 2023 11:18:31 GMT"
68 },
69 {
70 "key": "Server",
71 "value": "Apache/2.4.52 (Ubuntu)"
72 },
73 {
74 "key": "X-Robots-Tag",
75 "value": "noindex"
76 },
77 {
78 "key": "X-Content-Type-Options",
79 "value": "nosniff"
80 },
81 {
82 "key": "Expires",
83 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
84 },
85 {
86 "key": "Cache-Control",
87 "value": "no-cache, must-revalidate, max-age=0"
88 },
89 {
90 "key": "Referrer-Policy",
91 "value": "strict-origin-when-cross-origin"
92 },
93 {
94 "key": "X-Frame-Options",
95 "value": "SAMEORIGIN"
96 },
97 {
98 "key": "Content-Length",
99 "value": "397"
100 },
101 {
102 "key": "Keep-Alive",
103 "value": "timeout=5, max=100"
104 },
105 {
106 "key": "Connection",
107 "value": "Keep-Alive"
108 },
109 {
110 "key": "Content-Type",
111 "value": "application/json;charset=utf-8"
112 }
113 ],
114 "cookie": [],
115 "body": "{\n \"message\": \"New payment successfully created.\",\n \"data\": {\n \"payment\": {\n \"id\": null,\n \"customerBookingId\": 268,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 10,\n \"gateway\": \"stripe\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-05 15:00:00\",\n \"status\": \"paid\",\n \"data\": \"[]\",\n \"entity\": \"appointment\",\n \"created\": null,\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n }\n}"
116 }
117 ]
118 },
119 {
120 "name": "update payment",
121 "event": [
122 {
123 "listen": "prerequest",
124 "script": {
125 "exec": [
126 "pm.variables.set('payment_id', 919);"
127 ],
128 "type": "text/javascript"
129 }
130 }
131 ],
132 "request": {
133 "method": "POST",
134 "header": [],
135 "body": {
136 "mode": "raw",
137 "raw": "{\n \"amount\": 10,\n \"status\": \"paid\"\n //only send fields that should be updated\n}",
138 "options": {
139 "raw": {
140 "language": "json"
141 }
142 }
143 },
144 "url": {
145 "raw": "{{admin_ajax_url}}/payments/{{payment_id}}",
146 "host": [
147 "{{admin_ajax_url}}"
148 ],
149 "path": [
150 "payments",
151 "{{payment_id}}"
152 ]
153 }
154 },
155 "response": [
156 {
157 "name": "update payment",
158 "originalRequest": {
159 "method": "POST",
160 "header": [],
161 "body": {
162 "mode": "raw",
163 "raw": "{\n \"customerBookingId\": 268,\n \"amount\": 15,\n \"dateTime\": \"2023-05-05 15:00:00\",\n \"status\": \"paid\",\n \"gateway\": \"stripe\",\n \"gatewayTitle\": null,\n \"data\": null,\n \"packageCustomerId\": null,\n \"entity\": \"appointment\",\n \"actionsCompleted\": 1,\n \"wcOrderId\": null,\n \"transactionId\": null\n}",
164 "options": {
165 "raw": {
166 "language": "json"
167 }
168 }
169 },
170 "url": {
171 "raw": "{{admin_ajax_url}}/payments/{{payment_id}}",
172 "host": [
173 "{{admin_ajax_url}}"
174 ],
175 "path": [
176 "payments",
177 "{{payment_id}}"
178 ]
179 }
180 },
181 "status": "OK",
182 "code": 200,
183 "_postman_previewlanguage": "json",
184 "header": [
185 {
186 "key": "Date",
187 "value": "Fri, 05 May 2023 11:26:11 GMT"
188 },
189 {
190 "key": "Server",
191 "value": "Apache/2.4.52 (Ubuntu)"
192 },
193 {
194 "key": "X-Robots-Tag",
195 "value": "noindex"
196 },
197 {
198 "key": "X-Content-Type-Options",
199 "value": "nosniff"
200 },
201 {
202 "key": "Expires",
203 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
204 },
205 {
206 "key": "Cache-Control",
207 "value": "no-cache, must-revalidate, max-age=0"
208 },
209 {
210 "key": "Referrer-Policy",
211 "value": "strict-origin-when-cross-origin"
212 },
213 {
214 "key": "X-Frame-Options",
215 "value": "SAMEORIGIN"
216 },
217 {
218 "key": "Content-Length",
219 "value": "382"
220 },
221 {
222 "key": "Keep-Alive",
223 "value": "timeout=5, max=100"
224 },
225 {
226 "key": "Connection",
227 "value": "Keep-Alive"
228 },
229 {
230 "key": "Content-Type",
231 "value": "application/json;charset=utf-8"
232 }
233 ],
234 "cookie": [],
235 "body": "{\n \"message\": \"Payment successfully updated.\",\n \"data\": {\n \"payment\": {\n \"id\": null,\n \"customerBookingId\": 268,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 15,\n \"gateway\": \"stripe\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-05 15:00:00\",\n \"status\": \"paid\",\n \"data\": \"\",\n \"entity\": null,\n \"created\": null,\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n }\n}"
236 }
237 ]
238 },
239 {
240 "name": "delete payment",
241 "event": [
242 {
243 "listen": "prerequest",
244 "script": {
245 "exec": [
246 "pm.variables.set('payment_id', 919);"
247 ],
248 "type": "text/javascript"
249 }
250 }
251 ],
252 "request": {
253 "method": "POST",
254 "header": [],
255 "url": {
256 "raw": "{{admin_ajax_url}}/payments/delete/{{payment_id}}",
257 "host": [
258 "{{admin_ajax_url}}"
259 ],
260 "path": [
261 "payments",
262 "delete",
263 "{{payment_id}}"
264 ]
265 }
266 },
267 "response": [
268 {
269 "name": "delete payment",
270 "originalRequest": {
271 "method": "POST",
272 "header": [],
273 "url": {
274 "raw": "{{admin_ajax_url}}/payments/delete/{{payment_id}}",
275 "host": [
276 "{{admin_ajax_url}}"
277 ],
278 "path": [
279 "payments",
280 "delete",
281 "{{payment_id}}"
282 ]
283 }
284 },
285 "status": "OK",
286 "code": 200,
287 "_postman_previewlanguage": "json",
288 "header": [
289 {
290 "key": "Date",
291 "value": "Fri, 05 May 2023 11:28:29 GMT"
292 },
293 {
294 "key": "Server",
295 "value": "Apache/2.4.52 (Ubuntu)"
296 },
297 {
298 "key": "X-Robots-Tag",
299 "value": "noindex"
300 },
301 {
302 "key": "X-Content-Type-Options",
303 "value": "nosniff"
304 },
305 {
306 "key": "Expires",
307 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
308 },
309 {
310 "key": "Cache-Control",
311 "value": "no-cache, must-revalidate, max-age=0"
312 },
313 {
314 "key": "Referrer-Policy",
315 "value": "strict-origin-when-cross-origin"
316 },
317 {
318 "key": "X-Frame-Options",
319 "value": "SAMEORIGIN"
320 },
321 {
322 "key": "Content-Length",
323 "value": "407"
324 },
325 {
326 "key": "Keep-Alive",
327 "value": "timeout=5, max=100"
328 },
329 {
330 "key": "Connection",
331 "value": "Keep-Alive"
332 },
333 {
334 "key": "Content-Type",
335 "value": "application/json;charset=utf-8"
336 }
337 ],
338 "cookie": [],
339 "body": "{\n \"message\": \"Payment successfully deleted.\",\n \"data\": {\n \"payment\": {\n \"id\": 313,\n \"customerBookingId\": 268,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 15,\n \"gateway\": \"stripe\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-05 13:00:00\",\n \"status\": \"paid\",\n \"data\": \"\",\n \"entity\": \"appointment\",\n \"created\": \"2023-05-05 11:22:49\",\n \"actionsCompleted\": true,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n }\n}"
340 }
341 ]
342 },
343 {
344 "name": "get payments",
345 "request": {
346 "method": "GET",
347 "header": [],
348 "url": {
349 "raw": "{{admin_ajax_url}}/payments&page=1&dates=2023-05-05,2023-05-06",
350 "host": [
351 "{{admin_ajax_url}}"
352 ],
353 "path": [
354 "payments&page=1&dates=2023-05-05,2023-05-06"
355 ]
356 }
357 },
358 "response": [
359 {
360 "name": "get payments",
361 "originalRequest": {
362 "method": "GET",
363 "header": [],
364 "url": {
365 "raw": "{{admin_ajax_url}}/payments&page=1&dates=2023-05-05,2023-05-06",
366 "host": [
367 "{{admin_ajax_url}}"
368 ],
369 "path": [
370 "payments&page=1&dates=2023-05-05,2023-05-06"
371 ]
372 }
373 },
374 "status": "OK",
375 "code": 200,
376 "_postman_previewlanguage": "json",
377 "header": [
378 {
379 "key": "Date",
380 "value": "Fri, 05 May 2023 11:30:15 GMT"
381 },
382 {
383 "key": "Server",
384 "value": "Apache/2.4.52 (Ubuntu)"
385 },
386 {
387 "key": "X-Robots-Tag",
388 "value": "noindex"
389 },
390 {
391 "key": "X-Content-Type-Options",
392 "value": "nosniff"
393 },
394 {
395 "key": "Expires",
396 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
397 },
398 {
399 "key": "Cache-Control",
400 "value": "no-cache, must-revalidate, max-age=0"
401 },
402 {
403 "key": "Referrer-Policy",
404 "value": "strict-origin-when-cross-origin"
405 },
406 {
407 "key": "X-Frame-Options",
408 "value": "SAMEORIGIN"
409 },
410 {
411 "key": "Content-Length",
412 "value": "4540"
413 },
414 {
415 "key": "Keep-Alive",
416 "value": "timeout=5, max=100"
417 },
418 {
419 "key": "Connection",
420 "value": "Keep-Alive"
421 },
422 {
423 "key": "Content-Type",
424 "value": "application/json;charset=utf-8"
425 }
426 ],
427 "cookie": [],
428 "body": "{\n \"message\": \"Successfully retrieved payments.\",\n \"data\": {\n \"payments\": [\n {\n \"id\": 234,\n \"dateTime\": \"2023-05-05 11:00:00\",\n \"bookingStart\": \"2023-05-05 11:00:00\",\n \"status\": \"pending\",\n \"wcOrderId\": null,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"name\": \"free service\",\n \"customerBookingId\": 196,\n \"packageCustomerId\": null,\n \"amount\": 0,\n \"providers\": [\n {\n \"id\": 3,\n \"fullName\": \"Milica2 Employee2\",\n \"email\": \"milicaemployee2@test.test\"\n }\n ],\n \"customerId\": 11,\n \"serviceId\": 6,\n \"appointmentId\": 128,\n \"packageId\": null,\n \"bookedPrice\": 10,\n \"bookableName\": \"free service\",\n \"customerFirstName\": \"Amelia\",\n \"customerLastName\": \"Test\",\n \"info\": \"{\\\"firstName\\\":\\\"Amelia\\\",\\\"lastName\\\":\\\"Test\\\",\\\"phone\\\":null,\\\"locale\\\":\\\"en_US\\\",\\\"timeZone\\\":\\\"Europe\\\\/Belgrade\\\",\\\"urlParams\\\":null}\",\n \"customerEmail\": \"amelia@test.test\",\n \"coupon\": null,\n \"persons\": 1,\n \"aggregatedPrice\": 1,\n \"bookingExtrasSum\": 0,\n \"secondaryPayments\": []\n },\n {\n \"id\": 260,\n \"dateTime\": \"2023-05-05 11:00:00\",\n \"bookingStart\": \"2023-05-05 11:00:00\",\n \"status\": \"pending\",\n \"wcOrderId\": null,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"name\": \"milica service\",\n \"customerBookingId\": 219,\n \"packageCustomerId\": null,\n \"amount\": 0,\n \"providers\": [\n {\n \"id\": 1,\n \"fullName\": \"Milica Employee\",\n \"email\": \"kpop.lover.10000@gmail.com\"\n }\n ],\n \"customerId\": 17,\n \"serviceId\": 2,\n \"appointmentId\": 144,\n \"packageId\": null,\n \"bookedPrice\": 100,\n \"bookableName\": \"milica service\",\n \"customerFirstName\": \"Avatar\",\n \"customerLastName\": \"Last Airbender\",\n \"info\": null,\n \"customerEmail\": \"suraj@atla.aang\",\n \"coupon\": null,\n \"persons\": 1,\n \"aggregatedPrice\": 1,\n \"bookingExtrasSum\": 0,\n \"secondaryPayments\": []\n },\n {\n \"id\": 261,\n \"dateTime\": \"2023-05-05 11:00:00\",\n \"bookingStart\": \"2023-05-05 11:00:00\",\n \"status\": \"pending\",\n \"wcOrderId\": null,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"name\": \"milica service\",\n \"customerBookingId\": 220,\n \"packageCustomerId\": null,\n \"amount\": 0,\n \"providers\": [\n {\n \"id\": 1,\n \"fullName\": \"Milica Employee\",\n \"email\": \"kpop.lover.10000@gmail.com\"\n }\n ],\n \"customerId\": 8,\n \"serviceId\": 2,\n \"appointmentId\": 144,\n \"packageId\": null,\n \"bookedPrice\": 100,\n \"bookableName\": \"milica service\",\n \"customerFirstName\": \"Kim\",\n \"customerLastName\": \"KibBum\",\n \"info\": null,\n \"customerEmail\": \"key@test.test\",\n \"coupon\": null,\n \"persons\": 1,\n \"aggregatedPrice\": 1,\n \"bookingExtrasSum\": 0,\n \"secondaryPayments\": []\n },\n {\n \"id\": 257,\n \"dateTime\": \"2023-05-05 12:00:00\",\n \"bookingStart\": \"2023-05-05 12:00:00\",\n \"status\": \"pending\",\n \"wcOrderId\": null,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"name\": \"new service\",\n \"customerBookingId\": 216,\n \"packageCustomerId\": null,\n \"amount\": 0,\n \"providers\": [\n {\n \"id\": 1,\n \"fullName\": \"Milica Employee\",\n \"email\": \"kpop.lover.10000@gmail.com\"\n }\n ],\n \"customerId\": 5,\n \"serviceId\": 7,\n \"appointmentId\": 142,\n \"packageId\": null,\n \"bookedPrice\": 33.44,\n \"bookableName\": \"new service\",\n \"customerFirstName\": \"Milica\",\n \"customerLastName\": \"Test\",\n \"info\": null,\n \"customerEmail\": \"new_customer@test.test\",\n \"coupon\": null,\n \"persons\": 3,\n \"aggregatedPrice\": 1,\n \"bookingExtrasSum\": 0,\n \"secondaryPayments\": []\n },\n {\n \"id\": 258,\n \"dateTime\": \"2023-05-05 12:00:00\",\n \"bookingStart\": \"2023-05-05 12:00:00\",\n \"status\": \"pending\",\n \"wcOrderId\": null,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"name\": \"new service\",\n \"customerBookingId\": 217,\n \"packageCustomerId\": null,\n \"amount\": 0,\n \"providers\": [\n {\n \"id\": 1,\n \"fullName\": \"Milica Employee\",\n \"email\": \"kpop.lover.10000@gmail.com\"\n }\n ],\n \"customerId\": 8,\n \"serviceId\": 7,\n \"appointmentId\": 142,\n \"packageId\": null,\n \"bookedPrice\": 33.44,\n \"bookableName\": \"new service\",\n \"customerFirstName\": \"Kim\",\n \"customerLastName\": \"KibBum\",\n \"info\": null,\n \"customerEmail\": \"key@test.test\",\n \"coupon\": null,\n \"persons\": 2,\n \"aggregatedPrice\": 1,\n \"bookingExtrasSum\": 0,\n \"secondaryPayments\": []\n },\n {\n \"id\": 312,\n \"dateTime\": \"2023-05-05 15:00:00\",\n \"bookingStart\": \"2023-05-23 09:00:00\",\n \"status\": \"paid\",\n \"wcOrderId\": null,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"name\": \"amelia service\",\n \"customerBookingId\": 268,\n \"packageCustomerId\": null,\n \"amount\": 10,\n \"providers\": [\n {\n \"id\": 1,\n \"fullName\": \"Milica Employee\",\n \"email\": \"kpop.lover.10000@gmail.com\"\n }\n ],\n \"customerId\": 2,\n \"serviceId\": 1,\n \"appointmentId\": 181,\n \"packageId\": null,\n \"bookedPrice\": 20,\n \"bookableName\": \"amelia service\",\n \"customerFirstName\": \"Milica\",\n \"customerLastName\": \"Snake\",\n \"info\": \"{\\\"firstName\\\":\\\"Milica\\\",\\\"lastName\\\":\\\"Snake\\\",\\\"phone\\\":null,\\\"locale\\\":\\\"en_US\\\",\\\"timeZone\\\":\\\"Europe\\\\/Belgrade\\\",\\\"urlParams\\\":null}\",\n \"customerEmail\": \"snakemilica@yahoo.com\",\n \"coupon\": null,\n \"persons\": 1,\n \"aggregatedPrice\": 1,\n \"bookingExtrasSum\": 0,\n \"secondaryPayments\": [\n {\n \"id\": 309,\n \"customerBookingId\": 268,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 5,\n \"gateway\": \"square\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-04 17:32:38\",\n \"status\": \"partiallyPaid\",\n \"data\": \"\",\n \"entity\": \"appointment\",\n \"created\": \"2023-05-04 15:32:38\",\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n ]\n }\n ],\n \"filteredCount\": 6,\n \"totalCount\": 265\n }\n}"
429 }
430 ]
431 },
432 {
433 "name": "get payment",
434 "event": [
435 {
436 "listen": "prerequest",
437 "script": {
438 "exec": [
439 "pm.variables.set('payment_id', 312);"
440 ],
441 "type": "text/javascript"
442 }
443 }
444 ],
445 "request": {
446 "method": "GET",
447 "header": [],
448 "url": {
449 "raw": "{{admin_ajax_url}}/payments/{{payment_id}}",
450 "host": [
451 "{{admin_ajax_url}}"
452 ],
453 "path": [
454 "payments",
455 "{{payment_id}}"
456 ]
457 }
458 },
459 "response": [
460 {
461 "name": "get payment",
462 "originalRequest": {
463 "method": "GET",
464 "header": [],
465 "url": {
466 "raw": "{{admin_ajax_url}}/payments/{{payment_id}}",
467 "host": [
468 "{{admin_ajax_url}}"
469 ],
470 "path": [
471 "payments",
472 "{{payment_id}}"
473 ]
474 }
475 },
476 "status": "OK",
477 "code": 200,
478 "_postman_previewlanguage": "json",
479 "header": [
480 {
481 "key": "Date",
482 "value": "Fri, 05 May 2023 11:32:09 GMT"
483 },
484 {
485 "key": "Server",
486 "value": "Apache/2.4.52 (Ubuntu)"
487 },
488 {
489 "key": "X-Robots-Tag",
490 "value": "noindex"
491 },
492 {
493 "key": "X-Content-Type-Options",
494 "value": "nosniff"
495 },
496 {
497 "key": "Expires",
498 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
499 },
500 {
501 "key": "Cache-Control",
502 "value": "no-cache, must-revalidate, max-age=0"
503 },
504 {
505 "key": "Referrer-Policy",
506 "value": "strict-origin-when-cross-origin"
507 },
508 {
509 "key": "X-Frame-Options",
510 "value": "SAMEORIGIN"
511 },
512 {
513 "key": "Content-Length",
514 "value": "409"
515 },
516 {
517 "key": "Keep-Alive",
518 "value": "timeout=5, max=100"
519 },
520 {
521 "key": "Connection",
522 "value": "Keep-Alive"
523 },
524 {
525 "key": "Content-Type",
526 "value": "application/json;charset=utf-8"
527 }
528 ],
529 "cookie": [],
530 "body": "{\n \"message\": \"Successfully retrieved payment.\",\n \"data\": {\n \"payment\": {\n \"id\": 312,\n \"customerBookingId\": 268,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 10,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-05 13:00:00\",\n \"status\": \"paid\",\n \"data\": \"\",\n \"entity\": \"appointment\",\n \"created\": \"2023-05-05 11:18:32\",\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n }\n}"
531 }
532 ]
533 },
534 {
535 "name": "get transaction amount",
536 "event": [
537 {
538 "listen": "prerequest",
539 "script": {
540 "exec": [
541 "pm.variables.set('payment_id', 922); //retreive amount of transaction from the payment gateway panel"
542 ],
543 "type": "text/javascript"
544 }
545 }
546 ],
547 "request": {
548 "method": "GET",
549 "header": [],
550 "url": {
551 "raw": "{{admin_ajax_url}}/payments/transaction/{{payment_id}}",
552 "host": [
553 "{{admin_ajax_url}}"
554 ],
555 "path": [
556 "payments",
557 "transaction",
558 "{{payment_id}}"
559 ]
560 }
561 },
562 "response": [
563 {
564 "name": "get payment",
565 "originalRequest": {
566 "method": "GET",
567 "header": [],
568 "url": {
569 "raw": "{{admin_ajax_url}}/payments/{{payment_id}}",
570 "host": [
571 "{{admin_ajax_url}}"
572 ],
573 "path": [
574 "payments",
575 "{{payment_id}}"
576 ]
577 }
578 },
579 "status": "OK",
580 "code": 200,
581 "_postman_previewlanguage": "json",
582 "header": [
583 {
584 "key": "Date",
585 "value": "Fri, 05 May 2023 11:32:09 GMT"
586 },
587 {
588 "key": "Server",
589 "value": "Apache/2.4.52 (Ubuntu)"
590 },
591 {
592 "key": "X-Robots-Tag",
593 "value": "noindex"
594 },
595 {
596 "key": "X-Content-Type-Options",
597 "value": "nosniff"
598 },
599 {
600 "key": "Expires",
601 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
602 },
603 {
604 "key": "Cache-Control",
605 "value": "no-cache, must-revalidate, max-age=0"
606 },
607 {
608 "key": "Referrer-Policy",
609 "value": "strict-origin-when-cross-origin"
610 },
611 {
612 "key": "X-Frame-Options",
613 "value": "SAMEORIGIN"
614 },
615 {
616 "key": "Content-Length",
617 "value": "409"
618 },
619 {
620 "key": "Keep-Alive",
621 "value": "timeout=5, max=100"
622 },
623 {
624 "key": "Connection",
625 "value": "Keep-Alive"
626 },
627 {
628 "key": "Content-Type",
629 "value": "application/json;charset=utf-8"
630 }
631 ],
632 "cookie": [],
633 "body": "{\n \"message\": \"Successfully retrieved payment.\",\n \"data\": {\n \"payment\": {\n \"id\": 312,\n \"customerBookingId\": 268,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 10,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-05 13:00:00\",\n \"status\": \"paid\",\n \"data\": \"\",\n \"entity\": \"appointment\",\n \"created\": \"2023-05-05 11:18:32\",\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n }\n}"
634 }
635 ]
636 },
637 {
638 "name": "refund payment",
639 "event": [
640 {
641 "listen": "prerequest",
642 "script": {
643 "exec": [
644 "pm.variables.set('payment_id', 922);"
645 ],
646 "type": "text/javascript"
647 }
648 }
649 ],
650 "request": {
651 "method": "POST",
652 "header": [],
653 "url": {
654 "raw": "{{admin_ajax_url}}/payments/refund/{{payment_id}}",
655 "host": [
656 "{{admin_ajax_url}}"
657 ],
658 "path": [
659 "payments",
660 "refund",
661 "{{payment_id}}"
662 ]
663 }
664 },
665 "response": [
666 {
667 "name": "get payment",
668 "originalRequest": {
669 "method": "GET",
670 "header": [],
671 "url": {
672 "raw": "{{admin_ajax_url}}/payments/{{payment_id}}",
673 "host": [
674 "{{admin_ajax_url}}"
675 ],
676 "path": [
677 "payments",
678 "{{payment_id}}"
679 ]
680 }
681 },
682 "status": "OK",
683 "code": 200,
684 "_postman_previewlanguage": "json",
685 "header": [
686 {
687 "key": "Date",
688 "value": "Fri, 05 May 2023 11:32:09 GMT"
689 },
690 {
691 "key": "Server",
692 "value": "Apache/2.4.52 (Ubuntu)"
693 },
694 {
695 "key": "X-Robots-Tag",
696 "value": "noindex"
697 },
698 {
699 "key": "X-Content-Type-Options",
700 "value": "nosniff"
701 },
702 {
703 "key": "Expires",
704 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
705 },
706 {
707 "key": "Cache-Control",
708 "value": "no-cache, must-revalidate, max-age=0"
709 },
710 {
711 "key": "Referrer-Policy",
712 "value": "strict-origin-when-cross-origin"
713 },
714 {
715 "key": "X-Frame-Options",
716 "value": "SAMEORIGIN"
717 },
718 {
719 "key": "Content-Length",
720 "value": "409"
721 },
722 {
723 "key": "Keep-Alive",
724 "value": "timeout=5, max=100"
725 },
726 {
727 "key": "Connection",
728 "value": "Keep-Alive"
729 },
730 {
731 "key": "Content-Type",
732 "value": "application/json;charset=utf-8"
733 }
734 ],
735 "cookie": [],
736 "body": "{\n \"message\": \"Successfully retrieved payment.\",\n \"data\": {\n \"payment\": {\n \"id\": 312,\n \"customerBookingId\": 268,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 10,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-05 13:00:00\",\n \"status\": \"paid\",\n \"data\": \"\",\n \"entity\": \"appointment\",\n \"created\": \"2023-05-05 11:18:32\",\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n }\n}"
737 }
738 ]
739 },
740 {
741 "name": "get payment amount",
742 "event": [
743 {
744 "listen": "prerequest",
745 "script": {
746 "exec": [
747 ""
748 ],
749 "type": "text/javascript"
750 }
751 }
752 ],
753 "request": {
754 "method": "POST",
755 "header": [],
756 "body": {
757 "mode": "raw",
758 "raw": "{\n \"type\": \"appointment\", // required; string; type of booking; possible values: appointment, event, package\n \"bookings\": [ // required; array;\n {\n \"extras\": [\n {\n \"extraId\": 4,\n \"quantity\": 1\n }\n ],\n \"deposit\": true,\n \"persons\": 2,\n \"duration\": 1800\n }\n ],\n \"bookingStart\": \"2023-09-06 19:00\", // string; datetime format\n \"locationId\": 2, // integer\n \"providerId\": 1, // integer\n \"serviceId\": 1, // integer\n \"recurring\": [], // array\n \"couponCode\": null // string\n}",
759 "options": {
760 "raw": {
761 "language": "json"
762 }
763 }
764 },
765 "url": {
766 "raw": "{{admin_ajax_url}}/payments/amount",
767 "host": [
768 "{{admin_ajax_url}}"
769 ],
770 "path": [
771 "payments",
772 "amount"
773 ]
774 }
775 },
776 "response": [
777 {
778 "name": "get payment amount appointment",
779 "originalRequest": {
780 "method": "POST",
781 "header": [],
782 "body": {
783 "mode": "raw",
784 "raw": "{\n \"type\": \"appointment\",\n \"bookings\": [\n {\n \"extras\": [\n {\n \"extraId\": 4,\n \"quantity\": 1\n }\n ],\n \"deposit\": true,\n \"persons\": 2,\n \"duration\": 1800\n }\n ],\n \"bookingStart\": \"2023-09-06 19:00\",\n \"locationId\": 2,\n \"providerId\": 1,\n \"serviceId\": 1,\n \"recurring\": [],\n \"couponCode\": null\n}",
785 "options": {
786 "raw": {
787 "language": "json"
788 }
789 }
790 },
791 "url": {
792 "raw": "{{admin_ajax_url}}/payments/amount",
793 "host": [
794 "{{admin_ajax_url}}"
795 ],
796 "path": [
797 "payments",
798 "amount"
799 ]
800 }
801 },
802 "status": "OK",
803 "code": 200,
804 "_postman_previewlanguage": "html",
805 "header": [
806 {
807 "key": "Date",
808 "value": "Fri, 25 Aug 2023 09:15:41 GMT"
809 },
810 {
811 "key": "Server",
812 "value": "Apache/2.4.52 (Ubuntu)"
813 },
814 {
815 "key": "X-Robots-Tag",
816 "value": "noindex"
817 },
818 {
819 "key": "X-Content-Type-Options",
820 "value": "nosniff"
821 },
822 {
823 "key": "Expires",
824 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
825 },
826 {
827 "key": "Cache-Control",
828 "value": "no-cache, must-revalidate, max-age=0"
829 },
830 {
831 "key": "Referrer-Policy",
832 "value": "strict-origin-when-cross-origin"
833 },
834 {
835 "key": "X-Frame-Options",
836 "value": "SAMEORIGIN"
837 },
838 {
839 "key": "Content-Length",
840 "value": "54"
841 },
842 {
843 "key": "Keep-Alive",
844 "value": "timeout=5, max=100"
845 },
846 {
847 "key": "Connection",
848 "value": "Keep-Alive"
849 },
850 {
851 "key": "Content-Type",
852 "value": "text/html; charset=UTF-8"
853 }
854 ],
855 "cookie": [],
856 "body": "{\"message\":null,\"data\":{\"amount\":28,\"currency\":\"USD\"}}"
857 },
858 {
859 "name": "get payment amount event",
860 "originalRequest": {
861 "method": "POST",
862 "header": [],
863 "body": {
864 "mode": "raw",
865 "raw": "{\n \"type\": \"event\",\n \"bookings\": [\n {\n \"deposit\": true,\n \"persons\": 2\n }\n ],\n \"eventId\": 80,\n \"couponCode\": null\n}",
866 "options": {
867 "raw": {
868 "language": "json"
869 }
870 }
871 },
872 "url": {
873 "raw": "{{admin_ajax_url}}/payments/amount",
874 "host": [
875 "{{admin_ajax_url}}"
876 ],
877 "path": [
878 "payments",
879 "amount"
880 ]
881 }
882 },
883 "status": "OK",
884 "code": 200,
885 "_postman_previewlanguage": "html",
886 "header": [
887 {
888 "key": "Date",
889 "value": "Fri, 25 Aug 2023 09:35:52 GMT"
890 },
891 {
892 "key": "Server",
893 "value": "Apache/2.4.52 (Ubuntu)"
894 },
895 {
896 "key": "X-Robots-Tag",
897 "value": "noindex"
898 },
899 {
900 "key": "X-Content-Type-Options",
901 "value": "nosniff"
902 },
903 {
904 "key": "Expires",
905 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
906 },
907 {
908 "key": "Cache-Control",
909 "value": "no-cache, must-revalidate, max-age=0"
910 },
911 {
912 "key": "Referrer-Policy",
913 "value": "strict-origin-when-cross-origin"
914 },
915 {
916 "key": "X-Frame-Options",
917 "value": "SAMEORIGIN"
918 },
919 {
920 "key": "Content-Length",
921 "value": "55"
922 },
923 {
924 "key": "Keep-Alive",
925 "value": "timeout=5, max=100"
926 },
927 {
928 "key": "Connection",
929 "value": "Keep-Alive"
930 },
931 {
932 "key": "Content-Type",
933 "value": "text/html; charset=UTF-8"
934 }
935 ],
936 "cookie": [],
937 "body": "{\"message\":null,\"data\":{\"amount\":220,\"currency\":\"USD\"}}"
938 },
939 {
940 "name": "get payment amount package",
941 "originalRequest": {
942 "method": "POST",
943 "header": [],
944 "body": {
945 "mode": "raw",
946 "raw": "{\n \"type\": \"package\",\n \"packageId\": 1,\n \"couponCode\": \"kupon\",\n \"deposit\": true\n}",
947 "options": {
948 "raw": {
949 "language": "json"
950 }
951 }
952 },
953 "url": {
954 "raw": "{{admin_ajax_url}}/payments/amount",
955 "host": [
956 "{{admin_ajax_url}}"
957 ],
958 "path": [
959 "payments",
960 "amount"
961 ]
962 }
963 },
964 "status": "OK",
965 "code": 200,
966 "_postman_previewlanguage": "html",
967 "header": [
968 {
969 "key": "Date",
970 "value": "Fri, 25 Aug 2023 09:42:09 GMT"
971 },
972 {
973 "key": "Server",
974 "value": "Apache/2.4.52 (Ubuntu)"
975 },
976 {
977 "key": "X-Robots-Tag",
978 "value": "noindex"
979 },
980 {
981 "key": "X-Content-Type-Options",
982 "value": "nosniff"
983 },
984 {
985 "key": "Expires",
986 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
987 },
988 {
989 "key": "Cache-Control",
990 "value": "no-cache, must-revalidate, max-age=0"
991 },
992 {
993 "key": "Referrer-Policy",
994 "value": "strict-origin-when-cross-origin"
995 },
996 {
997 "key": "X-Frame-Options",
998 "value": "SAMEORIGIN"
999 },
1000 {
1001 "key": "Content-Length",
1002 "value": "56"
1003 },
1004 {
1005 "key": "Keep-Alive",
1006 "value": "timeout=5, max=100"
1007 },
1008 {
1009 "key": "Connection",
1010 "value": "Keep-Alive"
1011 },
1012 {
1013 "key": "Content-Type",
1014 "value": "text/html; charset=UTF-8"
1015 }
1016 ],
1017 "cookie": [],
1018 "body": "{\"message\":null,\"data\":{\"amount\":32.4,\"currency\":\"USD\"}}"
1019 }
1020 ]
1021 },
1022 {
1023 "name": "create payment link",
1024 "event": [
1025 {
1026 "listen": "prerequest",
1027 "script": {
1028 "exec": [
1029 ""
1030 ],
1031 "type": "text/javascript"
1032 }
1033 }
1034 ],
1035 "request": {
1036 "method": "POST",
1037 "header": [],
1038 "body": {
1039 "mode": "raw",
1040 "raw": "{\n \"data\": {\n \"type\": \"appointment\",\n \"bookingId\": 901\n },\n \"paymentMethod\": \"payPal\",\n \"redirectUrl\": null // customer panel url by default\n}",
1041 "options": {
1042 "raw": {
1043 "language": "json"
1044 }
1045 }
1046 },
1047 "url": {
1048 "raw": "{{admin_ajax_url}}/payments/link",
1049 "host": [
1050 "{{admin_ajax_url}}"
1051 ],
1052 "path": [
1053 "payments",
1054 "link"
1055 ]
1056 }
1057 },
1058 "response": [
1059 {
1060 "name": "create payment link appointment",
1061 "originalRequest": {
1062 "method": "POST",
1063 "header": [],
1064 "body": {
1065 "mode": "raw",
1066 "raw": "{\n \"data\": {\n \"type\": \"appointment\",\n \"bookingId\": 901\n },\n \"paymentMethod\": \"payPal\",\n \"redirectUrl\": null // customer panel url by default\n}",
1067 "options": {
1068 "raw": {
1069 "language": "json"
1070 }
1071 }
1072 },
1073 "url": {
1074 "raw": "{{admin_ajax_url}}/payments/link",
1075 "host": [
1076 "{{admin_ajax_url}}"
1077 ],
1078 "path": [
1079 "payments",
1080 "link"
1081 ]
1082 }
1083 },
1084 "status": "OK",
1085 "code": 200,
1086 "_postman_previewlanguage": "json",
1087 "header": [
1088 {
1089 "key": "Date",
1090 "value": "Fri, 25 Aug 2023 10:26:02 GMT"
1091 },
1092 {
1093 "key": "Server",
1094 "value": "Apache/2.4.52 (Ubuntu)"
1095 },
1096 {
1097 "key": "X-Robots-Tag",
1098 "value": "noindex"
1099 },
1100 {
1101 "key": "X-Content-Type-Options",
1102 "value": "nosniff"
1103 },
1104 {
1105 "key": "Expires",
1106 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
1107 },
1108 {
1109 "key": "Cache-Control",
1110 "value": "no-cache, must-revalidate, max-age=0"
1111 },
1112 {
1113 "key": "Referrer-Policy",
1114 "value": "strict-origin-when-cross-origin"
1115 },
1116 {
1117 "key": "X-Frame-Options",
1118 "value": "SAMEORIGIN"
1119 },
1120 {
1121 "key": "Vary",
1122 "value": "Accept-Encoding"
1123 },
1124 {
1125 "key": "Content-Encoding",
1126 "value": "gzip"
1127 },
1128 {
1129 "key": "Content-Length",
1130 "value": "169"
1131 },
1132 {
1133 "key": "Keep-Alive",
1134 "value": "timeout=5, max=100"
1135 },
1136 {
1137 "key": "Connection",
1138 "value": "Keep-Alive"
1139 },
1140 {
1141 "key": "Content-Type",
1142 "value": "application/json",
1143 "name": "Content-Type",
1144 "description": "",
1145 "type": "text"
1146 }
1147 ],
1148 "cookie": [],
1149 "body": "{\n \"message\": null,\n \"data\": {\n \"paymentLink\": \"https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-3D332917B6694771R&useraction=commit\",\n \"error\": null\n }\n}"
1150 },
1151 {
1152 "name": "create payment link event",
1153 "originalRequest": {
1154 "method": "POST",
1155 "header": [],
1156 "body": {
1157 "mode": "raw",
1158 "raw": "{\n \"data\": {\n \"type\": \"event\",\n \"bookingId\": 898\n },\n \"paymentMethod\": \"payPal\",\n \"redirectUrl\": null // customer panel url by default\n}",
1159 "options": {
1160 "raw": {
1161 "language": "json"
1162 }
1163 }
1164 },
1165 "url": {
1166 "raw": "{{admin_ajax_url}}/payments/link",
1167 "host": [
1168 "{{admin_ajax_url}}"
1169 ],
1170 "path": [
1171 "payments",
1172 "link"
1173 ]
1174 }
1175 },
1176 "status": "OK",
1177 "code": 200,
1178 "_postman_previewlanguage": "json",
1179 "header": [
1180 {
1181 "key": "Date",
1182 "value": "Fri, 25 Aug 2023 10:41:26 GMT"
1183 },
1184 {
1185 "key": "Server",
1186 "value": "Apache/2.4.52 (Ubuntu)"
1187 },
1188 {
1189 "key": "X-Robots-Tag",
1190 "value": "noindex"
1191 },
1192 {
1193 "key": "X-Content-Type-Options",
1194 "value": "nosniff"
1195 },
1196 {
1197 "key": "Expires",
1198 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
1199 },
1200 {
1201 "key": "Cache-Control",
1202 "value": "no-cache, must-revalidate, max-age=0"
1203 },
1204 {
1205 "key": "Referrer-Policy",
1206 "value": "strict-origin-when-cross-origin"
1207 },
1208 {
1209 "key": "X-Frame-Options",
1210 "value": "SAMEORIGIN"
1211 },
1212 {
1213 "key": "Vary",
1214 "value": "Accept-Encoding"
1215 },
1216 {
1217 "key": "Content-Encoding",
1218 "value": "gzip"
1219 },
1220 {
1221 "key": "Content-Length",
1222 "value": "169"
1223 },
1224 {
1225 "key": "Keep-Alive",
1226 "value": "timeout=5, max=100"
1227 },
1228 {
1229 "key": "Connection",
1230 "value": "Keep-Alive"
1231 },
1232 {
1233 "key": "Content-Type",
1234 "value": "application/json",
1235 "name": "Content-Type",
1236 "description": "",
1237 "type": "text"
1238 }
1239 ],
1240 "cookie": [],
1241 "body": "{\n \"message\": null,\n \"data\": {\n \"paymentLink\": \"https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-1G893943V96986600&useraction=commit\",\n \"error\": null\n }\n}"
1242 },
1243 {
1244 "name": "create payment link package",
1245 "originalRequest": {
1246 "method": "POST",
1247 "header": [],
1248 "body": {
1249 "mode": "raw",
1250 "raw": "{\n \"data\": {\n \"type\": \"package\",\n \"packageCustomerId\": 70\n },\n \"paymentMethod\": \"payPal\",\n \"redirectUrl\": null // customer panel url by default\n}",
1251 "options": {
1252 "raw": {
1253 "language": "json"
1254 }
1255 }
1256 },
1257 "url": {
1258 "raw": "{{admin_ajax_url}}/payments/link",
1259 "host": [
1260 "{{admin_ajax_url}}"
1261 ],
1262 "path": [
1263 "payments",
1264 "link"
1265 ]
1266 }
1267 },
1268 "status": "OK",
1269 "code": 200,
1270 "_postman_previewlanguage": "json",
1271 "header": [
1272 {
1273 "key": "Date",
1274 "value": "Fri, 25 Aug 2023 11:10:38 GMT"
1275 },
1276 {
1277 "key": "Server",
1278 "value": "Apache/2.4.52 (Ubuntu)"
1279 },
1280 {
1281 "key": "X-Robots-Tag",
1282 "value": "noindex"
1283 },
1284 {
1285 "key": "X-Content-Type-Options",
1286 "value": "nosniff"
1287 },
1288 {
1289 "key": "Expires",
1290 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
1291 },
1292 {
1293 "key": "Cache-Control",
1294 "value": "no-cache, must-revalidate, max-age=0"
1295 },
1296 {
1297 "key": "Referrer-Policy",
1298 "value": "strict-origin-when-cross-origin"
1299 },
1300 {
1301 "key": "X-Frame-Options",
1302 "value": "SAMEORIGIN"
1303 },
1304 {
1305 "key": "Vary",
1306 "value": "Accept-Encoding"
1307 },
1308 {
1309 "key": "Content-Encoding",
1310 "value": "gzip"
1311 },
1312 {
1313 "key": "Content-Length",
1314 "value": "170"
1315 },
1316 {
1317 "key": "Keep-Alive",
1318 "value": "timeout=5, max=99"
1319 },
1320 {
1321 "key": "Connection",
1322 "value": "Keep-Alive"
1323 },
1324 {
1325 "key": "Content-Type",
1326 "value": "application/json",
1327 "name": "Content-Type",
1328 "description": "",
1329 "type": "text"
1330 }
1331 ],
1332 "cookie": [],
1333 "body": "{\n \"message\": null,\n \"data\": {\n \"paymentLink\": \"https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-3XF43425HX3549151&useraction=commit\",\n \"error\": null\n }\n}"
1334 }
1335 ]
1336 }
1337 ]
1338 },
1339 {
1340 "name": "Coupons",
1341 "item": [
1342 {
1343 "name": "validate coupon",
1344 "event": [
1345 {
1346 "listen": "prerequest",
1347 "script": {
1348 "exec": [
1349 ""
1350 ],
1351 "type": "text/javascript"
1352 }
1353 }
1354 ],
1355 "request": {
1356 "method": "POST",
1357 "header": [],
1358 "body": {
1359 "mode": "raw",
1360 "raw": "{\n \"code\": \"COUPON\", // required; string;\n \"id\": 1, // required; integer; entity id (service/event/package id)\n \"type\": \"appointment\", // required; string; possible values: appointment, event, package\n \"user\": { // required; object\n \"firstName\": \"Amelia\", \n \"lastName\": \"Test\",\n \"email\": \"amelia@test.test\"\n },\n \"count\": 1 // integer; used when validating coupons for all recurring bookings; count = number of bookings\n}",
1361 "options": {
1362 "raw": {
1363 "language": "json"
1364 }
1365 }
1366 },
1367 "url": {
1368 "raw": "{{admin_ajax_url}}/coupons/validate",
1369 "host": [
1370 "{{admin_ajax_url}}"
1371 ],
1372 "path": [
1373 "coupons",
1374 "validate"
1375 ]
1376 }
1377 },
1378 "response": [
1379 {
1380 "name": "validate coupon",
1381 "originalRequest": {
1382 "method": "POST",
1383 "header": [],
1384 "body": {
1385 "mode": "raw",
1386 "raw": "{\n \"code\": \"COUPON\",\n \"id\": 1,\n \"type\": \"appointment\",\n \"user\": {\n \"firstName\": \"Amelia\",\n \"lastName\": \"Test\",\n \"email\": \"amelia@test.test\"\n },\n \"count\": 1\n}",
1387 "options": {
1388 "raw": {
1389 "language": "json"
1390 }
1391 }
1392 },
1393 "url": {
1394 "raw": "{{admin_ajax_url}}/coupons/validate",
1395 "host": [
1396 "{{admin_ajax_url}}"
1397 ],
1398 "path": [
1399 "coupons",
1400 "validate"
1401 ]
1402 }
1403 },
1404 "status": "OK",
1405 "code": 200,
1406 "_postman_previewlanguage": "json",
1407 "header": [
1408 {
1409 "key": "Date",
1410 "value": "Fri, 28 Apr 2023 14:45:30 GMT"
1411 },
1412 {
1413 "key": "Server",
1414 "value": "Apache/2.4.52 (Ubuntu)"
1415 },
1416 {
1417 "key": "X-Robots-Tag",
1418 "value": "noindex"
1419 },
1420 {
1421 "key": "X-Content-Type-Options",
1422 "value": "nosniff"
1423 },
1424 {
1425 "key": "Expires",
1426 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
1427 },
1428 {
1429 "key": "Cache-Control",
1430 "value": "no-cache, must-revalidate, max-age=0"
1431 },
1432 {
1433 "key": "Referrer-Policy",
1434 "value": "strict-origin-when-cross-origin"
1435 },
1436 {
1437 "key": "X-Frame-Options",
1438 "value": "SAMEORIGIN"
1439 },
1440 {
1441 "key": "Content-Length",
1442 "value": "300"
1443 },
1444 {
1445 "key": "Keep-Alive",
1446 "value": "timeout=5, max=100"
1447 },
1448 {
1449 "key": "Connection",
1450 "value": "Keep-Alive"
1451 },
1452 {
1453 "key": "Content-Type",
1454 "value": "application/json;charset=utf-8"
1455 }
1456 ],
1457 "cookie": [],
1458 "body": "{\n \"message\": \"Successfully retrieved coupon.\",\n \"data\": {\n \"coupon\": {\n \"id\": 5,\n \"code\": \"COUPON\",\n \"discount\": 0,\n \"deduction\": 10,\n \"limit\": 100,\n \"customerLimit\": 2,\n \"used\": 0,\n \"notificationInterval\": 0,\n \"notificationRecurring\": false,\n \"status\": \"visible\",\n \"serviceList\": [],\n \"eventList\": [],\n \"expirationDate\": \"2023-05-06\"\n },\n \"limit\": 2\n }\n}"
1459 }
1460 ]
1461 }
1462 ]
1463 },
1464 {
1465 "name": "Timeslots",
1466 "item": [
1467 {
1468 "name": "get slots",
1469 "request": {
1470 "method": "GET",
1471 "header": [],
1472 "url": {
1473 "raw": "{{admin_ajax_url}}/slots&monthsLoad=1&locationId=2&serviceId=3&serviceDuration=1800&providerIds=3&group=1&page=booking&persons=1&startDateTime=2023-04-01&extras=[]&excludeAppointmentId=null",
1474 "host": [
1475 "{{admin_ajax_url}}"
1476 ],
1477 "path": [
1478 "slots&monthsLoad=1&locationId=2&serviceId=3&serviceDuration=1800&providerIds=3&group=1&page=booking&persons=1&startDateTime=2023-04-01&extras=[]&excludeAppointmentId=null"
1479 ]
1480 }
1481 },
1482 "response": [
1483 {
1484 "name": "get slots",
1485 "originalRequest": {
1486 "method": "GET",
1487 "header": [],
1488 "url": {
1489 "raw": "{{admin_ajax_url}}/slots&monthsLoad=1&locationId=2&serviceId=3&serviceDuration=1800&providerIds=3&group=1&page=booking&persons=1&startDateTime=2023-04-01&extras=[]&excludeAppointmentId=null",
1490 "host": [
1491 "{{admin_ajax_url}}"
1492 ],
1493 "path": [
1494 "slots&monthsLoad=1&locationId=2&serviceId=3&serviceDuration=1800&providerIds=3&group=1&page=booking&persons=1&startDateTime=2023-04-01&extras=[]&excludeAppointmentId=null"
1495 ]
1496 }
1497 },
1498 "status": "OK",
1499 "code": 200,
1500 "_postman_previewlanguage": "json",
1501 "header": [
1502 {
1503 "key": "Date",
1504 "value": "Fri, 28 Apr 2023 14:32:05 GMT"
1505 },
1506 {
1507 "key": "Server",
1508 "value": "Apache/2.4.52 (Ubuntu)"
1509 },
1510 {
1511 "key": "X-Robots-Tag",
1512 "value": "noindex"
1513 },
1514 {
1515 "key": "X-Content-Type-Options",
1516 "value": "nosniff"
1517 },
1518 {
1519 "key": "Expires",
1520 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
1521 },
1522 {
1523 "key": "Cache-Control",
1524 "value": "no-cache, must-revalidate, max-age=0"
1525 },
1526 {
1527 "key": "Referrer-Policy",
1528 "value": "strict-origin-when-cross-origin"
1529 },
1530 {
1531 "key": "X-Frame-Options",
1532 "value": "SAMEORIGIN"
1533 },
1534 {
1535 "key": "Content-Length",
1536 "value": "2431"
1537 },
1538 {
1539 "key": "Keep-Alive",
1540 "value": "timeout=5, max=100"
1541 },
1542 {
1543 "key": "Connection",
1544 "value": "Keep-Alive"
1545 },
1546 {
1547 "key": "Content-Type",
1548 "value": "application/json;charset=utf-8"
1549 }
1550 ],
1551 "cookie": [],
1552 "body": "{\n \"message\": \"Successfully retrieved free slots\",\n \"data\": {\n \"minimum\": \"2023-04-28 16:32\",\n \"maximum\": \"2024-04-27 16:32\",\n \"slots\": {\n \"2023-05-01\": {\n \"10:30\": [\n [\n 3,\n 2\n ]\n ],\n \"11:30\": [\n [\n 3,\n 2\n ]\n ],\n \"13:30\": [\n [\n 3,\n 2\n ]\n ],\n \"14:00\": [\n [\n 3,\n 2\n ]\n ],\n \"14:30\": [\n [\n 3,\n 2\n ]\n ],\n \"15:00\": [\n [\n 3,\n 2\n ]\n ],\n \"15:30\": [\n [\n 3,\n 2\n ]\n ],\n \"16:00\": [\n [\n 3,\n 2\n ]\n ],\n \"16:30\": [\n [\n 3,\n 2\n ]\n ]\n },\n \"2023-05-08\": {\n \"09:00\": [\n [\n 3,\n 2\n ]\n ],\n \"09:30\": [\n [\n 3,\n 2\n ]\n ],\n \"10:00\": [\n [\n 3,\n 2\n ]\n ],\n \"10:30\": [\n [\n 3,\n 2\n ]\n ],\n \"11:00\": [\n [\n 3,\n 2\n ]\n ],\n \"11:30\": [\n [\n 3,\n 2\n ]\n ],\n \"12:00\": [\n [\n 3,\n 2\n ]\n ],\n \"12:30\": [\n [\n 3,\n 2\n ]\n ],\n \"13:00\": [\n [\n 3,\n 2\n ]\n ],\n \"13:30\": [\n [\n 3,\n 2\n ]\n ],\n \"14:00\": [\n [\n 3,\n 2\n ]\n ],\n \"14:30\": [\n [\n 3,\n 2\n ]\n ],\n \"15:00\": [\n [\n 3,\n 2\n ]\n ],\n \"15:30\": [\n [\n 3,\n 2\n ]\n ],\n \"16:00\": [\n [\n 3,\n 2\n ]\n ],\n \"16:30\": [\n [\n 3,\n 2\n ]\n ]\n },\n \"2023-05-15\": {\n \"09:00\": [\n [\n 3,\n 2\n ]\n ],\n \"09:30\": [\n [\n 3,\n 2\n ]\n ],\n \"10:00\": [\n [\n 3,\n 2\n ]\n ],\n \"10:30\": [\n [\n 3,\n 2\n ]\n ],\n \"11:00\": [\n [\n 3,\n 2\n ]\n ],\n \"11:30\": [\n [\n 3,\n 2\n ]\n ],\n \"12:00\": [\n [\n 3,\n 2\n ]\n ],\n \"12:30\": [\n [\n 3,\n 2\n ]\n ],\n \"13:00\": [\n [\n 3,\n 2\n ]\n ],\n \"13:30\": [\n [\n 3,\n 2\n ]\n ],\n \"14:00\": [\n [\n 3,\n 2\n ]\n ],\n \"14:30\": [\n [\n 3,\n 2\n ]\n ],\n \"15:00\": [\n [\n 3,\n 2\n ]\n ],\n \"15:30\": [\n [\n 3,\n 2\n ]\n ],\n \"16:00\": [\n [\n 3,\n 2\n ]\n ],\n \"16:30\": [\n [\n 3,\n 2\n ]\n ]\n },\n \"2023-05-22\": {\n \"09:00\": [\n [\n 3,\n 2\n ]\n ],\n \"09:30\": [\n [\n 3,\n 2\n ]\n ],\n \"10:00\": [\n [\n 3,\n 2\n ]\n ],\n \"10:30\": [\n [\n 3,\n 2\n ]\n ],\n \"11:00\": [\n [\n 3,\n 2\n ]\n ],\n \"11:30\": [\n [\n 3,\n 2\n ]\n ],\n \"12:00\": [\n [\n 3,\n 2\n ]\n ],\n \"12:30\": [\n [\n 3,\n 2\n ]\n ],\n \"13:00\": [\n [\n 3,\n 2\n ]\n ],\n \"13:30\": [\n [\n 3,\n 2\n ]\n ],\n \"14:00\": [\n [\n 3,\n 2\n ]\n ],\n \"14:30\": [\n [\n 3,\n 2\n ]\n ],\n \"15:00\": [\n [\n 3,\n 2\n ]\n ],\n \"15:30\": [\n [\n 3,\n 2\n ]\n ],\n \"16:00\": [\n [\n 3,\n 2\n ]\n ],\n \"16:30\": [\n [\n 3,\n 2\n ]\n ]\n },\n \"2023-05-29\": {\n \"09:00\": [\n [\n 3,\n 2\n ]\n ],\n \"09:30\": [\n [\n 3,\n 2\n ]\n ],\n \"10:00\": [\n [\n 3,\n 2\n ]\n ],\n \"10:30\": [\n [\n 3,\n 2\n ]\n ],\n \"11:00\": [\n [\n 3,\n 2\n ]\n ],\n \"11:30\": [\n [\n 3,\n 2\n ]\n ],\n \"12:00\": [\n [\n 3,\n 2\n ]\n ],\n \"12:30\": [\n [\n 3,\n 2\n ]\n ],\n \"13:00\": [\n [\n 3,\n 2\n ]\n ],\n \"13:30\": [\n [\n 3,\n 2\n ]\n ],\n \"14:00\": [\n [\n 3,\n 2\n ]\n ],\n \"14:30\": [\n [\n 3,\n 2\n ]\n ],\n \"15:00\": [\n [\n 3,\n 2\n ]\n ],\n \"15:30\": [\n [\n 3,\n 2\n ]\n ],\n \"16:00\": [\n [\n 3,\n 2\n ]\n ],\n \"16:30\": [\n [\n 3,\n 2\n ]\n ]\n },\n \"2023-06-05\": {\n \"09:00\": [\n [\n 3,\n 2\n ]\n ],\n \"09:30\": [\n [\n 3,\n 2\n ]\n ],\n \"10:00\": [\n [\n 3,\n 2\n ]\n ],\n \"10:30\": [\n [\n 3,\n 2\n ]\n ],\n \"11:00\": [\n [\n 3,\n 2\n ]\n ],\n \"11:30\": [\n [\n 3,\n 2\n ]\n ],\n \"12:00\": [\n [\n 3,\n 2\n ]\n ],\n \"12:30\": [\n [\n 3,\n 2\n ]\n ],\n \"13:00\": [\n [\n 3,\n 2\n ]\n ],\n \"13:30\": [\n [\n 3,\n 2\n ]\n ],\n \"14:00\": [\n [\n 3,\n 2\n ]\n ],\n \"14:30\": [\n [\n 3,\n 2\n ]\n ],\n \"15:00\": [\n [\n 3,\n 2\n ]\n ],\n \"15:30\": [\n [\n 3,\n 2\n ]\n ],\n \"16:00\": [\n [\n 3,\n 2\n ]\n ],\n \"16:30\": [\n [\n 3,\n 2\n ]\n ]\n },\n \"2023-06-12\": {\n \"09:00\": [\n [\n 3,\n 2\n ]\n ],\n \"09:30\": [\n [\n 3,\n 2\n ]\n ],\n \"10:00\": [\n [\n 3,\n 2\n ]\n ],\n \"10:30\": [\n [\n 3,\n 2\n ]\n ],\n \"11:00\": [\n [\n 3,\n 2\n ]\n ],\n \"11:30\": [\n [\n 3,\n 2\n ]\n ],\n \"12:00\": [\n [\n 3,\n 2\n ]\n ],\n \"12:30\": [\n [\n 3,\n 2\n ]\n ],\n \"13:00\": [\n [\n 3,\n 2\n ]\n ],\n \"13:30\": [\n [\n 3,\n 2\n ]\n ],\n \"14:00\": [\n [\n 3,\n 2\n ]\n ],\n \"14:30\": [\n [\n 3,\n 2\n ]\n ],\n \"15:00\": [\n [\n 3,\n 2\n ]\n ],\n \"15:30\": [\n [\n 3,\n 2\n ]\n ],\n \"16:00\": [\n [\n 3,\n 2\n ]\n ],\n \"16:30\": [\n [\n 3,\n 2\n ]\n ]\n }\n },\n \"occupied\": {\n \"2023-04-28\": {\n \"12:00\": [\n [\n 3,\n 1,\n 0,\n 3\n ]\n ]\n },\n \"2023-05-01\": {\n \"09:00\": [\n [\n 3,\n 1,\n 0,\n 5\n ]\n ],\n \"11:00\": [\n [\n 3,\n 1,\n 0,\n 1\n ]\n ],\n \"12:00\": [\n [\n 3,\n 1,\n 0,\n 1\n ]\n ],\n \"12:30\": [\n [\n 3,\n 1,\n 0,\n 4\n ]\n ]\n },\n \"2023-05-02\": {\n \"12:30\": [\n [\n 3,\n 1,\n 0,\n 1\n ]\n ],\n \"13:30\": [\n [\n 3,\n 1,\n 0,\n 1\n ]\n ],\n \"14:30\": [\n [\n 3,\n 1,\n 0,\n 1\n ]\n ]\n },\n \"2023-05-03\": {\n \"11:00\": [\n [\n 3,\n 1,\n 0,\n 1\n ]\n ],\n \"11:30\": [\n [\n 3,\n 1,\n 0,\n 6\n ]\n ],\n \"15:30\": [\n [\n 3,\n 1,\n 0,\n 1\n ]\n ]\n },\n \"2023-05-04\": {\n \"11:00\": [\n [\n 3,\n 1,\n 0,\n 6\n ]\n ],\n \"15:00\": [\n [\n 3,\n 1,\n 0,\n 1\n ]\n ],\n \"16:30\": [\n [\n 3,\n 1,\n 0,\n 6\n ]\n ]\n },\n \"2023-05-05\": {\n \"11:00\": [\n [\n 3,\n 1,\n 0,\n 6\n ]\n ]\n }\n },\n \"busyness\": {\n \"2023-05-01\": 31,\n \"2023-05-08\": 0,\n \"2023-05-15\": 0,\n \"2023-05-22\": 0,\n \"2023-05-29\": 0,\n \"2023-06-05\": 0,\n \"2023-06-12\": 0\n }\n }\n}"
1553 }
1554 ]
1555 }
1556 ]
1557 },
1558 {
1559 "name": "Appointments",
1560 "item": [
1561 {
1562 "name": "get appointment",
1563 "event": [
1564 {
1565 "listen": "prerequest",
1566 "script": {
1567 "exec": [
1568 "pm.variables.set('appointment_id', 1)"
1569 ],
1570 "type": "text/javascript"
1571 }
1572 }
1573 ],
1574 "request": {
1575 "method": "GET",
1576 "header": [],
1577 "url": {
1578 "raw": "{{admin_ajax_url}}/appointments/{{appointment_id}}",
1579 "host": [
1580 "{{admin_ajax_url}}"
1581 ],
1582 "path": [
1583 "appointments",
1584 "{{appointment_id}}"
1585 ]
1586 }
1587 },
1588 "response": [
1589 {
1590 "name": "get appointment",
1591 "originalRequest": {
1592 "method": "GET",
1593 "header": [],
1594 "url": {
1595 "raw": "{{admin_ajax_url}}/appointments/{{appointment_id}}",
1596 "host": [
1597 "{{admin_ajax_url}}"
1598 ],
1599 "path": [
1600 "appointments",
1601 "{{appointment_id}}"
1602 ]
1603 }
1604 },
1605 "status": "OK",
1606 "code": 200,
1607 "_postman_previewlanguage": "json",
1608 "header": [
1609 {
1610 "key": "Date",
1611 "value": "Fri, 28 Apr 2023 13:17:16 GMT"
1612 },
1613 {
1614 "key": "Server",
1615 "value": "Apache/2.4.52 (Ubuntu)"
1616 },
1617 {
1618 "key": "X-Robots-Tag",
1619 "value": "noindex"
1620 },
1621 {
1622 "key": "X-Content-Type-Options",
1623 "value": "nosniff"
1624 },
1625 {
1626 "key": "Expires",
1627 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
1628 },
1629 {
1630 "key": "Cache-Control",
1631 "value": "no-cache, must-revalidate, max-age=0"
1632 },
1633 {
1634 "key": "Referrer-Policy",
1635 "value": "strict-origin-when-cross-origin"
1636 },
1637 {
1638 "key": "X-Frame-Options",
1639 "value": "SAMEORIGIN"
1640 },
1641 {
1642 "key": "Content-Length",
1643 "value": "1380"
1644 },
1645 {
1646 "key": "Keep-Alive",
1647 "value": "timeout=5, max=100"
1648 },
1649 {
1650 "key": "Connection",
1651 "value": "Keep-Alive"
1652 },
1653 {
1654 "key": "Content-Type",
1655 "value": "application/json;charset=utf-8"
1656 }
1657 ],
1658 "cookie": [],
1659 "body": "{\n \"message\": \"Successfully retrieved appointment\",\n \"data\": {\n \"appointment\": {\n \"id\": 1,\n \"bookings\": [\n {\n \"id\": 1,\n \"customerId\": 2,\n \"customer\": null,\n \"status\": \"approved\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 20,\n \"coupon\": null,\n \"customFields\": null,\n \"info\": \"{\\\"firstName\\\":\\\"Milica\\\",\\\"lastName\\\":\\\"Snake\\\",\\\"phone\\\":\\\"+381631652656\\\",\\\"locale\\\":\\\"en_US\\\",\\\"timeZone\\\":\\\"Europe\\\\/Belgrade\\\",\\\"urlParams\\\":null}\",\n \"appointmentId\": 1,\n \"persons\": 1,\n \"token\": null,\n \"payments\": [\n {\n \"id\": 1,\n \"customerBookingId\": 1,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 20,\n \"gateway\": \"stripe\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-03-13 13:52:49\",\n \"status\": \"paid\",\n \"data\": \"\",\n \"entity\": null,\n \"created\": null,\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n ],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": null,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [],\n \"duration\": 1800,\n \"created\": null,\n \"actionsCompleted\": null\n }\n ],\n \"notifyParticipants\": 1,\n \"internalNotes\": \"\",\n \"status\": \"approved\",\n \"serviceId\": 1,\n \"parentId\": null,\n \"providerId\": 1,\n \"locationId\": null,\n \"provider\": null,\n \"service\": null,\n \"location\": null,\n \"googleCalendarEventId\": null,\n \"googleMeetUrl\": null,\n \"outlookCalendarEventId\": null,\n \"zoomMeeting\": null,\n \"lessonSpace\": null,\n \"bookingStart\": \"2023-03-21 10:00:00\",\n \"bookingEnd\": \"2023-03-21 10:30:00\",\n \"type\": \"appointment\",\n \"isRescheduled\": null,\n \"resources\": []\n },\n \"recurring\": []\n }\n}"
1660 }
1661 ]
1662 },
1663 {
1664 "name": "add appointment",
1665 "event": [
1666 {
1667 "listen": "prerequest",
1668 "script": {
1669 "exec": [
1670 ""
1671 ],
1672 "type": "text/javascript"
1673 }
1674 }
1675 ],
1676 "request": {
1677 "method": "POST",
1678 "header": [],
1679 "body": {
1680 "mode": "raw",
1681 "raw": "{\n \"bookingStart\": \"2023-09-05 19:00\", // required; string in datetime format;\n \"bookings\": [ // required; array; \n {\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"value\\\":\\\"\\\",\\\"type\\\":\\\"text\\\"}}\", // string, encoded json\n \"customerId\": 10, // integer\n \"duration\": 1800, // integer\n \"extras\": [], // array; selected extras\n \"packageCustomerId\": null, // integer; \n \"persons\": 1, // integer; number of people in booking\n \"status\": \"approved\" // string; status of appointment; (approved/pending)\n }\n ],\n \"internalNotes\": \"\", // string; internal note\n \"lessonSpace\": \"\", // string; lesson space id\n \"locationId\": 2, // integer\n \"notifyParticipants\": 1, // required; boolean (1/0)\n \"providerId\": 1, // required\n \"recurring\": [], // array\n \"serviceId\": 1, // required; integer\n \"timeZone\": \"Europe/Belgrade\", // optional\n \"utc\": false // optional; boolean (true/false); whether date_time is sent in UTC\n}",
1682 "options": {
1683 "raw": {
1684 "language": "json"
1685 }
1686 }
1687 },
1688 "url": {
1689 "raw": "{{admin_ajax_url}}/appointments",
1690 "host": [
1691 "{{admin_ajax_url}}"
1692 ],
1693 "path": [
1694 "appointments"
1695 ]
1696 }
1697 },
1698 "response": [
1699 {
1700 "name": "add appointment",
1701 "originalRequest": {
1702 "method": "POST",
1703 "header": [],
1704 "body": {
1705 "mode": "raw",
1706 "raw": "{\n \"bookingStart\": \"2023-05-11 10:00\",\n \"bookings\": [\n {\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"value\\\":\\\"\\\",\\\"type\\\":\\\"text\\\"}}\",\n \"customer\": {\n \"id\": 10,\n \"status\": \"visible\",\n \"firstName\": \"Amelia\",\n \"lastName\": \"Test\",\n \"email\": \"ameliatest@test.test\",\n \"phone\": \"\",\n \"countryPhoneIso\": \"\",\n \"gender\": \"\",\n \"externalId\": 8,\n \"translations\": \"{\\\"defaultLanguage\\\":\\\"en_US\\\"}\",\n \"birthday\": \"\",\n \"note\": \"\",\n \"lastAppointment\": \"2023-05-03 15:00:00\",\n \"totalAppointments\": 10,\n \"countPendingAppointments\": \"0\",\n \"wpName\": \"ameliatesttest-test\",\n \"wpUserPhotoUrl\": \"http://0.gravatar.com/avatar/6badf27972c65effc8ae7aefca4ff870?s=96&d=mm&r=g\"\n },\n \"customerId\": 10,\n \"duration\": 1800,\n \"extras\": [],\n \"id\": 0,\n \"packageCustomerId\": null,\n \"payments\": [],\n \"persons\": 1,\n \"status\": \"approved\"\n }\n ],\n \"id\": 0,\n \"internalNotes\": \"\",\n \"lessonSpace\": \"\",\n \"locationId\": 1,\n \"notifyParticipants\": 1,\n \"payment\": {\n \"amount\": 0,\n \"gateway\": \"onSite\"\n },\n \"providerId\": 1,\n \"recurring\": [],\n \"removedBookings\": [],\n \"serviceId\": 1,\n \"utc\": false\n}",
1707 "options": {
1708 "raw": {
1709 "language": "json"
1710 }
1711 }
1712 },
1713 "url": {
1714 "raw": "{{admin_ajax_url}}/appointments",
1715 "host": [
1716 "{{admin_ajax_url}}"
1717 ],
1718 "path": [
1719 "appointments"
1720 ]
1721 }
1722 },
1723 "status": "OK",
1724 "code": 200,
1725 "_postman_previewlanguage": "json",
1726 "header": [
1727 {
1728 "key": "Date",
1729 "value": "Fri, 28 Apr 2023 13:38:08 GMT"
1730 },
1731 {
1732 "key": "Server",
1733 "value": "Apache/2.4.52 (Ubuntu)"
1734 },
1735 {
1736 "key": "X-Robots-Tag",
1737 "value": "noindex"
1738 },
1739 {
1740 "key": "X-Content-Type-Options",
1741 "value": "nosniff"
1742 },
1743 {
1744 "key": "Expires",
1745 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
1746 },
1747 {
1748 "key": "Cache-Control",
1749 "value": "no-cache, must-revalidate, max-age=0"
1750 },
1751 {
1752 "key": "Referrer-Policy",
1753 "value": "strict-origin-when-cross-origin"
1754 },
1755 {
1756 "key": "X-Frame-Options",
1757 "value": "SAMEORIGIN"
1758 },
1759 {
1760 "key": "Content-Length",
1761 "value": "1634"
1762 },
1763 {
1764 "key": "Keep-Alive",
1765 "value": "timeout=5, max=100"
1766 },
1767 {
1768 "key": "Connection",
1769 "value": "Keep-Alive"
1770 },
1771 {
1772 "key": "Content-Type",
1773 "value": "application/json;charset=utf-8"
1774 }
1775 ],
1776 "cookie": [],
1777 "body": "{\n \"message\": \"Successfully added new appointment\",\n \"data\": {\n \"appointment\": {\n \"id\": 173,\n \"bookings\": [\n {\n \"id\": 254,\n \"customerId\": 10,\n \"customer\": {\n \"id\": 10,\n \"firstName\": \"Amelia\",\n \"lastName\": \"Test\",\n \"birthday\": null,\n \"email\": \"ameliatest@test.test\",\n \"phone\": null,\n \"type\": \"customer\",\n \"status\": \"visible\",\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": null,\n \"externalId\": 8,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": \"{\\\"defaultLanguage\\\":\\\"en_US\\\"}\",\n \"gender\": null\n },\n \"status\": \"approved\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 20,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"value\\\":\\\"\\\",\\\"type\\\":\\\"text\\\"}}\",\n \"info\": null,\n \"appointmentId\": 173,\n \"persons\": 1,\n \"token\": \"070b697df9\",\n \"payments\": [\n {\n \"id\": 295,\n \"customerBookingId\": 254,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 0,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-11 10:00:00\",\n \"status\": \"pending\",\n \"data\": \"\",\n \"entity\": \"appointment\",\n \"created\": null,\n \"actionsCompleted\": true,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n ],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": true,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [],\n \"duration\": 1800,\n \"created\": null,\n \"actionsCompleted\": true\n }\n ],\n \"notifyParticipants\": 1,\n \"internalNotes\": \"\",\n \"status\": \"approved\",\n \"serviceId\": 1,\n \"parentId\": null,\n \"providerId\": 1,\n \"locationId\": 1,\n \"provider\": null,\n \"service\": null,\n \"location\": null,\n \"googleCalendarEventId\": null,\n \"googleMeetUrl\": null,\n \"outlookCalendarEventId\": null,\n \"zoomMeeting\": null,\n \"lessonSpace\": null,\n \"bookingStart\": \"2023-05-11 10:00:00\",\n \"bookingEnd\": \"2023-05-11 10:30:00\",\n \"type\": \"appointment\",\n \"isRescheduled\": null,\n \"resources\": []\n },\n \"recurring\": []\n }\n}"
1778 }
1779 ]
1780 },
1781 {
1782 "name": "update appointment",
1783 "event": [
1784 {
1785 "listen": "prerequest",
1786 "script": {
1787 "exec": [
1788 "pm.variables.set('appointment_id', 682)"
1789 ],
1790 "type": "text/javascript"
1791 }
1792 }
1793 ],
1794 "request": {
1795 "method": "POST",
1796 "header": [],
1797 "body": {
1798 "mode": "raw",
1799 "raw": "{\n \"bookingStart\": \"2023-09-05 10:00:00\",\n \"locationId\": 1,\n \"providerId\": 3\n //send fields that should be changed, unless bookings are changed\n //for now you must send array of all bookings with all fields, if bookings should be updated\n //use /api/v1/appointments/status/{id} endpoint for updateing appointment status\n}",
1800 "options": {
1801 "raw": {
1802 "language": "json"
1803 }
1804 }
1805 },
1806 "url": {
1807 "raw": "{{admin_ajax_url}}/appointments/{{appointment_id}}",
1808 "host": [
1809 "{{admin_ajax_url}}"
1810 ],
1811 "path": [
1812 "appointments",
1813 "{{appointment_id}}"
1814 ]
1815 }
1816 },
1817 "response": [
1818 {
1819 "name": "update appointment",
1820 "originalRequest": {
1821 "method": "POST",
1822 "header": [],
1823 "body": {
1824 "mode": "raw",
1825 "raw": "{\n \"bookingStart\": \"2023-05-20 10:00\",\n \"bookings\": [\n {\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"value\\\":\\\"\\\",\\\"type\\\":\\\"text\\\"}}\",\n \"customer\": {\n \"id\": 10,\n \"status\": \"visible\",\n \"firstName\": \"Amelia\",\n \"lastName\": \"Test\",\n \"email\": \"ameliatest@test.test\",\n \"phone\": \"\",\n \"countryPhoneIso\": \"\",\n \"gender\": \"\",\n \"externalId\": 8,\n \"translations\": \"{\\\"defaultLanguage\\\":\\\"en_US\\\"}\",\n \"birthday\": \"\",\n \"note\": \"\",\n \"lastAppointment\": \"2023-05-03 15:00:00\",\n \"totalAppointments\": 10,\n \"countPendingAppointments\": \"0\",\n \"wpName\": \"ameliatesttest-test\",\n \"wpUserPhotoUrl\": \"http://0.gravatar.com/avatar/6badf27972c65effc8ae7aefca4ff870?s=96&d=mm&r=g\"\n },\n \"customerId\": 10,\n \"duration\": 1800,\n \"extras\": [],\n \"id\": 254,\n \"packageCustomerId\": null,\n \"payments\": [],\n \"persons\": 1,\n \"status\": \"approved\"\n }\n ],\n \"id\": 173,\n \"internalNotes\": \"\",\n \"lessonSpace\": \"\",\n \"locationId\": 1,\n \"notifyParticipants\": 1,\n \"payment\": {\n \"amount\": 0,\n \"gateway\": \"onSite\"\n },\n \"providerId\": 1,\n \"recurring\": [],\n \"removedBookings\": [],\n \"serviceId\": 1,\n \"utc\": false\n}",
1826 "options": {
1827 "raw": {
1828 "language": "json"
1829 }
1830 }
1831 },
1832 "url": {
1833 "raw": "{{admin_ajax_url}}/appointments/{{appointment_id}}",
1834 "host": [
1835 "{{admin_ajax_url}}"
1836 ],
1837 "path": [
1838 "appointments",
1839 "{{appointment_id}}"
1840 ]
1841 }
1842 },
1843 "status": "OK",
1844 "code": 200,
1845 "_postman_previewlanguage": "json",
1846 "header": [
1847 {
1848 "key": "Date",
1849 "value": "Fri, 28 Apr 2023 13:42:53 GMT"
1850 },
1851 {
1852 "key": "Server",
1853 "value": "Apache/2.4.52 (Ubuntu)"
1854 },
1855 {
1856 "key": "X-Robots-Tag",
1857 "value": "noindex"
1858 },
1859 {
1860 "key": "X-Content-Type-Options",
1861 "value": "nosniff"
1862 },
1863 {
1864 "key": "Expires",
1865 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
1866 },
1867 {
1868 "key": "Cache-Control",
1869 "value": "no-cache, must-revalidate, max-age=0"
1870 },
1871 {
1872 "key": "Referrer-Policy",
1873 "value": "strict-origin-when-cross-origin"
1874 },
1875 {
1876 "key": "X-Frame-Options",
1877 "value": "SAMEORIGIN"
1878 },
1879 {
1880 "key": "Content-Length",
1881 "value": "1746"
1882 },
1883 {
1884 "key": "Keep-Alive",
1885 "value": "timeout=5, max=100"
1886 },
1887 {
1888 "key": "Connection",
1889 "value": "Keep-Alive"
1890 },
1891 {
1892 "key": "Content-Type",
1893 "value": "application/json;charset=utf-8"
1894 }
1895 ],
1896 "cookie": [],
1897 "body": "{\n \"message\": \"Successfully updated appointment\",\n \"data\": {\n \"appointment\": {\n \"id\": 173,\n \"bookings\": [\n {\n \"id\": 254,\n \"customerId\": 10,\n \"customer\": {\n \"id\": 10,\n \"firstName\": \"Amelia\",\n \"lastName\": \"Test\",\n \"birthday\": null,\n \"email\": \"ameliatest@test.test\",\n \"phone\": null,\n \"type\": \"customer\",\n \"status\": \"visible\",\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": null,\n \"externalId\": 8,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": \"{\\\"defaultLanguage\\\":\\\"en_US\\\"}\",\n \"gender\": null\n },\n \"status\": \"approved\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 20,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"value\\\":\\\"\\\",\\\"type\\\":\\\"text\\\"}}\",\n \"info\": null,\n \"appointmentId\": null,\n \"persons\": 1,\n \"token\": null,\n \"payments\": [],\n \"utcOffset\": null,\n \"aggregatedPrice\": null,\n \"isChangedStatus\": false,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [],\n \"duration\": 1800,\n \"created\": null,\n \"actionsCompleted\": null\n }\n ],\n \"notifyParticipants\": 1,\n \"internalNotes\": \"\",\n \"status\": \"approved\",\n \"serviceId\": 1,\n \"parentId\": null,\n \"providerId\": 1,\n \"locationId\": 1,\n \"provider\": null,\n \"service\": null,\n \"location\": null,\n \"googleCalendarEventId\": null,\n \"googleMeetUrl\": null,\n \"outlookCalendarEventId\": \"AQMkADAwATYwMAItZTk0ZS1lMGRmLTAwAi0wMAoARgAAA3egvCudOo1GsyywV8xCQ2wHANjP2dT7pGFAu0b6VBSGJOoAAAIBDQAAANjP2dT7pGFAu0b6VBSGJOoABmKTp1wAAAA=\",\n \"zoomMeeting\": null,\n \"lessonSpace\": null,\n \"bookingStart\": \"2023-05-20 10:00:00\",\n \"bookingEnd\": \"2023-05-20 10:30:00\",\n \"type\": \"appointment\",\n \"isRescheduled\": true,\n \"resources\": []\n },\n \"appointmentStatusChanged\": false,\n \"appointmentRescheduled\": true,\n \"initialAppointmentDateTime\": {\n \"bookingStart\": \"2023-05-11 10:00:00\",\n \"bookingEnd\": \"2023-05-11 10:30:00\"\n },\n \"bookingsWithChangedStatus\": [],\n \"appointmentEmployeeChanged\": null,\n \"appointmentZoomUserChanged\": false,\n \"appointmentZoomUsersLicenced\": false,\n \"lessonSpaceChanged\": false\n }\n}"
1898 }
1899 ]
1900 },
1901 {
1902 "name": "update appointment status",
1903 "event": [
1904 {
1905 "listen": "prerequest",
1906 "script": {
1907 "exec": [
1908 "pm.variables.set('appointment_id', 682)"
1909 ],
1910 "type": "text/javascript"
1911 }
1912 }
1913 ],
1914 "request": {
1915 "method": "POST",
1916 "header": [],
1917 "body": {
1918 "mode": "raw",
1919 "raw": "{\n \"status\": \"pending\", // required; possible values: approved, pending, canceled, rejected, no-show\n \"packageCustomerId\": null\n}",
1920 "options": {
1921 "raw": {
1922 "language": "json"
1923 }
1924 }
1925 },
1926 "url": {
1927 "raw": "{{admin_ajax_url}}/appointments/status/{{appointment_id}}",
1928 "host": [
1929 "{{admin_ajax_url}}"
1930 ],
1931 "path": [
1932 "appointments",
1933 "status",
1934 "{{appointment_id}}"
1935 ]
1936 }
1937 },
1938 "response": [
1939 {
1940 "name": "update appointment status",
1941 "originalRequest": {
1942 "method": "POST",
1943 "header": [],
1944 "body": {
1945 "mode": "raw",
1946 "raw": "{\n \"status\": \"pending\",\n \"packageCustomerId\": null\n}",
1947 "options": {
1948 "raw": {
1949 "language": "json"
1950 }
1951 }
1952 },
1953 "url": {
1954 "raw": "{{admin_ajax_url}}/appointments/status/{{appointment_id}}",
1955 "host": [
1956 "{{admin_ajax_url}}"
1957 ],
1958 "path": [
1959 "appointments",
1960 "status",
1961 "{{appointment_id}}"
1962 ]
1963 }
1964 },
1965 "status": "OK",
1966 "code": 200,
1967 "_postman_previewlanguage": "json",
1968 "header": [
1969 {
1970 "key": "Date",
1971 "value": "Fri, 28 Apr 2023 13:46:45 GMT"
1972 },
1973 {
1974 "key": "Server",
1975 "value": "Apache/2.4.52 (Ubuntu)"
1976 },
1977 {
1978 "key": "X-Robots-Tag",
1979 "value": "noindex"
1980 },
1981 {
1982 "key": "X-Content-Type-Options",
1983 "value": "nosniff"
1984 },
1985 {
1986 "key": "Expires",
1987 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
1988 },
1989 {
1990 "key": "Cache-Control",
1991 "value": "no-cache, must-revalidate, max-age=0"
1992 },
1993 {
1994 "key": "Referrer-Policy",
1995 "value": "strict-origin-when-cross-origin"
1996 },
1997 {
1998 "key": "X-Frame-Options",
1999 "value": "SAMEORIGIN"
2000 },
2001 {
2002 "key": "Content-Length",
2003 "value": "2322"
2004 },
2005 {
2006 "key": "Keep-Alive",
2007 "value": "timeout=5, max=100"
2008 },
2009 {
2010 "key": "Connection",
2011 "value": "Keep-Alive"
2012 },
2013 {
2014 "key": "Content-Type",
2015 "value": "application/json;charset=utf-8"
2016 }
2017 ],
2018 "cookie": [],
2019 "body": "{\n \"message\": \"Successfully updated appointment status\",\n \"data\": {\n \"appointment\": {\n \"id\": 173,\n \"bookings\": [\n {\n \"id\": 254,\n \"customerId\": 10,\n \"customer\": null,\n \"status\": \"pending\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 20,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"value\\\":\\\"\\\",\\\"type\\\":\\\"text\\\"}}\",\n \"info\": null,\n \"appointmentId\": 173,\n \"persons\": 1,\n \"token\": null,\n \"payments\": [\n {\n \"id\": 295,\n \"customerBookingId\": 254,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 0,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-11 10:00:00\",\n \"status\": \"pending\",\n \"data\": \"\",\n \"entity\": null,\n \"created\": null,\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n ],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": true,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [],\n \"duration\": 1800,\n \"created\": null,\n \"actionsCompleted\": null\n }\n ],\n \"notifyParticipants\": 1,\n \"internalNotes\": \"\",\n \"status\": \"pending\",\n \"serviceId\": 1,\n \"parentId\": null,\n \"providerId\": 1,\n \"locationId\": 1,\n \"provider\": null,\n \"service\": null,\n \"location\": null,\n \"googleCalendarEventId\": null,\n \"googleMeetUrl\": null,\n \"outlookCalendarEventId\": \"AQMkADAwATYwMAItZTk0ZS1lMGRmLTAwAi0wMAoARgAAA3egvCudOo1GsyywV8xCQ2wHANjP2dT7pGFAu0b6VBSGJOoAAAIBDQAAANjP2dT7pGFAu0b6VBSGJOoABmKTp1wAAAA=\",\n \"zoomMeeting\": null,\n \"lessonSpace\": null,\n \"bookingStart\": \"2023-05-20 10:00:00\",\n \"bookingEnd\": \"2023-05-20 10:30:00\",\n \"type\": \"appointment\",\n \"isRescheduled\": null,\n \"resources\": []\n },\n \"bookingsWithChangedStatus\": [\n {\n \"id\": 254,\n \"customerId\": 10,\n \"customer\": null,\n \"status\": \"pending\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 20,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"value\\\":\\\"\\\",\\\"type\\\":\\\"text\\\"}}\",\n \"info\": null,\n \"appointmentId\": 173,\n \"persons\": 1,\n \"token\": null,\n \"payments\": [\n {\n \"id\": 295,\n \"customerBookingId\": 254,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 0,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-11 10:00:00\",\n \"status\": \"pending\",\n \"data\": \"\",\n \"entity\": null,\n \"created\": null,\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n ],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": true,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [],\n \"duration\": 1800,\n \"created\": null,\n \"actionsCompleted\": null\n }\n ],\n \"status\": \"pending\",\n \"oldStatus\": \"approved\",\n \"message\": \"Appointment status has been changed to pending\"\n }\n}"
2020 }
2021 ]
2022 },
2023 {
2024 "name": "delete appointment",
2025 "event": [
2026 {
2027 "listen": "prerequest",
2028 "script": {
2029 "exec": [
2030 "pm.variables.set('appointment_id', 173)"
2031 ],
2032 "type": "text/javascript"
2033 }
2034 }
2035 ],
2036 "request": {
2037 "method": "POST",
2038 "header": [],
2039 "url": {
2040 "raw": "{{admin_ajax_url}}/appointments/delete/{{appointment_id}}",
2041 "host": [
2042 "{{admin_ajax_url}}"
2043 ],
2044 "path": [
2045 "appointments",
2046 "delete",
2047 "{{appointment_id}}"
2048 ]
2049 }
2050 },
2051 "response": [
2052 {
2053 "name": "delete appointment",
2054 "originalRequest": {
2055 "method": "POST",
2056 "header": [],
2057 "url": {
2058 "raw": "{{admin_ajax_url}}/appointments/delete/{{appointment_id}}",
2059 "host": [
2060 "{{admin_ajax_url}}"
2061 ],
2062 "path": [
2063 "appointments",
2064 "delete",
2065 "{{appointment_id}}"
2066 ]
2067 }
2068 },
2069 "status": "OK",
2070 "code": 200,
2071 "_postman_previewlanguage": "json",
2072 "header": [
2073 {
2074 "key": "Date",
2075 "value": "Fri, 28 Apr 2023 14:25:55 GMT"
2076 },
2077 {
2078 "key": "Server",
2079 "value": "Apache/2.4.52 (Ubuntu)"
2080 },
2081 {
2082 "key": "X-Robots-Tag",
2083 "value": "noindex"
2084 },
2085 {
2086 "key": "X-Content-Type-Options",
2087 "value": "nosniff"
2088 },
2089 {
2090 "key": "Expires",
2091 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
2092 },
2093 {
2094 "key": "Cache-Control",
2095 "value": "no-cache, must-revalidate, max-age=0"
2096 },
2097 {
2098 "key": "Referrer-Policy",
2099 "value": "strict-origin-when-cross-origin"
2100 },
2101 {
2102 "key": "X-Frame-Options",
2103 "value": "SAMEORIGIN"
2104 },
2105 {
2106 "key": "Content-Length",
2107 "value": "2082"
2108 },
2109 {
2110 "key": "Keep-Alive",
2111 "value": "timeout=5, max=100"
2112 },
2113 {
2114 "key": "Connection",
2115 "value": "Keep-Alive"
2116 },
2117 {
2118 "key": "Content-Type",
2119 "value": "application/json;charset=utf-8"
2120 }
2121 ],
2122 "cookie": [],
2123 "body": "{\n \"message\": \"Successfully deleted appointment\",\n \"data\": {\n \"appointment\": {\n \"id\": 173,\n \"bookings\": [\n {\n \"id\": 254,\n \"customerId\": 10,\n \"customer\": null,\n \"status\": \"rejected\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 20,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"value\\\":\\\"\\\",\\\"type\\\":\\\"text\\\"}}\",\n \"info\": null,\n \"appointmentId\": 173,\n \"persons\": 1,\n \"token\": null,\n \"payments\": [\n {\n \"id\": 295,\n \"customerBookingId\": 254,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 0,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-11 09:00:00\",\n \"status\": \"pending\",\n \"data\": \"\",\n \"entity\": null,\n \"created\": null,\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n ],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": true,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [],\n \"duration\": 1800,\n \"created\": null,\n \"actionsCompleted\": null\n }\n ],\n \"notifyParticipants\": 1,\n \"internalNotes\": \"\",\n \"status\": \"rejected\",\n \"serviceId\": 1,\n \"parentId\": null,\n \"providerId\": 1,\n \"locationId\": 1,\n \"provider\": null,\n \"service\": null,\n \"location\": null,\n \"googleCalendarEventId\": null,\n \"googleMeetUrl\": null,\n \"outlookCalendarEventId\": null,\n \"zoomMeeting\": null,\n \"lessonSpace\": null,\n \"bookingStart\": \"2023-05-11 09:00:00\",\n \"bookingEnd\": \"2023-05-11 09:30:00\",\n \"type\": \"appointment\",\n \"isRescheduled\": null,\n \"resources\": []\n },\n \"bookingsWithChangedStatus\": [\n {\n \"id\": 254,\n \"customerId\": 10,\n \"customer\": null,\n \"status\": \"pending\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 20,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"value\\\":\\\"\\\",\\\"type\\\":\\\"text\\\"}}\",\n \"info\": null,\n \"appointmentId\": 173,\n \"persons\": 1,\n \"token\": null,\n \"payments\": [\n {\n \"id\": 295,\n \"customerBookingId\": 254,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 0,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-11 09:00:00\",\n \"status\": \"pending\",\n \"data\": \"\",\n \"entity\": null,\n \"created\": null,\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n ],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": true,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [],\n \"duration\": 1800,\n \"created\": null,\n \"actionsCompleted\": null\n }\n ]\n }\n}"
2124 }
2125 ]
2126 },
2127 {
2128 "name": "get appointments",
2129 "event": [
2130 {
2131 "listen": "prerequest",
2132 "script": {
2133 "exec": [
2134 ""
2135 ],
2136 "type": "text/javascript"
2137 }
2138 }
2139 ],
2140 "request": {
2141 "method": "GET",
2142 "header": [],
2143 "url": {
2144 "raw": "{{admin_ajax_url}}/appointments&dates=2023-05-09,2023-05-10&page=1&skipServices=1&skipProviders=1",
2145 "host": [
2146 "{{admin_ajax_url}}"
2147 ],
2148 "path": [
2149 "appointments&dates=2023-05-09,2023-05-10&page=1&skipServices=1&skipProviders=1"
2150 ]
2151 }
2152 },
2153 "response": [
2154 {
2155 "name": "get appointments",
2156 "originalRequest": {
2157 "method": "GET",
2158 "header": [],
2159 "url": {
2160 "raw": "{{admin_ajax_url}}/appointments&dates=2023-05-09,2023-05-10&page=1&skipServices=1&skipProviders=1",
2161 "host": [
2162 "{{admin_ajax_url}}"
2163 ],
2164 "path": [
2165 "appointments&dates=2023-05-09,2023-05-10&page=1&skipServices=1&skipProviders=1"
2166 ]
2167 }
2168 },
2169 "status": "OK",
2170 "code": 200,
2171 "_postman_previewlanguage": "json",
2172 "header": [
2173 {
2174 "key": "Date",
2175 "value": "Fri, 28 Apr 2023 13:22:51 GMT"
2176 },
2177 {
2178 "key": "Server",
2179 "value": "Apache/2.4.52 (Ubuntu)"
2180 },
2181 {
2182 "key": "X-Robots-Tag",
2183 "value": "noindex"
2184 },
2185 {
2186 "key": "X-Content-Type-Options",
2187 "value": "nosniff"
2188 },
2189 {
2190 "key": "Expires",
2191 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
2192 },
2193 {
2194 "key": "Cache-Control",
2195 "value": "no-cache, must-revalidate, max-age=0"
2196 },
2197 {
2198 "key": "Referrer-Policy",
2199 "value": "strict-origin-when-cross-origin"
2200 },
2201 {
2202 "key": "X-Frame-Options",
2203 "value": "SAMEORIGIN"
2204 },
2205 {
2206 "key": "Content-Length",
2207 "value": "6889"
2208 },
2209 {
2210 "key": "Keep-Alive",
2211 "value": "timeout=5, max=100"
2212 },
2213 {
2214 "key": "Connection",
2215 "value": "Keep-Alive"
2216 },
2217 {
2218 "key": "Content-Type",
2219 "value": "application/json;charset=utf-8"
2220 }
2221 ],
2222 "cookie": [],
2223 "body": "{\n \"message\": \"Successfully retrieved appointments\",\n \"data\": {\n \"appointments\": {\n \"2023-05-09\": {\n \"date\": \"2023-05-09\",\n \"appointments\": [\n {\n \"id\": 151,\n \"bookings\": [\n {\n \"id\": 228,\n \"customerId\": 16,\n \"customer\": {\n \"id\": 16,\n \"firstName\": \"Amelia\",\n \"lastName\": \"Test\",\n \"birthday\": null,\n \"email\": \"amelia@test.com\",\n \"phone\": null,\n \"type\": \"customer\",\n \"status\": \"visible\",\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": null,\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": null,\n \"gender\": null\n },\n \"status\": \"approved\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 100,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"value\\\":\\\"\\\",\\\"type\\\":\\\"text\\\"}}\",\n \"info\": null,\n \"appointmentId\": 151,\n \"persons\": 1,\n \"token\": null,\n \"payments\": [\n {\n \"id\": 269,\n \"customerBookingId\": 228,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 0,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-09 11:00:00\",\n \"status\": \"pending\",\n \"data\": \"\",\n \"entity\": null,\n \"created\": \"2023-04-25 10:55:33\",\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n ],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": null,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [],\n \"duration\": 1800,\n \"created\": \"2023-04-25 10:55:33\",\n \"actionsCompleted\": null\n },\n {\n \"id\": 229,\n \"customerId\": 17,\n \"customer\": {\n \"id\": 17,\n \"firstName\": \"Avatar\",\n \"lastName\": \"Last Airbender\",\n \"birthday\": null,\n \"email\": \"suraj@atla.aang\",\n \"phone\": null,\n \"type\": \"customer\",\n \"status\": \"visible\",\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": null,\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": null,\n \"gender\": null\n },\n \"status\": \"approved\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 100,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"value\\\":\\\"\\\",\\\"type\\\":\\\"text\\\"}}\",\n \"info\": null,\n \"appointmentId\": 151,\n \"persons\": 1,\n \"token\": null,\n \"payments\": [\n {\n \"id\": 270,\n \"customerBookingId\": 229,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 0,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-09 11:00:00\",\n \"status\": \"pending\",\n \"data\": \"\",\n \"entity\": null,\n \"created\": \"2023-04-25 10:55:58\",\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n ],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": null,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [],\n \"duration\": 1800,\n \"created\": \"2023-04-25 10:55:58\",\n \"actionsCompleted\": null\n }\n ],\n \"notifyParticipants\": 1,\n \"internalNotes\": \"\",\n \"status\": \"approved\",\n \"serviceId\": 2,\n \"parentId\": null,\n \"providerId\": 1,\n \"locationId\": 1,\n \"provider\": null,\n \"service\": null,\n \"location\": null,\n \"googleCalendarEventId\": \"omia1hbnknkcha7addq7nc8aes\",\n \"googleMeetUrl\": null,\n \"outlookCalendarEventId\": null,\n \"zoomMeeting\": {\n \"id\": 83025905325,\n \"startUrl\": \"https://us06web.zoom.us/s/83025905325?zak=eyJ0eXAiOiJKV1QiLCJzdiI6IjAwMDAwMSIsInptX3NrbSI6InptX28ybSIsImFsZyI6IkhTMjU2In0.eyJhdWQiOiJjbGllbnRzbSIsInVpZCI6IkNGUUQ1bV9BU1pPNXpLTE5VbS1pOFEiLCJpc3MiOiJ3ZWIiLCJzayI6IjAiLCJzdHkiOjEsIndjZCI6InVzMDYiLCJjbHQiOjAsIm1udW0iOiI4MzAyNTkwNTMyNSIsImV4cCI6MTY4MjQyNzM1OCwiaWF0IjoxNjgyNDIwMTU4LCJhaWQiOiJpeV8zd01JUFRyLTdyclZZSnZnM01nIiwiY2lkIjoiIn0.rsCwEyo4mqLRSzs9nXWEt2yFg7MHyMdGgmTfgw12zEc\",\n \"joinUrl\": \"https://us06web.zoom.us/j/83025905325?pwd=UWw5Y0NTTVpVc3lEb21iNmxvT2Nodz09\"\n },\n \"lessonSpace\": null,\n \"bookingStart\": \"2023-05-09 11:00:00\",\n \"bookingEnd\": \"2023-05-09 11:30:00\",\n \"type\": \"appointment\",\n \"isRescheduled\": null,\n \"resources\": [],\n \"cancelable\": true,\n \"reschedulable\": true,\n \"past\": false,\n \"isGroup\": false\n }\n ]\n },\n \"2023-05-10\": {\n \"date\": \"2023-05-10\",\n \"appointments\": [\n {\n \"id\": 157,\n \"bookings\": [\n {\n \"id\": 237,\n \"customerId\": 2,\n \"customer\": {\n \"id\": 2,\n \"firstName\": \"Milica\",\n \"lastName\": \"Snake\",\n \"birthday\": null,\n \"email\": \"snakemilica@yahoo.com\",\n \"phone\": null,\n \"type\": \"customer\",\n \"status\": \"visible\",\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": null,\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": null,\n \"gender\": null\n },\n \"status\": \"approved\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 100,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"type\\\":\\\"text\\\",\\\"value\\\":\\\"\\\"}}\",\n \"info\": \"{\\\"firstName\\\":\\\"Milica\\\",\\\"lastName\\\":\\\"Snake\\\",\\\"phone\\\":null,\\\"locale\\\":\\\"en_US\\\",\\\"timeZone\\\":\\\"Europe\\\\/Belgrade\\\",\\\"urlParams\\\":null}\",\n \"appointmentId\": 157,\n \"persons\": 1,\n \"token\": null,\n \"payments\": [\n {\n \"id\": 277,\n \"customerBookingId\": 237,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 120,\n \"gateway\": \"wc\",\n \"gatewayTitle\": \"Check payments\",\n \"dateTime\": \"2023-04-25 16:32:11\",\n \"status\": \"paid\",\n \"data\": \"\",\n \"entity\": null,\n \"created\": \"2023-04-25 14:32:11\",\n \"actionsCompleted\": null,\n \"wcOrderId\": 330,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": 20\n }\n ],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": null,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [],\n \"duration\": 1800,\n \"created\": \"2023-04-25 14:32:11\",\n \"actionsCompleted\": null\n },\n {\n \"id\": 238,\n \"customerId\": 11,\n \"customer\": {\n \"id\": 11,\n \"firstName\": \"Amelia\",\n \"lastName\": \"Test\",\n \"birthday\": null,\n \"email\": \"amelia@test.test\",\n \"phone\": null,\n \"type\": \"customer\",\n \"status\": \"visible\",\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": null,\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": null,\n \"gender\": null\n },\n \"status\": \"approved\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 100,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"type\\\":\\\"text\\\",\\\"value\\\":\\\"\\\"}}\",\n \"info\": \"{\\\"firstName\\\":\\\"Amelia\\\",\\\"lastName\\\":\\\"Test\\\",\\\"phone\\\":null,\\\"locale\\\":\\\"en_US\\\",\\\"timeZone\\\":\\\"Europe\\\\/Belgrade\\\",\\\"urlParams\\\":null}\",\n \"appointmentId\": 157,\n \"persons\": 1,\n \"token\": null,\n \"payments\": [\n {\n \"id\": 278,\n \"customerBookingId\": 238,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 120,\n \"gateway\": \"wc\",\n \"gatewayTitle\": \"Check payments\",\n \"dateTime\": \"2023-04-25 16:42:44\",\n \"status\": \"paid\",\n \"data\": \"\",\n \"entity\": null,\n \"created\": \"2023-04-25 14:42:44\",\n \"actionsCompleted\": null,\n \"wcOrderId\": 331,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": 20\n }\n ],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": null,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [],\n \"duration\": 1800,\n \"created\": \"2023-04-25 14:42:44\",\n \"actionsCompleted\": null\n }\n ],\n \"notifyParticipants\": 1,\n \"internalNotes\": \"\",\n \"status\": \"pending\",\n \"serviceId\": 2,\n \"parentId\": null,\n \"providerId\": 1,\n \"locationId\": 1,\n \"provider\": null,\n \"service\": null,\n \"location\": null,\n \"googleCalendarEventId\": \"9v21b37kr4gsi19tabjtt97404\",\n \"googleMeetUrl\": null,\n \"outlookCalendarEventId\": null,\n \"zoomMeeting\": null,\n \"lessonSpace\": null,\n \"bookingStart\": \"2023-05-10 11:00:00\",\n \"bookingEnd\": \"2023-05-10 11:30:00\",\n \"type\": \"appointment\",\n \"isRescheduled\": null,\n \"resources\": [],\n \"cancelable\": true,\n \"reschedulable\": true,\n \"past\": false,\n \"isGroup\": false\n }\n ]\n }\n },\n \"availablePackageBookings\": [],\n \"emptyPackageBookings\": [],\n \"occupied\": [],\n \"total\": 2,\n \"totalApproved\": 1,\n \"totalPending\": 1,\n \"currentUser\": {\n \"id\": null,\n \"firstName\": \"AmeliaApi\",\n \"lastName\": \"AmeliaApi\",\n \"birthday\": null,\n \"email\": \"admin@amelia.api\",\n \"phone\": null,\n \"type\": \"admin\",\n \"status\": \"visible\",\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": null,\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": null\n }\n }\n}"
2224 }
2225 ]
2226 }
2227 ]
2228 },
2229 {
2230 "name": "Bookings",
2231 "item": [
2232 {
2233 "name": "add booking",
2234 "request": {
2235 "method": "POST",
2236 "header": [],
2237 "body": {
2238 "mode": "raw",
2239 "raw": "{\n \"type\": \"appointment\", // required; string\n \"bookings\": [ // required; array\n {\n \"extras\": [],\n \"customFields\": {\n \"1\": { // id of custom field\n \"label\": \"text\",\n \"type\": \"text\",\n \"value\": \"custom field value\"\n }\n },\n \"deposit\": true,\n \"locale\": \"en_US\",\n \"utcOffset\": null,\n \"persons\": 1,\n \"customerId\": null,\n \"customer\": {\n \"id\": null,\n \"firstName\": \"Rob\",\n \"lastName\": \"Stark\",\n \"email\": \"robstark@test.test\",\n \"phone\": \"\",\n \"countryPhoneIso\": \"\",\n \"externalId\": null\n },\n \"duration\": 1800\n }\n ],\n \"payment\": {\n \"gateway\": \"onSite\",\n \"currency\": \"USD\",\n \"data\": {}\n },\n \"recaptcha\": null,\n \"locale\": \"en_US\",\n \"timeZone\": \"Europe/Belgrade\",\n \"bookingStart\": \"2023-09-06 19:30\",\n \"notifyParticipants\": 1,\n \"locationId\": 2,\n \"providerId\": 1,\n \"serviceId\": 1,\n \"utcOffset\": null,\n \"recurring\": [],\n \"package\": [],\n \"couponCode\": null,\n \"runInstantPostBookingActions\": false // whether to run post booking actions (sending emails, adding google calendar events, creating a zoom meeting) in this api call\n // false by default, call /bookings/success/{booking_id} endpoint\n}",
2240 "options": {
2241 "raw": {
2242 "language": "json"
2243 }
2244 }
2245 },
2246 "url": {
2247 "raw": "{{admin_ajax_url}}/bookings",
2248 "host": [
2249 "{{admin_ajax_url}}"
2250 ],
2251 "path": [
2252 "bookings"
2253 ]
2254 }
2255 },
2256 "response": [
2257 {
2258 "name": "add booking",
2259 "originalRequest": {
2260 "method": "POST",
2261 "header": [],
2262 "body": {
2263 "mode": "raw",
2264 "raw": "{\n \"type\": \"appointment\",\n \"bookings\": [\n {\n \"extras\": [],\n \"customFields\": {\n \"1\": {\n \"label\": \"text\",\n \"type\": \"text\",\n \"value\": \"custom field value\"\n }\n },\n \"deposit\": true,\n \"locale\": \"en_US\",\n \"utcOffset\": null,\n \"persons\": 1,\n \"customerId\": null,\n \"customer\": {\n \"id\": null,\n \"firstName\": \"Amelia\",\n \"lastName\": \"Test\",\n \"email\": \"amelia@test.test\",\n \"phone\": \"\",\n \"countryPhoneIso\": \"\",\n \"externalId\": null\n },\n \"duration\": 1800\n }\n ],\n \"payment\": {\n \"gateway\": \"onSite\",\n \"currency\": \"USD\",\n \"data\": {}\n },\n \"recaptcha\": null,\n \"locale\": \"en_US\",\n \"timeZone\": \"Europe/Belgrade\",\n \"componentProps\": null,\n \"returnUrl\": \"http://localhost/amelia/index.php/booking/\",\n \"bookingStart\": \"2023-05-22 12:30\",\n \"notifyParticipants\": 1,\n \"locationId\": 1,\n \"providerId\": 3,\n \"serviceId\": 1,\n \"utcOffset\": null,\n \"recurring\": [],\n \"package\": [],\n \"couponCode\": null\n}",
2265 "options": {
2266 "raw": {
2267 "language": "json"
2268 }
2269 }
2270 },
2271 "url": {
2272 "raw": "{{admin_ajax_url}}/bookings",
2273 "host": [
2274 "{{admin_ajax_url}}"
2275 ],
2276 "path": [
2277 "bookings"
2278 ]
2279 }
2280 },
2281 "status": "OK",
2282 "code": 200,
2283 "_postman_previewlanguage": "json",
2284 "header": [
2285 {
2286 "key": "Date",
2287 "value": "Fri, 28 Apr 2023 13:57:02 GMT"
2288 },
2289 {
2290 "key": "Server",
2291 "value": "Apache/2.4.52 (Ubuntu)"
2292 },
2293 {
2294 "key": "X-Robots-Tag",
2295 "value": "noindex"
2296 },
2297 {
2298 "key": "X-Content-Type-Options",
2299 "value": "nosniff"
2300 },
2301 {
2302 "key": "Expires",
2303 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
2304 },
2305 {
2306 "key": "Cache-Control",
2307 "value": "no-cache, must-revalidate, max-age=0"
2308 },
2309 {
2310 "key": "Referrer-Policy",
2311 "value": "strict-origin-when-cross-origin"
2312 },
2313 {
2314 "key": "X-Frame-Options",
2315 "value": "SAMEORIGIN"
2316 },
2317 {
2318 "key": "Content-Length",
2319 "value": "5670"
2320 },
2321 {
2322 "key": "Keep-Alive",
2323 "value": "timeout=5, max=100"
2324 },
2325 {
2326 "key": "Connection",
2327 "value": "Keep-Alive"
2328 },
2329 {
2330 "key": "Content-Type",
2331 "value": "application/json;charset=utf-8"
2332 }
2333 ],
2334 "cookie": [],
2335 "body": "{\n \"message\": \"Successfully added booking\",\n \"data\": {\n \"type\": \"appointment\",\n \"appointment\": {\n \"id\": 175,\n \"bookings\": [\n {\n \"id\": 256,\n \"customerId\": 11,\n \"customer\": {\n \"id\": 11,\n \"firstName\": \"Amelia\",\n \"lastName\": \"Test\",\n \"birthday\": null,\n \"email\": \"amelia@test.test\",\n \"phone\": null,\n \"type\": \"customer\",\n \"status\": null,\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": null,\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": \"{\\\"defaultLanguage\\\":\\\"en_US\\\"}\",\n \"gender\": null\n },\n \"status\": \"approved\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 20,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"type\\\":\\\"text\\\",\\\"value\\\":\\\"custom field value\\\"}}\",\n \"info\": \"{\\\"firstName\\\":\\\"Amelia\\\",\\\"lastName\\\":\\\"Test\\\",\\\"phone\\\":null,\\\"locale\\\":\\\"en_US\\\",\\\"timeZone\\\":\\\"Europe\\\\/Belgrade\\\",\\\"urlParams\\\":null}\",\n \"appointmentId\": 175,\n \"persons\": 1,\n \"token\": \"85c63617ef\",\n \"payments\": [\n {\n \"id\": 297,\n \"customerBookingId\": 256,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 0,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-22 12:30:00\",\n \"status\": \"pending\",\n \"data\": \"\",\n \"entity\": \"appointment\",\n \"created\": null,\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n ],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": null,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [],\n \"duration\": 1800,\n \"created\": null,\n \"actionsCompleted\": false\n }\n ],\n \"notifyParticipants\": 1,\n \"internalNotes\": null,\n \"status\": \"approved\",\n \"serviceId\": 1,\n \"parentId\": null,\n \"providerId\": 3,\n \"locationId\": 1,\n \"provider\": null,\n \"service\": null,\n \"location\": {\n \"id\": 1,\n \"status\": \"visible\",\n \"name\": \"location1\",\n \"description\": \"\",\n \"address\": \"\",\n \"phone\": \"\",\n \"latitude\": 40.748441,\n \"longitude\": -73.987853,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"pin\": \"\",\n \"translations\": null\n },\n \"googleCalendarEventId\": null,\n \"googleMeetUrl\": null,\n \"outlookCalendarEventId\": null,\n \"zoomMeeting\": null,\n \"lessonSpace\": null,\n \"bookingStart\": \"2023-05-22 12:30:00\",\n \"bookingEnd\": \"2023-05-22 13:00:00\",\n \"type\": \"appointment\",\n \"isRescheduled\": null,\n \"resources\": []\n },\n \"booking\": {\n \"id\": 256,\n \"customerId\": 11,\n \"customer\": {\n \"id\": 11,\n \"firstName\": \"Amelia\",\n \"lastName\": \"Test\",\n \"birthday\": null,\n \"email\": \"amelia@test.test\",\n \"phone\": null,\n \"type\": \"customer\",\n \"status\": null,\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": null,\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": \"{\\\"defaultLanguage\\\":\\\"en_US\\\"}\",\n \"gender\": null\n },\n \"status\": \"approved\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 20,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"type\\\":\\\"text\\\",\\\"value\\\":\\\"custom field value\\\"}}\",\n \"info\": \"{\\\"firstName\\\":\\\"Amelia\\\",\\\"lastName\\\":\\\"Test\\\",\\\"phone\\\":null,\\\"locale\\\":\\\"en_US\\\",\\\"timeZone\\\":\\\"Europe\\\\/Belgrade\\\",\\\"urlParams\\\":null}\",\n \"appointmentId\": 175,\n \"persons\": 1,\n \"token\": \"85c63617ef\",\n \"payments\": [\n {\n \"id\": 297,\n \"customerBookingId\": 256,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 0,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-22 12:30:00\",\n \"status\": \"pending\",\n \"data\": \"\",\n \"entity\": \"appointment\",\n \"created\": null,\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n ],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": null,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [],\n \"duration\": 1800,\n \"created\": null,\n \"actionsCompleted\": false\n },\n \"utcTime\": [\n {\n \"start\": \"2023-05-22 10:30:00\",\n \"end\": \"2023-05-22 11:00:00\"\n }\n ],\n \"appointmentStatusChanged\": false,\n \"recurring\": [],\n \"package\": [],\n \"packageId\": null,\n \"customer\": {\n \"id\": 11,\n \"firstName\": \"Amelia\",\n \"lastName\": \"Test\",\n \"birthday\": null,\n \"email\": \"amelia@test.test\",\n \"phone\": null,\n \"type\": \"customer\",\n \"status\": null,\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": null,\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": \"{\\\"defaultLanguage\\\":\\\"en_US\\\"}\",\n \"gender\": null,\n \"locale\": \"en_US\",\n \"timeZone\": \"Europe/Belgrade\"\n },\n \"bookable\": {\n \"id\": 1,\n \"name\": \"amelia service\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 20,\n \"deposit\": 5,\n \"depositPayment\": \"fixed\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [\n {\n \"id\": 4,\n \"name\": \"extra1\",\n \"description\": null,\n \"price\": 10,\n \"maxQuantity\": 5,\n \"position\": 1,\n \"duration\": null,\n \"serviceId\": null,\n \"aggregatedPrice\": false,\n \"translations\": null\n }\n ],\n \"coupons\": [],\n \"position\": null,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":true},\\\"stripe\\\":{\\\"enabled\\\":true},\\\"mollie\\\":{\\\"enabled\\\":true},\\\"razorpay\\\":{\\\"enabled\\\":true},\\\"square\\\":{\\\"enabled\\\":true}},\\\"zoom\\\":{\\\"enabled\\\":false},\\\"lessonSpace\\\":{\\\"enabled\\\":false},\\\"activation\\\":{\\\"version\\\":\\\"6.2.3\\\"}}\",\n \"fullPayment\": true,\n \"minCapacity\": 1,\n \"maxCapacity\": 10,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": null,\n \"recurringSub\": null,\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": null,\n \"customPricing\": \"{\\\"enabled\\\":false,\\\"durations\\\":{\\\"3600\\\":{\\\"price\\\":30,\\\"rules\\\":[]},\\\"5400\\\":{\\\"price\\\":40,\\\"rules\\\":[]}}}\",\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1,\\\"from\\\":\\\"bookingDate\\\"}\"\n },\n \"paymentId\": 297,\n \"packageCustomerId\": null,\n \"payment\": {\n \"id\": 297,\n \"customerBookingId\": 256,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 0,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-22 12:30:00\",\n \"status\": \"pending\",\n \"data\": \"\",\n \"entity\": \"appointment\",\n \"created\": null,\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n },\n \"customerCabinetUrl\": \"http://localhost/static_amelia/index.php/customer-panel\"\n }\n}"
2336 }
2337 ]
2338 },
2339 {
2340 "name": "add event booking",
2341 "request": {
2342 "method": "POST",
2343 "header": [],
2344 "body": {
2345 "mode": "raw",
2346 "raw": "{\n \"type\": \"event\", // required\n \"bookings\": [ // required\n {\n \"customer\": {\n \"email\": \"amelia@test.test\",\n \"externalId\": null,\n \"firstName\": \"Amelia\",\n \"id\": null,\n \"lastName\": \"Test\",\n \"phone\": \"\",\n \"countryPhoneIso\": \"rs\"\n },\n \"customFields\": {\n \"1\": {\n \"label\": \"text\",\n \"value\": \"\",\n \"type\": \"text\"\n }\n },\n \"customerId\": 0,\n \"persons\": 1,\n \"ticketsData\": null,\n \"utcOffset\": null,\n \"deposit\": false\n }\n ],\n \"payment\": {\n \"amount\": \"20.00\",\n \"gateway\": \"onSite\",\n \"currency\": \"USD\"\n },\n \"recaptcha\": false,\n \"locale\": \"en_US\",\n \"timeZone\": \"Europe/Belgrade\",\n \"couponCode\": \"\",\n \"eventId\": 80\n}",
2347 "options": {
2348 "raw": {
2349 "language": "json"
2350 }
2351 }
2352 },
2353 "url": {
2354 "raw": "{{admin_ajax_url}}/bookings",
2355 "host": [
2356 "{{admin_ajax_url}}"
2357 ],
2358 "path": [
2359 "bookings"
2360 ]
2361 }
2362 },
2363 "response": [
2364 {
2365 "name": "add event booking",
2366 "originalRequest": {
2367 "method": "POST",
2368 "header": [],
2369 "body": {
2370 "mode": "raw",
2371 "raw": "{\n \"type\": \"event\",\n \"bookings\": [\n {\n \"customer\": {\n \"email\": \"amelia@test.test\",\n \"externalId\": null,\n \"firstName\": \"Amelia\",\n \"id\": null,\n \"lastName\": \"Test\",\n \"phone\": \"\",\n \"countryPhoneIso\": \"rs\"\n },\n \"customFields\": {\n \"1\": {\n \"label\": \"text\",\n \"value\": \"\",\n \"type\": \"text\"\n }\n },\n \"customerId\": 0,\n \"extras\": [],\n \"persons\": 1,\n \"ticketsData\": null,\n \"utcOffset\": null,\n \"deposit\": false\n }\n ],\n \"payment\": {\n \"amount\": \"20.00\",\n \"gateway\": \"onSite\",\n \"currency\": \"USD\"\n },\n \"recaptcha\": false,\n \"locale\": \"en_US\",\n \"timeZone\": \"Europe/Belgrade\",\n \"couponCode\": \"\",\n \"returnUrl\": \"http://localhost/amelia/index.php/event-list/\",\n \"eventId\": 16\n}",
2372 "options": {
2373 "raw": {
2374 "language": "json"
2375 }
2376 }
2377 },
2378 "url": {
2379 "raw": "{{admin_ajax_url}}/bookings",
2380 "host": [
2381 "{{admin_ajax_url}}"
2382 ],
2383 "path": [
2384 "bookings"
2385 ]
2386 }
2387 },
2388 "status": "OK",
2389 "code": 200,
2390 "_postman_previewlanguage": "json",
2391 "header": [
2392 {
2393 "key": "Date",
2394 "value": "Fri, 28 Apr 2023 14:04:18 GMT"
2395 },
2396 {
2397 "key": "Server",
2398 "value": "Apache/2.4.52 (Ubuntu)"
2399 },
2400 {
2401 "key": "X-Robots-Tag",
2402 "value": "noindex"
2403 },
2404 {
2405 "key": "X-Content-Type-Options",
2406 "value": "nosniff"
2407 },
2408 {
2409 "key": "Expires",
2410 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
2411 },
2412 {
2413 "key": "Cache-Control",
2414 "value": "no-cache, must-revalidate, max-age=0"
2415 },
2416 {
2417 "key": "Referrer-Policy",
2418 "value": "strict-origin-when-cross-origin"
2419 },
2420 {
2421 "key": "X-Frame-Options",
2422 "value": "SAMEORIGIN"
2423 },
2424 {
2425 "key": "Keep-Alive",
2426 "value": "timeout=5, max=100"
2427 },
2428 {
2429 "key": "Connection",
2430 "value": "Keep-Alive"
2431 },
2432 {
2433 "key": "Transfer-Encoding",
2434 "value": "chunked"
2435 },
2436 {
2437 "key": "Content-Type",
2438 "value": "application/json;charset=utf-8"
2439 }
2440 ],
2441 "cookie": [],
2442 "body": "{\n \"message\": \"Successfully added booking\",\n \"data\": {\n \"type\": \"event\",\n \"event\": {\n \"id\": 16,\n \"name\": \"test5\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 20,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": null,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":true},\\\"stripe\\\":{\\\"enabled\\\":true},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false}},\\\"general\\\":{\\\"minimumTimeRequirementPriorToCanceling\\\":null,\\\"redirectUrlAfterAppointment\\\":null},\\\"zoom\\\":{\\\"enabled\\\":true},\\\"lessonSpace\\\":{\\\"enabled\\\":true}}\",\n \"fullPayment\": false,\n \"bookings\": [\n {\n \"id\": 258,\n \"customerId\": 11,\n \"customer\": {\n \"id\": 11,\n \"firstName\": \"Amelia\",\n \"lastName\": \"Test\",\n \"birthday\": null,\n \"email\": \"amelia@test.test\",\n \"phone\": null,\n \"type\": \"customer\",\n \"status\": null,\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": \"rs\",\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": \"{\\\"defaultLanguage\\\":\\\"en_US\\\"}\",\n \"gender\": null\n },\n \"status\": \"approved\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 20,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"value\\\":\\\"\\\",\\\"type\\\":\\\"text\\\"}}\",\n \"info\": \"{\\\"firstName\\\":\\\"Amelia\\\",\\\"lastName\\\":\\\"Test\\\",\\\"phone\\\":null,\\\"locale\\\":\\\"en_US\\\",\\\"timeZone\\\":\\\"Europe\\\\/Belgrade\\\",\\\"urlParams\\\":null}\",\n \"appointmentId\": null,\n \"persons\": 1,\n \"token\": \"37dac22dac\",\n \"payments\": [\n {\n \"id\": 299,\n \"customerBookingId\": 258,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 0,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-20 15:00:00\",\n \"status\": \"pending\",\n \"data\": \"\",\n \"entity\": \"event\",\n \"created\": null,\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n ],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": null,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [],\n \"duration\": null,\n \"created\": null,\n \"actionsCompleted\": false\n }\n ],\n \"periods\": [\n {\n \"id\": 16,\n \"eventId\": 16,\n \"periodStart\": \"2023-05-20 15:00:00\",\n \"periodEnd\": \"2023-05-20 23:00:00\",\n \"zoomMeeting\": null,\n \"lessonSpace\": null,\n \"bookings\": [],\n \"googleCalendarEventId\": null,\n \"googleMeetUrl\": null,\n \"outlookCalendarEventId\": null\n }\n ],\n \"bookingOpens\": null,\n \"bookingCloses\": null,\n \"bookingOpensRec\": \"same\",\n \"bookingClosesRec\": \"same\",\n \"ticketRangeRec\": \"calculate\",\n \"status\": \"approved\",\n \"recurring\": {\n \"cycle\": \"monthly\",\n \"order\": 3,\n \"until\": \"2023-05-21 02:00:00\",\n \"cycleInterval\": 1,\n \"monthlyRepeat\": \"each\",\n \"monthDate\": \"2023-03-20 14:00:00\",\n \"monthlyOnRepeat\": null,\n \"monthlyOnDay\": null\n },\n \"maxCapacity\": 70,\n \"maxCustomCapacity\": null,\n \"show\": true,\n \"tags\": [],\n \"customTickets\": [],\n \"gallery\": [],\n \"providers\": [],\n \"notifyParticipants\": 1,\n \"locationId\": null,\n \"location\": null,\n \"customLocation\": null,\n \"parentId\": 14,\n \"created\": \"2023-03-17 16:17:27\",\n \"zoomUserId\": null,\n \"organizerId\": null,\n \"type\": \"event\",\n \"bringingAnyone\": false,\n \"bookMultipleTimes\": true,\n \"translations\": null,\n \"customPricing\": false,\n \"closeAfterMin\": null,\n \"closeAfterMinBookings\": false,\n \"maxExtraPeople\": null,\n \"initialEventStart\": null,\n \"initialEventEnd\": null\n },\n \"booking\": {\n \"id\": 258,\n \"customerId\": 11,\n \"customer\": {\n \"id\": 11,\n \"firstName\": \"Amelia\",\n \"lastName\": \"Test\",\n \"birthday\": null,\n \"email\": \"amelia@test.test\",\n \"phone\": null,\n \"type\": \"customer\",\n \"status\": null,\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": \"rs\",\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": \"{\\\"defaultLanguage\\\":\\\"en_US\\\"}\",\n \"gender\": null\n },\n \"status\": \"approved\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 20,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"value\\\":\\\"\\\",\\\"type\\\":\\\"text\\\"}}\",\n \"info\": \"{\\\"firstName\\\":\\\"Amelia\\\",\\\"lastName\\\":\\\"Test\\\",\\\"phone\\\":null,\\\"locale\\\":\\\"en_US\\\",\\\"timeZone\\\":\\\"Europe\\\\/Belgrade\\\",\\\"urlParams\\\":null}\",\n \"appointmentId\": null,\n \"persons\": 1,\n \"token\": \"37dac22dac\",\n \"payments\": [\n {\n \"id\": 299,\n \"customerBookingId\": 258,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 0,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-20 15:00:00\",\n \"status\": \"pending\",\n \"data\": \"\",\n \"entity\": \"event\",\n \"created\": null,\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n ],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": null,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [],\n \"duration\": null,\n \"created\": null,\n \"actionsCompleted\": false\n },\n \"utcTime\": [\n {\n \"start\": \"2023-05-20 13:00:00\",\n \"end\": \"2023-05-20 21:00:00\"\n }\n ],\n \"appointmentStatusChanged\": false,\n \"recurring\": [],\n \"package\": [],\n \"packageId\": null,\n \"customer\": {\n \"id\": 11,\n \"firstName\": \"Amelia\",\n \"lastName\": \"Test\",\n \"birthday\": null,\n \"email\": \"amelia@test.test\",\n \"phone\": null,\n \"type\": \"customer\",\n \"status\": null,\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": \"rs\",\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": \"{\\\"defaultLanguage\\\":\\\"en_US\\\"}\",\n \"gender\": null,\n \"locale\": \"en_US\",\n \"timeZone\": \"Europe/Belgrade\"\n },\n \"bookable\": {\n \"id\": 16,\n \"name\": \"test5\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 20,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": null,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":true},\\\"stripe\\\":{\\\"enabled\\\":true},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false}},\\\"general\\\":{\\\"minimumTimeRequirementPriorToCanceling\\\":null,\\\"redirectUrlAfterAppointment\\\":null},\\\"zoom\\\":{\\\"enabled\\\":true},\\\"lessonSpace\\\":{\\\"enabled\\\":true}}\",\n \"fullPayment\": false,\n \"bookings\": [\n {\n \"id\": 173,\n \"customerId\": 17,\n \"customer\": null,\n \"status\": \"approved\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 0,\n \"coupon\": null,\n \"customFields\": null,\n \"info\": \"{\\\"firstName\\\":\\\"Avatar\\\",\\\"lastName\\\":\\\"Last Airbender\\\",\\\"phone\\\":null,\\\"locale\\\":\\\"en_US\\\",\\\"timeZone\\\":\\\"Europe\\\\/Belgrade\\\",\\\"urlParams\\\":null}\",\n \"appointmentId\": null,\n \"persons\": 1,\n \"token\": null,\n \"payments\": [],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": null,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [],\n \"duration\": null,\n \"created\": null,\n \"actionsCompleted\": null\n },\n {\n \"id\": 174,\n \"customerId\": 18,\n \"customer\": null,\n \"status\": \"approved\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 20,\n \"coupon\": null,\n \"customFields\": null,\n \"info\": \"{\\\"firstName\\\":\\\"Ivana\\\",\\\"lastName\\\":\\\"Nikolic\\\",\\\"phone\\\":null,\\\"locale\\\":\\\"en_US\\\",\\\"timeZone\\\":\\\"Europe\\\\/Belgrade\\\",\\\"urlParams\\\":null}\",\n \"appointmentId\": null,\n \"persons\": 1,\n \"token\": null,\n \"payments\": [],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": null,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [],\n \"duration\": null,\n \"created\": null,\n \"actionsCompleted\": null\n },\n {\n \"id\": 257,\n \"customerId\": 11,\n \"customer\": null,\n \"status\": \"approved\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 20,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"value\\\":\\\"\\\",\\\"type\\\":\\\"text\\\"}}\",\n \"info\": \"{\\\"firstName\\\":\\\"Amelia\\\",\\\"lastName\\\":\\\"Test\\\",\\\"phone\\\":null,\\\"locale\\\":\\\"en_US\\\",\\\"timeZone\\\":\\\"Europe\\\\/Belgrade\\\",\\\"urlParams\\\":null}\",\n \"appointmentId\": null,\n \"persons\": 1,\n \"token\": null,\n \"payments\": [],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": null,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [],\n \"duration\": null,\n \"created\": null,\n \"actionsCompleted\": null\n },\n {\n \"id\": 258,\n \"customerId\": 11,\n \"customer\": {\n \"id\": 11,\n \"firstName\": \"Amelia\",\n \"lastName\": \"Test\",\n \"birthday\": null,\n \"email\": \"amelia@test.test\",\n \"phone\": null,\n \"type\": \"customer\",\n \"status\": null,\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": \"rs\",\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": \"{\\\"defaultLanguage\\\":\\\"en_US\\\"}\",\n \"gender\": null\n },\n \"status\": \"approved\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 20,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"value\\\":\\\"\\\",\\\"type\\\":\\\"text\\\"}}\",\n \"info\": \"{\\\"firstName\\\":\\\"Amelia\\\",\\\"lastName\\\":\\\"Test\\\",\\\"phone\\\":null,\\\"locale\\\":\\\"en_US\\\",\\\"timeZone\\\":\\\"Europe\\\\/Belgrade\\\",\\\"urlParams\\\":null}\",\n \"appointmentId\": null,\n \"persons\": 1,\n \"token\": \"37dac22dac\",\n \"payments\": [\n {\n \"id\": 299,\n \"customerBookingId\": 258,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 0,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-20 15:00:00\",\n \"status\": \"pending\",\n \"data\": \"\",\n \"entity\": \"event\",\n \"created\": null,\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n ],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": null,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [],\n \"duration\": null,\n \"created\": null,\n \"actionsCompleted\": false\n }\n ],\n \"periods\": [\n {\n \"id\": 16,\n \"eventId\": 16,\n \"periodStart\": \"2023-05-20 15:00:00\",\n \"periodEnd\": \"2023-05-20 23:00:00\",\n \"zoomMeeting\": null,\n \"lessonSpace\": null,\n \"bookings\": [],\n \"googleCalendarEventId\": null,\n \"googleMeetUrl\": null,\n \"outlookCalendarEventId\": null\n }\n ],\n \"bookingOpens\": null,\n \"bookingCloses\": null,\n \"bookingOpensRec\": \"same\",\n \"bookingClosesRec\": \"same\",\n \"ticketRangeRec\": \"calculate\",\n \"status\": \"approved\",\n \"recurring\": {\n \"cycle\": \"monthly\",\n \"order\": 3,\n \"until\": \"2023-05-21 02:00:00\",\n \"cycleInterval\": 1,\n \"monthlyRepeat\": \"each\",\n \"monthDate\": \"2023-03-20 14:00:00\",\n \"monthlyOnRepeat\": null,\n \"monthlyOnDay\": null\n },\n \"maxCapacity\": 70,\n \"maxCustomCapacity\": null,\n \"show\": true,\n \"tags\": [],\n \"customTickets\": [],\n \"gallery\": [],\n \"providers\": [],\n \"notifyParticipants\": 1,\n \"locationId\": null,\n \"location\": null,\n \"customLocation\": null,\n \"parentId\": 14,\n \"created\": \"2023-03-17 16:17:27\",\n \"zoomUserId\": null,\n \"organizerId\": null,\n \"type\": \"event\",\n \"bringingAnyone\": false,\n \"bookMultipleTimes\": true,\n \"translations\": null,\n \"customPricing\": false,\n \"closeAfterMin\": null,\n \"closeAfterMinBookings\": false,\n \"maxExtraPeople\": null,\n \"initialEventStart\": null,\n \"initialEventEnd\": null\n },\n \"paymentId\": 299,\n \"packageCustomerId\": null,\n \"payment\": {\n \"id\": 299,\n \"customerBookingId\": 258,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 0,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-20 15:00:00\",\n \"status\": \"pending\",\n \"data\": \"\",\n \"entity\": \"event\",\n \"created\": null,\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n },\n \"customerCabinetUrl\": \"http://localhost/static_amelia/index.php/customer-panel\"\n }\n}"
2443 }
2444 ]
2445 },
2446 {
2447 "name": "add event ticket booking",
2448 "request": {
2449 "method": "POST",
2450 "header": [],
2451 "body": {
2452 "mode": "raw",
2453 "raw": "{\n \"type\": \"event\", // required\n \"bookings\": [ // required\n {\n \"customer\": {\n \"email\": \"amelia@test.test\",\n \"externalId\": null,\n \"firstName\": \"Amelia\",\n \"id\": null,\n \"lastName\": \"Test\",\n \"phone\": \"\",\n \"countryPhoneIso\": \"rs\"\n },\n \"customFields\": {\n \"1\": {\n \"label\": \"text\",\n \"value\": \"\",\n \"type\": \"text\"\n }\n },\n \"customerId\": 0,\n \"extras\": [],\n \"persons\": 1,\n \"ticketsData\": [\n {\n \"eventTicketId\": 28,\n \"persons\": 2\n }\n ],\n \"utcOffset\": null,\n \"deposit\": false\n }\n ],\n \"payment\": {\n \"amount\": \"40.00\",\n \"gateway\": \"onSite\",\n \"currency\": \"USD\"\n },\n \"recaptcha\": false,\n \"locale\": \"en_US\",\n \"timeZone\": \"Europe/Belgrade\",\n \"couponCode\": \"\",\n \"eventId\": 66\n}",
2454 "options": {
2455 "raw": {
2456 "language": "json"
2457 }
2458 }
2459 },
2460 "url": {
2461 "raw": "{{admin_ajax_url}}/bookings",
2462 "host": [
2463 "{{admin_ajax_url}}"
2464 ],
2465 "path": [
2466 "bookings"
2467 ]
2468 }
2469 },
2470 "response": [
2471 {
2472 "name": "add event ticket booking",
2473 "originalRequest": {
2474 "method": "POST",
2475 "header": [],
2476 "body": {
2477 "mode": "raw",
2478 "raw": "{\n \"type\": \"event\",\n \"bookings\": [\n {\n \"customer\": {\n \"email\": \"amelia@test.test\",\n \"externalId\": null,\n \"firstName\": \"Amelia\",\n \"id\": null,\n \"lastName\": \"Test\",\n \"phone\": \"\",\n \"countryPhoneIso\": \"rs\"\n },\n \"customFields\": {\n \"1\": {\n \"label\": \"text\",\n \"value\": \"\",\n \"type\": \"text\"\n }\n },\n \"customerId\": 0,\n \"extras\": [],\n \"persons\": 1,\n \"ticketsData\": [\n {\n \"id\": 0,\n \"customerBookingId\": null,\n \"eventTicketId\": 25,\n \"persons\": 0,\n \"price\": 20,\n \"name\": \"ticket2\"\n },\n {\n \"id\": 0,\n \"customerBookingId\": null,\n \"eventTicketId\": 24,\n \"persons\": 2,\n \"price\": 10,\n \"name\": \"ticket1\"\n }\n ],\n \"utcOffset\": null,\n \"deposit\": false\n }\n ],\n \"payment\": {\n \"amount\": \"40.00\",\n \"gateway\": \"onSite\",\n \"currency\": \"USD\"\n },\n \"recaptcha\": false,\n \"locale\": \"en_US\",\n \"timeZone\": \"Europe/Belgrade\",\n \"couponCode\": \"\",\n \"returnUrl\": \"http://localhost/amelia/index.php/event-list/\",\n \"eventId\": 54\n}",
2479 "options": {
2480 "raw": {
2481 "language": "json"
2482 }
2483 }
2484 },
2485 "url": {
2486 "raw": "{{admin_ajax_url}}/bookings",
2487 "host": [
2488 "{{admin_ajax_url}}"
2489 ],
2490 "path": [
2491 "bookings"
2492 ]
2493 }
2494 },
2495 "status": "OK",
2496 "code": 200,
2497 "_postman_previewlanguage": "json",
2498 "header": [
2499 {
2500 "key": "Date",
2501 "value": "Fri, 28 Apr 2023 14:12:37 GMT"
2502 },
2503 {
2504 "key": "Server",
2505 "value": "Apache/2.4.52 (Ubuntu)"
2506 },
2507 {
2508 "key": "X-Robots-Tag",
2509 "value": "noindex"
2510 },
2511 {
2512 "key": "X-Content-Type-Options",
2513 "value": "nosniff"
2514 },
2515 {
2516 "key": "Expires",
2517 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
2518 },
2519 {
2520 "key": "Cache-Control",
2521 "value": "no-cache, must-revalidate, max-age=0"
2522 },
2523 {
2524 "key": "Referrer-Policy",
2525 "value": "strict-origin-when-cross-origin"
2526 },
2527 {
2528 "key": "X-Frame-Options",
2529 "value": "SAMEORIGIN"
2530 },
2531 {
2532 "key": "Keep-Alive",
2533 "value": "timeout=5, max=100"
2534 },
2535 {
2536 "key": "Connection",
2537 "value": "Keep-Alive"
2538 },
2539 {
2540 "key": "Transfer-Encoding",
2541 "value": "chunked"
2542 },
2543 {
2544 "key": "Content-Type",
2545 "value": "application/json;charset=utf-8"
2546 }
2547 ],
2548 "cookie": [],
2549 "body": "{\n \"message\": \"Successfully added booking\",\n \"data\": {\n \"type\": \"event\",\n \"event\": {\n \"id\": 54,\n \"name\": \"tickets event\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 0,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": null,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":false},\\\"stripe\\\":{\\\"enabled\\\":false},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false}},\\\"general\\\":{\\\"minimumTimeRequirementPriorToCanceling\\\":null,\\\"redirectUrlAfterAppointment\\\":null},\\\"zoom\\\":{\\\"enabled\\\":true},\\\"lessonSpace\\\":{\\\"enabled\\\":false}}\",\n \"fullPayment\": false,\n \"bookings\": [\n {\n \"id\": 262,\n \"customerId\": 11,\n \"customer\": {\n \"id\": 11,\n \"firstName\": \"Amelia\",\n \"lastName\": \"Test\",\n \"birthday\": null,\n \"email\": \"amelia@test.test\",\n \"phone\": null,\n \"type\": \"customer\",\n \"status\": null,\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": \"rs\",\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": \"{\\\"defaultLanguage\\\":\\\"en_US\\\"}\",\n \"gender\": null\n },\n \"status\": \"approved\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 20,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"value\\\":\\\"\\\",\\\"type\\\":\\\"text\\\"}}\",\n \"info\": \"{\\\"firstName\\\":\\\"Amelia\\\",\\\"lastName\\\":\\\"Test\\\",\\\"phone\\\":null,\\\"locale\\\":\\\"en_US\\\",\\\"timeZone\\\":\\\"Europe\\\\/Belgrade\\\",\\\"urlParams\\\":null}\",\n \"appointmentId\": null,\n \"persons\": 0,\n \"token\": \"eace84d090\",\n \"payments\": [\n {\n \"id\": 303,\n \"customerBookingId\": 262,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 0,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-17 09:00:00\",\n \"status\": \"pending\",\n \"data\": \"\",\n \"entity\": \"event\",\n \"created\": null,\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n ],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": null,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [\n {\n \"id\": null,\n \"eventTicketId\": 25,\n \"customerBookingId\": null,\n \"persons\": null,\n \"price\": 20\n },\n {\n \"id\": null,\n \"eventTicketId\": 24,\n \"customerBookingId\": null,\n \"persons\": 2,\n \"price\": 10\n }\n ],\n \"duration\": null,\n \"created\": null,\n \"actionsCompleted\": false\n }\n ],\n \"periods\": [\n {\n \"id\": 54,\n \"eventId\": 54,\n \"periodStart\": \"2023-05-17 09:00:00\",\n \"periodEnd\": \"2023-05-17 20:30:00\",\n \"zoomMeeting\": null,\n \"lessonSpace\": null,\n \"bookings\": [],\n \"googleCalendarEventId\": null,\n \"googleMeetUrl\": null,\n \"outlookCalendarEventId\": null\n }\n ],\n \"bookingOpens\": null,\n \"bookingCloses\": null,\n \"bookingOpensRec\": \"same\",\n \"bookingClosesRec\": \"same\",\n \"ticketRangeRec\": \"calculate\",\n \"status\": \"approved\",\n \"recurring\": null,\n \"maxCapacity\": 1,\n \"maxCustomCapacity\": null,\n \"show\": true,\n \"tags\": [],\n \"customTickets\": [\n {\n \"id\": 25,\n \"eventId\": 54,\n \"name\": \"ticket2\",\n \"enabled\": true,\n \"price\": 20,\n \"dateRangePrice\": null,\n \"spots\": 20,\n \"dateRanges\": \"[]\",\n \"sold\": 0,\n \"translations\": null\n },\n {\n \"id\": 24,\n \"eventId\": 54,\n \"name\": \"ticket1\",\n \"enabled\": true,\n \"price\": 10,\n \"dateRangePrice\": null,\n \"spots\": 10,\n \"dateRanges\": \"[]\",\n \"sold\": 0,\n \"translations\": null\n }\n ],\n \"gallery\": [],\n \"providers\": [],\n \"notifyParticipants\": 1,\n \"locationId\": null,\n \"location\": null,\n \"customLocation\": null,\n \"parentId\": null,\n \"created\": \"2023-04-28 16:05:24\",\n \"zoomUserId\": null,\n \"organizerId\": null,\n \"type\": \"event\",\n \"bringingAnyone\": true,\n \"bookMultipleTimes\": true,\n \"translations\": null,\n \"customPricing\": true,\n \"closeAfterMin\": null,\n \"closeAfterMinBookings\": false,\n \"maxExtraPeople\": null,\n \"initialEventStart\": null,\n \"initialEventEnd\": null\n },\n \"booking\": {\n \"id\": 262,\n \"customerId\": 11,\n \"customer\": {\n \"id\": 11,\n \"firstName\": \"Amelia\",\n \"lastName\": \"Test\",\n \"birthday\": null,\n \"email\": \"amelia@test.test\",\n \"phone\": null,\n \"type\": \"customer\",\n \"status\": null,\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": \"rs\",\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": \"{\\\"defaultLanguage\\\":\\\"en_US\\\"}\",\n \"gender\": null\n },\n \"status\": \"approved\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 20,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"value\\\":\\\"\\\",\\\"type\\\":\\\"text\\\"}}\",\n \"info\": \"{\\\"firstName\\\":\\\"Amelia\\\",\\\"lastName\\\":\\\"Test\\\",\\\"phone\\\":null,\\\"locale\\\":\\\"en_US\\\",\\\"timeZone\\\":\\\"Europe\\\\/Belgrade\\\",\\\"urlParams\\\":null}\",\n \"appointmentId\": null,\n \"persons\": 0,\n \"token\": \"eace84d090\",\n \"payments\": [\n {\n \"id\": 303,\n \"customerBookingId\": 262,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 0,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-17 09:00:00\",\n \"status\": \"pending\",\n \"data\": \"\",\n \"entity\": \"event\",\n \"created\": null,\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n ],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": null,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [\n {\n \"id\": null,\n \"eventTicketId\": 25,\n \"customerBookingId\": null,\n \"persons\": null,\n \"price\": 20\n },\n {\n \"id\": null,\n \"eventTicketId\": 24,\n \"customerBookingId\": null,\n \"persons\": 2,\n \"price\": 10\n }\n ],\n \"duration\": null,\n \"created\": null,\n \"actionsCompleted\": false\n },\n \"utcTime\": [\n {\n \"start\": \"2023-05-17 07:00:00\",\n \"end\": \"2023-05-17 18:30:00\"\n }\n ],\n \"appointmentStatusChanged\": false,\n \"recurring\": [],\n \"package\": [],\n \"packageId\": null,\n \"customer\": {\n \"id\": 11,\n \"firstName\": \"Amelia\",\n \"lastName\": \"Test\",\n \"birthday\": null,\n \"email\": \"amelia@test.test\",\n \"phone\": null,\n \"type\": \"customer\",\n \"status\": null,\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": \"rs\",\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": \"{\\\"defaultLanguage\\\":\\\"en_US\\\"}\",\n \"gender\": null,\n \"locale\": \"en_US\",\n \"timeZone\": \"Europe/Belgrade\"\n },\n \"bookable\": {\n \"id\": 54,\n \"name\": \"tickets event\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 0,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": null,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":false},\\\"stripe\\\":{\\\"enabled\\\":false},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false}},\\\"general\\\":{\\\"minimumTimeRequirementPriorToCanceling\\\":null,\\\"redirectUrlAfterAppointment\\\":null},\\\"zoom\\\":{\\\"enabled\\\":true},\\\"lessonSpace\\\":{\\\"enabled\\\":false}}\",\n \"fullPayment\": false,\n \"bookings\": [\n {\n \"id\": 259,\n \"customerId\": 11,\n \"customer\": null,\n \"status\": \"approved\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 40,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"value\\\":\\\"\\\",\\\"type\\\":\\\"text\\\"}}\",\n \"info\": \"{\\\"firstName\\\":\\\"Amelia\\\",\\\"lastName\\\":\\\"Test\\\",\\\"phone\\\":null,\\\"locale\\\":\\\"en_US\\\",\\\"timeZone\\\":\\\"Europe\\\\/Belgrade\\\",\\\"urlParams\\\":null}\",\n \"appointmentId\": null,\n \"persons\": 0,\n \"token\": null,\n \"payments\": [],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": null,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [\n {\n \"id\": 45,\n \"eventTicketId\": 25,\n \"customerBookingId\": 259,\n \"persons\": 2,\n \"price\": 20\n }\n ],\n \"duration\": null,\n \"created\": null,\n \"actionsCompleted\": null\n },\n {\n \"id\": 262,\n \"customerId\": 11,\n \"customer\": {\n \"id\": 11,\n \"firstName\": \"Amelia\",\n \"lastName\": \"Test\",\n \"birthday\": null,\n \"email\": \"amelia@test.test\",\n \"phone\": null,\n \"type\": \"customer\",\n \"status\": null,\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": \"rs\",\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": \"{\\\"defaultLanguage\\\":\\\"en_US\\\"}\",\n \"gender\": null\n },\n \"status\": \"approved\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 20,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"value\\\":\\\"\\\",\\\"type\\\":\\\"text\\\"}}\",\n \"info\": \"{\\\"firstName\\\":\\\"Amelia\\\",\\\"lastName\\\":\\\"Test\\\",\\\"phone\\\":null,\\\"locale\\\":\\\"en_US\\\",\\\"timeZone\\\":\\\"Europe\\\\/Belgrade\\\",\\\"urlParams\\\":null}\",\n \"appointmentId\": null,\n \"persons\": 0,\n \"token\": \"eace84d090\",\n \"payments\": [\n {\n \"id\": 303,\n \"customerBookingId\": 262,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 0,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-17 09:00:00\",\n \"status\": \"pending\",\n \"data\": \"\",\n \"entity\": \"event\",\n \"created\": null,\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n ],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": null,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [\n {\n \"id\": null,\n \"eventTicketId\": 25,\n \"customerBookingId\": null,\n \"persons\": null,\n \"price\": 20\n },\n {\n \"id\": null,\n \"eventTicketId\": 24,\n \"customerBookingId\": null,\n \"persons\": 2,\n \"price\": 10\n }\n ],\n \"duration\": null,\n \"created\": null,\n \"actionsCompleted\": false\n }\n ],\n \"periods\": [\n {\n \"id\": 54,\n \"eventId\": 54,\n \"periodStart\": \"2023-05-17 09:00:00\",\n \"periodEnd\": \"2023-05-17 20:30:00\",\n \"zoomMeeting\": null,\n \"lessonSpace\": null,\n \"bookings\": [],\n \"googleCalendarEventId\": null,\n \"googleMeetUrl\": null,\n \"outlookCalendarEventId\": null\n }\n ],\n \"bookingOpens\": null,\n \"bookingCloses\": null,\n \"bookingOpensRec\": \"same\",\n \"bookingClosesRec\": \"same\",\n \"ticketRangeRec\": \"calculate\",\n \"status\": \"approved\",\n \"recurring\": null,\n \"maxCapacity\": 1,\n \"maxCustomCapacity\": null,\n \"show\": true,\n \"tags\": [],\n \"customTickets\": [\n {\n \"id\": 25,\n \"eventId\": 54,\n \"name\": \"ticket2\",\n \"enabled\": true,\n \"price\": 20,\n \"dateRangePrice\": null,\n \"spots\": 20,\n \"dateRanges\": \"[]\",\n \"sold\": 0,\n \"translations\": null\n },\n {\n \"id\": 24,\n \"eventId\": 54,\n \"name\": \"ticket1\",\n \"enabled\": true,\n \"price\": 10,\n \"dateRangePrice\": null,\n \"spots\": 10,\n \"dateRanges\": \"[]\",\n \"sold\": 0,\n \"translations\": null\n }\n ],\n \"gallery\": [],\n \"providers\": [],\n \"notifyParticipants\": 1,\n \"locationId\": null,\n \"location\": null,\n \"customLocation\": null,\n \"parentId\": null,\n \"created\": \"2023-04-28 16:05:24\",\n \"zoomUserId\": null,\n \"organizerId\": null,\n \"type\": \"event\",\n \"bringingAnyone\": true,\n \"bookMultipleTimes\": true,\n \"translations\": null,\n \"customPricing\": true,\n \"closeAfterMin\": null,\n \"closeAfterMinBookings\": false,\n \"maxExtraPeople\": null,\n \"initialEventStart\": null,\n \"initialEventEnd\": null\n },\n \"paymentId\": 303,\n \"packageCustomerId\": null,\n \"payment\": {\n \"id\": 303,\n \"customerBookingId\": 262,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 0,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-17 09:00:00\",\n \"status\": \"pending\",\n \"data\": \"\",\n \"entity\": \"event\",\n \"created\": null,\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n },\n \"customerCabinetUrl\": \"http://localhost/static_amelia/index.php/customer-panel\"\n }\n}"
2550 }
2551 ]
2552 },
2553 {
2554 "name": "post booking actions",
2555 "event": [
2556 {
2557 "listen": "prerequest",
2558 "script": {
2559 "exec": [
2560 "pm.variables.set('booking_id', 900)"
2561 ],
2562 "type": "text/javascript"
2563 }
2564 }
2565 ],
2566 "request": {
2567 "method": "POST",
2568 "header": [],
2569 "body": {
2570 "mode": "raw",
2571 "raw": "{\n \"type\": \"appointment\",\n \"appointmentStatusChanged\": false, // required\n \"recurring\": [],\n \"packageId\": null,\n \"customerId\": 11,\n \"paymentId\": 916,\n \"packageCustomerId\": null\n}",
2572 "options": {
2573 "raw": {
2574 "language": "json"
2575 }
2576 }
2577 },
2578 "url": {
2579 "raw": "{{admin_ajax_url}}/bookings/success/{{booking_id}}",
2580 "host": [
2581 "{{admin_ajax_url}}"
2582 ],
2583 "path": [
2584 "bookings",
2585 "success",
2586 "{{booking_id}}"
2587 ]
2588 }
2589 },
2590 "response": [
2591 {
2592 "name": "post booking actions",
2593 "originalRequest": {
2594 "method": "POST",
2595 "header": [],
2596 "body": {
2597 "mode": "raw",
2598 "raw": "{\n \"type\": \"appointment\",\n \"appointmentStatusChanged\": false,\n \"recurring\": [],\n \"packageId\": null,\n \"customer\": {\n \"id\": 11,\n \"firstName\": \"Amelia\",\n \"lastName\": \"Test\",\n \"birthday\": null,\n \"email\": \"amelia@test.test\",\n \"phone\": null,\n \"type\": \"customer\",\n \"status\": null,\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": null,\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": \"{\\\"defaultLanguage\\\":\\\"en_US\\\"}\",\n \"gender\": null,\n \"locale\": \"en_US\",\n \"timeZone\": \"Europe/Belgrade\"\n },\n \"paymentId\": 297,\n \"packageCustomerId\": null\n}",
2599 "options": {
2600 "raw": {
2601 "language": "json"
2602 }
2603 }
2604 },
2605 "url": {
2606 "raw": "{{admin_ajax_url}}/bookings/success/{{booking_id}}",
2607 "host": [
2608 "{{admin_ajax_url}}"
2609 ],
2610 "path": [
2611 "bookings",
2612 "success",
2613 "{{booking_id}}"
2614 ]
2615 }
2616 },
2617 "status": "OK",
2618 "code": 200,
2619 "_postman_previewlanguage": "json",
2620 "header": [
2621 {
2622 "key": "Date",
2623 "value": "Fri, 28 Apr 2023 13:59:09 GMT"
2624 },
2625 {
2626 "key": "Server",
2627 "value": "Apache/2.4.52 (Ubuntu)"
2628 },
2629 {
2630 "key": "X-Robots-Tag",
2631 "value": "noindex"
2632 },
2633 {
2634 "key": "X-Content-Type-Options",
2635 "value": "nosniff"
2636 },
2637 {
2638 "key": "Expires",
2639 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
2640 },
2641 {
2642 "key": "Cache-Control",
2643 "value": "no-cache, must-revalidate, max-age=0"
2644 },
2645 {
2646 "key": "Referrer-Policy",
2647 "value": "strict-origin-when-cross-origin"
2648 },
2649 {
2650 "key": "X-Frame-Options",
2651 "value": "SAMEORIGIN"
2652 },
2653 {
2654 "key": "Content-Length",
2655 "value": "48"
2656 },
2657 {
2658 "key": "Keep-Alive",
2659 "value": "timeout=5, max=100"
2660 },
2661 {
2662 "key": "Connection",
2663 "value": "Keep-Alive"
2664 },
2665 {
2666 "key": "Content-Type",
2667 "value": "application/json;charset=utf-8"
2668 }
2669 ],
2670 "cookie": [],
2671 "body": "{\n \"message\": \"Successfully get booking\",\n \"data\": []\n}"
2672 }
2673 ]
2674 },
2675 {
2676 "name": "delete booking",
2677 "event": [
2678 {
2679 "listen": "prerequest",
2680 "script": {
2681 "exec": [
2682 "pm.variables.set('booking_id', 732)"
2683 ],
2684 "type": "text/javascript"
2685 }
2686 }
2687 ],
2688 "request": {
2689 "method": "POST",
2690 "header": [],
2691 "url": {
2692 "raw": "{{admin_ajax_url}}/bookings/delete/{{booking_id}}",
2693 "host": [
2694 "{{admin_ajax_url}}"
2695 ],
2696 "path": [
2697 "bookings",
2698 "delete",
2699 "{{booking_id}}"
2700 ]
2701 }
2702 },
2703 "response": [
2704 {
2705 "name": "delete booking",
2706 "originalRequest": {
2707 "method": "POST",
2708 "header": [],
2709 "url": {
2710 "raw": "{{admin_ajax_url}}/bookings/delete/{{booking_id}}",
2711 "host": [
2712 "{{admin_ajax_url}}"
2713 ],
2714 "path": [
2715 "bookings",
2716 "delete",
2717 "{{booking_id}}"
2718 ]
2719 }
2720 },
2721 "status": "OK",
2722 "code": 200,
2723 "_postman_previewlanguage": "json",
2724 "header": [
2725 {
2726 "key": "Date",
2727 "value": "Fri, 28 Apr 2023 14:22:53 GMT"
2728 },
2729 {
2730 "key": "Server",
2731 "value": "Apache/2.4.52 (Ubuntu)"
2732 },
2733 {
2734 "key": "X-Robots-Tag",
2735 "value": "noindex"
2736 },
2737 {
2738 "key": "X-Content-Type-Options",
2739 "value": "nosniff"
2740 },
2741 {
2742 "key": "Expires",
2743 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
2744 },
2745 {
2746 "key": "Cache-Control",
2747 "value": "no-cache, must-revalidate, max-age=0"
2748 },
2749 {
2750 "key": "Referrer-Policy",
2751 "value": "strict-origin-when-cross-origin"
2752 },
2753 {
2754 "key": "X-Frame-Options",
2755 "value": "SAMEORIGIN"
2756 },
2757 {
2758 "key": "Content-Length",
2759 "value": "2437"
2760 },
2761 {
2762 "key": "Keep-Alive",
2763 "value": "timeout=5, max=100"
2764 },
2765 {
2766 "key": "Connection",
2767 "value": "Keep-Alive"
2768 },
2769 {
2770 "key": "Content-Type",
2771 "value": "application/json;charset=utf-8"
2772 }
2773 ],
2774 "cookie": [],
2775 "body": "{\n \"message\": \"Successfully deleted booking\",\n \"data\": {\n \"appointment\": {\n \"id\": 175,\n \"bookings\": [\n {\n \"id\": 256,\n \"customerId\": 11,\n \"customer\": null,\n \"status\": \"approved\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 20,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"type\\\":\\\"text\\\",\\\"value\\\":\\\"custom field value\\\"}}\",\n \"info\": \"{\\\"firstName\\\":\\\"Amelia\\\",\\\"lastName\\\":\\\"Test\\\",\\\"phone\\\":null,\\\"locale\\\":\\\"en_US\\\",\\\"timeZone\\\":\\\"Europe\\\\/Belgrade\\\",\\\"urlParams\\\":null}\",\n \"appointmentId\": 175,\n \"persons\": 1,\n \"token\": null,\n \"payments\": [\n {\n \"id\": 297,\n \"customerBookingId\": 256,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 0,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-22 12:30:00\",\n \"status\": \"pending\",\n \"data\": \"\",\n \"entity\": null,\n \"created\": null,\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n ],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": true,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [],\n \"duration\": 1800,\n \"created\": null,\n \"actionsCompleted\": null\n }\n ],\n \"notifyParticipants\": 1,\n \"internalNotes\": \"\",\n \"status\": \"rejected\",\n \"serviceId\": 1,\n \"parentId\": null,\n \"providerId\": 3,\n \"locationId\": 1,\n \"provider\": null,\n \"service\": null,\n \"location\": null,\n \"googleCalendarEventId\": null,\n \"googleMeetUrl\": null,\n \"outlookCalendarEventId\": null,\n \"zoomMeeting\": null,\n \"lessonSpace\": null,\n \"bookingStart\": \"2023-05-22 12:30:00\",\n \"bookingEnd\": \"2023-05-22 13:00:00\",\n \"type\": \"appointment\",\n \"isRescheduled\": null,\n \"resources\": []\n },\n \"bookingsWithChangedStatus\": [\n {\n \"id\": 256,\n \"customerId\": 11,\n \"customer\": null,\n \"status\": \"approved\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 20,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"type\\\":\\\"text\\\",\\\"value\\\":\\\"custom field value\\\"}}\",\n \"info\": \"{\\\"firstName\\\":\\\"Amelia\\\",\\\"lastName\\\":\\\"Test\\\",\\\"phone\\\":null,\\\"locale\\\":\\\"en_US\\\",\\\"timeZone\\\":\\\"Europe\\\\/Belgrade\\\",\\\"urlParams\\\":null}\",\n \"appointmentId\": 175,\n \"persons\": 1,\n \"token\": null,\n \"payments\": [\n {\n \"id\": 297,\n \"customerBookingId\": 256,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 0,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-05-22 12:30:00\",\n \"status\": \"pending\",\n \"data\": \"\",\n \"entity\": null,\n \"created\": null,\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n ],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": null,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [],\n \"duration\": 1800,\n \"created\": null,\n \"actionsCompleted\": null\n }\n ],\n \"bookingDeleted\": true,\n \"appointmentDeleted\": true\n }\n}"
2776 }
2777 ]
2778 },
2779 {
2780 "name": "cancel booking",
2781 "event": [
2782 {
2783 "listen": "prerequest",
2784 "script": {
2785 "exec": [
2786 "pm.variables.set('booking_id', 732)"
2787 ],
2788 "type": "text/javascript"
2789 }
2790 }
2791 ],
2792 "request": {
2793 "method": "POST",
2794 "header": [],
2795 "body": {
2796 "mode": "raw",
2797 "raw": "{\n \"type\": \"appointment\"\n}",
2798 "options": {
2799 "raw": {
2800 "language": "json"
2801 }
2802 }
2803 },
2804 "url": {
2805 "raw": "{{admin_ajax_url}}/bookings/cancel/{{booking_id}}",
2806 "host": [
2807 "{{admin_ajax_url}}"
2808 ],
2809 "path": [
2810 "bookings",
2811 "cancel",
2812 "{{booking_id}}"
2813 ]
2814 }
2815 },
2816 "response": [
2817 {
2818 "name": "cancel booking",
2819 "originalRequest": {
2820 "method": "POST",
2821 "header": [],
2822 "body": {
2823 "mode": "raw",
2824 "raw": "{\n \"type\": \"event\" //appointment, event\n}",
2825 "options": {
2826 "raw": {
2827 "language": "json"
2828 }
2829 }
2830 },
2831 "url": {
2832 "raw": "{{admin_ajax_url}}/bookings/cancel/{{booking_id}}",
2833 "host": [
2834 "{{admin_ajax_url}}"
2835 ],
2836 "path": [
2837 "bookings",
2838 "cancel",
2839 "{{booking_id}}"
2840 ]
2841 }
2842 },
2843 "status": "OK",
2844 "code": 200,
2845 "_postman_previewlanguage": "json",
2846 "header": [
2847 {
2848 "key": "Date",
2849 "value": "Fri, 02 Jun 2023 12:55:59 GMT"
2850 },
2851 {
2852 "key": "Server",
2853 "value": "Apache/2.4.52 (Ubuntu)"
2854 },
2855 {
2856 "key": "X-Robots-Tag",
2857 "value": "noindex"
2858 },
2859 {
2860 "key": "X-Content-Type-Options",
2861 "value": "nosniff"
2862 },
2863 {
2864 "key": "Expires",
2865 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
2866 },
2867 {
2868 "key": "Cache-Control",
2869 "value": "no-cache, must-revalidate, max-age=0"
2870 },
2871 {
2872 "key": "Referrer-Policy",
2873 "value": "strict-origin-when-cross-origin"
2874 },
2875 {
2876 "key": "X-Frame-Options",
2877 "value": "SAMEORIGIN"
2878 },
2879 {
2880 "key": "Content-Length",
2881 "value": "4589"
2882 },
2883 {
2884 "key": "Keep-Alive",
2885 "value": "timeout=5, max=99"
2886 },
2887 {
2888 "key": "Connection",
2889 "value": "Keep-Alive"
2890 },
2891 {
2892 "key": "Content-Type",
2893 "value": "application/json;charset=utf-8"
2894 }
2895 ],
2896 "cookie": [],
2897 "body": "{\n \"message\": \"Successfully updated booking status\",\n \"data\": {\n \"event\": {\n \"id\": 66,\n \"name\": \"event tickets 1234\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 0,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": null,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":false,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":true},\\\"stripe\\\":{\\\"enabled\\\":false},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false}},\\\"general\\\":{\\\"minimumTimeRequirementPriorToCanceling\\\":null,\\\"redirectUrlAfterAppointment\\\":null},\\\"zoom\\\":{\\\"enabled\\\":true},\\\"lessonSpace\\\":{\\\"enabled\\\":false}}\",\n \"fullPayment\": false,\n \"bookings\": [\n {\n \"id\": 357,\n \"customerId\": 11,\n \"customer\": {\n \"id\": 11,\n \"firstName\": \"Amelia\",\n \"lastName\": \"Test\",\n \"birthday\": null,\n \"email\": \"amelia@test.test\",\n \"phone\": null,\n \"type\": \"customer\",\n \"status\": null,\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": null,\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": null,\n \"gender\": null\n },\n \"status\": \"approved\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 2,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"value\\\":\\\"\\\",\\\"type\\\":\\\"text\\\"}}\",\n \"info\": \"{\\\"firstName\\\":\\\"Amelia\\\",\\\"lastName\\\":\\\"Test\\\",\\\"phone\\\":null,\\\"locale\\\":\\\"en_US\\\",\\\"timeZone\\\":\\\"Europe\\\\/Belgrade\\\",\\\"urlParams\\\":null}\",\n \"appointmentId\": null,\n \"persons\": 0,\n \"token\": null,\n \"payments\": [\n {\n \"id\": 397,\n \"customerBookingId\": 357,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 0,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-06-06 12:00:00\",\n \"status\": \"pending\",\n \"data\": \"\",\n \"entity\": null,\n \"created\": null,\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n ],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": null,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [\n {\n \"id\": 51,\n \"eventTicketId\": 28,\n \"customerBookingId\": 357,\n \"persons\": 2,\n \"price\": 1\n }\n ],\n \"duration\": null,\n \"created\": null,\n \"actionsCompleted\": null,\n \"isUpdated\": null\n }\n ],\n \"periods\": [\n {\n \"id\": 66,\n \"eventId\": 66,\n \"periodStart\": \"2023-06-06 14:00:00\",\n \"periodEnd\": \"2023-06-07 23:00:00\",\n \"zoomMeeting\": null,\n \"lessonSpace\": null,\n \"bookings\": [],\n \"googleCalendarEventId\": null,\n \"googleMeetUrl\": null,\n \"outlookCalendarEventId\": null\n }\n ],\n \"bookingOpens\": null,\n \"bookingCloses\": null,\n \"bookingOpensRec\": null,\n \"bookingClosesRec\": null,\n \"ticketRangeRec\": null,\n \"status\": \"approved\",\n \"recurring\": null,\n \"maxCapacity\": 1,\n \"maxCustomCapacity\": null,\n \"show\": true,\n \"tags\": [],\n \"customTickets\": [\n {\n \"id\": 29,\n \"eventId\": 66,\n \"name\": \"tiket2\",\n \"enabled\": true,\n \"price\": 2,\n \"dateRangePrice\": null,\n \"spots\": 100,\n \"dateRanges\": \"[]\",\n \"sold\": 0,\n \"translations\": null\n },\n {\n \"id\": 28,\n \"eventId\": 66,\n \"name\": \"tiket1\",\n \"enabled\": true,\n \"price\": 1,\n \"dateRangePrice\": null,\n \"spots\": 100,\n \"dateRanges\": \"[]\",\n \"sold\": 0,\n \"translations\": null\n }\n ],\n \"gallery\": [],\n \"providers\": [],\n \"notifyParticipants\": 1,\n \"locationId\": null,\n \"location\": null,\n \"customLocation\": null,\n \"parentId\": null,\n \"created\": \"2023-06-02 13:34:01\",\n \"zoomUserId\": null,\n \"organizerId\": null,\n \"type\": \"event\",\n \"bringingAnyone\": true,\n \"bookMultipleTimes\": true,\n \"translations\": null,\n \"customPricing\": true,\n \"closeAfterMin\": null,\n \"closeAfterMinBookings\": null,\n \"maxExtraPeople\": null,\n \"initialEventStart\": null,\n \"initialEventEnd\": null,\n \"aggregatedPrice\": true\n },\n \"appointmentStatusChanged\": false,\n \"booking\": {\n \"id\": 357,\n \"customerId\": 11,\n \"customer\": {\n \"id\": 11,\n \"firstName\": \"Amelia\",\n \"lastName\": \"Test\",\n \"birthday\": null,\n \"email\": \"amelia@test.test\",\n \"phone\": null,\n \"type\": \"customer\",\n \"status\": null,\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": null,\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": null,\n \"gender\": null\n },\n \"status\": \"canceled\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 2,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"value\\\":\\\"\\\",\\\"type\\\":\\\"text\\\"}}\",\n \"info\": \"{\\\"firstName\\\":\\\"Amelia\\\",\\\"lastName\\\":\\\"Test\\\",\\\"phone\\\":null,\\\"locale\\\":\\\"en_US\\\",\\\"timeZone\\\":\\\"Europe\\\\/Belgrade\\\",\\\"urlParams\\\":null}\",\n \"appointmentId\": null,\n \"persons\": 0,\n \"token\": \"4e07da78a4\",\n \"payments\": [\n {\n \"id\": 397,\n \"customerBookingId\": 357,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 0,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-06-06 12:00:00\",\n \"status\": \"pending\",\n \"data\": \"\",\n \"entity\": null,\n \"created\": null,\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n ],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": null,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [],\n \"duration\": null,\n \"created\": null,\n \"actionsCompleted\": null,\n \"isUpdated\": null\n },\n \"type\": \"event\",\n \"status\": \"canceled\",\n \"message\": \"Appointment status has been changed to canceled\"\n }\n}"
2898 }
2899 ]
2900 },
2901 {
2902 "name": "reschedule booking",
2903 "event": [
2904 {
2905 "listen": "prerequest",
2906 "script": {
2907 "exec": [
2908 "pm.variables.set('booking_id', 811)"
2909 ],
2910 "type": "text/javascript"
2911 }
2912 }
2913 ],
2914 "request": {
2915 "method": "POST",
2916 "header": [],
2917 "body": {
2918 "mode": "raw",
2919 "raw": "{\n \"bookingStart\": \"2023-08-25 12:20\", // required\n \"utcOffset\": null,\n \"timeZone\": \"Europe/Belgrade\"\n}",
2920 "options": {
2921 "raw": {
2922 "language": "json"
2923 }
2924 }
2925 },
2926 "url": {
2927 "raw": "{{admin_ajax_url}}/bookings/reassign/{{booking_id}}",
2928 "host": [
2929 "{{admin_ajax_url}}"
2930 ],
2931 "path": [
2932 "bookings",
2933 "reassign",
2934 "{{booking_id}}"
2935 ]
2936 }
2937 },
2938 "response": [
2939 {
2940 "name": "cancel booking Copy",
2941 "originalRequest": {
2942 "method": "POST",
2943 "header": [],
2944 "body": {
2945 "mode": "raw",
2946 "raw": "{\n \"bookingStart\": \"2023-06-13 10:30\",\n \"utcOffset\": null,\n \"timeZone\": \"Europe/Belgrade\"\n}",
2947 "options": {
2948 "raw": {
2949 "language": "json"
2950 }
2951 }
2952 },
2953 "url": {
2954 "raw": "{{admin_ajax_url}}/bookings/reassign/{{booking_id}}",
2955 "host": [
2956 "{{admin_ajax_url}}"
2957 ],
2958 "path": [
2959 "bookings",
2960 "reassign",
2961 "{{booking_id}}"
2962 ]
2963 }
2964 },
2965 "status": "OK",
2966 "code": 200,
2967 "_postman_previewlanguage": "json",
2968 "header": [
2969 {
2970 "key": "Date",
2971 "value": "Fri, 02 Jun 2023 13:06:16 GMT"
2972 },
2973 {
2974 "key": "Server",
2975 "value": "Apache/2.4.52 (Ubuntu)"
2976 },
2977 {
2978 "key": "X-Robots-Tag",
2979 "value": "noindex"
2980 },
2981 {
2982 "key": "X-Content-Type-Options",
2983 "value": "nosniff"
2984 },
2985 {
2986 "key": "Expires",
2987 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
2988 },
2989 {
2990 "key": "Cache-Control",
2991 "value": "no-cache, must-revalidate, max-age=0"
2992 },
2993 {
2994 "key": "Referrer-Policy",
2995 "value": "strict-origin-when-cross-origin"
2996 },
2997 {
2998 "key": "X-Frame-Options",
2999 "value": "SAMEORIGIN"
3000 },
3001 {
3002 "key": "Content-Length",
3003 "value": "3475"
3004 },
3005 {
3006 "key": "Keep-Alive",
3007 "value": "timeout=5, max=100"
3008 },
3009 {
3010 "key": "Connection",
3011 "value": "Keep-Alive"
3012 },
3013 {
3014 "key": "Content-Type",
3015 "value": "application/json;charset=utf-8"
3016 }
3017 ],
3018 "cookie": [],
3019 "body": "{\n \"message\": \"Successfully updated appointment\",\n \"data\": {\n \"booking\": {\n \"id\": 348,\n \"customerId\": 2,\n \"customer\": null,\n \"status\": \"approved\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 45,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"value\\\":\\\"\\\",\\\"type\\\":\\\"text\\\"},\\\"4\\\":{\\\"label\\\":\\\"Adresa\\\",\\\"value\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}}\",\n \"info\": \"{\\\"firstName\\\":\\\"Milica\\\",\\\"lastName\\\":\\\"Snake\\\",\\\"phone\\\":\\\"+381631652656\\\",\\\"locale\\\":\\\"en_US\\\",\\\"timeZone\\\":\\\"Europe\\\\/Belgrade\\\",\\\"urlParams\\\":null}\",\n \"appointmentId\": 224,\n \"persons\": 1,\n \"token\": null,\n \"payments\": [\n {\n \"id\": 389,\n \"customerBookingId\": 348,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 0,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-06-13 14:30:00\",\n \"status\": \"pending\",\n \"data\": \"\",\n \"entity\": null,\n \"created\": null,\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n ],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": null,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [],\n \"duration\": 3600,\n \"created\": \"2023-05-31 16:20:22\",\n \"actionsCompleted\": null,\n \"isUpdated\": null\n },\n \"newAppointment\": null,\n \"oldAppointment\": {\n \"id\": 224,\n \"bookings\": [\n {\n \"id\": 348,\n \"customerId\": 2,\n \"customer\": null,\n \"status\": \"approved\",\n \"extras\": [],\n \"couponId\": null,\n \"price\": 45,\n \"coupon\": null,\n \"customFields\": \"{\\\"1\\\":{\\\"label\\\":\\\"text\\\",\\\"value\\\":\\\"\\\",\\\"type\\\":\\\"text\\\"},\\\"4\\\":{\\\"label\\\":\\\"Adresa\\\",\\\"value\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}}\",\n \"info\": \"{\\\"firstName\\\":\\\"Milica\\\",\\\"lastName\\\":\\\"Snake\\\",\\\"phone\\\":\\\"+381631652656\\\",\\\"locale\\\":\\\"en_US\\\",\\\"timeZone\\\":\\\"Europe\\\\/Belgrade\\\",\\\"urlParams\\\":null}\",\n \"appointmentId\": 224,\n \"persons\": 1,\n \"token\": null,\n \"payments\": [\n {\n \"id\": 389,\n \"customerBookingId\": 348,\n \"packageCustomerId\": null,\n \"parentId\": null,\n \"amount\": 0,\n \"gateway\": \"onSite\",\n \"gatewayTitle\": \"\",\n \"dateTime\": \"2023-06-13 14:30:00\",\n \"status\": \"pending\",\n \"data\": \"\",\n \"entity\": null,\n \"created\": null,\n \"actionsCompleted\": null,\n \"wcOrderId\": null,\n \"wcOrderUrl\": null,\n \"wcItemCouponValue\": null,\n \"wcItemTaxValue\": null\n }\n ],\n \"utcOffset\": null,\n \"aggregatedPrice\": true,\n \"isChangedStatus\": null,\n \"isLastBooking\": null,\n \"packageCustomerService\": null,\n \"ticketsData\": [],\n \"duration\": 3600,\n \"created\": \"2023-05-31 16:20:22\",\n \"actionsCompleted\": null,\n \"isUpdated\": null\n }\n ],\n \"notifyParticipants\": 1,\n \"internalNotes\": \"\",\n \"status\": \"approved\",\n \"serviceId\": 4,\n \"parentId\": null,\n \"providerId\": 1,\n \"locationId\": 1,\n \"provider\": null,\n \"service\": null,\n \"location\": null,\n \"googleCalendarEventId\": null,\n \"googleMeetUrl\": null,\n \"outlookCalendarEventId\": \"AQMkADAwATYwMAItZTk0ZS1lMGRmLTAwAi0wMAoARgAAA3egvCudOo1GsyywV8xCQ2wHANjP2dT7pGFAu0b6VBSGJOoAAAIBDQAAANjP2dT7pGFAu0b6VBSGJOoABnlwGXMAAAA=\",\n \"zoomMeeting\": {\n \"id\": 81512909066,\n \"startUrl\": \"https://us06web.zoom.us/s/81512909066?zak=eyJ0eXAiOiJKV1QiLCJzdiI6IjAwMDAwMSIsInptX3NrbSI6InptX28ybSIsImFsZyI6IkhTMjU2In0.eyJhdWQiOiJjbGllbnRzbSIsInVpZCI6IkNGUUQ1bV9BU1pPNXpLTE5VbS1pOFEiLCJpc3MiOiJ3ZWIiLCJzayI6IjAiLCJzdHkiOjEsIndjZCI6InVzMDYiLCJjbHQiOjAsIm1udW0iOiI4MTUxMjkwOTA2NiIsImV4cCI6MTY4NTU1MDAyNSwiaWF0IjoxNjg1NTQyODI1LCJhaWQiOiJpeV8zd01JUFRyLTdyclZZSnZnM01nIiwiY2lkIjoiIn0.waNhyV1_bvVKv2ce-cW7jL8tRQVYj-veHRtZmZ_n3xI\",\n \"joinUrl\": \"https://us06web.zoom.us/j/81512909066?pwd=QW0yWkwzVkhCM1cvUEVsUWh2a3R2QT09\"\n },\n \"lessonSpace\": null,\n \"bookingStart\": \"2023-06-13 10:30:00\",\n \"bookingEnd\": \"2023-06-13 11:30:00\",\n \"type\": \"appointment\",\n \"isRescheduled\": true,\n \"resources\": []\n },\n \"oldAppointmentStatusChanged\": false,\n \"existingAppointment\": null,\n \"existingAppointmentStatusChanged\": false,\n \"initialAppointmentDateTime\": {\n \"bookingStart\": \"2023-06-13 14:30:00\",\n \"bookingEnd\": \"2023-06-13 15:30:00\"\n }\n }\n}"
3020 }
3021 ]
3022 }
3023 ]
3024 },
3025 {
3026 "name": "Entities",
3027 "item": [
3028 {
3029 "name": "get entities",
3030 "request": {
3031 "method": "GET",
3032 "header": [],
3033 "url": {
3034 "raw": "{{admin_ajax_url}}/entities&types=employees,categories,locations,packages,entitiesRelations,customFields",
3035 "host": [
3036 "{{admin_ajax_url}}"
3037 ],
3038 "path": [
3039 "entities&types=employees,categories,locations,packages,entitiesRelations,customFields"
3040 ]
3041 }
3042 },
3043 "response": [
3044 {
3045 "name": "get entities locations",
3046 "originalRequest": {
3047 "method": "GET",
3048 "header": [],
3049 "url": {
3050 "raw": "{{admin_ajax_url}}/entities&types=locations",
3051 "host": [
3052 "{{admin_ajax_url}}"
3053 ],
3054 "path": [
3055 "entities&types=locations"
3056 ]
3057 }
3058 },
3059 "status": "OK",
3060 "code": 200,
3061 "_postman_previewlanguage": "json",
3062 "header": [
3063 {
3064 "key": "Date",
3065 "value": "Fri, 05 May 2023 10:35:48 GMT"
3066 },
3067 {
3068 "key": "Server",
3069 "value": "Apache/2.4.52 (Ubuntu)"
3070 },
3071 {
3072 "key": "X-Robots-Tag",
3073 "value": "noindex"
3074 },
3075 {
3076 "key": "X-Content-Type-Options",
3077 "value": "nosniff"
3078 },
3079 {
3080 "key": "Expires",
3081 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
3082 },
3083 {
3084 "key": "Cache-Control",
3085 "value": "no-cache, must-revalidate, max-age=0"
3086 },
3087 {
3088 "key": "Referrer-Policy",
3089 "value": "strict-origin-when-cross-origin"
3090 },
3091 {
3092 "key": "X-Frame-Options",
3093 "value": "SAMEORIGIN"
3094 },
3095 {
3096 "key": "Content-Length",
3097 "value": "540"
3098 },
3099 {
3100 "key": "Keep-Alive",
3101 "value": "timeout=5, max=100"
3102 },
3103 {
3104 "key": "Connection",
3105 "value": "Keep-Alive"
3106 },
3107 {
3108 "key": "Content-Type",
3109 "value": "application/json;charset=utf-8"
3110 }
3111 ],
3112 "cookie": [],
3113 "body": "{\n \"message\": \"Successfully retrieved entities\",\n \"data\": {\n \"locations\": [\n {\n \"id\": 1,\n \"status\": \"visible\",\n \"name\": \"location1\",\n \"description\": \"\",\n \"address\": \"\",\n \"phone\": \"\",\n \"latitude\": 40.748441,\n \"longitude\": -73.987853,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"pin\": \"\",\n \"translations\": null\n },\n {\n \"id\": 2,\n \"status\": \"visible\",\n \"name\": \"location2\",\n \"description\": \"\",\n \"address\": \"\",\n \"phone\": \"\",\n \"latitude\": 40.748441,\n \"longitude\": -73.987853,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"pin\": \"\",\n \"translations\": null\n }\n ],\n \"customers\": [],\n \"appointments\": {\n \"futureAppointments\": []\n }\n }\n}"
3114 },
3115 {
3116 "name": "get entities",
3117 "originalRequest": {
3118 "method": "GET",
3119 "header": [],
3120 "url": {
3121 "raw": "{{admin_ajax_url}}/entities&types=employees,categories,locations,packages,entitiesRelations,customFields",
3122 "host": [
3123 "{{admin_ajax_url}}"
3124 ],
3125 "path": [
3126 "entities&types=employees,categories,locations,packages,entitiesRelations,customFields"
3127 ]
3128 }
3129 },
3130 "status": "OK",
3131 "code": 200,
3132 "_postman_previewlanguage": "json",
3133 "header": [
3134 {
3135 "key": "Date",
3136 "value": "Fri, 02 Jun 2023 11:55:39 GMT"
3137 },
3138 {
3139 "key": "Server",
3140 "value": "Apache/2.4.52 (Ubuntu)"
3141 },
3142 {
3143 "key": "X-Robots-Tag",
3144 "value": "noindex"
3145 },
3146 {
3147 "key": "X-Content-Type-Options",
3148 "value": "nosniff"
3149 },
3150 {
3151 "key": "Expires",
3152 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
3153 },
3154 {
3155 "key": "Cache-Control",
3156 "value": "no-cache, must-revalidate, max-age=0"
3157 },
3158 {
3159 "key": "Referrer-Policy",
3160 "value": "strict-origin-when-cross-origin"
3161 },
3162 {
3163 "key": "X-Frame-Options",
3164 "value": "SAMEORIGIN"
3165 },
3166 {
3167 "key": "Keep-Alive",
3168 "value": "timeout=5, max=100"
3169 },
3170 {
3171 "key": "Connection",
3172 "value": "Keep-Alive"
3173 },
3174 {
3175 "key": "Transfer-Encoding",
3176 "value": "chunked"
3177 },
3178 {
3179 "key": "Content-Type",
3180 "value": "application/json;charset=utf-8"
3181 }
3182 ],
3183 "cookie": [],
3184 "body": "{\n \"message\": \"Successfully retrieved entities\",\n \"data\": {\n \"locations\": [\n {\n \"id\": 1,\n \"status\": \"visible\",\n \"name\": \"169 West Drive\",\n \"description\": \"Description of location\",\n \"address\": \"169 W North Ave, Northlake, IL, USA\",\n \"phone\": \"+381601234567\",\n \"latitude\": 41.906876,\n \"longitude\": -87.896297,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"pin\": \"http://localhost/amelia/wp-content/plugins/amelia-plugin//public/img/pins/orange.png\",\n \"translations\": null\n },\n {\n \"id\": 4,\n \"status\": \"visible\",\n \"name\": \"169 West Drive\",\n \"description\": \"Description of location\",\n \"address\": \"169 West Drive, Northlake, IL, USA\",\n \"phone\": \"+381601234567\",\n \"latitude\": 41.908659,\n \"longitude\": -87.912162,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"pin\": \"http://localhost/amelia/wp-content/plugins/amelia-plugin//public/img/pins/orange.png\",\n \"translations\": null\n },\n {\n \"id\": 2,\n \"status\": \"visible\",\n \"name\": \"Location2\",\n \"description\": \"\",\n \"address\": \"Velisava Vulovića 18, Belgrade, Serbia\",\n \"phone\": \"\",\n \"latitude\": 44.767476,\n \"longitude\": 20.455081,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"pin\": \"\",\n \"translations\": null\n }\n ],\n \"categories\": [\n {\n \"id\": 1,\n \"status\": \"visible\",\n \"name\": \"Category 2\",\n \"serviceList\": [\n {\n \"id\": 1,\n \"name\": \"amelia service\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 20,\n \"deposit\": 5,\n \"depositPayment\": \"fixed\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [\n {\n \"id\": 4,\n \"name\": \"extra1\",\n \"description\": \"\",\n \"price\": 10,\n \"maxQuantity\": 5,\n \"position\": 1,\n \"duration\": null,\n \"serviceId\": null,\n \"aggregatedPrice\": false,\n \"translations\": null\n }\n ],\n \"coupons\": [],\n \"position\": 1,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":true},\\\"stripe\\\":{\\\"enabled\\\":true},\\\"mollie\\\":{\\\"enabled\\\":true},\\\"razorpay\\\":{\\\"enabled\\\":true},\\\"square\\\":{\\\"enabled\\\":true}},\\\"zoom\\\":{\\\"enabled\\\":false},\\\"lessonSpace\\\":{\\\"enabled\\\":false},\\\"activation\\\":{\\\"version\\\":\\\"6.3\\\"}}\",\n \"fullPayment\": true,\n \"minCapacity\": 1,\n \"maxCapacity\": 10,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"weekly\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": \"{\\\"enabled\\\":false,\\\"durations\\\":{\\\"3600\\\":{\\\"price\\\":30,\\\"rules\\\":[]},\\\"5400\\\":{\\\"price\\\":40,\\\"rules\\\":[]}}}\",\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1,\\\"from\\\":\\\"bookingDate\\\"}\"\n },\n {\n \"id\": 6,\n \"name\": \"free service\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 0,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [\n {\n \"id\": 5,\n \"name\": \"extra1\",\n \"description\": \"\",\n \"price\": 20,\n \"maxQuantity\": 1,\n \"position\": 1,\n \"duration\": null,\n \"serviceId\": null,\n \"aggregatedPrice\": false,\n \"translations\": null\n },\n {\n \"id\": 6,\n \"name\": \"extra2\",\n \"description\": \"\",\n \"price\": 0,\n \"maxQuantity\": 3,\n \"position\": 2,\n \"duration\": 1800,\n \"serviceId\": null,\n \"aggregatedPrice\": false,\n \"translations\": null\n }\n ],\n \"coupons\": [],\n \"position\": 2,\n \"settings\": \"{\\\"payments\\\":{\\\"payPal\\\":{\\\"enabled\\\":false},\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":false,\\\"stripe\\\":{\\\"enabled\\\":false},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false},\\\"square\\\":{\\\"enabled\\\":true}},\\\"zoom\\\":{\\\"enabled\\\":true},\\\"lessonSpace\\\":{\\\"enabled\\\":true},\\\"activation\\\":{\\\"version\\\":\\\"6.2.3\\\"}}\",\n \"fullPayment\": false,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 3600,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"disabled\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": \"{\\\"enabled\\\":true,\\\"durations\\\":{\\\"7200\\\":{\\\"price\\\":10,\\\"rules\\\":[]}}}\",\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1,\\\"from\\\":\\\"bookingDate\\\"}\"\n },\n {\n \"id\": 2,\n \"name\": \"milica service\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 100,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": false,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": 3,\n \"settings\": null,\n \"fullPayment\": false,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"disabled\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": null,\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": null\n },\n {\n \"id\": 3,\n \"name\": \"milica2 service\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 20,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": 4,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":true},\\\"stripe\\\":{\\\"enabled\\\":true},\\\"mollie\\\":{\\\"enabled\\\":true},\\\"razorpay\\\":{\\\"enabled\\\":true},\\\"square\\\":{\\\"enabled\\\":true}},\\\"zoom\\\":{\\\"enabled\\\":true},\\\"lessonSpace\\\":{\\\"enabled\\\":true},\\\"activation\\\":{\\\"version\\\":\\\"6.2.3\\\"}}\",\n \"fullPayment\": false,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"disabled\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": \"{\\\"enabled\\\":true,\\\"durations\\\":{\\\"3600\\\":{\\\"price\\\":30,\\\"rules\\\":[]},\\\"5400\\\":{\\\"price\\\":40,\\\"rules\\\":[]}}}\",\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1,\\\"from\\\":\\\"bookingDate\\\"}\"\n },\n {\n \"id\": 7,\n \"name\": \"new service\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 33.44,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": 7,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":false,\\\"payPal\\\":{\\\"enabled\\\":false},\\\"stripe\\\":{\\\"enabled\\\":false},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false},\\\"square\\\":{\\\"enabled\\\":true}},\\\"zoom\\\":{\\\"enabled\\\":true},\\\"lessonSpace\\\":{\\\"enabled\\\":false},\\\"activation\\\":{\\\"version\\\":\\\"6.2.3\\\"}}\",\n \"fullPayment\": false,\n \"minCapacity\": 1,\n \"maxCapacity\": 5,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"disabled\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": \"{\\\"enabled\\\":false,\\\"durations\\\":{}}\",\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1,\\\"from\\\":\\\"bookingDate\\\"}\"\n },\n {\n \"id\": 5,\n \"name\": \"new test 51 and 99\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 109.51,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": 8,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":false,\\\"payPal\\\":{\\\"enabled\\\":false},\\\"stripe\\\":{\\\"enabled\\\":false},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false},\\\"square\\\":{\\\"enabled\\\":true}},\\\"zoom\\\":{\\\"enabled\\\":true},\\\"lessonSpace\\\":{\\\"enabled\\\":true},\\\"activation\\\":{\\\"version\\\":\\\"6.2.3\\\"}}\",\n \"fullPayment\": false,\n \"minCapacity\": 1,\n \"maxCapacity\": 10,\n \"duration\": 5400,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"disabled\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": \"{\\\"enabled\\\":false,\\\"durations\\\":{}}\",\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1,\\\"from\\\":\\\"bookingDate\\\"}\"\n },\n {\n \"id\": 13,\n \"name\": \"service lite\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 100,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": 10,\n \"settings\": null,\n \"fullPayment\": false,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 3600,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"disabled\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": null,\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": null\n }\n ],\n \"position\": 1,\n \"translations\": null\n },\n {\n \"id\": 2,\n \"status\": \"visible\",\n \"name\": \"kategorija2\",\n \"serviceList\": [\n {\n \"id\": 4,\n \"name\": \"Service 2\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 45,\n \"deposit\": 20,\n \"depositPayment\": \"fixed\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": 9,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":true},\\\"stripe\\\":{\\\"enabled\\\":true},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false},\\\"square\\\":{\\\"enabled\\\":true}},\\\"zoom\\\":{\\\"enabled\\\":true},\\\"lessonSpace\\\":{\\\"enabled\\\":true},\\\"activation\\\":{\\\"version\\\":\\\"6.2.3\\\"}}\",\n \"fullPayment\": false,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 3600,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 2,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"disabled\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": \"{\\\"enabled\\\":false,\\\"durations\\\":{}}\",\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1,\\\"from\\\":\\\"bookingDate\\\"}\"\n },\n {\n \"id\": 12,\n \"name\": \"Service New Name\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 0,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [\n {\n \"id\": 11,\n \"name\": \"extra1\",\n \"description\": \"\",\n \"price\": 100,\n \"maxQuantity\": 1,\n \"position\": 1,\n \"duration\": 1800,\n \"serviceId\": null,\n \"aggregatedPrice\": false,\n \"translations\": null\n },\n {\n \"id\": 10,\n \"name\": \"extra1\",\n \"description\": \"\",\n \"price\": 100,\n \"maxQuantity\": 1,\n \"position\": 1,\n \"duration\": 1800,\n \"serviceId\": null,\n \"aggregatedPrice\": false,\n \"translations\": null\n }\n ],\n \"coupons\": [],\n \"position\": 11,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":false},\\\"stripe\\\":{\\\"enabled\\\":false},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false}},\\\"zoom\\\":{\\\"enabled\\\":true},\\\"lessonSpace\\\":{\\\"enabled\\\":false},\\\"activation\\\":{\\\"version\\\":\\\"6.2.3\\\"}}\",\n \"fullPayment\": false,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 2,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"disabled\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": \"{\\\"enabled\\\":false,\\\"durations\\\":{}}\",\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1,\\\"from\\\":\\\"bookingDate\\\"}\"\n }\n ],\n \"position\": 2,\n \"translations\": null\n },\n {\n \"id\": 4,\n \"status\": \"visible\",\n \"name\": \"Category Name 2\",\n \"serviceList\": [\n {\n \"id\": 8,\n \"name\": \"new api service\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 0,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": 5,\n \"settings\": null,\n \"fullPayment\": false,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 4,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"disabled\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": \"{\\\"enabled\\\":false,\\\"durations\\\":{}}\",\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1,\\\"from\\\":\\\"bookingDate\\\"}\"\n },\n {\n \"id\": 10,\n \"name\": \"new api service 2\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 0,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [\n {\n \"id\": 8,\n \"name\": \"extra1\",\n \"description\": \"\",\n \"price\": 100,\n \"maxQuantity\": 1,\n \"position\": 1,\n \"duration\": 1800,\n \"serviceId\": null,\n \"aggregatedPrice\": false,\n \"translations\": null\n }\n ],\n \"coupons\": [],\n \"position\": 6,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":false},\\\"stripe\\\":{\\\"enabled\\\":false},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false}},\\\"zoom\\\":{\\\"enabled\\\":true},\\\"lessonSpace\\\":{\\\"enabled\\\":false}}\",\n \"fullPayment\": false,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 4,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"disabled\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": \"{\\\"enabled\\\": false, \\\"durations\\\": []}\",\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\": false, \\\"numberOfApp\\\": 1,\\\"timeFrame\\\": \\\"day\\\", \\\"period\\\": 1, \\\"from\\\": \\\"bookingDate\\\"}\"\n },\n {\n \"id\": 9,\n \"name\": \"test service 5\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 200,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [\n {\n \"id\": 7,\n \"name\": \"extra1\",\n \"description\": \"\",\n \"price\": 0,\n \"maxQuantity\": 1,\n \"position\": 1,\n \"duration\": 1800,\n \"serviceId\": null,\n \"aggregatedPrice\": false,\n \"translations\": null\n }\n ],\n \"coupons\": [],\n \"position\": 12,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":false},\\\"stripe\\\":{\\\"enabled\\\":false},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false}},\\\"zoom\\\":{\\\"enabled\\\":true},\\\"lessonSpace\\\":{\\\"enabled\\\":false}}\",\n \"fullPayment\": false,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 4,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"disabled\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": \"{\\\"enabled\\\":false,\\\"durations\\\":{}}\",\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1,\\\"from\\\":\\\"bookingDate\\\"}\"\n }\n ],\n \"position\": 2,\n \"translations\": null\n },\n {\n \"id\": 5,\n \"status\": \"visible\",\n \"name\": \"Category Name 2\",\n \"serviceList\": [],\n \"position\": 2,\n \"translations\": null\n }\n ],\n \"customers\": [],\n \"entitiesRelations\": {\n \"1\": {\n \"1\": [\n 1,\n 2\n ],\n \"4\": [\n 1,\n 2\n ],\n \"5\": [\n 2,\n 1\n ],\n \"7\": [\n 1,\n 2\n ],\n \"9\": [\n 2,\n 1\n ]\n },\n \"3\": {\n \"1\": [\n 1,\n 2\n ],\n \"3\": [\n 1,\n 2\n ],\n \"4\": [\n 1,\n 2\n ],\n \"5\": [\n 1,\n 2\n ],\n \"6\": [\n 1,\n 2\n ],\n \"10\": [\n 1,\n 2\n ],\n \"12\": [\n 1,\n 2\n ]\n },\n \"12\": {\n \"1\": [\n 1\n ]\n },\n \"14\": {\n \"1\": [\n 1\n ]\n }\n },\n \"employees\": [\n {\n \"id\": 25,\n \"firstName\": \"Amelia\",\n \"lastName\": \"New Last Name\",\n \"birthday\": null,\n \"email\": \"ameliaEmployee@test.test\",\n \"phone\": \"\",\n \"type\": \"provider\",\n \"status\": \"hidden\",\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": \"rs\",\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": null,\n \"weekDayList\": [\n {\n \"id\": 31,\n \"dayIndex\": 1,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"timeOutList\": [],\n \"periodList\": [\n {\n \"id\": 33,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"locationId\": 2,\n \"periodServiceList\": [],\n \"periodLocationList\": []\n }\n ]\n },\n {\n \"id\": 32,\n \"dayIndex\": 2,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"timeOutList\": [],\n \"periodList\": [\n {\n \"id\": 34,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"locationId\": null,\n \"periodServiceList\": [],\n \"periodLocationList\": []\n }\n ]\n },\n {\n \"id\": 33,\n \"dayIndex\": 3,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"timeOutList\": [],\n \"periodList\": [\n {\n \"id\": 35,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"locationId\": null,\n \"periodServiceList\": [],\n \"periodLocationList\": []\n }\n ]\n },\n {\n \"id\": 34,\n \"dayIndex\": 4,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"timeOutList\": [],\n \"periodList\": [\n {\n \"id\": 36,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"locationId\": null,\n \"periodServiceList\": [],\n \"periodLocationList\": []\n }\n ]\n },\n {\n \"id\": 35,\n \"dayIndex\": 5,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"timeOutList\": [],\n \"periodList\": [\n {\n \"id\": 37,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"locationId\": null,\n \"periodServiceList\": [],\n \"periodLocationList\": []\n }\n ]\n }\n ],\n \"serviceList\": [\n {\n \"id\": 4,\n \"name\": \"Service 2\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 45,\n \"deposit\": 20,\n \"depositPayment\": \"fixed\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": 9,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":true},\\\"stripe\\\":{\\\"enabled\\\":true},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false},\\\"square\\\":{\\\"enabled\\\":true}},\\\"zoom\\\":{\\\"enabled\\\":true},\\\"lessonSpace\\\":{\\\"enabled\\\":true},\\\"activation\\\":{\\\"version\\\":\\\"6.2.3\\\"}}\",\n \"fullPayment\": false,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 3600,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 2,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"disabled\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": null,\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1,\\\"from\\\":\\\"bookingDate\\\"}\"\n },\n {\n \"id\": 3,\n \"name\": \"milica2 service\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 20,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": 4,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":true},\\\"stripe\\\":{\\\"enabled\\\":true},\\\"mollie\\\":{\\\"enabled\\\":true},\\\"razorpay\\\":{\\\"enabled\\\":true},\\\"square\\\":{\\\"enabled\\\":true}},\\\"zoom\\\":{\\\"enabled\\\":true},\\\"lessonSpace\\\":{\\\"enabled\\\":true},\\\"activation\\\":{\\\"version\\\":\\\"6.2.3\\\"}}\",\n \"fullPayment\": false,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"disabled\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": null,\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1,\\\"from\\\":\\\"bookingDate\\\"}\"\n },\n {\n \"id\": 13,\n \"name\": \"service lite\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 100,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": 10,\n \"settings\": null,\n \"fullPayment\": false,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 3600,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"disabled\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": null,\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": null\n }\n ],\n \"dayOffList\": [],\n \"specialDayList\": [],\n \"locationId\": 1,\n \"googleCalendar\": null,\n \"outlookCalendar\": null,\n \"timeZone\": null,\n \"description\": null\n },\n {\n \"id\": 1,\n \"firstName\": \"Milica\",\n \"lastName\": \"Employee\",\n \"birthday\": null,\n \"email\": \"kpop.lover.10000@gmail.com\",\n \"phone\": \"\",\n \"type\": \"provider\",\n \"status\": \"visible\",\n \"note\": \"note 123\",\n \"zoomUserId\": \"CFQD5m_ASZO5zKLNUm-i8Q\",\n \"countryPhoneIso\": \"rs\",\n \"externalId\": 3,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": null,\n \"weekDayList\": [\n {\n \"id\": 1,\n \"dayIndex\": 1,\n \"startTime\": \"18:00:00\",\n \"endTime\": \"20:30:00\",\n \"timeOutList\": [],\n \"periodList\": [\n {\n \"id\": 1,\n \"startTime\": \"18:00:00\",\n \"endTime\": \"20:30:00\",\n \"locationId\": 1,\n \"periodServiceList\": [\n {\n \"id\": 3,\n \"serviceId\": 4\n },\n {\n \"id\": 2,\n \"serviceId\": 7\n },\n {\n \"id\": 1,\n \"serviceId\": 1\n }\n ],\n \"periodLocationList\": []\n }\n ]\n },\n {\n \"id\": 2,\n \"dayIndex\": 2,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"20:30:00\",\n \"timeOutList\": [],\n \"periodList\": [\n {\n \"id\": 22,\n \"startTime\": \"17:00:00\",\n \"endTime\": \"20:30:00\",\n \"locationId\": 2,\n \"periodServiceList\": [],\n \"periodLocationList\": []\n },\n {\n \"id\": 2,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"locationId\": 1,\n \"periodServiceList\": [],\n \"periodLocationList\": []\n }\n ]\n },\n {\n \"id\": 3,\n \"dayIndex\": 3,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"23:00:00\",\n \"timeOutList\": [],\n \"periodList\": [\n {\n \"id\": 3,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"23:00:00\",\n \"locationId\": null,\n \"periodServiceList\": [],\n \"periodLocationList\": []\n }\n ]\n },\n {\n \"id\": 4,\n \"dayIndex\": 4,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"timeOutList\": [],\n \"periodList\": [\n {\n \"id\": 4,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"locationId\": null,\n \"periodServiceList\": [],\n \"periodLocationList\": []\n }\n ]\n }\n ],\n \"serviceList\": [\n {\n \"id\": 4,\n \"name\": \"Service 2\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 45,\n \"deposit\": 20,\n \"depositPayment\": \"fixed\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": 9,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":true},\\\"stripe\\\":{\\\"enabled\\\":true},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false},\\\"square\\\":{\\\"enabled\\\":true}},\\\"zoom\\\":{\\\"enabled\\\":true},\\\"lessonSpace\\\":{\\\"enabled\\\":true},\\\"activation\\\":{\\\"version\\\":\\\"6.2.3\\\"}}\",\n \"fullPayment\": false,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 3600,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 2,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"disabled\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": \"{\\\"enabled\\\":false,\\\"durations\\\":{}}\",\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1,\\\"from\\\":\\\"bookingDate\\\"}\"\n },\n {\n \"id\": 1,\n \"name\": \"amelia service\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 20,\n \"deposit\": 5,\n \"depositPayment\": \"fixed\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [\n {\n \"id\": 4,\n \"name\": \"extra1\",\n \"description\": \"\",\n \"price\": 10,\n \"maxQuantity\": 5,\n \"position\": 1,\n \"duration\": null,\n \"serviceId\": null,\n \"aggregatedPrice\": false,\n \"translations\": null\n }\n ],\n \"coupons\": [],\n \"position\": 1,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":true},\\\"stripe\\\":{\\\"enabled\\\":true},\\\"mollie\\\":{\\\"enabled\\\":true},\\\"razorpay\\\":{\\\"enabled\\\":true},\\\"square\\\":{\\\"enabled\\\":true}},\\\"zoom\\\":{\\\"enabled\\\":false},\\\"lessonSpace\\\":{\\\"enabled\\\":false},\\\"activation\\\":{\\\"version\\\":\\\"6.3\\\"}}\",\n \"fullPayment\": true,\n \"minCapacity\": 1,\n \"maxCapacity\": 10,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"weekly\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": \"{\\\"enabled\\\":false,\\\"durations\\\":{\\\"3600\\\":{\\\"price\\\":30,\\\"rules\\\":[]},\\\"5400\\\":{\\\"price\\\":40,\\\"rules\\\":[]}}}\",\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1,\\\"from\\\":\\\"bookingDate\\\"}\"\n },\n {\n \"id\": 5,\n \"name\": \"new test 51 and 99\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 109.51,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": 8,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":false,\\\"payPal\\\":{\\\"enabled\\\":false},\\\"stripe\\\":{\\\"enabled\\\":false},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false},\\\"square\\\":{\\\"enabled\\\":true}},\\\"zoom\\\":{\\\"enabled\\\":true},\\\"lessonSpace\\\":{\\\"enabled\\\":true},\\\"activation\\\":{\\\"version\\\":\\\"6.2.3\\\"}}\",\n \"fullPayment\": false,\n \"minCapacity\": 1,\n \"maxCapacity\": 10,\n \"duration\": 5400,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"disabled\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": \"{\\\"enabled\\\":false,\\\"durations\\\":{}}\",\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1,\\\"from\\\":\\\"bookingDate\\\"}\"\n },\n {\n \"id\": 7,\n \"name\": \"new service\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 33.44,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": 7,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":false,\\\"payPal\\\":{\\\"enabled\\\":false},\\\"stripe\\\":{\\\"enabled\\\":false},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false},\\\"square\\\":{\\\"enabled\\\":true}},\\\"zoom\\\":{\\\"enabled\\\":true},\\\"lessonSpace\\\":{\\\"enabled\\\":false},\\\"activation\\\":{\\\"version\\\":\\\"6.2.3\\\"}}\",\n \"fullPayment\": false,\n \"minCapacity\": 1,\n \"maxCapacity\": 5,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"disabled\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": \"{\\\"enabled\\\":false,\\\"durations\\\":{}}\",\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1,\\\"from\\\":\\\"bookingDate\\\"}\"\n },\n {\n \"id\": 9,\n \"name\": \"test service 5\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 200,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [\n {\n \"id\": 7,\n \"name\": \"extra1\",\n \"description\": \"\",\n \"price\": 0,\n \"maxQuantity\": 1,\n \"position\": 1,\n \"duration\": 1800,\n \"serviceId\": null,\n \"aggregatedPrice\": false,\n \"translations\": null\n }\n ],\n \"coupons\": [],\n \"position\": 12,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":false},\\\"stripe\\\":{\\\"enabled\\\":false},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false}},\\\"zoom\\\":{\\\"enabled\\\":true},\\\"lessonSpace\\\":{\\\"enabled\\\":false}}\",\n \"fullPayment\": false,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 4,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"disabled\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": \"{\\\"enabled\\\":false,\\\"durations\\\":{}}\",\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1,\\\"from\\\":\\\"bookingDate\\\"}\"\n }\n ],\n \"dayOffList\": [],\n \"specialDayList\": [\n {\n \"id\": 1,\n \"startDate\": \"2023-03-20\",\n \"endDate\": \"2023-03-20\",\n \"periodList\": [\n {\n \"id\": 1,\n \"startTime\": \"08:30:00\",\n \"endTime\": \"09:00:00\",\n \"locationId\": 1,\n \"periodServiceList\": [],\n \"periodLocationList\": []\n }\n ]\n }\n ],\n \"locationId\": 1,\n \"googleCalendar\": {\n \"id\": 8,\n \"token\": \"{\\\"access_token\\\":\\\"ya29.a0AWY7CklVPjR-rsKgGJZeW-TEV5AGKG1whD2nxJOSzfHMSNk-lMY7SIx-YYQJeY9pF8B9uj1bg3267R59TvljrxY3LW_RvqJO366JupKb6mPmxJprDlt2b6ZK-oQqkJ56c1H90gsfWcPWsrpxFWCXVUDXz4X-6CpLaCgYKAeUSARMSFQG1tDrpj_oXv3oSg-Kqr5zQf5_IJA0167\\\",\\\"expires_in\\\":3599,\\\"refresh_token\\\":\\\"1\\\\/\\\\/09sXkeS88bD-HCgYIARAAGAkSNwF-L9Irfj8PzVj3FKbITRNWkHMvpJTK1CFftfnKVNVit8IUm0Vvx7z3ARNFsV1-jxCMUbKDgn4\\\",\\\"scope\\\":\\\"https:\\\\/\\\\/www.googleapis.com\\\\/auth\\\\/calendar\\\",\\\"token_type\\\":\\\"Bearer\\\",\\\"created\\\":1683879280}\",\n \"calendarId\": \"milicanikolica97@gmail.com\"\n },\n \"outlookCalendar\": {\n \"id\": 1,\n \"token\": \"{\\\"token_type\\\":\\\"Bearer\\\",\\\"scope\\\":\\\"Calendars.ReadWrite\\\",\\\"expires_in\\\":3600,\\\"ext_expires_in\\\":3600,\\\"access_token\\\":\\\"EwBgA8l6BAAUAOyDv0l6PcCVu89kmzvqZmkWABkAAdb1m6O7zKC+kHwUGCpgGpd6yU2fQPVCyGjwM2Jn3tBthmLuggK496barjs3A88pXH7oNds7XaE645H3ifIXx97Yu2kb16IOdIwDesU6DUL9QnhsS2a3hdRRyM1FGcaP4HozNdC0ayke4IcMcTl4RSbfIpKEFXHd+JWmwzeC0RU2RTEI\\\\/Y6vOq\\\\/FBUXWr2Wio1TEMUb3D8xk3EDUCQAY2eZToLLOWdqvTI+7UcbleCgfX5mVFgIsH\\\\/j6acuLbHm9cBSD8VKBKLqt1OdD0iyCMExHyB9XAahFvSI8LR+C8doHcaJFrl9nlee\\\\/3wcH7rm4hKGF5xZqxjEjAF3MILpt\\\\/yoDZgAACFBjbWNIdOd7MAIdyx96isobYlgVg3GdsLHrPIo33EHlxqXnNrn9DQJjBr1srIUaU0Ca2H1sK2fJEVjtZQM8svbNp823bQpZHnpF7z9Y5Tje7EkTQetQ5umI3iWPjbmmDuykN1qX9N0i+0tZs1kScP2zyjl3MkYHl0smJ4D6l+R6vcP21ltkfFNEXlESmcu3WD+LaNFKszjsMx7bSqt1+0xmLqXqVBJrFHWnDQdj7VlCsGBoM3d4MhU1tf8bM6+iZnbBc22LyU3sK6lLhnL1hhdkEIqx5M0A\\\\/E\\\\/X+9u9B9ERrZtKg5CvfWIy8ly53ZmUPrKo16FDL035i\\\\/lWZlmvEPxT2O+W32MAfuMhvdxcqN40wsrOfPZ1zZTb3tfHowzFL3LOPdgGDBzvCWSQm6Uw0WVV4oJaZBrR4UlvhlEXXjKArb4pidUOBQlFTA4CUOV92w3sQAUtl9OOFytCRjLGxT6wA\\\\/vFyE26EYaUlbjufVmDSAccO+eL8dnSqX7ScATF23YSljYHJgUV6qsDeK7CpYLs8joVtdgSvrE+zzwVurgmY2\\\\/8nclCskl2uuMBz\\\\/4h7lu55gJFmsR62ESSabyNdNJQNflcpcL0DaAhxT8vv6cdhqGAoh6dR0F9sXwKAx7Ov7EiVjwv4qWfB\\\\/lQRrQ6NPxwy3VLsrroL+rD7KMM65+Im6HSFssN49biHoI5C0\\\\/4z7w\\\\/XM3TOc6ZWNQqoCvl4B4j32VQzuaI93gddB5\\\\/aoj\\\\/N8m7Axjm6FjQlG8C\\\",\\\"refresh_token\\\":\\\"M.C102_BL2.-CUyNDjWsP!Vtqg0prBw2bMZy!vrdTyZNpmZEBo2nsXduf*jDbbnyc1Put0g2v7H*6rSFHpWumIu!LstQP5*B2I0mvoPI8k!nJik2AXysaKEnsIo7E!*9fWbgr52C4ErCvkEpn1hNjaU96imjW6Innso!fct7WIQxE60WhqyVq2S5i7qlN8GhR3KTv3xApcob*1Mzn2lkb*jS6VQKw9FkJqBkP719dDaQtmhnQlada*1LWtoPAEeARba7A*S1QixvG*QiY!XehK4AY4*UHFfhob8S2AvYfXyrz9jV3Mv4SiKPvySSphIt7ykMiTZONlcOPoDLR5OD7aP0LDwm6mpODlzaJJzm8B5MRDIUJ00sehb!\\\",\\\"created\\\":1685704809}\",\n \"calendarId\": \"AQMkADAwATYwMAItZTk0ZS1lMGRmLTAwAi0wMAoARgAAA3egvCudOo1GsyywV8xCQ2wHANjP2dT7pGFAu0b6VBSGJOoAAAIBBgAAANjP2dT7pGFAu0b6VBSGJOoAAAJD1gAAAA==\"\n },\n \"timeZone\": null,\n \"description\": \"\\n<p> \\n <span style=\\\"color: rgb(0, 138, 0);\\\">Marija Employee's description</span>\\n</p>\\n<p> \\n <br>\\n</p>\\n<p> \\n <br>\\n</p>\\n<p> \\n <br>\\n</p>\\n<p>xtest \\n <sub>test</sub>\\n</p>\\n<p>test \\n <sup>test</sup>\\n</p>\\n<blockquote>test description</blockquote>\\n<blockquote> \\n <br>\\n</blockquote>\\n<ul> \\n <li>blue</li> \\n <li>yellow</li> \\n <li>red</li>\\n</ul>\\n<h1> \\n <strong> \\n <em> \\n <s> \\n <u>test</u> \\n </s> \\n </em> \\n </strong>\\n</h1>\\n<h1> \\n <span class=\\\"ql-size-small ql-font-monospace\\\">fsdfsfsf</span>\\n</h1>\\n<ol> \\n <li>one</li> \\n <li>two</li> \\n <li>three</li>\\n</ol>\\n<p> \\n <img src=\\\"https://dev.wpamelia.com/wp-content/uploads/amelia/mail/60882fa217.jpg\\\">\\n</p>\\n<h1> \\n <span class=\\\"ql-font-serif\\\">test</span>\\n</h1>\\n<h1> \\n <span class=\\\"ql-font-serif\\\">test2</span>\\n</h1>\\n\"\n },\n {\n \"id\": 3,\n \"firstName\": \"Milica2\",\n \"lastName\": \"Employee2\",\n \"birthday\": null,\n \"email\": \"milicaemployee2@test.test\",\n \"phone\": \"\",\n \"type\": \"provider\",\n \"status\": \"visible\",\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": \"rs\",\n \"externalId\": 6,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": null,\n \"weekDayList\": [\n {\n \"id\": 6,\n \"dayIndex\": 1,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"timeOutList\": [],\n \"periodList\": [\n {\n \"id\": 6,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"locationId\": 2,\n \"periodServiceList\": [],\n \"periodLocationList\": [\n {\n \"id\": 4,\n \"locationId\": 2\n },\n {\n \"id\": 3,\n \"locationId\": 1\n }\n ]\n }\n ]\n },\n {\n \"id\": 7,\n \"dayIndex\": 2,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"timeOutList\": [],\n \"periodList\": [\n {\n \"id\": 7,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"locationId\": null,\n \"periodServiceList\": [],\n \"periodLocationList\": []\n }\n ]\n },\n {\n \"id\": 9,\n \"dayIndex\": 4,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"timeOutList\": [],\n \"periodList\": [\n {\n \"id\": 9,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"locationId\": null,\n \"periodServiceList\": [],\n \"periodLocationList\": []\n }\n ]\n },\n {\n \"id\": 10,\n \"dayIndex\": 5,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"timeOutList\": [],\n \"periodList\": [\n {\n \"id\": 10,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"locationId\": null,\n \"periodServiceList\": [],\n \"periodLocationList\": []\n }\n ]\n }\n ],\n \"serviceList\": [\n {\n \"id\": 12,\n \"name\": \"Service New Name\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 0,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [\n {\n \"id\": 11,\n \"name\": \"extra1\",\n \"description\": \"\",\n \"price\": 100,\n \"maxQuantity\": 1,\n \"position\": 1,\n \"duration\": 1800,\n \"serviceId\": null,\n \"aggregatedPrice\": false,\n \"translations\": null\n },\n {\n \"id\": 10,\n \"name\": \"extra1\",\n \"description\": \"\",\n \"price\": 100,\n \"maxQuantity\": 1,\n \"position\": 1,\n \"duration\": 1800,\n \"serviceId\": null,\n \"aggregatedPrice\": false,\n \"translations\": null\n }\n ],\n \"coupons\": [],\n \"position\": 11,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":false},\\\"stripe\\\":{\\\"enabled\\\":false},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false}},\\\"zoom\\\":{\\\"enabled\\\":true},\\\"lessonSpace\\\":{\\\"enabled\\\":false},\\\"activation\\\":{\\\"version\\\":\\\"6.2.3\\\"}}\",\n \"fullPayment\": false,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 2,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"disabled\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": \"{\\\"enabled\\\":false,\\\"durations\\\":{}}\",\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1,\\\"from\\\":\\\"bookingDate\\\"}\"\n },\n {\n \"id\": 10,\n \"name\": \"new api service 2\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 0,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [\n {\n \"id\": 8,\n \"name\": \"extra1\",\n \"description\": \"\",\n \"price\": 100,\n \"maxQuantity\": 1,\n \"position\": 1,\n \"duration\": 1800,\n \"serviceId\": null,\n \"aggregatedPrice\": false,\n \"translations\": null\n }\n ],\n \"coupons\": [],\n \"position\": 6,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":false},\\\"stripe\\\":{\\\"enabled\\\":false},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false}},\\\"zoom\\\":{\\\"enabled\\\":true},\\\"lessonSpace\\\":{\\\"enabled\\\":false}}\",\n \"fullPayment\": false,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 4,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"disabled\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": \"{\\\"enabled\\\":false,\\\"durations\\\":{}}\",\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\": false, \\\"numberOfApp\\\": 1,\\\"timeFrame\\\": \\\"day\\\", \\\"period\\\": 1, \\\"from\\\": \\\"bookingDate\\\"}\"\n },\n {\n \"id\": 6,\n \"name\": \"free service\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 0,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [\n {\n \"id\": 5,\n \"name\": \"extra1\",\n \"description\": \"\",\n \"price\": 20,\n \"maxQuantity\": 1,\n \"position\": 1,\n \"duration\": null,\n \"serviceId\": null,\n \"aggregatedPrice\": false,\n \"translations\": null\n },\n {\n \"id\": 6,\n \"name\": \"extra2\",\n \"description\": \"\",\n \"price\": 0,\n \"maxQuantity\": 3,\n \"position\": 2,\n \"duration\": 1800,\n \"serviceId\": null,\n \"aggregatedPrice\": false,\n \"translations\": null\n }\n ],\n \"coupons\": [],\n \"position\": 2,\n \"settings\": \"{\\\"payments\\\":{\\\"payPal\\\":{\\\"enabled\\\":false},\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":false,\\\"stripe\\\":{\\\"enabled\\\":false},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false},\\\"square\\\":{\\\"enabled\\\":true}},\\\"zoom\\\":{\\\"enabled\\\":true},\\\"lessonSpace\\\":{\\\"enabled\\\":true},\\\"activation\\\":{\\\"version\\\":\\\"6.2.3\\\"}}\",\n \"fullPayment\": false,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 3600,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"disabled\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": \"{\\\"enabled\\\":true,\\\"durations\\\":{\\\"7200\\\":{\\\"price\\\":10,\\\"rules\\\":[]}}}\",\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1,\\\"from\\\":\\\"bookingDate\\\"}\"\n },\n {\n \"id\": 5,\n \"name\": \"new test 51 and 99\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 109.51,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": 8,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":false,\\\"payPal\\\":{\\\"enabled\\\":false},\\\"stripe\\\":{\\\"enabled\\\":false},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false},\\\"square\\\":{\\\"enabled\\\":true}},\\\"zoom\\\":{\\\"enabled\\\":true},\\\"lessonSpace\\\":{\\\"enabled\\\":true},\\\"activation\\\":{\\\"version\\\":\\\"6.2.3\\\"}}\",\n \"fullPayment\": false,\n \"minCapacity\": 1,\n \"maxCapacity\": 10,\n \"duration\": 5400,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"disabled\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": \"{\\\"enabled\\\":false,\\\"durations\\\":{}}\",\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1,\\\"from\\\":\\\"bookingDate\\\"}\"\n },\n {\n \"id\": 4,\n \"name\": \"Service 2\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 45,\n \"deposit\": 20,\n \"depositPayment\": \"fixed\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": 9,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":true},\\\"stripe\\\":{\\\"enabled\\\":true},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false},\\\"square\\\":{\\\"enabled\\\":true}},\\\"zoom\\\":{\\\"enabled\\\":true},\\\"lessonSpace\\\":{\\\"enabled\\\":true},\\\"activation\\\":{\\\"version\\\":\\\"6.2.3\\\"}}\",\n \"fullPayment\": false,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 3600,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 2,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"disabled\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": \"{\\\"enabled\\\":false,\\\"durations\\\":{}}\",\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1,\\\"from\\\":\\\"bookingDate\\\"}\"\n },\n {\n \"id\": 3,\n \"name\": \"milica2 service\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 20,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": 4,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":true},\\\"stripe\\\":{\\\"enabled\\\":true},\\\"mollie\\\":{\\\"enabled\\\":true},\\\"razorpay\\\":{\\\"enabled\\\":true},\\\"square\\\":{\\\"enabled\\\":true}},\\\"zoom\\\":{\\\"enabled\\\":true},\\\"lessonSpace\\\":{\\\"enabled\\\":true},\\\"activation\\\":{\\\"version\\\":\\\"6.2.3\\\"}}\",\n \"fullPayment\": false,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"disabled\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": \"{\\\"enabled\\\":true,\\\"durations\\\":{\\\"3600\\\":{\\\"price\\\":30,\\\"rules\\\":[]},\\\"5400\\\":{\\\"price\\\":40,\\\"rules\\\":[]}}}\",\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1,\\\"from\\\":\\\"bookingDate\\\"}\"\n },\n {\n \"id\": 1,\n \"name\": \"amelia service\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 20,\n \"deposit\": 5,\n \"depositPayment\": \"fixed\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [\n {\n \"id\": 4,\n \"name\": \"extra1\",\n \"description\": \"\",\n \"price\": 10,\n \"maxQuantity\": 5,\n \"position\": 1,\n \"duration\": null,\n \"serviceId\": null,\n \"aggregatedPrice\": false,\n \"translations\": null\n }\n ],\n \"coupons\": [],\n \"position\": 1,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":true},\\\"stripe\\\":{\\\"enabled\\\":true},\\\"mollie\\\":{\\\"enabled\\\":true},\\\"razorpay\\\":{\\\"enabled\\\":true},\\\"square\\\":{\\\"enabled\\\":true}},\\\"zoom\\\":{\\\"enabled\\\":false},\\\"lessonSpace\\\":{\\\"enabled\\\":false},\\\"activation\\\":{\\\"version\\\":\\\"6.3\\\"}}\",\n \"fullPayment\": true,\n \"minCapacity\": 1,\n \"maxCapacity\": 10,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"weekly\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": \"{\\\"enabled\\\":false,\\\"durations\\\":{\\\"3600\\\":{\\\"price\\\":30,\\\"rules\\\":[]},\\\"5400\\\":{\\\"price\\\":40,\\\"rules\\\":[]}}}\",\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1,\\\"from\\\":\\\"bookingDate\\\"}\"\n }\n ],\n \"dayOffList\": [],\n \"specialDayList\": [],\n \"locationId\": 1,\n \"googleCalendar\": {\n \"id\": 6,\n \"token\": \"{\\\"access_token\\\":\\\"ya29.a0Ael9sCNUKwM8DqdHckgYXfi2XS9Q8Td-R7gALi3sKlHznWxnF49CRU9sBoE5Ea7GLsBL3diHIToNRhOFdaWk-NySLkn2CkcyorrthtXiHoC2CeYAAzN572srSopwTn1NnPAK0KDYi5Vk9BN5jGDFEUeMrwOAwmrkaCgYKAcESARMSFQF4udJhe9iX42PME4HUKpEs89i4dQ0167\\\",\\\"expires_in\\\":3598,\\\"refresh_token\\\":\\\"1\\\\/\\\\/03VYnEQN7q25UCgYIARAAGAMSNwF-L9IrtxxmpI4Adk6vURoOc9RSbQXca5eXO5M6UMcW-HIRy4JAbUXAUfyN_DKO5E3W8TU-QHA\\\",\\\"scope\\\":\\\"https:\\\\/\\\\/www.googleapis.com\\\\/auth\\\\/calendar\\\",\\\"token_type\\\":\\\"Bearer\\\",\\\"created\\\":1682509211}\",\n \"calendarId\": \"milicanikolica97@gmail.com\"\n },\n \"outlookCalendar\": null,\n \"timeZone\": null,\n \"description\": null\n },\n {\n \"id\": 14,\n \"firstName\": \"New\",\n \"lastName\": \"Employee\",\n \"birthday\": null,\n \"email\": \"newemployee@test.test\",\n \"phone\": \"\",\n \"type\": \"provider\",\n \"status\": \"visible\",\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": null,\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": null,\n \"weekDayList\": [\n {\n \"id\": 16,\n \"dayIndex\": 1,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"timeOutList\": [],\n \"periodList\": [\n {\n \"id\": 17,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"locationId\": null,\n \"periodServiceList\": [],\n \"periodLocationList\": []\n }\n ]\n },\n {\n \"id\": 17,\n \"dayIndex\": 2,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"timeOutList\": [],\n \"periodList\": [\n {\n \"id\": 18,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"locationId\": null,\n \"periodServiceList\": [],\n \"periodLocationList\": []\n }\n ]\n },\n {\n \"id\": 18,\n \"dayIndex\": 3,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"timeOutList\": [],\n \"periodList\": [\n {\n \"id\": 19,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"locationId\": null,\n \"periodServiceList\": [],\n \"periodLocationList\": []\n }\n ]\n },\n {\n \"id\": 19,\n \"dayIndex\": 4,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"timeOutList\": [],\n \"periodList\": [\n {\n \"id\": 20,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"locationId\": null,\n \"periodServiceList\": [],\n \"periodLocationList\": []\n }\n ]\n },\n {\n \"id\": 20,\n \"dayIndex\": 5,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"timeOutList\": [],\n \"periodList\": [\n {\n \"id\": 21,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"locationId\": null,\n \"periodServiceList\": [],\n \"periodLocationList\": []\n }\n ]\n }\n ],\n \"serviceList\": [\n {\n \"id\": 1,\n \"name\": \"amelia service\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 20,\n \"deposit\": 5,\n \"depositPayment\": \"fixed\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [\n {\n \"id\": 4,\n \"name\": \"extra1\",\n \"description\": \"\",\n \"price\": 10,\n \"maxQuantity\": 5,\n \"position\": 1,\n \"duration\": null,\n \"serviceId\": null,\n \"aggregatedPrice\": false,\n \"translations\": null\n }\n ],\n \"coupons\": [],\n \"position\": 1,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":true},\\\"stripe\\\":{\\\"enabled\\\":true},\\\"mollie\\\":{\\\"enabled\\\":true},\\\"razorpay\\\":{\\\"enabled\\\":true},\\\"square\\\":{\\\"enabled\\\":true}},\\\"zoom\\\":{\\\"enabled\\\":false},\\\"lessonSpace\\\":{\\\"enabled\\\":false},\\\"activation\\\":{\\\"version\\\":\\\"6.3\\\"}}\",\n \"fullPayment\": true,\n \"minCapacity\": 1,\n \"maxCapacity\": 10,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"weekly\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": \"{\\\"enabled\\\":false,\\\"durations\\\":{\\\"3600\\\":{\\\"price\\\":30,\\\"rules\\\":[]},\\\"5400\\\":{\\\"price\\\":40,\\\"rules\\\":[]}}}\",\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1,\\\"from\\\":\\\"bookingDate\\\"}\"\n }\n ],\n \"dayOffList\": [],\n \"specialDayList\": [],\n \"locationId\": 1,\n \"googleCalendar\": null,\n \"outlookCalendar\": null,\n \"timeZone\": null,\n \"description\": null\n },\n {\n \"id\": 12,\n \"firstName\": \"OneLocation\",\n \"lastName\": \"Employee3\",\n \"birthday\": null,\n \"email\": \"emploeemail@test.test\",\n \"phone\": \"\",\n \"type\": \"provider\",\n \"status\": \"visible\",\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": \"rs\",\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": null,\n \"weekDayList\": [\n {\n \"id\": 11,\n \"dayIndex\": 1,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"timeOutList\": [],\n \"periodList\": [\n {\n \"id\": 12,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"locationId\": null,\n \"periodServiceList\": [],\n \"periodLocationList\": []\n }\n ]\n },\n {\n \"id\": 13,\n \"dayIndex\": 3,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"timeOutList\": [],\n \"periodList\": [\n {\n \"id\": 14,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"locationId\": null,\n \"periodServiceList\": [],\n \"periodLocationList\": []\n }\n ]\n },\n {\n \"id\": 14,\n \"dayIndex\": 4,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"timeOutList\": [],\n \"periodList\": [\n {\n \"id\": 15,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"locationId\": null,\n \"periodServiceList\": [],\n \"periodLocationList\": []\n }\n ]\n },\n {\n \"id\": 15,\n \"dayIndex\": 5,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"timeOutList\": [],\n \"periodList\": [\n {\n \"id\": 16,\n \"startTime\": \"09:00:00\",\n \"endTime\": \"17:00:00\",\n \"locationId\": null,\n \"periodServiceList\": [],\n \"periodLocationList\": []\n }\n ]\n }\n ],\n \"serviceList\": [\n {\n \"id\": 1,\n \"name\": \"amelia service\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 20,\n \"deposit\": 5,\n \"depositPayment\": \"fixed\",\n \"depositPerPerson\": true,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [\n {\n \"id\": 4,\n \"name\": \"extra1\",\n \"description\": \"\",\n \"price\": 10,\n \"maxQuantity\": 5,\n \"position\": 1,\n \"duration\": null,\n \"serviceId\": null,\n \"aggregatedPrice\": false,\n \"translations\": null\n }\n ],\n \"coupons\": [],\n \"position\": 1,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":true},\\\"stripe\\\":{\\\"enabled\\\":true},\\\"mollie\\\":{\\\"enabled\\\":true},\\\"razorpay\\\":{\\\"enabled\\\":true},\\\"square\\\":{\\\"enabled\\\":true}},\\\"zoom\\\":{\\\"enabled\\\":false},\\\"lessonSpace\\\":{\\\"enabled\\\":false},\\\"activation\\\":{\\\"version\\\":\\\"6.3\\\"}}\",\n \"fullPayment\": true,\n \"minCapacity\": 1,\n \"maxCapacity\": 10,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": true,\n \"show\": true,\n \"aggregatedPrice\": true,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": \"weekly\",\n \"recurringSub\": \"future\",\n \"recurringPayment\": 0,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": false,\n \"customPricing\": \"{\\\"enabled\\\":false,\\\"durations\\\":{\\\"3600\\\":{\\\"price\\\":30,\\\"rules\\\":[]},\\\"5400\\\":{\\\"price\\\":40,\\\"rules\\\":[]}}}\",\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1,\\\"from\\\":\\\"bookingDate\\\"}\"\n }\n ],\n \"dayOffList\": [],\n \"specialDayList\": [\n {\n \"id\": 2,\n \"startDate\": \"2023-04-04\",\n \"endDate\": \"2023-04-04\",\n \"periodList\": [\n {\n \"id\": 2,\n \"startTime\": \"13:00:00\",\n \"endTime\": \"23:00:00\",\n \"locationId\": 1,\n \"periodServiceList\": [],\n \"periodLocationList\": []\n }\n ]\n }\n ],\n \"locationId\": 1,\n \"googleCalendar\": null,\n \"outlookCalendar\": null,\n \"timeZone\": null,\n \"description\": null\n }\n ],\n \"appointments\": {\n \"futureAppointments\": []\n },\n \"customFields\": [\n {\n \"id\": 1,\n \"label\": \"text\",\n \"type\": \"text\",\n \"required\": false,\n \"position\": 1,\n \"options\": [],\n \"services\": [],\n \"events\": [\n {\n \"id\": 49,\n \"name\": \"daily 2 days\",\n \"description\": null,\n \"color\": null,\n \"price\": 0,\n \"deposit\": null,\n \"depositPayment\": null,\n \"depositPerPerson\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": null,\n \"settings\": null,\n \"fullPayment\": null,\n \"bookings\": [],\n \"periods\": [],\n \"bookingOpens\": null,\n \"bookingCloses\": null,\n \"bookingOpensRec\": null,\n \"bookingClosesRec\": null,\n \"ticketRangeRec\": null,\n \"status\": null,\n \"recurring\": null,\n \"maxCapacity\": null,\n \"maxCustomCapacity\": null,\n \"show\": null,\n \"tags\": [],\n \"customTickets\": [],\n \"gallery\": [],\n \"providers\": [],\n \"notifyParticipants\": null,\n \"locationId\": null,\n \"location\": null,\n \"customLocation\": null,\n \"parentId\": 47,\n \"created\": null,\n \"zoomUserId\": null,\n \"organizerId\": null,\n \"type\": \"event\",\n \"bringingAnyone\": null,\n \"bookMultipleTimes\": null,\n \"translations\": null,\n \"customPricing\": null,\n \"closeAfterMin\": null,\n \"closeAfterMinBookings\": null,\n \"maxExtraPeople\": null,\n \"initialEventStart\": null,\n \"initialEventEnd\": null,\n \"aggregatedPrice\": null\n }\n ],\n \"translations\": null,\n \"allServices\": true,\n \"allEvents\": false\n },\n {\n \"id\": 4,\n \"label\": \"Adresa\",\n \"type\": \"address\",\n \"required\": false,\n \"position\": 3,\n \"options\": [],\n \"services\": [],\n \"events\": [],\n \"translations\": null,\n \"allServices\": true,\n \"allEvents\": false\n },\n {\n \"id\": 2,\n \"label\": \"Select1\",\n \"type\": \"select\",\n \"required\": false,\n \"position\": 3,\n \"options\": [\n {\n \"id\": 1,\n \"customFieldId\": 2,\n \"label\": \"Option1\",\n \"position\": 1,\n \"translations\": null\n },\n {\n \"id\": 2,\n \"customFieldId\": 2,\n \"label\": \"Option2\",\n \"position\": 2,\n \"translations\": null\n }\n ],\n \"services\": [],\n \"events\": [],\n \"translations\": null,\n \"allServices\": false,\n \"allEvents\": false\n }\n ],\n \"packages\": [\n {\n \"id\": 4,\n \"name\": \"2 category package\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 325,\n \"deposit\": 20,\n \"depositPayment\": \"fixed\",\n \"depositPerPerson\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": 9,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":false,\\\"payPal\\\":{\\\"enabled\\\":true},\\\"stripe\\\":{\\\"enabled\\\":false},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false}}}\",\n \"fullPayment\": true,\n \"type\": \"package\",\n \"status\": \"visible\",\n \"gallery\": [],\n \"bookable\": [\n {\n \"id\": 6,\n \"quantity\": 5,\n \"service\": {\n \"id\": 1,\n \"name\": \"amelia service\",\n \"description\": null,\n \"color\": null,\n \"price\": 20,\n \"deposit\": null,\n \"depositPayment\": null,\n \"depositPerPerson\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": null,\n \"settings\": null,\n \"fullPayment\": null,\n \"minCapacity\": 1,\n \"maxCapacity\": 10,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": null,\n \"show\": true,\n \"aggregatedPrice\": null,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": null,\n \"recurringSub\": null,\n \"recurringPayment\": null,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": null,\n \"customPricing\": null,\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": null\n },\n \"minimumScheduled\": 0,\n \"maximumScheduled\": 3,\n \"providers\": [\n {\n \"id\": 12,\n \"firstName\": \"OneLocation\",\n \"lastName\": \"Employee3\",\n \"birthday\": null,\n \"email\": \"emploeemail@test.test\",\n \"phone\": null,\n \"type\": \"provider\",\n \"status\": \"visible\",\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": null,\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": null,\n \"weekDayList\": [],\n \"serviceList\": [],\n \"dayOffList\": [],\n \"specialDayList\": [],\n \"locationId\": null,\n \"googleCalendar\": null,\n \"outlookCalendar\": null,\n \"timeZone\": null,\n \"description\": null\n }\n ],\n \"locations\": [],\n \"allowProviderSelection\": false\n },\n {\n \"id\": 7,\n \"quantity\": 5,\n \"service\": {\n \"id\": 4,\n \"name\": \"Service 2\",\n \"description\": null,\n \"color\": null,\n \"price\": 45,\n \"deposit\": null,\n \"depositPayment\": null,\n \"depositPerPerson\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": null,\n \"settings\": null,\n \"fullPayment\": null,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 3600,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": null,\n \"show\": true,\n \"aggregatedPrice\": null,\n \"status\": \"visible\",\n \"categoryId\": 2,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": null,\n \"recurringSub\": null,\n \"recurringPayment\": null,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": null,\n \"customPricing\": null,\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": null\n },\n \"minimumScheduled\": 0,\n \"maximumScheduled\": 3,\n \"providers\": [],\n \"locations\": [],\n \"allowProviderSelection\": true\n }\n ],\n \"calculatedPrice\": true,\n \"discount\": 0,\n \"endDate\": null,\n \"durationCount\": null,\n \"durationType\": null,\n \"translations\": null,\n \"sharedCapacity\": false,\n \"quantity\": 1,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1}\",\n \"available\": true\n },\n {\n \"id\": 2,\n \"name\": \"milica package\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 300,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": 8,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":true},\\\"stripe\\\":{\\\"enabled\\\":true},\\\"mollie\\\":{\\\"enabled\\\":true},\\\"razorpay\\\":{\\\"enabled\\\":false}}}\",\n \"fullPayment\": false,\n \"type\": \"package\",\n \"status\": \"visible\",\n \"gallery\": [],\n \"bookable\": [\n {\n \"id\": 4,\n \"quantity\": 3,\n \"service\": {\n \"id\": 2,\n \"name\": \"milica service\",\n \"description\": null,\n \"color\": null,\n \"price\": 100,\n \"deposit\": null,\n \"depositPayment\": null,\n \"depositPerPerson\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": null,\n \"settings\": null,\n \"fullPayment\": null,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": null,\n \"show\": true,\n \"aggregatedPrice\": null,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": null,\n \"recurringSub\": null,\n \"recurringPayment\": null,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": null,\n \"customPricing\": null,\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": null\n },\n \"minimumScheduled\": 0,\n \"maximumScheduled\": 3,\n \"providers\": [],\n \"locations\": [],\n \"allowProviderSelection\": true\n }\n ],\n \"calculatedPrice\": true,\n \"discount\": 0,\n \"endDate\": null,\n \"durationCount\": null,\n \"durationType\": null,\n \"translations\": null,\n \"sharedCapacity\": false,\n \"quantity\": 1,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1}\",\n \"available\": true\n },\n {\n \"id\": 3,\n \"name\": \"milica2 package\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 80,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": 4,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":true},\\\"stripe\\\":{\\\"enabled\\\":true},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false}}}\",\n \"fullPayment\": false,\n \"type\": \"package\",\n \"status\": \"visible\",\n \"gallery\": [],\n \"bookable\": [\n {\n \"id\": 5,\n \"quantity\": 4,\n \"service\": {\n \"id\": 3,\n \"name\": \"milica2 service\",\n \"description\": null,\n \"color\": null,\n \"price\": 20,\n \"deposit\": null,\n \"depositPayment\": null,\n \"depositPerPerson\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": null,\n \"settings\": null,\n \"fullPayment\": null,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": null,\n \"show\": true,\n \"aggregatedPrice\": null,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": null,\n \"recurringSub\": null,\n \"recurringPayment\": null,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": null,\n \"customPricing\": null,\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": null\n },\n \"minimumScheduled\": 0,\n \"maximumScheduled\": 1,\n \"providers\": [],\n \"locations\": [],\n \"allowProviderSelection\": true\n }\n ],\n \"calculatedPrice\": true,\n \"discount\": 0,\n \"endDate\": null,\n \"durationCount\": null,\n \"durationType\": null,\n \"translations\": null,\n \"sharedCapacity\": false,\n \"quantity\": 1,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1}\",\n \"available\": true\n },\n {\n \"id\": 1,\n \"name\": \"milicas package\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 120,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": 6,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":true},\\\"stripe\\\":{\\\"enabled\\\":true},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false}}}\",\n \"fullPayment\": false,\n \"type\": \"package\",\n \"status\": \"visible\",\n \"gallery\": [],\n \"bookable\": [\n {\n \"id\": 1,\n \"quantity\": 1,\n \"service\": {\n \"id\": 2,\n \"name\": \"milica service\",\n \"description\": null,\n \"color\": null,\n \"price\": 100,\n \"deposit\": null,\n \"depositPayment\": null,\n \"depositPerPerson\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": null,\n \"settings\": null,\n \"fullPayment\": null,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": null,\n \"show\": true,\n \"aggregatedPrice\": null,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": null,\n \"recurringSub\": null,\n \"recurringPayment\": null,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": null,\n \"customPricing\": null,\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": null\n },\n \"minimumScheduled\": 0,\n \"maximumScheduled\": 1,\n \"providers\": [],\n \"locations\": [],\n \"allowProviderSelection\": true\n },\n {\n \"id\": 2,\n \"quantity\": 1,\n \"service\": {\n \"id\": 3,\n \"name\": \"milica2 service\",\n \"description\": null,\n \"color\": null,\n \"price\": 20,\n \"deposit\": null,\n \"depositPayment\": null,\n \"depositPerPerson\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": null,\n \"settings\": null,\n \"fullPayment\": null,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": null,\n \"show\": true,\n \"aggregatedPrice\": null,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": null,\n \"recurringSub\": null,\n \"recurringPayment\": null,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": null,\n \"customPricing\": null,\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": null\n },\n \"minimumScheduled\": 0,\n \"maximumScheduled\": 1,\n \"providers\": [],\n \"locations\": [],\n \"allowProviderSelection\": true\n }\n ],\n \"calculatedPrice\": true,\n \"discount\": 0,\n \"endDate\": null,\n \"durationCount\": null,\n \"durationType\": null,\n \"translations\": null,\n \"sharedCapacity\": false,\n \"quantity\": 1,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1}\",\n \"available\": true\n },\n {\n \"id\": 9,\n \"name\": \"new pack\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 53.44,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": 3,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null}}}\",\n \"fullPayment\": false,\n \"type\": \"package\",\n \"status\": \"visible\",\n \"gallery\": [],\n \"bookable\": [\n {\n \"id\": 15,\n \"quantity\": 1,\n \"service\": {\n \"id\": 3,\n \"name\": \"milica2 service\",\n \"description\": null,\n \"color\": null,\n \"price\": 20,\n \"deposit\": null,\n \"depositPayment\": null,\n \"depositPerPerson\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": null,\n \"settings\": null,\n \"fullPayment\": null,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": null,\n \"show\": true,\n \"aggregatedPrice\": null,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": null,\n \"recurringSub\": null,\n \"recurringPayment\": null,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": null,\n \"customPricing\": null,\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": null\n },\n \"minimumScheduled\": 0,\n \"maximumScheduled\": 1,\n \"providers\": [],\n \"locations\": [],\n \"allowProviderSelection\": true\n },\n {\n \"id\": 16,\n \"quantity\": 1,\n \"service\": {\n \"id\": 7,\n \"name\": \"new service\",\n \"description\": null,\n \"color\": null,\n \"price\": 33.44,\n \"deposit\": null,\n \"depositPayment\": null,\n \"depositPerPerson\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": null,\n \"settings\": null,\n \"fullPayment\": null,\n \"minCapacity\": 1,\n \"maxCapacity\": 5,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": null,\n \"show\": true,\n \"aggregatedPrice\": null,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": null,\n \"recurringSub\": null,\n \"recurringPayment\": null,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": null,\n \"customPricing\": null,\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": null\n },\n \"minimumScheduled\": 0,\n \"maximumScheduled\": 1,\n \"providers\": [],\n \"locations\": [],\n \"allowProviderSelection\": true\n }\n ],\n \"calculatedPrice\": true,\n \"discount\": 0,\n \"endDate\": null,\n \"durationCount\": null,\n \"durationType\": null,\n \"translations\": null,\n \"sharedCapacity\": false,\n \"quantity\": 1,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1}\",\n \"available\": true\n },\n {\n \"id\": 6,\n \"name\": \"new paket\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 130,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": 7,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":false,\\\"payPal\\\":{\\\"enabled\\\":false},\\\"stripe\\\":{\\\"enabled\\\":false},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false}}}\",\n \"fullPayment\": false,\n \"type\": \"package\",\n \"status\": \"visible\",\n \"gallery\": [],\n \"bookable\": [\n {\n \"id\": 9,\n \"quantity\": 2,\n \"service\": {\n \"id\": 1,\n \"name\": \"amelia service\",\n \"description\": null,\n \"color\": null,\n \"price\": 20,\n \"deposit\": null,\n \"depositPayment\": null,\n \"depositPerPerson\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": null,\n \"settings\": null,\n \"fullPayment\": null,\n \"minCapacity\": 1,\n \"maxCapacity\": 10,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": null,\n \"show\": true,\n \"aggregatedPrice\": null,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": null,\n \"recurringSub\": null,\n \"recurringPayment\": null,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": null,\n \"customPricing\": null,\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": null\n },\n \"minimumScheduled\": 0,\n \"maximumScheduled\": 2,\n \"providers\": [],\n \"locations\": [],\n \"allowProviderSelection\": true\n },\n {\n \"id\": 10,\n \"quantity\": 2,\n \"service\": {\n \"id\": 4,\n \"name\": \"Service 2\",\n \"description\": null,\n \"color\": null,\n \"price\": 45,\n \"deposit\": null,\n \"depositPayment\": null,\n \"depositPerPerson\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": null,\n \"settings\": null,\n \"fullPayment\": null,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 3600,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": null,\n \"show\": true,\n \"aggregatedPrice\": null,\n \"status\": \"visible\",\n \"categoryId\": 2,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": null,\n \"recurringSub\": null,\n \"recurringPayment\": null,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": null,\n \"customPricing\": null,\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": null\n },\n \"minimumScheduled\": 0,\n \"maximumScheduled\": 2,\n \"providers\": [],\n \"locations\": [],\n \"allowProviderSelection\": false\n }\n ],\n \"calculatedPrice\": true,\n \"discount\": 0,\n \"endDate\": null,\n \"durationCount\": null,\n \"durationType\": null,\n \"translations\": null,\n \"sharedCapacity\": false,\n \"quantity\": 1,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1}\",\n \"available\": true\n },\n {\n \"id\": 7,\n \"name\": \"test paket\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 98.44,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": 5,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":false,\\\"payPal\\\":{\\\"enabled\\\":false},\\\"stripe\\\":{\\\"enabled\\\":false},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false}}}\",\n \"fullPayment\": false,\n \"type\": \"package\",\n \"status\": \"visible\",\n \"gallery\": [],\n \"bookable\": [\n {\n \"id\": 11,\n \"quantity\": 1,\n \"service\": {\n \"id\": 7,\n \"name\": \"new service\",\n \"description\": null,\n \"color\": null,\n \"price\": 33.44,\n \"deposit\": null,\n \"depositPayment\": null,\n \"depositPerPerson\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": null,\n \"settings\": null,\n \"fullPayment\": null,\n \"minCapacity\": 1,\n \"maxCapacity\": 5,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": null,\n \"show\": true,\n \"aggregatedPrice\": null,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": null,\n \"recurringSub\": null,\n \"recurringPayment\": null,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": null,\n \"customPricing\": null,\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": null\n },\n \"minimumScheduled\": 0,\n \"maximumScheduled\": 1,\n \"providers\": [],\n \"locations\": [],\n \"allowProviderSelection\": true\n },\n {\n \"id\": 12,\n \"quantity\": 1,\n \"service\": {\n \"id\": 1,\n \"name\": \"amelia service\",\n \"description\": null,\n \"color\": null,\n \"price\": 20,\n \"deposit\": null,\n \"depositPayment\": null,\n \"depositPerPerson\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": null,\n \"settings\": null,\n \"fullPayment\": null,\n \"minCapacity\": 1,\n \"maxCapacity\": 10,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": null,\n \"show\": true,\n \"aggregatedPrice\": null,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": null,\n \"recurringSub\": null,\n \"recurringPayment\": null,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": null,\n \"customPricing\": null,\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": null\n },\n \"minimumScheduled\": 0,\n \"maximumScheduled\": 1,\n \"providers\": [\n {\n \"id\": 14,\n \"firstName\": \"New\",\n \"lastName\": \"Employee\",\n \"birthday\": null,\n \"email\": \"newemployee@test.test\",\n \"phone\": null,\n \"type\": \"provider\",\n \"status\": \"visible\",\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": null,\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": null,\n \"weekDayList\": [],\n \"serviceList\": [],\n \"dayOffList\": [],\n \"specialDayList\": [],\n \"locationId\": null,\n \"googleCalendar\": null,\n \"outlookCalendar\": null,\n \"timeZone\": null,\n \"description\": null\n },\n {\n \"id\": 3,\n \"firstName\": \"Milica2\",\n \"lastName\": \"Employee2\",\n \"birthday\": null,\n \"email\": \"milicaemployee2@test.test\",\n \"phone\": null,\n \"type\": \"provider\",\n \"status\": \"visible\",\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": null,\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": null,\n \"weekDayList\": [],\n \"serviceList\": [],\n \"dayOffList\": [],\n \"specialDayList\": [],\n \"locationId\": null,\n \"googleCalendar\": null,\n \"outlookCalendar\": null,\n \"timeZone\": null,\n \"description\": null\n }\n ],\n \"locations\": [],\n \"allowProviderSelection\": false\n },\n {\n \"id\": 13,\n \"quantity\": 1,\n \"service\": {\n \"id\": 4,\n \"name\": \"Service 2\",\n \"description\": null,\n \"color\": null,\n \"price\": 45,\n \"deposit\": null,\n \"depositPayment\": null,\n \"depositPerPerson\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": null,\n \"settings\": null,\n \"fullPayment\": null,\n \"minCapacity\": 1,\n \"maxCapacity\": 1,\n \"duration\": 3600,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": null,\n \"show\": true,\n \"aggregatedPrice\": null,\n \"status\": \"visible\",\n \"categoryId\": 2,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": null,\n \"recurringSub\": null,\n \"recurringPayment\": null,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": null,\n \"customPricing\": null,\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": null\n },\n \"minimumScheduled\": 0,\n \"maximumScheduled\": 1,\n \"providers\": [\n {\n \"id\": 1,\n \"firstName\": \"Milica\",\n \"lastName\": \"Employee\",\n \"birthday\": null,\n \"email\": \"kpop.lover.10000@gmail.com\",\n \"phone\": null,\n \"type\": \"provider\",\n \"status\": \"visible\",\n \"note\": null,\n \"zoomUserId\": null,\n \"countryPhoneIso\": null,\n \"externalId\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"translations\": null,\n \"weekDayList\": [],\n \"serviceList\": [],\n \"dayOffList\": [],\n \"specialDayList\": [],\n \"locationId\": null,\n \"googleCalendar\": null,\n \"outlookCalendar\": null,\n \"timeZone\": null,\n \"description\": null\n }\n ],\n \"locations\": [],\n \"allowProviderSelection\": true\n }\n ],\n \"calculatedPrice\": true,\n \"discount\": 0,\n \"endDate\": null,\n \"durationCount\": null,\n \"durationType\": null,\n \"translations\": null,\n \"sharedCapacity\": false,\n \"quantity\": 1,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1}\",\n \"available\": true\n },\n {\n \"id\": 8,\n \"name\": \"test payments\",\n \"description\": \"\",\n \"color\": \"#1788FB\",\n \"price\": 20,\n \"deposit\": 0,\n \"depositPayment\": \"disabled\",\n \"depositPerPerson\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": 1,\n \"settings\": \"{\\\"payments\\\":{\\\"paymentLinks\\\":{\\\"enabled\\\":true,\\\"changeBookingStatus\\\":false,\\\"redirectUrl\\\":null},\\\"onSite\\\":true,\\\"payPal\\\":{\\\"enabled\\\":false},\\\"stripe\\\":{\\\"enabled\\\":true},\\\"mollie\\\":{\\\"enabled\\\":false},\\\"razorpay\\\":{\\\"enabled\\\":false}}}\",\n \"fullPayment\": false,\n \"type\": \"package\",\n \"status\": \"visible\",\n \"gallery\": [],\n \"bookable\": [\n {\n \"id\": 14,\n \"quantity\": 1,\n \"service\": {\n \"id\": 1,\n \"name\": \"amelia service\",\n \"description\": null,\n \"color\": null,\n \"price\": 20,\n \"deposit\": null,\n \"depositPayment\": null,\n \"depositPerPerson\": null,\n \"pictureFullPath\": null,\n \"pictureThumbPath\": null,\n \"extras\": [],\n \"coupons\": [],\n \"position\": null,\n \"settings\": null,\n \"fullPayment\": null,\n \"minCapacity\": 1,\n \"maxCapacity\": 10,\n \"duration\": 1800,\n \"timeBefore\": null,\n \"timeAfter\": null,\n \"bringingAnyone\": null,\n \"show\": true,\n \"aggregatedPrice\": null,\n \"status\": \"visible\",\n \"categoryId\": 1,\n \"category\": null,\n \"priority\": [],\n \"gallery\": [],\n \"recurringCycle\": null,\n \"recurringSub\": null,\n \"recurringPayment\": null,\n \"translations\": null,\n \"minSelectedExtras\": null,\n \"mandatoryExtra\": null,\n \"customPricing\": null,\n \"maxExtraPeople\": null,\n \"limitPerCustomer\": null\n },\n \"minimumScheduled\": 0,\n \"maximumScheduled\": 1,\n \"providers\": [],\n \"locations\": [],\n \"allowProviderSelection\": true\n }\n ],\n \"calculatedPrice\": true,\n \"discount\": 0,\n \"endDate\": null,\n \"durationCount\": null,\n \"durationType\": null,\n \"translations\": null,\n \"sharedCapacity\": false,\n \"quantity\": 1,\n \"limitPerCustomer\": \"{\\\"enabled\\\":false,\\\"numberOfApp\\\":1,\\\"timeFrame\\\":\\\"day\\\",\\\"period\\\":1}\",\n \"available\": true\n }\n ]\n }\n}"
3185 }
3186 ]
3187 }
3188 ]
3189 },
3190 {
3191 "name": "Search",
3192 "item": [
3193 {
3194 "name": "search slots",
3195 "request": {
3196 "method": "GET",
3197 "header": [],
3198 "url": {
3199 "raw": "{{admin_ajax_url}}/search&date=2023-09-06&location=2&page=1&services=1&sort=name&timeFrom=09:00:00&timeTo=20:00:00&providers=1",
3200 "host": [
3201 "{{admin_ajax_url}}"
3202 ],
3203 "path": [
3204 "search&date=2023-09-06&location=2&page=1&services=1&sort=name&timeFrom=09:00:00&timeTo=20:00:00&providers=1"
3205 ]
3206 }
3207 },
3208 "response": [
3209 {
3210 "name": "search slots",
3211 "originalRequest": {
3212 "method": "GET",
3213 "header": [],
3214 "url": {
3215 "raw": "{{admin_ajax_url}}/search&date=2023-05-18&location=1&page=1&services=4&sort=name&timeFrom=09:00:00&timeTo=10:30:00&providers=1",
3216 "host": [
3217 "{{admin_ajax_url}}"
3218 ],
3219 "path": [
3220 "search&date=2023-05-18&location=1&page=1&services=4&sort=name&timeFrom=09:00:00&timeTo=10:30:00&providers=1"
3221 ]
3222 }
3223 },
3224 "status": "OK",
3225 "code": 200,
3226 "_postman_previewlanguage": "json",
3227 "header": [
3228 {
3229 "key": "Date",
3230 "value": "Fri, 05 May 2023 12:02:19 GMT"
3231 },
3232 {
3233 "key": "Server",
3234 "value": "Apache/2.4.52 (Ubuntu)"
3235 },
3236 {
3237 "key": "X-Robots-Tag",
3238 "value": "noindex"
3239 },
3240 {
3241 "key": "X-Content-Type-Options",
3242 "value": "nosniff"
3243 },
3244 {
3245 "key": "Expires",
3246 "value": "Wed, 11 Jan 1984 05:00:00 GMT"
3247 },
3248 {
3249 "key": "Cache-Control",
3250 "value": "no-cache, must-revalidate, max-age=0"
3251 },
3252 {
3253 "key": "Referrer-Policy",
3254 "value": "strict-origin-when-cross-origin"
3255 },
3256 {
3257 "key": "X-Frame-Options",
3258 "value": "SAMEORIGIN"
3259 },
3260 {
3261 "key": "Content-Length",
3262 "value": "145"
3263 },
3264 {
3265 "key": "Keep-Alive",
3266 "value": "timeout=5, max=100"
3267 },
3268 {
3269 "key": "Connection",
3270 "value": "Keep-Alive"
3271 },
3272 {
3273 "key": "Content-Type",
3274 "value": "application/json;charset=utf-8"
3275 }
3276 ],
3277 "cookie": [],
3278 "body": "{\n \"message\": \"Successfully retrieved searched services.\",\n \"data\": {\n \"providersServices\": [\n {\n \"4\": 1,\n \"places\": null,\n \"locations\": [\n 1\n ],\n \"price\": 45\n }\n ],\n \"total\": 1\n }\n}"
3279 }
3280 ]
3281 }
3282 ]
3283 }
3284 ],
3285 "auth": {
3286 "type": "apikey",
3287 "apikey": [
3288 {
3289 "key": "value",
3290 "value": "",
3291 "type": "string"
3292 },
3293 {
3294 "key": "key",
3295 "value": "Amelia",
3296 "type": "string"
3297 }
3298 ]
3299 },
3300 "event": [
3301 {
3302 "listen": "prerequest",
3303 "script": {
3304 "type": "text/javascript",
3305 "exec": [
3306 ""
3307 ]
3308 }
3309 },
3310 {
3311 "listen": "test",
3312 "script": {
3313 "type": "text/javascript",
3314 "exec": [
3315 ""
3316 ]
3317 }
3318 }
3319 ],
3320 "variable": [
3321 {
3322 "key": "admin_ajax_url",
3323 "value": "http://localhost/amelia/wp-admin/admin-ajax.php?action=wpamelia_api&call=/api/v1"
3324 }
3325 ]
3326 }