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
| http post :
|
| http://localhost:8080/api/appointment/customer/create
|
|
| contactType: email,phone
| gender: male, female
| consultationMethod: 諮詢方式(online,offline)
|
| request body:
|
| {
| "phone":"09123456789",
| "email":"pollex@pollex.comm.tw",
| "contactType":"phone",
| "gender":"male",
| "age":"20-25",
| "job":"專案經理",
| "requirement":"財務規劃,資產移轉",
| "hopeContactTime":"'星期一~星期五, 12:00~14:00, 18:00~21:00'",
| "otherRequirement":"外幣投資",
| "agentNo":"admin",
| "consultationMethod": "offline"
| }
|
| 回傳預約單資訊
| response body:
| {
| "id" : 493,
| "phone" : "",
| "email" : "wayne8692wayne8692@gmail.com",
| "contactType" : "EMAIL",
| "gender" : "female",
| "age" : "31-40",
| "job" : "內勤",
| "requirement" : "分紅保單,資產規劃",
| "communicateStatus" : "reserved",
| "hopeContactTime" : "",
| "otherRequirement" : null,
| "appointmentDate" : "2022-02-08T06:57:05.661Z",
| "lastModifiedDate" : "2022-02-08T06:57:05.661Z",
| "agentNo" : "AG0101234567",
| "customerId" : 167,
| "consultantViewTime" : null,
| "consultantReadTime" : null,
| "contactTime" : null,
| "consultationMethod": "offline"
| }
|
|