Interface SmsApi

All Superinterfaces:
com.abavilla.fpi.fw.rest.IApi

@RegisterRestClient(configKey="sms-api") @RegisterProvider(com.abavilla.fpi.fw.exceptions.handler.ApiRepoExHandler.class) @RegisterClientHeaders(com.abavilla.fpi.login.ext.rest.AppToAppPreAuth.class) @Retry(maxRetries=8, retryOn=com.abavilla.fpi.fw.exceptions.AuthApiSvcEx.class, delay=3L, delayUnit=SECONDS, jitter=1500L) @ExponentialBackoff(maxDelay=25L, maxDelayUnit=SECONDS) public interface SmsApi extends com.abavilla.fpi.fw.rest.IApi
Resource access for authenticating with sending SMS through SMS service
Author:
Vince Villamora
  • Method Summary

    Modifier and Type
    Method
    Description
    io.smallrye.mutiny.Uni<MsgReqStatusDto>
    sendSms(MsgReqDto msgReqDto)
    Send an SMS through SMS service
  • Method Details

    • sendSms

      @POST io.smallrye.mutiny.Uni<MsgReqStatusDto> sendSms(MsgReqDto msgReqDto)
      Send an SMS through SMS service
      Parameters:
      msgReqDto - MsgReqDto object
      Returns:
      MsgReqDto future object containing the status