Actions
Specification » History » Revision 1
Revision 1/8
| Next »
Soh Keong, 03/23/2023 09:23 AM
- Table of contents
- Specification
Specification¶
Programming Guide¶
Jar version¶
version | Description |
---|---|
1.0 | Init |
Jar File Download¶
"Jar":
"Properties":
properties file¶
- mocean.properties
- api.key.{DB}.{country/project}
- api.secret.{DB}.{country/project}
- url.domain - Mocean Domain name
- url.sms - Send SMS
- url.otp.ppc - OTP via sms and voice
- url.otp.ppa - OTP via sms
- url.verify - Verify OTP code
- url.query - Message delivery status
- dlr.mask - Delivery Report 0=No, 1=Yes
- response.format - JSON/XML
- otp.validity.in.second
- local.valid.period.in.second
- connection.timeout
- connection.read.timeout
- allow.list - If enable, only phone number in the list allow to sent.
Database Table¶
CREATE TABLE MOCEAN_INTERFACE ( OTP_ID VARCHAR(15) NOT NULL, MOBILE VARCHAR(15) NOT NULL, TRX_CODE VARCHAR(5) NOT NULL, SHOPPER_REF_NO INTEGER, STATUS_CODE VARCHAR(5), STATUS_DESC VARCHAR(100), REQUEST_ID VARCHAR(50), REQUEST_ID_EXTRA VARCHAR(100), DELIVERY_STATUS INTEGER, TOTAL_SMS INTEGER, CREATE_DATETIME TIMESTAMP NOT NULL DEFAULT CURRENT TIMESTAMP, MODIFY_DATETIME TIMESTAMP, ORDER_ID VARCHAR(15), PRIMARY KEY (OTP_ID))
SMS Service¶
Updated by Soh Keong almost 2 years ago · 1 revisions