-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathYapeTestsPostmanCollection.json
More file actions
124 lines (124 loc) · 3.3 KB
/
YapeTestsPostmanCollection.json
File metadata and controls
124 lines (124 loc) · 3.3 KB
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"info": {
"_postman_id": "2ca7e9fd-341c-43ab-b788-b1dd53be86b5",
"name": "Transaction Service",
"description": "Collection for creating and retrieving transactions",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "7764285"
},
"item": [
{
"name": "Create Transaction JSON",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"query\": \"mutation { createTransaction(accountExternalIdDebit: \\\"1234\\\", accountExternalIdCredit: \\\"5678\\\", transferTypeId: 1, value: 120) { transactionExternalId accountExternalIdDebit accountExternalIdCredit transferTypeId value transactionStatus createdAt } }\"\r\n}"
},
"url": {
"raw": "http://localhost:8080/graphql",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"graphql"
]
}
},
"response": []
},
{
"name": "Retrieve Transaction JSON",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"query\": \"mutation { createTransaction(accountExternalIdDebit: \\\"1234\\\", accountExternalIdCredit: \\\"5678\\\", transferTypeId: 1, value: 120) { transactionExternalId accountExternalIdDebit accountExternalIdCredit transferTypeId value transactionStatus createdAt } }\"\r\n}"
},
"url": {
"raw": "http://localhost:8080/graphql",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"graphql"
]
}
},
"response": []
},
{
"name": "Create Transaction GraphQL",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "graphql",
"graphql": {
"query": "mutation {\r\n createTransaction(accountExternalIdDebit: \"123e4567-e89b-12d3-a456-426655440000\"\r\n, accountExternalIdCredit: \"123e4567-e89b-12d3-a456-426655440000\", transferTypeId: 1, value: 120) {\r\n transactionExternalId\r\n accountExternalIdDebit\r\n accountExternalIdCredit\r\n transferTypeId\r\n value\r\n transactionStatus\r\n createdAt\r\n }\r\n}",
"variables": ""
}
},
"url": {
"raw": "http://localhost:8080/graphql",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"graphql"
]
}
},
"response": []
},
{
"name": "GetTransaction GraphQL",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "graphql",
"graphql": {
"query": "{\r\n getTransaction(transactionExternalId: \"22c6d270-77ea-4afd-89e4-16a593df4af2\") {\r\n transactionExternalId\r\n accountExternalIdDebit\r\n accountExternalIdCredit\r\n transferTypeId\r\n value\r\n transactionStatus\r\n createdAt\r\n }\r\n}",
"variables": ""
}
},
"url": {
"raw": "http://localhost:8080/graphql",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"graphql"
]
}
},
"response": []
}
]
}