Specification » History » Version 5
Soh Keong, 06/15/2022 03:21 PM
1 | 1 | Soh Keong | {{toc}} |
---|---|---|---|
2 | |||
3 | h1. Specification |
||
4 | |||
5 | h2. Programming Guide |
||
6 | |||
7 | h3. Jar version |
||
8 | |||
9 | 5 | Soh Keong | |_. version |_. Description | |
10 | | 1.0 | Init | |
||
11 | | 1.1 | Added createDatetime (requestOTP) | |
||
12 | 1 | Soh Keong | |
13 | h3. Jar File Download |
||
14 | |||
15 | 5 | Soh Keong | "Jar":/redmine/attachments/download/652/OnlineCoswayServiceClient-1.1.jar |
16 | 1 | Soh Keong | |
17 | h1. Methods |
||
18 | |||
19 | h2. Message Service |
||
20 | |||
21 | <pre> |
||
22 | com.cosway.soap.client.service.MessageService service = new com.cosway.soap.client.service.MessageService(); |
||
23 | </pre> |
||
24 | |||
25 | h3. requestVerifyCode |
||
26 | |||
27 | <pre> |
||
28 | com.cosway.soap.client.bean.ResultBean resultBean = service.requestVerifyCode(com.cosway.soap.client.bean.AppPinBean bean) |
||
29 | </pre> |
||
30 | |||
31 | * *com.cosway.soap.client.bean.AppPinBean* |
||
32 | > * *shopperId* |
||
33 | > * *AppType* |
||
34 | > * *CreateBy* - com.cosway.soap.client.common.CommonConstant.CREATED_BY_ONLINE |
||
35 | |||
36 | |||
37 | h3. verifyVerifyCode |
||
38 | |||
39 | <pre> |
||
40 | com.cosway.soap.client.bean.ResultBean resultBean = service.verifyVerifyCode(com.cosway.soap.client.bean.AppPinBean bean) |
||
41 | </pre> |
||
42 | |||
43 | * *com.cosway.soap.client.bean.AppPinBean* |
||
44 | 4 | Soh Keong | > * *shopperId* - |
45 | > * *AppType* - "AppType":/redmine/projects/onlinecoswayservice/wiki#App-Type |
||
46 | > * *AppPin* - |
||
47 | 1 | Soh Keong | |
48 | |||
49 | h3. sendNotification |
||
50 | |||
51 | <pre> |
||
52 | com.cosway.soap.client.bean.ResultBean resultBean = service.sendNotification(com.cosway.soap.client.bean.AppNoticeBean bean) |
||
53 | </pre> |
||
54 | |||
55 | * *com.cosway.soap.client.bean.AppNoticeBean* |
||
56 | 4 | Soh Keong | > * *shopperId* - |
57 | > * *AppType* - "AppType":/redmine/projects/onlinecoswayservice/wiki#App-Type |
||
58 | > * *Params* - String in Json format |
||
59 | 1 | Soh Keong | |
60 | * *com.cosway.soap.client.bean.ResultBean* |
||
61 | 4 | Soh Keong | > * *ErrCode* - "ErroCode":/redmine/projects/webservice/wiki#Status-Code |
62 | > * *ErrMessage* - |