1
+ {
2
+ "info" : {
3
+ "_postman_id" : " f00e126b-3521-4034-b400-b790fc45d65a" ,
4
+ "name" : " EShopMicroservices" ,
5
+ "schema" : " https://schema.getpostman.com/json/collection/v2.1.0/collection.json" ,
6
+ "_exporter_id" : " 2848550"
7
+ },
8
+ "item" : [
9
+ {
10
+ "name" : " Catalog" ,
11
+ "item" : [
12
+ {
13
+ "name" : " GET Product" ,
14
+ "request" : {
15
+ "method" : " GET" ,
16
+ "header" : [],
17
+ "url" : {
18
+ "raw" : " {{catalog_url}}/products?pageNumber=1&pageSize=5" ,
19
+ "host" : [
20
+ " {{catalog_url}}"
21
+ ],
22
+ "path" : [
23
+ " products"
24
+ ],
25
+ "query" : [
26
+ {
27
+ "key" : " pageNumber" ,
28
+ "value" : " 1"
29
+ },
30
+ {
31
+ "key" : " pageSize" ,
32
+ "value" : " 5"
33
+ }
34
+ ]
35
+ }
36
+ },
37
+ "response" : []
38
+ },
39
+ {
40
+ "name" : " GET ProductById" ,
41
+ "request" : {
42
+ "method" : " GET" ,
43
+ "header" : [],
44
+ "url" : {
45
+ "raw" : " {{catalog_url}}/products/018d2605-1fef-4cbf-b9b4-cbf999a85cc1" ,
46
+ "host" : [
47
+ " {{catalog_url}}"
48
+ ],
49
+ "path" : [
50
+ " products" ,
51
+ " 018d2605-1fef-4cbf-b9b4-cbf999a85cc1"
52
+ ]
53
+ }
54
+ },
55
+ "response" : []
56
+ },
57
+ {
58
+ "name" : " GET ProductByCategory" ,
59
+ "request" : {
60
+ "method" : " GET" ,
61
+ "header" : [],
62
+ "url" : {
63
+ "raw" : " {{catalog_url}}/products/category/c2" ,
64
+ "host" : [
65
+ " {{catalog_url}}"
66
+ ],
67
+ "path" : [
68
+ " products" ,
69
+ " category" ,
70
+ " c2"
71
+ ]
72
+ }
73
+ },
74
+ "response" : []
75
+ },
76
+ {
77
+ "name" : " POST Product" ,
78
+ "request" : {
79
+ "method" : " POST" ,
80
+ "header" : [],
81
+ "body" : {
82
+ "mode" : " raw" ,
83
+ "raw" : " {\r\n \" Name\" : \" New Product A\" ,\r\n \" Category\" : [\" c1\" , \" c2\" ],\r\n \" Description\" : \" Description Product A\" ,\r\n \" ImageFile\" : \" ImageFile Product A\" ,\r\n \" Price\" : 199\r\n }" ,
84
+ "options" : {
85
+ "raw" : {
86
+ "language" : " json"
87
+ }
88
+ }
89
+ },
90
+ "url" : {
91
+ "raw" : " {{catalog_url}}/products" ,
92
+ "host" : [
93
+ " {{catalog_url}}"
94
+ ],
95
+ "path" : [
96
+ " products"
97
+ ]
98
+ }
99
+ },
100
+ "response" : []
101
+ },
102
+ {
103
+ "name" : " PUT Product" ,
104
+ "request" : {
105
+ "method" : " PUT" ,
106
+ "header" : [],
107
+ "body" : {
108
+ "mode" : " raw" ,
109
+ "raw" : " {\r\n \" Id\" : \" 018d2605-1fef-4cbf-b9b4-cbf999a85cc1\" ,\r\n \" Name\" : \" New Product A Updated\" ,\r\n \" Category\" : [\" c1\" , \" c2\" , \" cUpdated\" ],\r\n \" Description\" : \" Description Product A Updated\" ,\r\n \" ImageFile\" : \" ImageFile Product A Updated\" ,\r\n \" Price\" : 299\r\n }" ,
110
+ "options" : {
111
+ "raw" : {
112
+ "language" : " json"
113
+ }
114
+ }
115
+ },
116
+ "url" : {
117
+ "raw" : " {{catalog_url}}/products" ,
118
+ "host" : [
119
+ " {{catalog_url}}"
120
+ ],
121
+ "path" : [
122
+ " products"
123
+ ]
124
+ }
125
+ },
126
+ "response" : []
127
+ },
128
+ {
129
+ "name" : " DELETE Product" ,
130
+ "request" : {
131
+ "method" : " DELETE" ,
132
+ "header" : [],
133
+ "url" : {
134
+ "raw" : " {{catalog_url}}/products/018d2605-1fef-4cbf-b9b4-cbf999a85cc1" ,
135
+ "host" : [
136
+ " {{catalog_url}}"
137
+ ],
138
+ "path" : [
139
+ " products" ,
140
+ " 018d2605-1fef-4cbf-b9b4-cbf999a85cc1"
141
+ ]
142
+ }
143
+ },
144
+ "response" : []
145
+ },
146
+ {
147
+ "name" : " Health" ,
148
+ "request" : {
149
+ "method" : " GET" ,
150
+ "header" : [],
151
+ "url" : {
152
+ "raw" : " {{catalog_url}}/health" ,
153
+ "host" : [
154
+ " {{catalog_url}}"
155
+ ],
156
+ "path" : [
157
+ " health"
158
+ ]
159
+ }
160
+ },
161
+ "response" : []
162
+ }
163
+ ]
164
+ },
165
+ {
166
+ "name" : " Basket" ,
167
+ "item" : [
168
+ {
169
+ "name" : " GET BasketByUsername" ,
170
+ "request" : {
171
+ "method" : " GET" ,
172
+ "header" : [],
173
+ "url" : {
174
+ "raw" : " {{basket_url}}/basket/swn" ,
175
+ "host" : [
176
+ " {{basket_url}}"
177
+ ],
178
+ "path" : [
179
+ " basket" ,
180
+ " swn"
181
+ ]
182
+ }
183
+ },
184
+ "response" : []
185
+ },
186
+ {
187
+ "name" : " POST Store Basket" ,
188
+ "request" : {
189
+ "method" : " POST" ,
190
+ "header" : [],
191
+ "body" : {
192
+ "mode" : " raw" ,
193
+ "raw" : " {\r\n\t\" Cart\" : \r\n {\r\n \" UserName\" : \" swn\" ,\r\n \" Items\" : [\r\n {\r\n \" Quantity\" : 2,\r\n \" Color\" : \" Red\" ,\r\n \" Price\" : 500,\r\n \" ProductId\" : \" 5334c996-8457-4cf0-815c-ed2b77c4ff61\" ,\r\n \" ProductName\" : \" IPhone X\"\r\n },\r\n {\r\n \" Quantity\" : 1,\r\n \" Color\" : \" Blue\" ,\r\n \" Price\" : 500,\r\n \" ProductId\" : \" c67d6323-e8b1-4bdf-9a75-b0d0d2e7e914\" ,\r\n \" ProductName\" : \" Samsung 10\"\r\n }\r\n ] \r\n }\r\n }" ,
194
+ "options" : {
195
+ "raw" : {
196
+ "language" : " json"
197
+ }
198
+ }
199
+ },
200
+ "url" : {
201
+ "raw" : " {{basket_url}}/basket" ,
202
+ "host" : [
203
+ " {{basket_url}}"
204
+ ],
205
+ "path" : [
206
+ " basket"
207
+ ]
208
+ }
209
+ },
210
+ "response" : []
211
+ },
212
+ {
213
+ "name" : " DELETE BasketByUsername" ,
214
+ "request" : {
215
+ "method" : " DELETE" ,
216
+ "header" : [],
217
+ "url" : {
218
+ "raw" : " {{basket_url}}/basket/swn" ,
219
+ "host" : [
220
+ " {{basket_url}}"
221
+ ],
222
+ "path" : [
223
+ " basket" ,
224
+ " swn"
225
+ ]
226
+ }
227
+ },
228
+ "response" : []
229
+ },
230
+ {
231
+ "name" : " POST Checkout Basket" ,
232
+ "request" : {
233
+ "method" : " POST" ,
234
+ "header" : [],
235
+ "body" : {
236
+ "mode" : " raw" ,
237
+ "raw" : " {\r\n\t\" BasketCheckoutDto\" : \r\n {\r\n\t\t \" userName\" : \" swn\" ,\r\n\t\t \" CustomerId\" : \" 189dc8dc-990f-48e0-a37b-e6f2b60b9d7d\" ,\r\n\t\t \" totalPrice\" : 0,\r\n\t\t \" firstName\" : \" swn\" ,\r\n\t\t \" lastName\" : \" swn\" ,\r\n\t\t \" emailAddress\" : \" test@test.com\" ,\r\n\t\t \" addressLine\" : \" 34 Charles Street\" ,\r\n\t\t \" country\" : \" USA\" ,\r\n\t\t \" state\" : \" Michigan\" ,\r\n\t\t \" zipCode\" : \" 48198\" ,\r\n\t\t \" cardName\" : \" swn\" ,\r\n\t\t \" cardNumber\" : \" 485-3184\" ,\r\n\t\t \" expiration\" : \" 11/30\" ,\r\n\t\t \" cvv\" : \" 333\" ,\r\n\t\t \" paymentMethod\" : 1\r\n\t\t }\r\n }" ,
238
+ "options" : {
239
+ "raw" : {
240
+ "language" : " json"
241
+ }
242
+ }
243
+ },
244
+ "url" : {
245
+ "raw" : " {{basket_url}}/basket/checkout" ,
246
+ "host" : [
247
+ " {{basket_url}}"
248
+ ],
249
+ "path" : [
250
+ " basket" ,
251
+ " checkout"
252
+ ]
253
+ }
254
+ },
255
+ "response" : []
256
+ },
257
+ {
258
+ "name" : " Health" ,
259
+ "request" : {
260
+ "method" : " GET" ,
261
+ "header" : [],
262
+ "url" : {
263
+ "raw" : " {{basket_url}}/health" ,
264
+ "host" : [
265
+ " {{basket_url}}"
266
+ ],
267
+ "path" : [
268
+ " health"
269
+ ]
270
+ }
271
+ },
272
+ "response" : []
273
+ }
274
+ ]
275
+ },
276
+ {
277
+ "name" : " Discount" ,
278
+ "item" : []
279
+ },
280
+ {
281
+ "name" : " Ordering" ,
282
+ "item" : [
283
+ {
284
+ "name" : " POST Order" ,
285
+ "request" : {
286
+ "method" : " POST" ,
287
+ "header" : [],
288
+ "body" : {
289
+ "mode" : " raw" ,
290
+ "raw": "{\r\n\t\"Order\": \r\n {\r\n \t\"CustomerId\": \"58c49479-ec65-4de2-86e7-033c546291aa\",\r\n \"OrderName\": \"ORD_4\",\r\n \"ShippingAddress\": \r\n \t{\r\n \t\t\"FirstName\": \"Valentina\",\r\n\t \"LastName\": \"Legros\",\r\n\t \"EmailAddress\": \"valeg@xmail.com\",\r\n\t \"AddressLine\": \"Wiegand Pass Suite 825\",\r\n\t \"Country\": \"USA\",\r\n\t \"State\": \"Oklahoma\",\r\n\t \"ZipCode\": \"41248\"\r\n \t},\r\n \"BillingAddress\": \r\n \t{\r\n \t\t\"FirstName\": \"Valentina\",\r\n\t \"LastName\": \"Legros\",\r\n\t \"EmailAddress\": \"valeg@xmail.com\",\r\n\t \"AddressLine\": \"Wiegand Pass Suite 825\",\r\n\t \"Country\": \"USA\",\r\n\t \"State\": \"Oklahoma\",\r\n\t \"ZipCode\": \"41248\"\r\n \t},\r\n \"Payment\": \r\n \t{\r\n \t\t\"CardName\": \"CARD_1\",\r\n\t \"CardNumber\": \"875-444-3739\",\r\n\t \"Expiration\": \"12/29\",\r\n\t \"Cvv\": \"455\",\r\n\t \"PaymentMethod\": 1\r\n \t},\r\n \"Status\": 2,\r\n \"OrderItems\": [\r\n {\r\n\t \"ProductId\": \"5334c996-8457-4cf0-815c-ed2b77c4ff61\",\r\n\t //\"ProductName\": \"IPhone X\",\r\n\t \"Quantity\": 2,\r\n\t \"Price\": 500\r\n },\r\n {\r\n\t \"ProductId\": \"c67d6323-e8b1-4bdf-9a75-b0d0d2e7e914\",\r\n\t //\"ProductName\": \"Samsung 10\",\r\n\t \"Quantity\": 1,\r\n\t \"Price\": 500\r\n }\r\n ] \r\n }\r\n}",
291
+ "options" : {
292
+ "raw" : {
293
+ "language" : " json"
294
+ }
295
+ }
296
+ },
297
+ "url" : {
298
+ "raw" : " {{ordering_url}}/orders" ,
299
+ "host" : [
300
+ " {{ordering_url}}"
301
+ ],
302
+ "path" : [
303
+ " orders"
304
+ ]
305
+ }
306
+ },
307
+ "response" : []
308
+ },
309
+ {
310
+ "name" : " PUT Order" ,
311
+ "request" : {
312
+ "method" : " PUT" ,
313
+ "header" : [],
314
+ "body" : {
315
+ "mode" : " raw" ,
316
+ "raw": "{\r\n\t\"Order\": \r\n {\r\n \"Id\": \"354c00f6-b04c-46ed-8d6d-f9f42d7bdf98\",\r\n \t\"CustomerId\": \"58c49479-ec65-4de2-86e7-033c546291aa\",\r\n \"OrderName\": \"ORD_5\",\r\n \"ShippingAddress\": \r\n \t{\r\n \t\t\"FirstName\": \"Mehmet\",\r\n\t \"LastName\": \"Legros\",\r\n\t \"EmailAddress\": \"valeg@xmail.com\",\r\n\t \"AddressLine\": \"Wiegand Pass Suite 825\",\r\n\t \"Country\": \"USA\",\r\n\t \"State\": \"New York\",\r\n\t \"ZipCode\": \"41248\"\r\n \t},\r\n \"BillingAddress\": \r\n \t{\r\n \t\t\"FirstName\": \"Mehmet\",\r\n\t \"LastName\": \"Legros\",\r\n\t \"EmailAddress\": \"valeg@xmail.com\",\r\n\t \"AddressLine\": \"Wiegand Pass Suite 825\",\r\n\t \"Country\": \"USA\",\r\n\t \"State\": \"Oklahoma\",\r\n\t \"ZipCode\": \"41248\"\r\n \t},\r\n \"Payment\": \r\n \t{\r\n \t\t\"CardName\": \"CARD_2\",\r\n\t \"CardNumber\": \"875-444-3739\",\r\n\t \"Expiration\": \"12/29\",\r\n\t \"CVV\": \"455\",\r\n\t \"PaymentMethod\": 1\r\n \t},\r\n \"Status\": 2,\r\n \"OrderItems\": [\r\n {\r\n\t \"ProductId\": \"5334c996-8457-4cf0-815c-ed2b77c4ff61\",\r\n\t //\"ProductName\": \"IPhone X\",\r\n\t \"Quantity\": 2,\r\n\t \"Price\": 500\r\n },\r\n {\r\n\t \"ProductId\": \"c67d6323-e8b1-4bdf-9a75-b0d0d2e7e914\",\r\n\t //\"ProductName\": \"Samsung 10\",\r\n\t \"Quantity\": 1,\r\n\t \"Price\": 500\r\n }\r\n ] \r\n }\r\n}",
317
+ "options" : {
318
+ "raw" : {
319
+ "language" : " json"
320
+ }
321
+ }
322
+ },
323
+ "url" : {
324
+ "raw" : " {{ordering_url}}/orders" ,
325
+ "host" : [
326
+ " {{ordering_url}}"
327
+ ],
328
+ "path" : [
329
+ " orders"
330
+ ]
331
+ }
332
+ },
333
+ "response" : []
334
+ },
335
+ {
336
+ "name" : " GET Orders w/ Pagination" ,
337
+ "request" : {
338
+ "method" : " GET" ,
339
+ "header" : [],
340
+ "url" : {
341
+ "raw" : " {{ordering_url}}/orders?PageIndex=0&PageSize=2" ,
342
+ "host" : [
343
+ " {{ordering_url}}"
344
+ ],
345
+ "path" : [
346
+ " orders"
347
+ ],
348
+ "query" : [
349
+ {
350
+ "key" : " PageIndex" ,
351
+ "value" : " 0"
352
+ },
353
+ {
354
+ "key" : " PageSize" ,
355
+ "value" : " 2"
356
+ }
357
+ ]
358
+ }
359
+ },
360
+ "response" : []
361
+ },
362
+ {
363
+ "name" : " GET Orders by Name" ,
364
+ "request" : {
365
+ "method" : " GET" ,
366
+ "header" : [],
367
+ "url" : {
368
+ "raw" : " {{ordering_url}}/orders/ORD_2" ,
369
+ "host" : [
370
+ " {{ordering_url}}"
371
+ ],
372
+ "path" : [
373
+ " orders" ,
374
+ " ORD_2"
375
+ ]
376
+ }
377
+ },
378
+ "response" : []
379
+ },
380
+ {
381
+ "name" : " GET Orders by Customer" ,
382
+ "request" : {
383
+ "method" : " GET" ,
384
+ "header" : [],
385
+ "url" : {
386
+ "raw" : " {{ordering_url}}/orders/customer/58c49479-ec65-4de2-86e7-033c546291aa" ,
387
+ "host" : [
388
+ " {{ordering_url}}"
389
+ ],
390
+ "path" : [
391
+ " orders" ,
392
+ " customer" ,
393
+ " 58c49479-ec65-4de2-86e7-033c546291aa"
394
+ ]
395
+ }
396
+ },
397
+ "response" : []
398
+ },
399
+ {
400
+ "name" : " DELETE Order" ,
401
+ "request" : {
402
+ "method" : " DELETE" ,
403
+ "header" : [],
404
+ "url" : {
405
+ "raw" : " {{ordering_url}}/orders/354c00f6-b04c-46ed-8d6d-f9f42d7bdf98" ,
406
+ "host" : [
407
+ " {{ordering_url}}"
408
+ ],
409
+ "path" : [
410
+ " orders" ,
411
+ " 354c00f6-b04c-46ed-8d6d-f9f42d7bdf98"
412
+ ]
413
+ }
414
+ },
415
+ "response" : []
416
+ },
417
+ {
418
+ "name" : " Health" ,
419
+ "request" : {
420
+ "method" : " GET" ,
421
+ "header" : [],
422
+ "url" : {
423
+ "raw" : " {{ordering_url}}/health" ,
424
+ "host" : [
425
+ " {{ordering_url}}"
426
+ ],
427
+ "path" : [
428
+ " health"
429
+ ]
430
+ }
431
+ },
432
+ "response" : []
433
+ }
434
+ ]
435
+ },
436
+ {
437
+ "name" : " YarpApiGateway" ,
438
+ "item" : [
439
+ {
440
+ "name" : " Catalog" ,
441
+ "item" : [
442
+ {
443
+ "name" : " GET Product" ,
444
+ "request" : {
445
+ "method" : " GET" ,
446
+ "header" : [],
447
+ "url" : {
448
+ "raw" : " {{yarp_url}}/catalog-service/products?pageNumber=1&pageSize=5" ,
449
+ "host" : [
450
+ " {{yarp_url}}"
451
+ ],
452
+ "path" : [
453
+ " catalog-service" ,
454
+ " products"
455
+ ],
456
+ "query" : [
457
+ {
458
+ "key" : " pageNumber" ,
459
+ "value" : " 1"
460
+ },
461
+ {
462
+ "key" : " pageSize" ,
463
+ "value" : " 5"
464
+ }
465
+ ]
466
+ }
467
+ },
468
+ "response" : []
469
+ },
470
+ {
471
+ "name" : " GET ProductById" ,
472
+ "request" : {
473
+ "method" : " GET" ,
474
+ "header" : [],
475
+ "url" : {
476
+ "raw" : " {{yarp_url}}/catalog-service/products/5334c996-8457-4cf0-815c-ed2b77c4ff61" ,
477
+ "host" : [
478
+ " {{yarp_url}}"
479
+ ],
480
+ "path" : [
481
+ " catalog-service" ,
482
+ " products" ,
483
+ " 5334c996-8457-4cf0-815c-ed2b77c4ff61"
484
+ ]
485
+ }
486
+ },
487
+ "response" : []
488
+ },
489
+ {
490
+ "name" : " GET ProductByCategory" ,
491
+ "request" : {
492
+ "method" : " GET" ,
493
+ "header" : [],
494
+ "url" : {
495
+ "raw" : " {{yarp_url}}/catalog-service/products/category/c2" ,
496
+ "host" : [
497
+ " {{yarp_url}}"
498
+ ],
499
+ "path" : [
500
+ " catalog-service" ,
501
+ " products" ,
502
+ " category" ,
503
+ " c2"
504
+ ]
505
+ }
506
+ },
507
+ "response" : []
508
+ },
509
+ {
510
+ "name" : " POST Product" ,
511
+ "request" : {
512
+ "method" : " POST" ,
513
+ "header" : [],
514
+ "body" : {
515
+ "mode" : " raw" ,
516
+ "raw" : " {\r\n \" Name\" : \" New Product A\" ,\r\n \" Category\" : [\" c1\" , \" c2\" ],\r\n \" Description\" : \" Description Product A\" ,\r\n \" ImageFile\" : \" ImageFile Product A\" ,\r\n \" Price\" : 199\r\n }" ,
517
+ "options" : {
518
+ "raw" : {
519
+ "language" : " json"
520
+ }
521
+ }
522
+ },
523
+ "url" : {
524
+ "raw" : " {{yarp_url}}/catalog-service/products" ,
525
+ "host" : [
526
+ " {{yarp_url}}"
527
+ ],
528
+ "path" : [
529
+ " catalog-service" ,
530
+ " products"
531
+ ]
532
+ }
533
+ },
534
+ "response" : []
535
+ },
536
+ {
537
+ "name" : " DELETE Product" ,
538
+ "request" : {
539
+ "method" : " DELETE" ,
540
+ "header" : [],
541
+ "url" : {
542
+ "raw" : " {{yarp_url}}/catalog-service/products/018d2605-1fef-4cbf-b9b4-cbf999a85cc1" ,
543
+ "host" : [
544
+ " {{yarp_url}}"
545
+ ],
546
+ "path" : [
547
+ " catalog-service" ,
548
+ " products" ,
549
+ " 018d2605-1fef-4cbf-b9b4-cbf999a85cc1"
550
+ ]
551
+ }
552
+ },
553
+ "response" : []
554
+ }
555
+ ]
556
+ },
557
+ {
558
+ "name" : " Basket" ,
559
+ "item" : [
560
+ {
561
+ "name" : " GET BasketByUsername" ,
562
+ "request" : {
563
+ "method" : " GET" ,
564
+ "header" : [],
565
+ "url" : {
566
+ "raw" : " {{yarp_url}}/basket-service/basket/swn" ,
567
+ "host" : [
568
+ " {{yarp_url}}"
569
+ ],
570
+ "path" : [
571
+ " basket-service" ,
572
+ " basket" ,
573
+ " swn"
574
+ ]
575
+ }
576
+ },
577
+ "response" : []
578
+ },
579
+ {
580
+ "name" : " POST Store Basket" ,
581
+ "request" : {
582
+ "method" : " POST" ,
583
+ "header" : [],
584
+ "body" : {
585
+ "mode" : " raw" ,
586
+ "raw" : " {\r\n\t\" Cart\" : \r\n {\r\n \" UserName\" : \" swn\" ,\r\n \" Items\" : [\r\n {\r\n \" Quantity\" : 2,\r\n \" Color\" : \" Red\" ,\r\n \" Price\" : 500,\r\n \" ProductId\" : \" 5334c996-8457-4cf0-815c-ed2b77c4ff61\" ,\r\n \" ProductName\" : \" IPhone X\"\r\n },\r\n {\r\n \" Quantity\" : 1,\r\n \" Color\" : \" Blue\" ,\r\n \" Price\" : 500,\r\n \" ProductId\" : \" c67d6323-e8b1-4bdf-9a75-b0d0d2e7e914\" ,\r\n \" ProductName\" : \" Samsung 10\"\r\n }\r\n ] \r\n }\r\n }" ,
587
+ "options" : {
588
+ "raw" : {
589
+ "language" : " json"
590
+ }
591
+ }
592
+ },
593
+ "url" : {
594
+ "raw" : " {{yarp_url}}/basket-service/basket" ,
595
+ "host" : [
596
+ " {{yarp_url}}"
597
+ ],
598
+ "path" : [
599
+ " basket-service" ,
600
+ " basket"
601
+ ]
602
+ }
603
+ },
604
+ "response" : []
605
+ },
606
+ {
607
+ "name" : " DELETE BasketByUsername" ,
608
+ "request" : {
609
+ "method" : " DELETE" ,
610
+ "header" : [],
611
+ "url" : {
612
+ "raw" : " {{yarp_url}}/basket-service/basket/swn" ,
613
+ "host" : [
614
+ " {{yarp_url}}"
615
+ ],
616
+ "path" : [
617
+ " basket-service" ,
618
+ " basket" ,
619
+ " swn"
620
+ ]
621
+ }
622
+ },
623
+ "response" : []
624
+ },
625
+ {
626
+ "name" : " POST Checkout Basket" ,
627
+ "request" : {
628
+ "method" : " POST" ,
629
+ "header" : [],
630
+ "body" : {
631
+ "mode" : " raw" ,
632
+ "raw" : " {\r\n\t\" BasketCheckoutDto\" : \r\n {\r\n\t\t \" userName\" : \" swn\" ,\r\n\t\t \" CustomerId\" : \" 189dc8dc-990f-48e0-a37b-e6f2b60b9d7d\" ,\r\n\t\t \" totalPrice\" : 0,\r\n\t\t \" firstName\" : \" swn\" ,\r\n\t\t \" lastName\" : \" swn\" ,\r\n\t\t \" emailAddress\" : \" test@test.com\" ,\r\n\t\t \" addressLine\" : \" 34 Charles Street\" ,\r\n\t\t \" country\" : \" USA\" ,\r\n\t\t \" state\" : \" Michigan\" ,\r\n\t\t \" zipCode\" : \" 48198\" ,\r\n\t\t \" cardName\" : \" swn\" ,\r\n\t\t \" cardNumber\" : \" 485-3184\" ,\r\n\t\t \" expiration\" : \" 11/30\" ,\r\n\t\t \" cvv\" : \" 333\" ,\r\n\t\t \" paymentMethod\" : 1\r\n\t\t }\r\n }" ,
633
+ "options" : {
634
+ "raw" : {
635
+ "language" : " json"
636
+ }
637
+ }
638
+ },
639
+ "url" : {
640
+ "raw" : " {{yarp_url}}/basket-service/basket/checkout" ,
641
+ "host" : [
642
+ " {{yarp_url}}"
643
+ ],
644
+ "path" : [
645
+ " basket-service" ,
646
+ " basket" ,
647
+ " checkout"
648
+ ]
649
+ }
650
+ },
651
+ "response" : []
652
+ }
653
+ ]
654
+ },
655
+ {
656
+ "name" : " Ordering" ,
657
+ "item" : [
658
+ {
659
+ "name" : " GET Orders w/ Pagination" ,
660
+ "request" : {
661
+ "method" : " GET" ,
662
+ "header" : [],
663
+ "url" : {
664
+ "raw" : " {{yarp_url}}/ordering-service/orders?PageIndex=0&PageSize=2" ,
665
+ "host" : [
666
+ " {{yarp_url}}"
667
+ ],
668
+ "path" : [
669
+ " ordering-service" ,
670
+ " orders"
671
+ ],
672
+ "query" : [
673
+ {
674
+ "key" : " PageIndex" ,
675
+ "value" : " 0"
676
+ },
677
+ {
678
+ "key" : " PageSize" ,
679
+ "value" : " 2"
680
+ }
681
+ ]
682
+ }
683
+ },
684
+ "response" : []
685
+ },
686
+ {
687
+ "name" : " GET Orders by Name" ,
688
+ "request" : {
689
+ "method" : " GET" ,
690
+ "header" : [],
691
+ "url" : {
692
+ "raw" : " {{yarp_url}}/ordering-service/orders/ORD_2" ,
693
+ "host" : [
694
+ " {{yarp_url}}"
695
+ ],
696
+ "path" : [
697
+ " ordering-service" ,
698
+ " orders" ,
699
+ " ORD_2"
700
+ ]
701
+ }
702
+ },
703
+ "response" : []
704
+ },
705
+ {
706
+ "name" : " GET Orders by Customer" ,
707
+ "request" : {
708
+ "method" : " GET" ,
709
+ "header" : [],
710
+ "url" : {
711
+ "raw" : " {{yarp_url}}/ordering-service/orders/customer/58c49479-ec65-4de2-86e7-033c546291aa" ,
712
+ "host" : [
713
+ " {{yarp_url}}"
714
+ ],
715
+ "path" : [
716
+ " ordering-service" ,
717
+ " orders" ,
718
+ " customer" ,
719
+ " 58c49479-ec65-4de2-86e7-033c546291aa"
720
+ ]
721
+ }
722
+ },
723
+ "response" : []
724
+ }
725
+ ]
726
+ }
727
+ ]
728
+ }
729
+ ]
730
+ }
0 commit comments