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
| http post :
|
| http://localhost:8080/api/satisfaction/score
|
|
| 填寫一筆:
|
| request body:
|
| {
| "appointmentId": 482,
| "score":4,
| "type": "APPOINTMENT" // "APPOINTMENT" 表針對此次預約的顧問滿意度、 "SYSTEM" 則是針對平台的滿意度
| }
|
| response body:
| {
| "id": 84,
| "customerId": 165,
| "agentNo": "AGAM11249699",
| "status": "FILLED",
| "score": 4.0,
| "appointmentId": 482,
| "type": "APPOINTMENT"
| }
| =====================================================
|
| 填寫多筆滿意度:
|
| http post :
|
| http://localhost:8080/api/satisfaction/score/all
|
| request body:
|
| [{
| "appointmentId": 482,
| "score":4,
| "type": "APPOINTMENT" // "APPOINTMENT" 表針對此次預約的顧問滿意度、 "SYSTEM" 則是針對平台的滿意度
| }]
|
|
|
| response body:
|
|
| [{
| "id": 84,
| "customerId": 165,
| "agentNo": "AGAM11249699",
| "status": "FILLED",
| "score": 4.0,
| "appointmentId": 482,
| "type": "APPOINTMENT"
| }]
|
|