Skip to content

Commit 38a0420

Browse files
committed
Task 26 : Add Screenshots and Postman Collections
1 parent cc66e1a commit 38a0420

File tree

19 files changed

+159
-0
lines changed

19 files changed

+159
-0
lines changed
Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,159 @@
1+
{
2+
"info": {
3+
"_postman_id": "7d51064c-dc6f-4034-8bd0-5cb78c4fec79",
4+
"name": "Crypto Exchange Api",
5+
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
6+
"_exporter_id": "33002673"
7+
},
8+
"item": [
9+
{
10+
"name": "Convert Crypto Currency with Amount",
11+
"request": {
12+
"method": "POST",
13+
"header": [],
14+
"body": {
15+
"mode": "raw",
16+
"raw": "{\r\n \"from\" : \"BTC\",\r\n \"to\" : \"ARB\",\r\n \"amount\" : 100\r\n}",
17+
"options": {
18+
"raw": {
19+
"language": "json"
20+
}
21+
}
22+
},
23+
"url": {
24+
"raw": "http://localhost:1927/api/convert",
25+
"protocol": "http",
26+
"host": [
27+
"localhost"
28+
],
29+
"port": "1927",
30+
"path": [
31+
"api",
32+
"convert"
33+
]
34+
}
35+
},
36+
"response": []
37+
},
38+
{
39+
"name": "Convert Crypto Currency with Amount Exception",
40+
"request": {
41+
"method": "POST",
42+
"header": [],
43+
"body": {
44+
"mode": "raw",
45+
"raw": "{\r\n \"from\" : \"BTC\",\r\n \"to\" : \"BTC\",\r\n \"amount\" : 100\r\n}",
46+
"options": {
47+
"raw": {
48+
"language": "json"
49+
}
50+
}
51+
},
52+
"url": {
53+
"raw": "http://localhost:1927/api/convert",
54+
"protocol": "http",
55+
"host": [
56+
"localhost"
57+
],
58+
"port": "1927",
59+
"path": [
60+
"api",
61+
"convert"
62+
]
63+
}
64+
},
65+
"response": []
66+
},
67+
{
68+
"name": "Get History with Filter, Pagination and Sorting",
69+
"request": {
70+
"method": "POST",
71+
"header": [],
72+
"body": {
73+
"mode": "raw",
74+
"raw": "{\r\n \"filterRequest\": {\r\n \"filter\": {\r\n \"from\": \"BTC\",\r\n \"to\": \"ARB\",\r\n \"minAmount\": 50,\r\n \"maxAmount\": 5000,\r\n \"minConvertedAmount\": 1000000,\r\n \"maxConvertedAmount\": 3000000000,\r\n \"createdAtFrom\": \"2025-09-29T00:00:00\",\r\n \"createdAtTo\": \"2025-10-02T23:59:59\",\r\n \"transactionIdContains\": \"c29059\"\r\n }\r\n },\r\n \"pagingRequest\": {\r\n \"pagination\": {\r\n \"pageNumber\": 1,\r\n \"pageSize\": 20\r\n },\r\n \"sorting\": {\r\n \"sortBy\": \"sentAt\",\r\n \"sortDirection\": \"DESC\"\r\n }\r\n }\r\n}",
75+
"options": {
76+
"raw": {
77+
"language": "json"
78+
}
79+
}
80+
},
81+
"url": {
82+
"raw": "http://localhost:1927/api/convert/history",
83+
"protocol": "http",
84+
"host": [
85+
"localhost"
86+
],
87+
"port": "1927",
88+
"path": [
89+
"api",
90+
"convert",
91+
"history"
92+
]
93+
}
94+
},
95+
"response": []
96+
},
97+
{
98+
"name": "Get History with Filter and Pagination",
99+
"request": {
100+
"method": "POST",
101+
"header": [],
102+
"body": {
103+
"mode": "raw",
104+
"raw": "{\r\n \"filterRequest\": {\r\n \"filter\": {\r\n \"from\": \"BTC\",\r\n \"to\": \"ARB\",\r\n \"minAmount\": 50,\r\n \"maxAmount\": 5000,\r\n \"minConvertedAmount\": 1000000,\r\n \"maxConvertedAmount\": 3000000000,\r\n \"createdAtFrom\": \"2025-09-29T00:00:00\",\r\n \"createdAtTo\": \"2025-10-02T23:59:59\",\r\n \"transactionIdContains\": \"c29059\"\r\n }\r\n },\r\n \"pagingRequest\": {\r\n \"pagination\": {\r\n \"pageNumber\": 1,\r\n \"pageSize\": 20\r\n }\r\n }\r\n}",
105+
"options": {
106+
"raw": {
107+
"language": "json"
108+
}
109+
}
110+
},
111+
"url": {
112+
"raw": "http://localhost:1927/api/convert/history",
113+
"protocol": "http",
114+
"host": [
115+
"localhost"
116+
],
117+
"port": "1927",
118+
"path": [
119+
"api",
120+
"convert",
121+
"history"
122+
]
123+
}
124+
},
125+
"response": []
126+
},
127+
{
128+
"name": "Get All Currency List with Pagination",
129+
"request": {
130+
"method": "GET",
131+
"header": [],
132+
"url": {
133+
"raw": "http://localhost:1927/api/convert/map?page=1&size=20",
134+
"protocol": "http",
135+
"host": [
136+
"localhost"
137+
],
138+
"port": "1927",
139+
"path": [
140+
"api",
141+
"convert",
142+
"map"
143+
],
144+
"query": [
145+
{
146+
"key": "page",
147+
"value": "1"
148+
},
149+
{
150+
"key": "size",
151+
"value": "20"
152+
}
153+
]
154+
}
155+
},
156+
"response": []
157+
}
158+
]
159+
}

screenshots/1.PNG

95.1 KB
Loading

screenshots/10.PNG

72.9 KB
Loading

screenshots/11.PNG

98.6 KB
Loading

screenshots/12.PNG

88.7 KB
Loading

screenshots/13.PNG

59.5 KB
Loading

screenshots/14.PNG

114 KB
Loading

screenshots/15.PNG

85.8 KB
Loading

screenshots/16.PNG

103 KB
Loading

screenshots/17.PNG

141 KB
Loading

0 commit comments

Comments
 (0)