java.lang.Object
net.linksfield.cube.partnersdk.domain.BaseRequest
net.linksfield.cube.partnersdk.sdk.modules.sms.SendSms

public class SendSms
extends BaseRequest
  • 构造器详细资料

    • SendSms

      public SendSms​(int nonce, List<String> simIds, SendSms.Message message)

      Notes

      • The sending is asynchronous, and the request may fail
      • A maximum of 100 SIMs are supported
      • Each message contains a maximum of 140 characters
      • The retention time of the SMS in SMS-Center varies from 24 hours to 7 days
      • Not all SIMs can receive SMS via this API. For details, consult FAE


      Attention

      • Sending may fail in below situations and the SMS will NOT be sent:
        • SMS service is not enabled for the organisation (consult FAE)
        • SIM IDs provided do not belong to the organisation
        • SIM ID duplicates
        • SMS sending via API is not supported for some SIMs
      • Idempotence
        • If same nonce, same sim_ids and the same sms message is sent in 2 requests within 10s, they will be treated as the same request, and the same job id will be returned. The actual sending will only occur once.
      • When a request is timeout, you may use above method to retrieve the job id.
        • Otherwise, it will be treated as a new request and the sms will be sent again.
      • Result
        • Response of this API indicates the receipt of the request only. It does not indicate the status of sending of the SMS.
        • To request the status of the sending:
          • List all SMS by Request ID (MT)
          • List all SMS by SIM ID(MT)

      参数:
      nonce -
      simIds - iccids
      message - type and content
  • 方法详细资料