faithteams-api 2.0.2 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1301 @@
1
+ {
2
+ "_id": "7e12af9b-4204-4a86-b2f8-f77e21502281",
3
+ "colName": "FaithTeams API",
4
+ "created": "2024-05-20T15:59:22.239Z",
5
+ "sortNum": 15000,
6
+ "folders": [
7
+ {
8
+ "_id": "d5fa564a-c7bd-406f-aa5e-86f4b760a8a3",
9
+ "name": "api-v2.faithteams.com",
10
+ "containerId": "",
11
+ "created": "2024-05-20T15:59:22.242Z",
12
+ "sortNum": 80000,
13
+ "settings": {
14
+ "headers": [
15
+ {
16
+ "name": "Token",
17
+ "value": "{{auth_token}}",
18
+ "isDisabled": true
19
+ }
20
+ ]
21
+ }
22
+ },
23
+ {
24
+ "_id": "56045fdb-a114-44dd-a087-a6b7963288c9",
25
+ "name": "api.faithteams.com/api/v1",
26
+ "containerId": "",
27
+ "created": "2024-05-20T15:59:22.243Z",
28
+ "sortNum": 90000
29
+ },
30
+ {
31
+ "_id": "45172d21-d699-42da-a2d9-35599bf24a05",
32
+ "name": "Batch",
33
+ "containerId": "d5fa564a-c7bd-406f-aa5e-86f4b760a8a3",
34
+ "created": "2024-05-20T15:59:22.244Z",
35
+ "sortNum": 90000
36
+ },
37
+ {
38
+ "_id": "b29d1b91-d918-4ac6-af50-5097516c700a",
39
+ "name": "Fund",
40
+ "containerId": "d5fa564a-c7bd-406f-aa5e-86f4b760a8a3",
41
+ "created": "2024-05-20T15:59:22.245Z",
42
+ "sortNum": 100000
43
+ },
44
+ {
45
+ "_id": "4b4bf857-d1b5-4556-883f-8962aad1f908",
46
+ "name": "Contribution",
47
+ "containerId": "d5fa564a-c7bd-406f-aa5e-86f4b760a8a3",
48
+ "created": "2024-05-20T15:59:22.246Z",
49
+ "sortNum": 110000
50
+ },
51
+ {
52
+ "_id": "0a476a9f-2524-414f-a68e-5c14773526a4",
53
+ "name": "Contribution Type",
54
+ "containerId": "d5fa564a-c7bd-406f-aa5e-86f4b760a8a3",
55
+ "created": "2024-05-20T15:59:22.248Z",
56
+ "sortNum": 140000
57
+ },
58
+ {
59
+ "_id": "20b25510-6d44-4d11-941e-8e75018161a2",
60
+ "name": "Error",
61
+ "containerId": "d5fa564a-c7bd-406f-aa5e-86f4b760a8a3",
62
+ "created": "2024-05-20T15:59:22.249Z",
63
+ "sortNum": 150000
64
+ },
65
+ {
66
+ "_id": "becd2e82-af3e-4228-9ef8-8999c4f7d70c",
67
+ "name": "Tag",
68
+ "containerId": "d5fa564a-c7bd-406f-aa5e-86f4b760a8a3",
69
+ "created": "2024-05-20T15:59:22.250Z",
70
+ "sortNum": 150000
71
+ }
72
+ ],
73
+ "settings": {
74
+ "headers": [
75
+ {
76
+ "name": "Accept",
77
+ "value": "application/json"
78
+ },
79
+ {
80
+ "name": "Content-Type",
81
+ "value": "application/json"
82
+ }
83
+ ],
84
+ "auth": {
85
+ "type": "basic",
86
+ "basic": {
87
+ "username": "{{user_id}}",
88
+ "password": "{{password}}"
89
+ }
90
+ },
91
+ "envId": "ca95294a-a9fa-4de5-9a20-e0cbe4c69aec"
92
+ },
93
+ "requests": [
94
+ {
95
+ "_id": "5a4878d0-e89e-4fed-84a6-98cb528121a0",
96
+ "colId": "7e12af9b-4204-4a86-b2f8-f77e21502281",
97
+ "containerId": "56045fdb-a114-44dd-a087-a6b7963288c9",
98
+ "name": "Authenticate",
99
+ "url": "https://api.faithteams.com/api/v1/authenticate",
100
+ "method": "GET",
101
+ "sortNum": 10000,
102
+ "created": "2024-05-20T15:59:22.244Z",
103
+ "modified": "2024-05-20T15:59:22.244Z",
104
+ "headers": [
105
+ {
106
+ "name": "Authorization",
107
+ "value": "Basic: {{user_credentials | btoa}}",
108
+ "isDisabled": true
109
+ },
110
+ {
111
+ "name": "Accept",
112
+ "value": "*/*",
113
+ "isDisabled": true
114
+ },
115
+ {
116
+ "name": "User-Agent",
117
+ "value": "Thunder Client (https://www.thunderclient.com)",
118
+ "isDisabled": true
119
+ }
120
+ ],
121
+ "params": [],
122
+ "tests": [
123
+ {
124
+ "type": "set-env-var",
125
+ "custom": "json.data.token",
126
+ "action": "setto",
127
+ "value": "{{auth_token}}"
128
+ },
129
+ {
130
+ "type": "res-code",
131
+ "custom": "",
132
+ "action": "equal",
133
+ "value": "200"
134
+ },
135
+ {
136
+ "type": "json-query",
137
+ "custom": "json.data",
138
+ "action": "istype",
139
+ "value": "object"
140
+ },
141
+ {
142
+ "type": "json-query",
143
+ "custom": "json.data.token",
144
+ "action": "istype",
145
+ "value": "string"
146
+ },
147
+ {
148
+ "type": "json-query",
149
+ "custom": "json.message",
150
+ "action": "equal",
151
+ "value": "Logon Successful"
152
+ }
153
+ ]
154
+ },
155
+ {
156
+ "_id": "e5c67454-be81-42c2-aedb-4b758609917d",
157
+ "colId": "7e12af9b-4204-4a86-b2f8-f77e21502281",
158
+ "containerId": "b29d1b91-d918-4ac6-af50-5097516c700a",
159
+ "name": "Funds",
160
+ "url": "https://api-v2.faithteams.com/funds",
161
+ "method": "GET",
162
+ "sortNum": 10000,
163
+ "created": "2024-05-20T15:59:22.246Z",
164
+ "modified": "2024-05-20T15:59:22.246Z",
165
+ "headers": [
166
+ {
167
+ "name": "Accept",
168
+ "value": "*/*",
169
+ "isDisabled": true
170
+ },
171
+ {
172
+ "name": "User-Agent",
173
+ "value": "Thunder Client (https://www.thunderclient.com)",
174
+ "isDisabled": true
175
+ }
176
+ ],
177
+ "params": [],
178
+ "tests": [
179
+ {
180
+ "type": "res-code",
181
+ "custom": "",
182
+ "action": "equal",
183
+ "value": "200"
184
+ },
185
+ {
186
+ "type": "json-query",
187
+ "custom": "json",
188
+ "action": "istype",
189
+ "value": "object"
190
+ },
191
+ {
192
+ "type": "json-query",
193
+ "custom": "json.data",
194
+ "action": "istype",
195
+ "value": "array"
196
+ },
197
+ {
198
+ "type": "set-env-var",
199
+ "custom": "json.data[0].fundId",
200
+ "action": "setto",
201
+ "value": "{{fund_id}}"
202
+ },
203
+ {
204
+ "type": "json-query",
205
+ "custom": "json.message",
206
+ "action": "equal",
207
+ "value": "Funds Retrieved"
208
+ }
209
+ ],
210
+ "docs": "http://docs.faithteams.com/#get-funds"
211
+ },
212
+ {
213
+ "_id": "62c91261-0ae8-4c1e-a9ed-dd8d02186c48",
214
+ "colId": "7e12af9b-4204-4a86-b2f8-f77e21502281",
215
+ "containerId": "4b4bf857-d1b5-4556-883f-8962aad1f908",
216
+ "name": "Contributions",
217
+ "url": "https://api-v2.faithteams.com/contributions?startDt=1923-01-01&endDt=2033-01-01",
218
+ "method": "GET",
219
+ "sortNum": 10000,
220
+ "created": "2024-05-20T15:59:22.247Z",
221
+ "modified": "2024-05-20T15:59:22.247Z",
222
+ "headers": [
223
+ {
224
+ "name": "Accept",
225
+ "value": "*/*",
226
+ "isDisabled": true
227
+ },
228
+ {
229
+ "name": "User-Agent",
230
+ "value": "Thunder Client (https://www.thunderclient.com)",
231
+ "isDisabled": true
232
+ }
233
+ ],
234
+ "params": [
235
+ {
236
+ "name": "filters",
237
+ "value": "true",
238
+ "isDisabled": true,
239
+ "isPath": false
240
+ },
241
+ {
242
+ "name": "personIds",
243
+ "value": "769839",
244
+ "isDisabled": true,
245
+ "isPath": false
246
+ },
247
+ {
248
+ "name": "startDt",
249
+ "value": "1923-01-01",
250
+ "isPath": false
251
+ },
252
+ {
253
+ "name": "endDt",
254
+ "value": "2033-01-01",
255
+ "isPath": false
256
+ },
257
+ {
258
+ "name": "resultType",
259
+ "value": "sum",
260
+ "isDisabled": true,
261
+ "isPath": false
262
+ },
263
+ {
264
+ "name": "groupBy",
265
+ "value": "personId,fundId",
266
+ "isDisabled": true,
267
+ "isPath": false
268
+ },
269
+ {
270
+ "name": "statuses",
271
+ "value": "A",
272
+ "isDisabled": true,
273
+ "isPath": false
274
+ },
275
+ {
276
+ "name": "limit",
277
+ "value": "500",
278
+ "isDisabled": true,
279
+ "isPath": false
280
+ },
281
+ {
282
+ "name": "sort",
283
+ "value": "dtm",
284
+ "isDisabled": true,
285
+ "isPath": false
286
+ },
287
+ {
288
+ "name": "sortDirection",
289
+ "value": "asc",
290
+ "isDisabled": true,
291
+ "isPath": false
292
+ }
293
+ ],
294
+ "tests": [
295
+ {
296
+ "type": "res-code",
297
+ "custom": "",
298
+ "action": "equal",
299
+ "value": "200"
300
+ },
301
+ {
302
+ "type": "json-query",
303
+ "custom": "json",
304
+ "action": "istype",
305
+ "value": "object"
306
+ },
307
+ {
308
+ "type": "json-query",
309
+ "custom": "json.data",
310
+ "action": "istype",
311
+ "value": "array"
312
+ },
313
+ {
314
+ "type": "set-env-var",
315
+ "custom": "json.data[0].contributionId",
316
+ "action": "setto",
317
+ "value": "{{contribution_id}}"
318
+ },
319
+ {
320
+ "type": "set-env-var",
321
+ "custom": "json.data[0].parentId",
322
+ "action": "setto",
323
+ "value": "{{contribution_parent_id}}"
324
+ },
325
+ {
326
+ "type": "json-query",
327
+ "custom": "json.message",
328
+ "action": "equal",
329
+ "value": "Contributions Retrieved"
330
+ }
331
+ ]
332
+ },
333
+ {
334
+ "_id": "5ec48e59-68e7-4a39-9c68-c92be234c5c2",
335
+ "colId": "7e12af9b-4204-4a86-b2f8-f77e21502281",
336
+ "containerId": "0a476a9f-2524-414f-a68e-5c14773526a4",
337
+ "name": "Contribution Types",
338
+ "url": "https://api-v2.faithteams.com/contributiontypes",
339
+ "method": "GET",
340
+ "sortNum": 10000,
341
+ "created": "2024-05-20T15:59:22.251Z",
342
+ "modified": "2024-05-20T15:59:22.251Z",
343
+ "headers": [
344
+ {
345
+ "name": "Accept",
346
+ "value": "*/*",
347
+ "isDisabled": true
348
+ },
349
+ {
350
+ "name": "User-Agent",
351
+ "value": "Thunder Client (https://www.thunderclient.com)",
352
+ "isDisabled": true
353
+ }
354
+ ],
355
+ "params": [],
356
+ "tests": [
357
+ {
358
+ "type": "res-code",
359
+ "custom": "",
360
+ "action": "equal",
361
+ "value": "200"
362
+ },
363
+ {
364
+ "type": "json-query",
365
+ "custom": "json.data",
366
+ "action": "istype",
367
+ "value": "array"
368
+ },
369
+ {
370
+ "type": "json-query",
371
+ "custom": "json.success",
372
+ "action": "equal",
373
+ "value": "true"
374
+ },
375
+ {
376
+ "type": "json-query",
377
+ "custom": "json.message",
378
+ "action": "equal",
379
+ "value": "Contribution Types Retrieved"
380
+ },
381
+ {
382
+ "type": "set-env-var",
383
+ "custom": "json.data[0].contributionTypeId",
384
+ "action": "setto",
385
+ "value": "{{contribution_type_id}}"
386
+ },
387
+ {
388
+ "type": "json-query",
389
+ "custom": "json.authenticated",
390
+ "action": "equal",
391
+ "value": "true"
392
+ },
393
+ {
394
+ "type": "json-query",
395
+ "custom": "json.authorized",
396
+ "action": "equal",
397
+ "value": "true"
398
+ }
399
+ ],
400
+ "docs": "http://docs.faithteams.com/#contribution-types"
401
+ },
402
+ {
403
+ "_id": "2c806126-e1fb-4e14-8059-275270343190",
404
+ "colId": "7e12af9b-4204-4a86-b2f8-f77e21502281",
405
+ "containerId": "45172d21-d699-42da-a2d9-35599bf24a05",
406
+ "name": "Batches",
407
+ "url": "https://api-v2.faithteams.com/batches?sort=dtm&sortDirection=desc&dtm=2023-08-28",
408
+ "method": "GET",
409
+ "sortNum": 10000,
410
+ "created": "2024-05-20T15:59:22.252Z",
411
+ "modified": "2024-05-20T15:59:22.252Z",
412
+ "headers": [
413
+ {
414
+ "name": "Accept",
415
+ "value": "*/*",
416
+ "isDisabled": true
417
+ },
418
+ {
419
+ "name": "User-Agent",
420
+ "value": "Thunder Client (https://www.thunderclient.com)",
421
+ "isDisabled": true
422
+ }
423
+ ],
424
+ "params": [
425
+ {
426
+ "name": "sort",
427
+ "value": "batchId",
428
+ "isDisabled": true,
429
+ "isPath": false
430
+ },
431
+ {
432
+ "name": "sort",
433
+ "value": "dtm",
434
+ "isPath": false
435
+ },
436
+ {
437
+ "name": "sort",
438
+ "value": "updatedDtm",
439
+ "isDisabled": true,
440
+ "isPath": false
441
+ },
442
+ {
443
+ "name": "sortDirection",
444
+ "value": "desc",
445
+ "isPath": false
446
+ },
447
+ {
448
+ "name": "status",
449
+ "value": "O",
450
+ "isDisabled": true,
451
+ "isPath": false
452
+ },
453
+ {
454
+ "name": "dtm",
455
+ "value": "2023-08-28",
456
+ "isPath": false
457
+ },
458
+ {
459
+ "name": "title",
460
+ "value": "2023-08-28 Central Campus Tithely Card",
461
+ "isDisabled": true,
462
+ "isPath": false
463
+ },
464
+ {
465
+ "name": "description",
466
+ "value": "",
467
+ "isDisabled": true,
468
+ "isPath": false
469
+ },
470
+ {
471
+ "name": "limit",
472
+ "value": "",
473
+ "isDisabled": true,
474
+ "isPath": false
475
+ },
476
+ {
477
+ "name": "start",
478
+ "value": "",
479
+ "isDisabled": true,
480
+ "isPath": false
481
+ },
482
+ {
483
+ "name": "batchIds",
484
+ "value": "200782",
485
+ "isDisabled": true,
486
+ "isPath": false
487
+ },
488
+ {
489
+ "name": "status",
490
+ "value": "",
491
+ "isDisabled": true,
492
+ "isPath": false
493
+ }
494
+ ],
495
+ "tests": [
496
+ {
497
+ "type": "res-code",
498
+ "custom": "",
499
+ "action": "equal",
500
+ "value": "200"
501
+ },
502
+ {
503
+ "type": "json-query",
504
+ "custom": "json",
505
+ "action": "istype",
506
+ "value": "object"
507
+ },
508
+ {
509
+ "type": "json-query",
510
+ "custom": "json.data",
511
+ "action": "istype",
512
+ "value": "array"
513
+ },
514
+ {
515
+ "type": "json-query",
516
+ "custom": "json.message",
517
+ "action": "equal",
518
+ "value": "Batches Retrieved"
519
+ },
520
+ {
521
+ "type": "set-env-var",
522
+ "custom": "json.data[0].batchId",
523
+ "action": "setto",
524
+ "value": "{{batch_id}}"
525
+ },
526
+ {
527
+ "type": "set-env-var",
528
+ "custom": "json.data[1].batchId",
529
+ "action": "setto",
530
+ "value": "{{batch_id_2}}"
531
+ }
532
+ ],
533
+ "docs": "http://docs.faithteams.com/#get-batches"
534
+ },
535
+ {
536
+ "_id": "7017d1be-7185-49ad-a185-aaa129c68b3b",
537
+ "colId": "7e12af9b-4204-4a86-b2f8-f77e21502281",
538
+ "containerId": "b29d1b91-d918-4ac6-af50-5097516c700a",
539
+ "name": "Fund",
540
+ "url": "https://api-v2.faithteams.com/funds/{{fund_id}}",
541
+ "method": "GET",
542
+ "sortNum": 15000,
543
+ "created": "2024-05-20T15:59:22.253Z",
544
+ "modified": "2024-05-20T15:59:22.253Z",
545
+ "headers": [
546
+ {
547
+ "name": "Accept",
548
+ "value": "*/*",
549
+ "isDisabled": true
550
+ },
551
+ {
552
+ "name": "User-Agent",
553
+ "value": "Thunder Client (https://www.thunderclient.com)",
554
+ "isDisabled": true
555
+ }
556
+ ],
557
+ "params": [],
558
+ "tests": [
559
+ {
560
+ "type": "res-code",
561
+ "custom": "",
562
+ "action": "equal",
563
+ "value": "200"
564
+ },
565
+ {
566
+ "type": "json-query",
567
+ "custom": "json",
568
+ "action": "istype",
569
+ "value": "object"
570
+ },
571
+ {
572
+ "type": "json-query",
573
+ "custom": "json.data",
574
+ "action": "istype",
575
+ "value": "object"
576
+ },
577
+ {
578
+ "type": "set-env-var",
579
+ "custom": "json.data.fundId",
580
+ "action": "setto",
581
+ "value": "{{fund_id}}"
582
+ },
583
+ {
584
+ "type": "json-query",
585
+ "custom": "json.message",
586
+ "action": "equal",
587
+ "value": "Fund Retrieved"
588
+ }
589
+ ],
590
+ "docs": "http://docs.faithteams.com/#get-funds"
591
+ },
592
+ {
593
+ "_id": "dabaefbf-137f-4d01-8bef-93c9675a2366",
594
+ "colId": "7e12af9b-4204-4a86-b2f8-f77e21502281",
595
+ "containerId": "b29d1b91-d918-4ac6-af50-5097516c700a",
596
+ "name": "Fund",
597
+ "url": "https://api-v2.faithteams.com/funds",
598
+ "method": "POST",
599
+ "sortNum": 20000,
600
+ "created": "2024-05-20T15:59:22.255Z",
601
+ "modified": "2024-05-20T15:59:22.255Z",
602
+ "headers": [
603
+ {
604
+ "name": "Accept",
605
+ "value": "*/*",
606
+ "isDisabled": true
607
+ },
608
+ {
609
+ "name": "User-Agent",
610
+ "value": "Thunder Client (https://www.thunderclient.com)",
611
+ "isDisabled": true
612
+ }
613
+ ],
614
+ "params": [],
615
+ "body": {
616
+ "type": "json",
617
+ "raw": "{\n \"fundId\":-1,\n \"name\":\"Cat Fund\",\n \"description\":\"$$ for kitties\",\n \"status\":\"A\",\n \"onlineStatus\":\"I\",\n \"taxDeductible\":\"Y\",\n \"isDefault\":\"N\",\n \"sort\":1,\n \"showInternally\":true,\n \"showExternally\":false\n}",
618
+ "form": []
619
+ },
620
+ "tests": [
621
+ {
622
+ "type": "res-code",
623
+ "custom": "",
624
+ "action": "equal",
625
+ "value": "201"
626
+ },
627
+ {
628
+ "type": "json-query",
629
+ "custom": "json",
630
+ "action": "istype",
631
+ "value": "object"
632
+ },
633
+ {
634
+ "type": "json-query",
635
+ "custom": "json.message",
636
+ "action": "equal",
637
+ "value": "Fund Created"
638
+ },
639
+ {
640
+ "type": "json-query",
641
+ "custom": "json.data",
642
+ "action": "istype",
643
+ "value": "object"
644
+ },
645
+ {
646
+ "type": "json-query",
647
+ "custom": "json.data.name",
648
+ "action": "equal",
649
+ "value": "Cat Fund"
650
+ }
651
+ ]
652
+ },
653
+ {
654
+ "_id": "6a1a7fbc-1ae5-4ed1-9d70-4076230299f3",
655
+ "colId": "7e12af9b-4204-4a86-b2f8-f77e21502281",
656
+ "containerId": "45172d21-d699-42da-a2d9-35599bf24a05",
657
+ "name": "Batch",
658
+ "url": "https://api-v2.faithteams.com/batches/{{batch_id}}",
659
+ "method": "GET",
660
+ "sortNum": 20000,
661
+ "created": "2024-05-20T15:59:22.256Z",
662
+ "modified": "2024-05-20T15:59:22.256Z",
663
+ "headers": [
664
+ {
665
+ "name": "Accept",
666
+ "value": "*/*",
667
+ "isDisabled": true
668
+ },
669
+ {
670
+ "name": "User-Agent",
671
+ "value": "Thunder Client (https://www.thunderclient.com)",
672
+ "isDisabled": true
673
+ }
674
+ ],
675
+ "params": [],
676
+ "tests": [
677
+ {
678
+ "type": "res-code",
679
+ "custom": "",
680
+ "action": "equal",
681
+ "value": "200"
682
+ },
683
+ {
684
+ "type": "json-query",
685
+ "custom": "json.",
686
+ "action": "istype",
687
+ "value": "object"
688
+ },
689
+ {
690
+ "type": "json-query",
691
+ "custom": "json.data",
692
+ "action": "istype",
693
+ "value": "object"
694
+ },
695
+ {
696
+ "type": "json-query",
697
+ "custom": "json.message",
698
+ "action": "equal",
699
+ "value": "Batch Retrieved"
700
+ },
701
+ {
702
+ "type": "json-query",
703
+ "custom": "json.data.contributions | length",
704
+ "action": ">=",
705
+ "value": "1"
706
+ },
707
+ {
708
+ "type": "json-query",
709
+ "custom": "json.data.batchId",
710
+ "action": "equal",
711
+ "value": "{{batch_id}}"
712
+ }
713
+ ],
714
+ "preReq": {
715
+ "runRequests": [
716
+ {
717
+ "reqId": "a9d1efd5-a23f-4a6b-895d-9326b5b2377b",
718
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
719
+ "triggerCondition": "run-var-empty",
720
+ "triggerValue": "{{batch_id}}"
721
+ }
722
+ ]
723
+ }
724
+ },
725
+ {
726
+ "_id": "59ad030b-8f7a-4772-add1-771accffec59",
727
+ "colId": "7e12af9b-4204-4a86-b2f8-f77e21502281",
728
+ "containerId": "4b4bf857-d1b5-4556-883f-8962aad1f908",
729
+ "name": "Contribution",
730
+ "url": "https://api-v2.faithteams.com/contributions/{{contribution_parent_id}}",
731
+ "method": "GET",
732
+ "sortNum": 20000,
733
+ "created": "2024-05-20T15:59:22.257Z",
734
+ "modified": "2024-05-20T15:59:22.257Z",
735
+ "headers": [
736
+ {
737
+ "name": "Accept",
738
+ "value": "*/*",
739
+ "isDisabled": true
740
+ },
741
+ {
742
+ "name": "User-Agent",
743
+ "value": "Thunder Client (https://www.thunderclient.com)",
744
+ "isDisabled": true
745
+ }
746
+ ],
747
+ "params": [],
748
+ "tests": [
749
+ {
750
+ "type": "res-code",
751
+ "custom": "",
752
+ "action": "equal",
753
+ "value": "200"
754
+ },
755
+ {
756
+ "type": "json-query",
757
+ "custom": "json",
758
+ "action": "istype",
759
+ "value": "object"
760
+ },
761
+ {
762
+ "type": "json-query",
763
+ "custom": "json.data",
764
+ "action": "istype",
765
+ "value": "array"
766
+ },
767
+ {
768
+ "type": "json-query",
769
+ "custom": "json.data | length",
770
+ "action": ">=",
771
+ "value": "2"
772
+ },
773
+ {
774
+ "type": "json-query",
775
+ "custom": "json.data[0].parentId",
776
+ "action": "equal",
777
+ "value": "{{contribution_parent_id}}"
778
+ },
779
+ {
780
+ "type": "json-query",
781
+ "custom": "json.data[0].contributionId",
782
+ "action": "equal",
783
+ "value": "{{contribution_parent_id}}"
784
+ },
785
+ {
786
+ "type": "json-query",
787
+ "custom": "json.message",
788
+ "action": "equal",
789
+ "value": "Contribution Retrieved"
790
+ }
791
+ ],
792
+ "preReq": {
793
+ "runRequests": [
794
+ {
795
+ "reqId": "2256c8f1-8336-4dcf-a2f1-13692b7d6cc6",
796
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
797
+ "triggerCondition": "run-var-empty",
798
+ "triggerValue": "{{contribution_parent_id}}"
799
+ }
800
+ ]
801
+ }
802
+ },
803
+ {
804
+ "_id": "0f44f65d-ac5b-4981-b000-0558d93250a9",
805
+ "colId": "7e12af9b-4204-4a86-b2f8-f77e21502281",
806
+ "containerId": "0a476a9f-2524-414f-a68e-5c14773526a4",
807
+ "name": "Contribution Type",
808
+ "url": "https://api-v2.faithteams.com/contributiontypes/{{contribution_type_id}}",
809
+ "method": "GET",
810
+ "sortNum": 20000,
811
+ "created": "2024-05-20T15:59:22.258Z",
812
+ "modified": "2024-05-20T15:59:22.258Z",
813
+ "headers": [
814
+ {
815
+ "name": "Accept",
816
+ "value": "*/*",
817
+ "isDisabled": true
818
+ },
819
+ {
820
+ "name": "User-Agent",
821
+ "value": "Thunder Client (https://www.thunderclient.com)",
822
+ "isDisabled": true
823
+ }
824
+ ],
825
+ "params": [],
826
+ "tests": [
827
+ {
828
+ "type": "res-code",
829
+ "custom": "",
830
+ "action": "equal",
831
+ "value": "200"
832
+ },
833
+ {
834
+ "type": "json-query",
835
+ "custom": "json.data",
836
+ "action": "istype",
837
+ "value": "object"
838
+ },
839
+ {
840
+ "type": "json-query",
841
+ "custom": "json.data.contributionTypeId",
842
+ "action": "equal",
843
+ "value": "{{contribution_type_id}}"
844
+ },
845
+ {
846
+ "type": "json-query",
847
+ "custom": "json.message",
848
+ "action": "equal",
849
+ "value": "Contribution Type Retrieved"
850
+ }
851
+ ],
852
+ "docs": "http://docs.faithteams.com/#contribution-types",
853
+ "preReq": {
854
+ "runRequests": [
855
+ {
856
+ "reqId": "7c537cf4-e095-457b-a328-9838eca26bfc",
857
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
858
+ "triggerCondition": "run-var-empty",
859
+ "triggerValue": "{{contribution_type_id}}"
860
+ }
861
+ ]
862
+ }
863
+ },
864
+ {
865
+ "_id": "28ec836d-39c2-4a38-8ec8-d03093534f55",
866
+ "colId": "7e12af9b-4204-4a86-b2f8-f77e21502281",
867
+ "containerId": "45172d21-d699-42da-a2d9-35599bf24a05",
868
+ "name": "Batch Copy",
869
+ "url": "https://api-v2.faithteams.com/batches/204324",
870
+ "method": "PUT",
871
+ "sortNum": 25000,
872
+ "created": "2024-05-20T15:59:22.261Z",
873
+ "modified": "2024-05-20T15:59:22.261Z",
874
+ "headers": [
875
+ {
876
+ "name": "Accept",
877
+ "value": "*/*",
878
+ "isDisabled": true
879
+ },
880
+ {
881
+ "name": "User-Agent",
882
+ "value": "Thunder Client (https://www.thunderclient.com)",
883
+ "isDisabled": true
884
+ }
885
+ ],
886
+ "params": [],
887
+ "body": {
888
+ "type": "json",
889
+ "raw": "{\n \"orgId\": 3425,\n \"status\": \"D\",\n \"title\": \"Tithely 2023-07-19 Bank\",\n \"dtm\": \"2023-07-19 00:00:00\",\n \"updatedDtm\": \"2023-08-28 23:45:44\",\n \"updatedUser\": 27985,\n \"contributions\": []\n}",
890
+ "form": []
891
+ },
892
+ "tests": [
893
+ {
894
+ "type": "res-code",
895
+ "custom": "",
896
+ "action": "equal",
897
+ "value": "200"
898
+ },
899
+ {
900
+ "type": "json-query",
901
+ "custom": "json.",
902
+ "action": "istype",
903
+ "value": "object"
904
+ },
905
+ {
906
+ "type": "json-query",
907
+ "custom": "json.data",
908
+ "action": "istype",
909
+ "value": "object"
910
+ },
911
+ {
912
+ "type": "json-query",
913
+ "custom": "json.message",
914
+ "action": "equal",
915
+ "value": "Batch Retrieved"
916
+ },
917
+ {
918
+ "type": "json-query",
919
+ "custom": "json.data.contributions | length",
920
+ "action": ">=",
921
+ "value": "1"
922
+ },
923
+ {
924
+ "type": "json-query",
925
+ "custom": "json.data.batchId",
926
+ "action": "equal",
927
+ "value": "{{batch_id}}"
928
+ }
929
+ ],
930
+ "preReq": {
931
+ "runRequests": [
932
+ {
933
+ "reqId": "a9d1efd5-a23f-4a6b-895d-9326b5b2377b",
934
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
935
+ "triggerCondition": "run-var-empty",
936
+ "triggerValue": "{{batch_id}}"
937
+ }
938
+ ]
939
+ }
940
+ },
941
+ {
942
+ "_id": "01498a8c-1693-440d-a24e-25a1eb43c4c3",
943
+ "colId": "7e12af9b-4204-4a86-b2f8-f77e21502281",
944
+ "containerId": "b29d1b91-d918-4ac6-af50-5097516c700a",
945
+ "name": "Fund",
946
+ "url": "https://api-v2.faithteams.com/funds/{{fund_id}}",
947
+ "method": "PUT",
948
+ "sortNum": 30000,
949
+ "created": "2024-05-20T15:59:22.263Z",
950
+ "modified": "2024-05-20T15:59:22.263Z",
951
+ "headers": [
952
+ {
953
+ "name": "Accept",
954
+ "value": "*/*",
955
+ "isDisabled": true
956
+ },
957
+ {
958
+ "name": "User-Agent",
959
+ "value": "Thunder Client (https://www.thunderclient.com)",
960
+ "isDisabled": true
961
+ }
962
+ ],
963
+ "params": [],
964
+ "body": {
965
+ "type": "json",
966
+ "raw": "{\n \"name\": \"Doggy Fund\",\n \"description\": \"$ for the pups\",\n \"status\": \"A\",\n \"onlineStatus\": \"I\",\n \"sort\": 0,\n \"taxDeductible\": \"Y\",\n \"isDefault\": \"Y\",\n \"createdDtm\": \"2023-04-17 15:01:26\",\n \"createdUser\": 27850,\n \"updatedDtm\": \"2023-04-17 15:21:37\",\n \"updatedUser\": 27850,\n \"defaultFund\": true\n}",
967
+ "form": []
968
+ },
969
+ "tests": [
970
+ {
971
+ "type": "res-code",
972
+ "custom": "",
973
+ "action": "equal",
974
+ "value": "200"
975
+ },
976
+ {
977
+ "type": "json-query",
978
+ "custom": "json",
979
+ "action": "istype",
980
+ "value": "object"
981
+ },
982
+ {
983
+ "type": "json-query",
984
+ "custom": "json.data",
985
+ "action": "istype",
986
+ "value": "object"
987
+ },
988
+ {
989
+ "type": "json-query",
990
+ "custom": "json.message",
991
+ "action": "equal",
992
+ "value": "Fund Updated"
993
+ },
994
+ {
995
+ "type": "json-query",
996
+ "custom": "json.data.fundId",
997
+ "action": "equal",
998
+ "value": "{{fund_id}}"
999
+ },
1000
+ {
1001
+ "type": "json-query",
1002
+ "custom": "json.data.name",
1003
+ "action": "equal",
1004
+ "value": "Doggy Fund"
1005
+ }
1006
+ ]
1007
+ },
1008
+ {
1009
+ "_id": "be93d328-45c4-4e3b-80b1-9a37a3ecc157",
1010
+ "colId": "7e12af9b-4204-4a86-b2f8-f77e21502281",
1011
+ "containerId": "4b4bf857-d1b5-4556-883f-8962aad1f908",
1012
+ "name": "Contribution",
1013
+ "url": "https://api-v2.faithteams.com/contributions",
1014
+ "method": "POST",
1015
+ "sortNum": 30000,
1016
+ "created": "2024-05-20T15:59:22.264Z",
1017
+ "modified": "2024-05-20T15:59:22.264Z",
1018
+ "headers": [
1019
+ {
1020
+ "name": "Accept",
1021
+ "value": "*/*",
1022
+ "isDisabled": true
1023
+ },
1024
+ {
1025
+ "name": "User-Agent",
1026
+ "value": "Thunder Client (https://www.thunderclient.com)",
1027
+ "isDisabled": true
1028
+ }
1029
+ ],
1030
+ "params": [],
1031
+ "body": {
1032
+ "type": "json",
1033
+ "raw": "[\n {\n \"recordType\":\"H\",\n \"personId\":779137,\n \"batchId\":195770,\n \"amount\":\"100.00\",\n \"fee\":\"2.00\",\n \"netAmount\":\"98.00\",\n \"contributionTypeId\":24,\n \"status\":\"A\",\n \"note\":\"Date: 2023-07-17, Method: card, Memo: for the animals\"\n },\n {\n \"recordType\":\"D\",\n \"fundId\":7894,\n \"personId\":779137,\n \"batchId\":195770,\n \"amount\":\"100.00\",\n \"fee\":\"2.00\",\n \"netAmount\":\"98.00\"\n }\n]",
1034
+ "form": []
1035
+ },
1036
+ "tests": [
1037
+ {
1038
+ "type": "res-code",
1039
+ "custom": "",
1040
+ "action": "equal",
1041
+ "value": "201"
1042
+ },
1043
+ {
1044
+ "type": "json-query",
1045
+ "custom": "json",
1046
+ "action": "istype",
1047
+ "value": "object"
1048
+ },
1049
+ {
1050
+ "type": "json-query",
1051
+ "custom": "json.message",
1052
+ "action": "equal",
1053
+ "value": "Contribution Created"
1054
+ },
1055
+ {
1056
+ "type": "json-query",
1057
+ "custom": "json.data",
1058
+ "action": "istype",
1059
+ "value": "array"
1060
+ },
1061
+ {
1062
+ "type": "json-query",
1063
+ "custom": "json.data | length",
1064
+ "action": "equal",
1065
+ "value": "2"
1066
+ }
1067
+ ],
1068
+ "docs": "POST https://api-v2.faithteams.com/contributions appears to be used for updating _and_ creating contributions."
1069
+ },
1070
+ {
1071
+ "_id": "1080465d-c7f7-4010-836e-457ce09b66f5",
1072
+ "colId": "7e12af9b-4204-4a86-b2f8-f77e21502281",
1073
+ "containerId": "45172d21-d699-42da-a2d9-35599bf24a05",
1074
+ "name": "Batch",
1075
+ "url": "https://api-v2.faithteams.com/batches",
1076
+ "method": "POST",
1077
+ "sortNum": 30000,
1078
+ "created": "2024-05-20T15:59:22.265Z",
1079
+ "modified": "2024-05-20T15:59:22.265Z",
1080
+ "headers": [
1081
+ {
1082
+ "name": "Accept",
1083
+ "value": "*/*",
1084
+ "isDisabled": true
1085
+ },
1086
+ {
1087
+ "name": "User-Agent",
1088
+ "value": "Thunder Client (https://www.thunderclient.com)",
1089
+ "isDisabled": true
1090
+ }
1091
+ ],
1092
+ "params": [],
1093
+ "body": {
1094
+ "type": "json",
1095
+ "raw": "{\n \"title\":\"Tithely 2023-07-19 Bank\",\n \"dtm\":\"2023-07-19 00:00:00\",\n \"status\":\"O\"\n}",
1096
+ "form": []
1097
+ },
1098
+ "tests": [
1099
+ {
1100
+ "type": "res-code",
1101
+ "custom": "",
1102
+ "action": "equal",
1103
+ "value": "201"
1104
+ },
1105
+ {
1106
+ "type": "json-query",
1107
+ "custom": "json",
1108
+ "action": "istype",
1109
+ "value": "object"
1110
+ },
1111
+ {
1112
+ "type": "json-query",
1113
+ "custom": "json.data",
1114
+ "action": "istype",
1115
+ "value": "object"
1116
+ },
1117
+ {
1118
+ "type": "json-query",
1119
+ "custom": "json.message",
1120
+ "action": "equal",
1121
+ "value": "Batch Created"
1122
+ }
1123
+ ],
1124
+ "docs": "POST https://api-v2.faithteams.com/batches has the following required fields:\n- `title`\n- `dtm`\n- `status` = \"O\" (for open)"
1125
+ },
1126
+ {
1127
+ "_id": "4e5822ef-5af3-411f-8886-79094ef240f4",
1128
+ "colId": "7e12af9b-4204-4a86-b2f8-f77e21502281",
1129
+ "containerId": "45172d21-d699-42da-a2d9-35599bf24a05",
1130
+ "name": "Batch Totals",
1131
+ "url": "https://api-v2.faithteams.com/batches/totals?batchIds={{batch_id}},{{batch_id_2}}",
1132
+ "method": "GET",
1133
+ "sortNum": 40000,
1134
+ "created": "2024-05-20T15:59:22.267Z",
1135
+ "modified": "2024-05-20T15:59:22.267Z",
1136
+ "headers": [
1137
+ {
1138
+ "name": "Accept",
1139
+ "value": "*/*",
1140
+ "isDisabled": true
1141
+ },
1142
+ {
1143
+ "name": "User-Agent",
1144
+ "value": "Thunder Client (https://www.thunderclient.com)",
1145
+ "isDisabled": true
1146
+ }
1147
+ ],
1148
+ "params": [
1149
+ {
1150
+ "name": "batchIds",
1151
+ "value": "{{batch_id}},{{batch_id_2}}",
1152
+ "isPath": false
1153
+ }
1154
+ ],
1155
+ "tests": [
1156
+ {
1157
+ "type": "res-code",
1158
+ "custom": "",
1159
+ "action": "equal",
1160
+ "value": "200"
1161
+ },
1162
+ {
1163
+ "type": "json-query",
1164
+ "custom": "json",
1165
+ "action": "istype",
1166
+ "value": "object"
1167
+ },
1168
+ {
1169
+ "type": "json-query",
1170
+ "custom": "json.message",
1171
+ "action": "equal",
1172
+ "value": "Batch Retrieved"
1173
+ },
1174
+ {
1175
+ "type": "json-query",
1176
+ "custom": "json.data",
1177
+ "action": "istype",
1178
+ "value": "array"
1179
+ },
1180
+ {
1181
+ "type": "json-query",
1182
+ "custom": "json.data[0].batchId",
1183
+ "action": "istype",
1184
+ "value": "number"
1185
+ },
1186
+ {
1187
+ "type": "json-query",
1188
+ "custom": "json.data[0].amount",
1189
+ "action": "istype",
1190
+ "value": "number"
1191
+ },
1192
+ {
1193
+ "type": "json-query",
1194
+ "custom": "json.data[0].netAmount",
1195
+ "action": "istype",
1196
+ "value": "number"
1197
+ },
1198
+ {
1199
+ "type": "json-query",
1200
+ "custom": "json.data[0].fee",
1201
+ "action": "istype",
1202
+ "value": "number"
1203
+ },
1204
+ {
1205
+ "type": "json-query",
1206
+ "custom": "json.message",
1207
+ "action": "equal",
1208
+ "value": "Batch Retrieved"
1209
+ }
1210
+ ]
1211
+ },
1212
+ {
1213
+ "_id": "b41e46d6-5157-467a-81e0-704216bd0c2c",
1214
+ "colId": "7e12af9b-4204-4a86-b2f8-f77e21502281",
1215
+ "containerId": "20b25510-6d44-4d11-941e-8e75018161a2",
1216
+ "name": "Not Found",
1217
+ "url": "https://api-v2.faithteams.com/contributiontypes/9999999",
1218
+ "method": "GET",
1219
+ "sortNum": 270000,
1220
+ "created": "2024-05-20T15:59:22.274Z",
1221
+ "modified": "2024-05-20T15:59:22.274Z",
1222
+ "headers": [
1223
+ {
1224
+ "name": "Accept",
1225
+ "value": "*/*",
1226
+ "isDisabled": true
1227
+ },
1228
+ {
1229
+ "name": "User-Agent",
1230
+ "value": "Thunder Client (https://www.thunderclient.com)",
1231
+ "isDisabled": true
1232
+ }
1233
+ ],
1234
+ "params": [],
1235
+ "tests": [
1236
+ {
1237
+ "type": "res-code",
1238
+ "custom": "",
1239
+ "action": "equal",
1240
+ "value": "404"
1241
+ },
1242
+ {
1243
+ "type": "json-query",
1244
+ "custom": "json.success",
1245
+ "action": "equal",
1246
+ "value": "false"
1247
+ },
1248
+ {
1249
+ "type": "json-query",
1250
+ "custom": "json.message",
1251
+ "action": "equal",
1252
+ "value": "Not Found"
1253
+ }
1254
+ ]
1255
+ },
1256
+ {
1257
+ "_id": "1067b63f-9640-44ce-9843-1c56e62e7229",
1258
+ "colId": "7e12af9b-4204-4a86-b2f8-f77e21502281",
1259
+ "containerId": "20b25510-6d44-4d11-941e-8e75018161a2",
1260
+ "name": "Integer Too Big",
1261
+ "url": "https://api-v2.faithteams.com/contributiontypes/9999999999999",
1262
+ "method": "GET",
1263
+ "sortNum": 280000,
1264
+ "created": "2024-05-20T15:59:22.275Z",
1265
+ "modified": "2024-05-20T15:59:22.275Z",
1266
+ "headers": [
1267
+ {
1268
+ "name": "Accept",
1269
+ "value": "*/*",
1270
+ "isDisabled": true
1271
+ },
1272
+ {
1273
+ "name": "User-Agent",
1274
+ "value": "Thunder Client (https://www.thunderclient.com)",
1275
+ "isDisabled": true
1276
+ }
1277
+ ],
1278
+ "params": [],
1279
+ "tests": [
1280
+ {
1281
+ "type": "res-code",
1282
+ "custom": "",
1283
+ "action": "equal",
1284
+ "value": "200"
1285
+ },
1286
+ {
1287
+ "type": "json-query",
1288
+ "custom": "json.success",
1289
+ "action": "equal",
1290
+ "value": "false"
1291
+ },
1292
+ {
1293
+ "type": "json-query",
1294
+ "custom": "json.message",
1295
+ "action": "equal",
1296
+ "value": "Error: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; nested exception is java.lang.NumberFormatException: For input string: \"9999999999999\""
1297
+ }
1298
+ ]
1299
+ }
1300
+ ]
1301
+ }