Specification » History » Revision 2
Revision 1 (Soh Keong, 06/14/2022 05:14 PM) → Revision 2/21 (Soh Keong, 06/14/2022 05:16 PM)
{{toc}}
h1. Specification
h2. Programming Guide
h3. Jar version
|_. version |_. Description |
| 1.0 | Init |
h3. Jar File Download
"Jar":/redmine/attachments/download/651/OnlineCoswayServiceClient-1.0.jar
h1. Methods
h2. Message Service
<pre>
com.cosway.soap.client.service.MessageService service = new com.cosway.soap.client.service.MessageService();
</pre>
h3. requestVerifyCode
<pre>
com.cosway.soap.client.bean.ResultBean resultBean = service.requestVerifyCode(com.cosway.soap.client.bean.AppPinBean bean)
</pre>
* *com.cosway.soap.client.bean.AppPinBean*
> * *shopperId*
> * *AppType*
> * *CreateBy* - com.cosway.soap.client.common.CommonConstant.CREATED_BY_ONLINE
h3. verifyVerifyCode
<pre>
com.cosway.soap.client.bean.ResultBean resultBean = service.verifyVerifyCode(com.cosway.soap.client.bean.AppPinBean bean)
</pre>
* *com.cosway.soap.client.bean.AppPinBean*
> * *shopperId*
> * *AppType*
> * *AppPin*
h3. sendNotification
<pre>
com.cosway.soap.client.bean.ResultBean resultBean = service.sendNotification(com.cosway.soap.client.bean.AppNoticeBean bean)
</pre>
* *com.cosway.soap.client.bean.AppNoticeBean*
> * *shopperId*
> * *AppType*
> * *Params* - String in Json format
* *com.cosway.soap.client.bean.ResultBean*
> * *ErrCode* - redmine/projects/webservice/wiki#Status-Code
> * *ErrMessage*