-
Notifications
You must be signed in to change notification settings - Fork 0
/
Digital Couse API.postman_collection.json
76 lines (76 loc) · 2.07 KB
/
Digital Couse API.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
{
"info": {
"_postman_id": "cefdd906-6a7d-4cb7-99e6-66a01f7ac81e",
"name": "Digital Couse API",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Get ordered planning by user ",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://:8080/v1/user/30ecc27b-9df7-4dd3-b52f-d001e79bd035/planning",
"protocol": "http",
"port": "8080",
"path": [
"v1",
"user",
"30ecc27b-9df7-4dd3-b52f-d001e79bd035",
"planning"
]
}
},
"response": []
},
{
"name": "Post order course for user",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"userId\": \"30ecc27b-9df7-4dd3-b52f-d001e79bd035\",\r\n \"courses\": [\r\n {\r\n \"desiredCourse\": \"PortfolioConstruction\",\r\n \"requiredCourse\": \"PortfolioTheories\"\r\n },\r\n {\r\n \"desiredCourse\": \"InvestmentManagement\",\r\n \"requiredCourse\": \"Investment\"\r\n },\r\n {\r\n \"desiredCourse\": \"Investment\",\r\n \"requiredCourse\": \"Finance\"\r\n },\r\n {\r\n \"desiredCourse\": \"PortfolioTheories\",\r\n \"requiredCourse\": \"Investment\"\r\n },\r\n {\r\n \"desiredCourse\": \"InvestmentStyle\",\r\n \"requiredCourse\": \"InvestmentManagement\"\r\n }\r\n ]\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8080/v1/user/course",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"v1",
"user",
"course"
]
}
},
"response": []
},
{
"name": "Health",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "localhost:8080/healthz",
"host": [
"localhost"
],
"port": "8080",
"path": [
"healthz"
]
}
},
"response": []
}
]
}