-
Notifications
You must be signed in to change notification settings - Fork 0
/
postman_collection.json
87 lines (87 loc) · 2.63 KB
/
postman_collection.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"info": {
"_postman_id": "e92bac59-cf69-4b8e-9778-aee99dddcf19",
"name": "Skedify PBA integration quickstart",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Customer qualification with authentication",
"request": {
"method": "POST",
"header": [
{
"key": "X-IBM-Client-Id",
"value": "1234",
"type": "text"
},
{
"key": "X-IBM-Client-Secret",
"value": "1234",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"globalTransactionId\": \"d690cda9-7b9b-4530-9e98-8ceaf0ac9d42\",\r\n \"category\": {\r\n \"externalKey\": \"HOME-INSURANCE\",\r\n \"key\": \"HOME-INSURANCE\",\r\n \"selfService\": false\r\n },\r\n \"customer\": {\r\n \"firstName\": \"John\",\r\n \"lastName\": \"Doe\",\r\n \"email\": \"john.doe@acme.com\"\r\n },\r\n \"qualificationFields\": [\r\n {\r\n \"key\": \"purchaseValue\",\r\n \"value\": \"295000\",\r\n \"type\": \"number\"\r\n }\r\n ]\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://127.0.0.1:4000/qualification",
"protocol": "http",
"host": [
"localhost"
],
"port": "4000",
"path": [
"qualification"
]
}
},
"response": []
},
{
"name": "Customer qualification without authentication",
"request": {
"method": "POST",
"header": [
{
"key": "X-IBM-Client-Id",
"value": "1234",
"type": "text"
},
{
"key": "X-IBM-Client-Secret",
"value": "1234",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"globalTransactionId\": \"d690cda9-7b9b-4530-9e98-8ceaf0ac9d42\",\r\n \"category\": {\r\n \"externalKey\": \"HOME-INSURANCE\",\r\n \"key\": \"HOME-INSURANCE\",\r\n \"selfService\": false\r\n },\r\n \"customer\": {\r\n \"firstName\": \"John\",\r\n \"lastName\": \"Doe\",\r\n \"email\": \"john.doe@acme.com\"\r\n },\r\n \"qualificationFields\": [\r\n {\r\n \"key\": \"purchaseValue\",\r\n \"value\": \"295000\",\r\n \"type\": \"number\"\r\n }\r\n ]\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://127.0.0.1:4000/qualification",
"protocol": "http",
"host": [
"localhost"
],
"port": "4000",
"path": [
"qualification"
]
}
},
"response": []
}
]
}