| Line 187... |
Line 187... |
| 187 |
public String sendSms(String dltTemplateId, String message, String mobileNumber) throws Exception {
|
187 |
public String sendSms(String dltTemplateId, String message, String mobileNumber) throws Exception {
|
| 188 |
Map<String, String> queryParams = new HashMap<>();
|
188 |
Map<String, String> queryParams = new HashMap<>();
|
| 189 |
queryParams.put("from", SENDER);
|
189 |
queryParams.put("from", SENDER);
|
| 190 |
queryParams.put("indiaDltContentTemplateId", dltTemplateId);
|
190 |
queryParams.put("indiaDltContentTemplateId", dltTemplateId);
|
| 191 |
queryParams.put("indiaDltPrincipalEntityId", DLT_PRINCIPLE_ENTITY_ID);
|
191 |
queryParams.put("indiaDltPrincipalEntityId", DLT_PRINCIPLE_ENTITY_ID);
|
| 192 |
queryParams.put("telemarketerId", SPECTRA_TELEMARKETER);
|
192 |
queryParams.put("indiaDltTelemarketerId", SPECTRA_TELEMARKETER);
|
| 193 |
queryParams.put("to", "91" + mobileNumber);
|
193 |
queryParams.put("to", "91" + mobileNumber);
|
| 194 |
queryParams.put("text", message);
|
194 |
queryParams.put("text", message);
|
| 195 |
queryParams.put("password", PASS);
|
195 |
queryParams.put("password", PASS);
|
| 196 |
queryParams.put("username", USER);
|
196 |
queryParams.put("username", USER);
|
| 197 |
//OTP Message Template
|
197 |
//OTP Message Template
|