Specification » History » Revision 9
Revision 8 (Soh Keong, 06/15/2022 05:09 PM) → Revision 9/21 (Soh Keong, 06/16/2022 10:32 AM)
{{toc}} h1. Specification h2. Programming Guide h3. Jar version |_. version |_. Description | | 1.0 | Init | | 1.1 | Added createDatetime (requestOTP) | h3. Jar File Download "Jar":/redmine/attachments/download/655/OnlineCoswayServiceClient-1.1.jar "Jar":/redmine/attachments/download/654/OnlineCoswayServiceClient-1.1.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.AppPinResultBean 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 * *com.cosway.soap.client.bean.AppPinResultBean* > * *ErrCode* - "ErroCode":/redmine/projects/webservice/wiki#Status-Code > * *ErrMessage* - > * *CreateDatetime* - 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* - "AppType":/redmine/projects/onlinecoswayservice/wiki#App-Type > * *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* - "AppType":/redmine/projects/onlinecoswayservice/wiki#App-Type > * *Params* - String in Json format * *com.cosway.soap.client.bean.ResultBean* > * *ErrCode* - "ErroCode":/redmine/projects/webservice/wiki#Status-Code > * *ErrMessage* -