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,1189 @@
1
+ {
2
+ "_id": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
3
+ "colName": "FaithTeams App",
4
+ "created": "2023-04-21T12:12:05.373Z",
5
+ "sortNum": 5000,
6
+ "folders": [
7
+ {
8
+ "_id": "2c7360a8-b66d-4c69-8e4e-cbef73468702",
9
+ "name": "app.faithteams.com/api/v2",
10
+ "containerId": "",
11
+ "created": "2023-04-21T12:26:41.726Z",
12
+ "sortNum": 70000,
13
+ "settings": {
14
+ "headers": [
15
+ {
16
+ "name": "Token",
17
+ "value": "{{auth_token}}"
18
+ }
19
+ ]
20
+ }
21
+ },
22
+ {
23
+ "_id": "f84d04be-9465-4248-80ed-c891631791c9",
24
+ "name": "People",
25
+ "containerId": "2c7360a8-b66d-4c69-8e4e-cbef73468702",
26
+ "created": "2023-04-21T14:50:02.330Z",
27
+ "sortNum": 120000
28
+ },
29
+ {
30
+ "_id": "6494946f-fb10-4415-922e-5a8cb0a82c5c",
31
+ "name": "User",
32
+ "containerId": "2c7360a8-b66d-4c69-8e4e-cbef73468702",
33
+ "created": "2023-08-28T22:47:54.204Z",
34
+ "sortNum": 160000
35
+ },
36
+ {
37
+ "_id": "3652ba47-0f64-45e1-9489-177c05ddeb0d",
38
+ "name": "Team & Organization",
39
+ "containerId": "2c7360a8-b66d-4c69-8e4e-cbef73468702",
40
+ "created": "2023-08-28T22:54:53.464Z",
41
+ "sortNum": 170000
42
+ },
43
+ {
44
+ "_id": "20b77f08-bf96-486e-833d-3bb5a9fb8697",
45
+ "name": "Error",
46
+ "containerId": "2c7360a8-b66d-4c69-8e4e-cbef73468702",
47
+ "created": "2023-08-28T23:04:32.795Z",
48
+ "sortNum": 180000
49
+ }
50
+ ],
51
+ "settings": {
52
+ "headers": [
53
+ {
54
+ "name": "Accept",
55
+ "value": "application/json"
56
+ },
57
+ {
58
+ "name": "Content-Type",
59
+ "value": "application/json"
60
+ }
61
+ ],
62
+ "preReq": {
63
+ "runRequests": [
64
+ {
65
+ "reqId": "7cf80f4f-94a6-41b8-b81e-a55374cf5118",
66
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
67
+ "triggerCondition": "run-var-empty",
68
+ "triggerValue": "{{auth_token}}"
69
+ }
70
+ ]
71
+ },
72
+ "envId": "ca95294a-a9fa-4de5-9a20-e0cbe4c69aec"
73
+ },
74
+ "requests": [
75
+ {
76
+ "_id": "170c67bf-0ba0-4792-ac89-2f5a93841b9e",
77
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
78
+ "containerId": "f84d04be-9465-4248-80ed-c891631791c9",
79
+ "name": "People",
80
+ "url": "https://app.faithteams.com/api/v2/people?status=A",
81
+ "method": "GET",
82
+ "sortNum": 10000,
83
+ "created": "2023-04-21T12:29:46.647Z",
84
+ "modified": "2023-08-28T19:07:30.511Z",
85
+ "headers": [
86
+ {
87
+ "name": "Accept",
88
+ "value": "*/*",
89
+ "isDisabled": true
90
+ },
91
+ {
92
+ "name": "User-Agent",
93
+ "value": "Thunder Client (https://www.thunderclient.com)",
94
+ "isDisabled": true
95
+ }
96
+ ],
97
+ "params": [
98
+ {
99
+ "name": "status",
100
+ "value": "A",
101
+ "isPath": false
102
+ },
103
+ {
104
+ "name": "lastName",
105
+ "value": "Simpson",
106
+ "isDisabled": true,
107
+ "isPath": false
108
+ },
109
+ {
110
+ "name": "firstName",
111
+ "value": "Homer",
112
+ "isDisabled": true,
113
+ "isPath": false
114
+ },
115
+ {
116
+ "name": "homeEmail",
117
+ "value": "bart@simpsons.com",
118
+ "isDisabled": true,
119
+ "isPath": false
120
+ }
121
+ ],
122
+ "tests": [
123
+ {
124
+ "type": "res-code",
125
+ "custom": "",
126
+ "action": "equal",
127
+ "value": "200"
128
+ },
129
+ {
130
+ "type": "json-query",
131
+ "custom": "json",
132
+ "action": "istype",
133
+ "value": "object"
134
+ },
135
+ {
136
+ "type": "json-query",
137
+ "custom": "json.message",
138
+ "action": "equal",
139
+ "value": "People Retrieved"
140
+ },
141
+ {
142
+ "type": "json-query",
143
+ "custom": "json.data",
144
+ "action": "istype",
145
+ "value": "array"
146
+ },
147
+ {
148
+ "type": "set-env-var",
149
+ "custom": "json.data[0].personId",
150
+ "action": "setto",
151
+ "value": "{{person_id}}"
152
+ }
153
+ ],
154
+ "docs": "GET /people `homeEmail` filter didn't work with `david.orweller+ft-2@yourgiving.co` but did work with `bart@simpsons.com`. We _may_ want to test this a bit more before we rely on it when finding people."
155
+ },
156
+ {
157
+ "_id": "b2ed9f35-4e37-4765-89cd-1da4dc631681",
158
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
159
+ "containerId": "2c7360a8-b66d-4c69-8e4e-cbef73468702",
160
+ "name": "Unsubscribes",
161
+ "url": "https://app.faithteams.com/api/v2/unsubscribes?personId={{person_id}}",
162
+ "method": "GET",
163
+ "sortNum": 250000,
164
+ "created": "2023-04-21T12:40:33.824Z",
165
+ "modified": "2023-08-28T23:06:21.262Z",
166
+ "headers": [
167
+ {
168
+ "name": "Accept",
169
+ "value": "*/*",
170
+ "isDisabled": true
171
+ },
172
+ {
173
+ "name": "User-Agent",
174
+ "value": "Thunder Client (https://www.thunderclient.com)",
175
+ "isDisabled": true
176
+ }
177
+ ],
178
+ "params": [
179
+ {
180
+ "name": "personId",
181
+ "value": "{{person_id}}",
182
+ "isPath": false
183
+ }
184
+ ],
185
+ "tests": [
186
+ {
187
+ "type": "res-code",
188
+ "custom": "",
189
+ "action": "equal",
190
+ "value": "200"
191
+ },
192
+ {
193
+ "type": "json-query",
194
+ "custom": "json",
195
+ "action": "istype",
196
+ "value": "object"
197
+ },
198
+ {
199
+ "type": "json-query",
200
+ "custom": "json.message",
201
+ "action": "equal",
202
+ "value": "Unsubscribe retrieved"
203
+ },
204
+ {
205
+ "type": "json-query",
206
+ "custom": "json.data",
207
+ "action": "equal",
208
+ "value": "null"
209
+ }
210
+ ],
211
+ "preReq": {
212
+ "runRequests": [
213
+ {
214
+ "reqId": "170c67bf-0ba0-4792-ac89-2f5a93841b9e",
215
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
216
+ "triggerCondition": "run-var-empty",
217
+ "triggerValue": "{{person_id}}"
218
+ }
219
+ ]
220
+ }
221
+ },
222
+ {
223
+ "_id": "096be7e6-16c9-4798-ba5d-b50d547ca679",
224
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
225
+ "containerId": "2c7360a8-b66d-4c69-8e4e-cbef73468702",
226
+ "name": "Checkins",
227
+ "url": "https://app.faithteams.com/api/v2/checkins",
228
+ "method": "GET",
229
+ "sortNum": 240000,
230
+ "created": "2023-04-21T12:46:52.525Z",
231
+ "modified": "2023-08-28T23:09:01.242Z",
232
+ "headers": [
233
+ {
234
+ "name": "Accept",
235
+ "value": "*/*",
236
+ "isDisabled": true
237
+ },
238
+ {
239
+ "name": "User-Agent",
240
+ "value": "Thunder Client (https://www.thunderclient.com)",
241
+ "isDisabled": true
242
+ }
243
+ ],
244
+ "params": [
245
+ {
246
+ "name": "personIds",
247
+ "value": "769839",
248
+ "isDisabled": true,
249
+ "isPath": false
250
+ },
251
+ {
252
+ "name": "noloadmask",
253
+ "value": "true",
254
+ "isDisabled": true,
255
+ "isPath": false
256
+ }
257
+ ],
258
+ "tests": [
259
+ {
260
+ "type": "res-code",
261
+ "custom": "",
262
+ "action": "equal",
263
+ "value": "200"
264
+ },
265
+ {
266
+ "type": "json-query",
267
+ "custom": "json",
268
+ "action": "istype",
269
+ "value": "object"
270
+ },
271
+ {
272
+ "type": "json-query",
273
+ "custom": "json.message",
274
+ "action": "equal",
275
+ "value": "Checkins retrieved"
276
+ },
277
+ {
278
+ "type": "json-query",
279
+ "custom": "json.data",
280
+ "action": "equal",
281
+ "value": "[]"
282
+ }
283
+ ]
284
+ },
285
+ {
286
+ "_id": "78f63149-b52a-4f8e-9a9b-7bd5daf76ab9",
287
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
288
+ "containerId": "20b77f08-bf96-486e-833d-3bb5a9fb8697",
289
+ "name": "Not Found",
290
+ "url": "https://app.faithteams.com/api/v2/tags",
291
+ "method": "GET",
292
+ "sortNum": 10000,
293
+ "created": "2023-04-21T12:49:04.868Z",
294
+ "modified": "2023-08-28T23:10:05.632Z",
295
+ "headers": [
296
+ {
297
+ "name": "Accept",
298
+ "value": "*/*",
299
+ "isDisabled": true
300
+ },
301
+ {
302
+ "name": "User-Agent",
303
+ "value": "Thunder Client (https://www.thunderclient.com)",
304
+ "isDisabled": true
305
+ }
306
+ ],
307
+ "params": [],
308
+ "tests": [
309
+ {
310
+ "type": "res-code",
311
+ "custom": "",
312
+ "action": "equal",
313
+ "value": "200"
314
+ },
315
+ {
316
+ "type": "json-query",
317
+ "custom": "json",
318
+ "action": "istype",
319
+ "value": "object"
320
+ },
321
+ {
322
+ "type": "json-query",
323
+ "custom": "json.message",
324
+ "action": "equal",
325
+ "value": "Not Found"
326
+ }
327
+ ]
328
+ },
329
+ {
330
+ "_id": "ef5c0199-15a7-4977-bffa-092fe2b224b6",
331
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
332
+ "containerId": "6494946f-fb10-4415-922e-5a8cb0a82c5c",
333
+ "name": "Users",
334
+ "url": "https://app.faithteams.com/api/v2/users?noloadmask=true",
335
+ "method": "GET",
336
+ "sortNum": 10000,
337
+ "created": "2023-04-21T12:50:08.152Z",
338
+ "modified": "2023-08-28T22:48:12.232Z",
339
+ "headers": [
340
+ {
341
+ "name": "Accept",
342
+ "value": "*/*",
343
+ "isDisabled": true
344
+ },
345
+ {
346
+ "name": "User-Agent",
347
+ "value": "Thunder Client (https://www.thunderclient.com)",
348
+ "isDisabled": true
349
+ }
350
+ ],
351
+ "params": [
352
+ {
353
+ "name": "noloadmask",
354
+ "value": "true",
355
+ "isPath": false
356
+ }
357
+ ],
358
+ "tests": [
359
+ {
360
+ "type": "res-code",
361
+ "custom": "",
362
+ "action": "equal",
363
+ "value": "200"
364
+ },
365
+ {
366
+ "type": "json-query",
367
+ "custom": "json",
368
+ "action": "istype",
369
+ "value": "object"
370
+ },
371
+ {
372
+ "type": "json-query",
373
+ "custom": "json.message",
374
+ "action": "equal",
375
+ "value": "Users retrieved"
376
+ },
377
+ {
378
+ "type": "json-query",
379
+ "custom": "json.data",
380
+ "action": "istype",
381
+ "value": "array"
382
+ },
383
+ {
384
+ "type": "set-env-var",
385
+ "custom": "json.data[0].userId",
386
+ "action": "setto",
387
+ "value": "{{user_id}}"
388
+ }
389
+ ]
390
+ },
391
+ {
392
+ "_id": "7818e5f1-dddd-4fe1-a835-41de326ca5a5",
393
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
394
+ "containerId": "2c7360a8-b66d-4c69-8e4e-cbef73468702",
395
+ "name": "Rules",
396
+ "url": "https://app.faithteams.com/api/v2/rules",
397
+ "method": "GET",
398
+ "sortNum": 140000,
399
+ "created": "2023-04-21T12:50:49.239Z",
400
+ "modified": "2023-08-28T23:09:04.739Z",
401
+ "headers": [
402
+ {
403
+ "name": "Accept",
404
+ "value": "*/*",
405
+ "isDisabled": true
406
+ },
407
+ {
408
+ "name": "User-Agent",
409
+ "value": "Thunder Client (https://www.thunderclient.com)",
410
+ "isDisabled": true
411
+ }
412
+ ],
413
+ "params": [],
414
+ "tests": [
415
+ {
416
+ "type": "res-code",
417
+ "custom": "",
418
+ "action": "equal",
419
+ "value": "200"
420
+ },
421
+ {
422
+ "type": "json-query",
423
+ "custom": "json",
424
+ "action": "istype",
425
+ "value": "object"
426
+ },
427
+ {
428
+ "type": "json-query",
429
+ "custom": "json.message",
430
+ "action": "equal",
431
+ "value": "Rules retrieved"
432
+ },
433
+ {
434
+ "type": "json-query",
435
+ "custom": "json.data",
436
+ "action": "equal",
437
+ "value": "[]"
438
+ }
439
+ ]
440
+ },
441
+ {
442
+ "_id": "a0208e22-db51-47ed-ba43-bb26a786faa2",
443
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
444
+ "containerId": "f84d04be-9465-4248-80ed-c891631791c9",
445
+ "name": "Person",
446
+ "url": "https://app.faithteams.com/api/v2/people/{{person_id}}",
447
+ "method": "GET",
448
+ "sortNum": 20000,
449
+ "created": "2023-04-21T12:54:57.381Z",
450
+ "modified": "2023-08-28T19:09:05.026Z",
451
+ "headers": [
452
+ {
453
+ "name": "Accept",
454
+ "value": "*/*",
455
+ "isDisabled": true
456
+ },
457
+ {
458
+ "name": "User-Agent",
459
+ "value": "Thunder Client (https://www.thunderclient.com)",
460
+ "isDisabled": true
461
+ }
462
+ ],
463
+ "params": [
464
+ {
465
+ "name": "family",
466
+ "value": "true",
467
+ "isDisabled": true,
468
+ "isPath": false
469
+ }
470
+ ],
471
+ "tests": [
472
+ {
473
+ "type": "res-code",
474
+ "custom": "",
475
+ "action": "equal",
476
+ "value": "200"
477
+ },
478
+ {
479
+ "type": "json-query",
480
+ "custom": "json",
481
+ "action": "istype",
482
+ "value": "object"
483
+ },
484
+ {
485
+ "type": "json-query",
486
+ "custom": "json.message",
487
+ "action": "equal",
488
+ "value": "Person Retrieved"
489
+ },
490
+ {
491
+ "type": "json-query",
492
+ "custom": "json.data",
493
+ "action": "istype",
494
+ "value": "object"
495
+ },
496
+ {
497
+ "type": "json-query",
498
+ "custom": "json.data.personId",
499
+ "action": "equal",
500
+ "value": "{{person_id}}"
501
+ }
502
+ ],
503
+ "preReq": {
504
+ "runRequests": [
505
+ {
506
+ "reqId": "170c67bf-0ba0-4792-ac89-2f5a93841b9e",
507
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
508
+ "triggerCondition": "run-var-empty",
509
+ "triggerValue": "{{person_id}}"
510
+ }
511
+ ]
512
+ }
513
+ },
514
+ {
515
+ "_id": "8a2e9fcc-c494-47a6-97a4-4c2f14a16791",
516
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
517
+ "containerId": "f84d04be-9465-4248-80ed-c891631791c9",
518
+ "name": "People Memberships",
519
+ "url": "https://app.faithteams.com/api/v2/people/memberships",
520
+ "method": "GET",
521
+ "sortNum": 90000,
522
+ "created": "2023-04-21T12:57:05.012Z",
523
+ "modified": "2023-08-28T23:13:21.415Z",
524
+ "headers": [
525
+ {
526
+ "name": "Accept",
527
+ "value": "*/*",
528
+ "isDisabled": true
529
+ },
530
+ {
531
+ "name": "User-Agent",
532
+ "value": "Thunder Client (https://www.thunderclient.com)",
533
+ "isDisabled": true
534
+ }
535
+ ],
536
+ "params": [],
537
+ "tests": [
538
+ {
539
+ "type": "res-code",
540
+ "custom": "",
541
+ "action": "equal",
542
+ "value": "200"
543
+ },
544
+ {
545
+ "type": "json-query",
546
+ "custom": "json.message",
547
+ "action": "equal",
548
+ "value": "Memberships retrieved"
549
+ },
550
+ {
551
+ "type": "json-query",
552
+ "custom": "json.data",
553
+ "action": "istype",
554
+ "value": "array"
555
+ }
556
+ ]
557
+ },
558
+ {
559
+ "_id": "2e7adc7d-a4e6-4aa2-90aa-bab83fa95d00",
560
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
561
+ "containerId": "f84d04be-9465-4248-80ed-c891631791c9",
562
+ "name": "Person Tags",
563
+ "url": "https://app.faithteams.com/api/v2/people/{{person_id}}/tags",
564
+ "method": "GET",
565
+ "sortNum": 100000,
566
+ "created": "2023-04-21T12:58:39.609Z",
567
+ "modified": "2023-08-28T23:14:30.346Z",
568
+ "headers": [],
569
+ "params": [],
570
+ "tests": [
571
+ {
572
+ "type": "res-code",
573
+ "custom": "",
574
+ "action": "equal",
575
+ "value": "200"
576
+ },
577
+ {
578
+ "type": "json-query",
579
+ "custom": "json.message",
580
+ "action": "equal",
581
+ "value": "Person Tags Retrieved"
582
+ },
583
+ {
584
+ "type": "json-query",
585
+ "custom": "json.data",
586
+ "action": "istype",
587
+ "value": "array"
588
+ },
589
+ {
590
+ "type": "json-query",
591
+ "custom": "json.data",
592
+ "action": "equal",
593
+ "value": "[]"
594
+ }
595
+ ],
596
+ "preReq": {
597
+ "runRequests": [
598
+ {
599
+ "reqId": "170c67bf-0ba0-4792-ac89-2f5a93841b9e",
600
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
601
+ "triggerCondition": "run-var-empty",
602
+ "triggerValue": "{{person_id}}"
603
+ }
604
+ ]
605
+ }
606
+ },
607
+ {
608
+ "_id": "912434c8-39a1-4a88-8e19-2d74d94b45f0",
609
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
610
+ "containerId": "3652ba47-0f64-45e1-9489-177c05ddeb0d",
611
+ "name": "Tithely Organization",
612
+ "url": "https://app.faithteams.com/api/v2/orgs/{id}",
613
+ "method": "GET",
614
+ "sortNum": 10000,
615
+ "created": "2023-04-21T13:02:00.267Z",
616
+ "modified": "2023-08-28T22:58:17.685Z",
617
+ "headers": [
618
+ {
619
+ "name": "Accept",
620
+ "value": "*/*",
621
+ "isDisabled": true
622
+ },
623
+ {
624
+ "name": "User-Agent",
625
+ "value": "Thunder Client (https://www.thunderclient.com)",
626
+ "isDisabled": true
627
+ }
628
+ ],
629
+ "params": [
630
+ {
631
+ "name": "id",
632
+ "value": "3425",
633
+ "isPath": true
634
+ }
635
+ ],
636
+ "tests": [
637
+ {
638
+ "type": "res-code",
639
+ "custom": "",
640
+ "action": "equal",
641
+ "value": "200"
642
+ },
643
+ {
644
+ "type": "json-query",
645
+ "custom": "json",
646
+ "action": "istype",
647
+ "value": "object"
648
+ },
649
+ {
650
+ "type": "json-query",
651
+ "custom": "json.message",
652
+ "action": "equal",
653
+ "value": "Organization retrieved"
654
+ },
655
+ {
656
+ "type": "json-query",
657
+ "custom": "json.data",
658
+ "action": "istype",
659
+ "value": "object"
660
+ }
661
+ ]
662
+ },
663
+ {
664
+ "_id": "ced571ba-faed-43a2-a9b8-4a603318d8f3",
665
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
666
+ "containerId": "f84d04be-9465-4248-80ed-c891631791c9",
667
+ "name": "Create Person",
668
+ "url": "https://app.faithteams.com/api/v2/people",
669
+ "method": "POST",
670
+ "sortNum": 30000,
671
+ "created": "2023-04-21T13:04:22.241Z",
672
+ "modified": "2023-08-28T19:12:29.434Z",
673
+ "headers": [
674
+ {
675
+ "name": "Accept",
676
+ "value": "*/*",
677
+ "isDisabled": true
678
+ },
679
+ {
680
+ "name": "User-Agent",
681
+ "value": "Thunder Client (https://www.thunderclient.com)",
682
+ "isDisabled": true
683
+ }
684
+ ],
685
+ "params": [],
686
+ "body": {
687
+ "type": "json",
688
+ "raw": "{\n \"firstName\": \"Bart\",\n \"lastName\": \"Simpson\",\n \"gender\": \"M\"\n}",
689
+ "form": []
690
+ },
691
+ "tests": [
692
+ {
693
+ "type": "res-code",
694
+ "custom": "",
695
+ "action": "equal",
696
+ "value": "201"
697
+ },
698
+ {
699
+ "type": "json-query",
700
+ "custom": "json",
701
+ "action": "istype",
702
+ "value": "object"
703
+ },
704
+ {
705
+ "type": "json-query",
706
+ "custom": "json.message",
707
+ "action": "equal",
708
+ "value": "Person Created"
709
+ },
710
+ {
711
+ "type": "json-query",
712
+ "custom": "json.data",
713
+ "action": "istype",
714
+ "value": "object"
715
+ },
716
+ {
717
+ "type": "json-query",
718
+ "custom": "json.data.firstName",
719
+ "action": "equal",
720
+ "value": "Bart"
721
+ },
722
+ {
723
+ "type": "json-query",
724
+ "custom": "json.data.lastName",
725
+ "action": "equal",
726
+ "value": "Simpson"
727
+ },
728
+ {
729
+ "type": "set-env-var",
730
+ "custom": "json.data.personId",
731
+ "action": "setto",
732
+ "value": "{{person_id_created}}"
733
+ }
734
+ ]
735
+ },
736
+ {
737
+ "_id": "c39ebad9-1446-4054-86de-3501fd13ba5c",
738
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
739
+ "containerId": "3652ba47-0f64-45e1-9489-177c05ddeb0d",
740
+ "name": "Teams",
741
+ "url": "https://app.faithteams.com/api/v2/teams",
742
+ "method": "GET",
743
+ "sortNum": 5000,
744
+ "created": "2023-04-21T13:11:43.186Z",
745
+ "modified": "2023-08-28T22:55:45.753Z",
746
+ "headers": [
747
+ {
748
+ "name": "Accept",
749
+ "value": "*/*",
750
+ "isDisabled": true
751
+ },
752
+ {
753
+ "name": "User-Agent",
754
+ "value": "Thunder Client (https://www.thunderclient.com)",
755
+ "isDisabled": true
756
+ }
757
+ ],
758
+ "params": [],
759
+ "tests": [
760
+ {
761
+ "type": "res-code",
762
+ "custom": "",
763
+ "action": "equal",
764
+ "value": "200"
765
+ },
766
+ {
767
+ "type": "json-query",
768
+ "custom": "json",
769
+ "action": "istype",
770
+ "value": "object"
771
+ },
772
+ {
773
+ "type": "json-query",
774
+ "custom": "json.message",
775
+ "action": "equal",
776
+ "value": "Teams retrieved"
777
+ },
778
+ {
779
+ "type": "json-query",
780
+ "custom": "json.data",
781
+ "action": "istype",
782
+ "value": "array"
783
+ },
784
+ {
785
+ "type": "set-env-var",
786
+ "custom": "json.data[0].orgId",
787
+ "action": "setto",
788
+ "value": "{{organization_id}}"
789
+ },
790
+ {
791
+ "type": "set-env-var",
792
+ "custom": "json.data[0].teamId",
793
+ "action": "setto",
794
+ "value": "{{team_id}}"
795
+ }
796
+ ]
797
+ },
798
+ {
799
+ "_id": "2209bbfc-b372-48ba-bf9a-f38d30785717",
800
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
801
+ "containerId": "f84d04be-9465-4248-80ed-c891631791c9",
802
+ "name": "Update Person",
803
+ "url": "https://app.faithteams.com/api/v2/people/{{person_id_created}}",
804
+ "method": "PUT",
805
+ "sortNum": 40000,
806
+ "created": "2023-04-21T13:28:22.897Z",
807
+ "modified": "2023-08-28T19:23:23.839Z",
808
+ "headers": [
809
+ {
810
+ "name": "Accept",
811
+ "value": "*/*",
812
+ "isDisabled": true
813
+ },
814
+ {
815
+ "name": "User-Agent",
816
+ "value": "Thunder Client (https://www.thunderclient.com)",
817
+ "isDisabled": true
818
+ }
819
+ ],
820
+ "params": [],
821
+ "body": {
822
+ "type": "json",
823
+ "raw": "{\n \"firstName\": \"Maggie\",\n \"lastName\": \"Simpson\",\n \"status\":\"A\",\n \"homeEmail\":\"bart@the_simpsons.com\",\n \"createdDtm\":\"2023-04-21 13:08:51\",\n \"createdUser\":\"27850\"\n}",
824
+ "form": []
825
+ },
826
+ "tests": [
827
+ {
828
+ "type": "res-code",
829
+ "custom": "",
830
+ "action": "equal",
831
+ "value": "200"
832
+ },
833
+ {
834
+ "type": "json-query",
835
+ "custom": "json",
836
+ "action": "istype",
837
+ "value": "object"
838
+ },
839
+ {
840
+ "type": "json-query",
841
+ "custom": "json.message",
842
+ "action": "equal",
843
+ "value": "Person Updated"
844
+ },
845
+ {
846
+ "type": "json-query",
847
+ "custom": "json.data",
848
+ "action": "istype",
849
+ "value": "object"
850
+ },
851
+ {
852
+ "type": "json-query",
853
+ "custom": "json.data.homeEmail",
854
+ "action": "equal",
855
+ "value": "bart@the_simpsons.com"
856
+ },
857
+ {
858
+ "type": "json-query",
859
+ "custom": "json.data.firstName",
860
+ "action": "equal",
861
+ "value": "Maggie"
862
+ }
863
+ ],
864
+ "docs": "It appears (through trial and error) PUT https://app.faithteams.com/api/v2/people/{id} requires these paramters in addition to the parameter you hope to update:\n- `status`\n- `createdDtm`\n- `createdUser`\n\nIn addition, if you do not include fields like `firstName` or `lastName`, those fields will be set to `null`. Be sure to include all fields that should be retained including those that need to change.",
865
+ "preReq": {
866
+ "runRequests": [
867
+ {
868
+ "reqId": "ced571ba-faed-43a2-a9b8-4a603318d8f3",
869
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
870
+ "triggerCondition": "run-always",
871
+ "triggerValue": ""
872
+ }
873
+ ]
874
+ }
875
+ },
876
+ {
877
+ "_id": "7cf80f4f-94a6-41b8-b81e-a55374cf5118",
878
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
879
+ "containerId": "2c7360a8-b66d-4c69-8e4e-cbef73468702",
880
+ "name": "Authenticate",
881
+ "url": "https://app.faithteams.com/api/v2/authenticate",
882
+ "method": "POST",
883
+ "sortNum": 270000,
884
+ "created": "2023-05-19T21:45:33.401Z",
885
+ "modified": "2023-08-17T20:50:54.044Z",
886
+ "headers": [
887
+ {
888
+ "name": "Accept",
889
+ "value": "*/*",
890
+ "isDisabled": true
891
+ },
892
+ {
893
+ "name": "User-Agent",
894
+ "value": "Thunder Client (https://www.thunderclient.com)",
895
+ "isDisabled": true
896
+ },
897
+ {
898
+ "name": "Authorization",
899
+ "value": "Basic: {{user_credentials | btoa}}"
900
+ }
901
+ ],
902
+ "params": [],
903
+ "tests": [
904
+ {
905
+ "type": "set-env-var",
906
+ "custom": "json.data.token",
907
+ "action": "setto",
908
+ "value": "{{auth_token}}"
909
+ },
910
+ {
911
+ "type": "res-code",
912
+ "custom": "",
913
+ "action": "equal",
914
+ "value": "200"
915
+ },
916
+ {
917
+ "type": "json-query",
918
+ "custom": "json.success",
919
+ "action": "equal",
920
+ "value": "true"
921
+ },
922
+ {
923
+ "type": "json-query",
924
+ "custom": "json.message",
925
+ "action": "equal",
926
+ "value": "Authenticated"
927
+ },
928
+ {
929
+ "type": "json-query",
930
+ "custom": "json.data.userId",
931
+ "action": "equal",
932
+ "value": "{{user_id}}"
933
+ },
934
+ {
935
+ "type": "json-query",
936
+ "custom": "json.data.type",
937
+ "action": "equal",
938
+ "value": "USER"
939
+ },
940
+ {
941
+ "type": "json-query",
942
+ "custom": "json.data.token | length",
943
+ "action": "equal",
944
+ "value": "66"
945
+ }
946
+ ]
947
+ },
948
+ {
949
+ "_id": "314853cd-efe0-4480-97c6-acc92a10ff41",
950
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
951
+ "containerId": "6494946f-fb10-4415-922e-5a8cb0a82c5c",
952
+ "name": "User",
953
+ "url": "https://app.faithteams.com/api/v2/users/{{user_id}}",
954
+ "method": "GET",
955
+ "sortNum": 20000,
956
+ "created": "2023-08-28T22:46:23.036Z",
957
+ "modified": "2023-08-28T22:49:54.020Z",
958
+ "headers": [
959
+ {
960
+ "name": "Accept",
961
+ "value": "*/*",
962
+ "isDisabled": true
963
+ },
964
+ {
965
+ "name": "User-Agent",
966
+ "value": "Thunder Client (https://www.thunderclient.com)",
967
+ "isDisabled": true
968
+ }
969
+ ],
970
+ "params": [],
971
+ "tests": [
972
+ {
973
+ "type": "res-code",
974
+ "custom": "",
975
+ "action": "equal",
976
+ "value": "200"
977
+ },
978
+ {
979
+ "type": "json-query",
980
+ "custom": "json",
981
+ "action": "istype",
982
+ "value": "object"
983
+ },
984
+ {
985
+ "type": "json-query",
986
+ "custom": "json.message",
987
+ "action": "equal",
988
+ "value": "User retrieved"
989
+ },
990
+ {
991
+ "type": "json-query",
992
+ "custom": "json.data",
993
+ "action": "istype",
994
+ "value": "object"
995
+ },
996
+ {
997
+ "type": "json-query",
998
+ "custom": "json.data.userId",
999
+ "action": "equal",
1000
+ "value": "{{user_id}}"
1001
+ }
1002
+ ],
1003
+ "preReq": {
1004
+ "runRequests": [
1005
+ {
1006
+ "reqId": "ef5c0199-15a7-4977-bffa-092fe2b224b6",
1007
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
1008
+ "triggerCondition": "run-var-empty",
1009
+ "triggerValue": "{{user_id}}"
1010
+ }
1011
+ ]
1012
+ }
1013
+ },
1014
+ {
1015
+ "_id": "2f415c71-21d5-49f4-a469-a07ccbf8d0bf",
1016
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
1017
+ "containerId": "3652ba47-0f64-45e1-9489-177c05ddeb0d",
1018
+ "name": "Organization",
1019
+ "url": "https://app.faithteams.com/api/v2/orgs/{{organization_id}}",
1020
+ "method": "GET",
1021
+ "sortNum": 7500,
1022
+ "created": "2023-08-28T22:58:58.173Z",
1023
+ "modified": "2023-08-28T22:59:38.254Z",
1024
+ "headers": [
1025
+ {
1026
+ "name": "Accept",
1027
+ "value": "*/*",
1028
+ "isDisabled": true
1029
+ },
1030
+ {
1031
+ "name": "User-Agent",
1032
+ "value": "Thunder Client (https://www.thunderclient.com)",
1033
+ "isDisabled": true
1034
+ }
1035
+ ],
1036
+ "params": [],
1037
+ "tests": [
1038
+ {
1039
+ "type": "res-code",
1040
+ "custom": "",
1041
+ "action": "equal",
1042
+ "value": "200"
1043
+ },
1044
+ {
1045
+ "type": "json-query",
1046
+ "custom": "json",
1047
+ "action": "istype",
1048
+ "value": "object"
1049
+ },
1050
+ {
1051
+ "type": "json-query",
1052
+ "custom": "json.message",
1053
+ "action": "equal",
1054
+ "value": "Organization retrieved"
1055
+ },
1056
+ {
1057
+ "type": "json-query",
1058
+ "custom": "json.data",
1059
+ "action": "istype",
1060
+ "value": "object"
1061
+ },
1062
+ {
1063
+ "type": "json-query",
1064
+ "custom": "json.data.orgId",
1065
+ "action": "equal",
1066
+ "value": "{{organization_id}}"
1067
+ }
1068
+ ]
1069
+ },
1070
+ {
1071
+ "_id": "4b34e157-a886-4430-bdc1-97aa5904a078",
1072
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
1073
+ "containerId": "20b77f08-bf96-486e-833d-3bb5a9fb8697",
1074
+ "name": "Not Found 2",
1075
+ "url": "https://app.faithteams.com/api/v2/people/memberships/10",
1076
+ "method": "GET",
1077
+ "sortNum": 20000,
1078
+ "created": "2023-08-28T23:12:23.517Z",
1079
+ "modified": "2023-08-28T23:15:03.684Z",
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
+ "tests": [
1094
+ {
1095
+ "type": "res-code",
1096
+ "custom": "",
1097
+ "action": "equal",
1098
+ "value": "404"
1099
+ },
1100
+ {
1101
+ "type": "json-query",
1102
+ "custom": "json.status",
1103
+ "action": "equal",
1104
+ "value": "404"
1105
+ },
1106
+ {
1107
+ "type": "json-query",
1108
+ "custom": "json.error",
1109
+ "action": "equal",
1110
+ "value": "Not Found"
1111
+ },
1112
+ {
1113
+ "type": "json-query",
1114
+ "custom": "json.message",
1115
+ "action": "equal",
1116
+ "value": "No message available"
1117
+ }
1118
+ ]
1119
+ },
1120
+ {
1121
+ "_id": "77cce0a5-565a-4ec9-a15f-ba2a7e1478b0",
1122
+ "colId": "a25f2f0c-6c1e-4843-90c0-bff60ee5da19",
1123
+ "containerId": "",
1124
+ "name": "Authenticate",
1125
+ "url": "https://api.faithteams.com/api/v1/authenticate",
1126
+ "method": "GET",
1127
+ "sortNum": 10000,
1128
+ "created": "2024-05-20T16:48:11.821Z",
1129
+ "modified": "2024-05-20T16:48:55.342Z",
1130
+ "headers": [
1131
+ {
1132
+ "name": "Authorization",
1133
+ "value": "Basic: {{user_credentials | btoa}}",
1134
+ "isDisabled": true
1135
+ },
1136
+ {
1137
+ "name": "Accept",
1138
+ "value": "*/*",
1139
+ "isDisabled": true
1140
+ },
1141
+ {
1142
+ "name": "User-Agent",
1143
+ "value": "Thunder Client (https://www.thunderclient.com)",
1144
+ "isDisabled": true
1145
+ }
1146
+ ],
1147
+ "params": [],
1148
+ "auth": {
1149
+ "type": "basic",
1150
+ "basic": {
1151
+ "username": "{{user_id}}",
1152
+ "password": "{{password}}"
1153
+ }
1154
+ },
1155
+ "tests": [
1156
+ {
1157
+ "type": "set-env-var",
1158
+ "custom": "json.data.token",
1159
+ "action": "setto",
1160
+ "value": "{{auth_token}}"
1161
+ },
1162
+ {
1163
+ "type": "res-code",
1164
+ "custom": "",
1165
+ "action": "equal",
1166
+ "value": "200"
1167
+ },
1168
+ {
1169
+ "type": "json-query",
1170
+ "custom": "json.data",
1171
+ "action": "istype",
1172
+ "value": "object"
1173
+ },
1174
+ {
1175
+ "type": "json-query",
1176
+ "custom": "json.data.token",
1177
+ "action": "istype",
1178
+ "value": "string"
1179
+ },
1180
+ {
1181
+ "type": "json-query",
1182
+ "custom": "json.message",
1183
+ "action": "equal",
1184
+ "value": "Logon Successful"
1185
+ }
1186
+ ]
1187
+ }
1188
+ ]
1189
+ }