public class SendSmsApi extends Object
| Constructor and Description |
|---|
SendSmsApi() |
SendSmsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
SmsDeliveryResult |
getOutboundSmsMessageDeliveryReports(String bulkId,
String messageId,
Integer limit)
Get outbound SMS message delivery reports.
|
okhttp3.Call |
getOutboundSmsMessageDeliveryReportsAsync(String bulkId,
String messageId,
Integer limit,
ApiCallback<SmsDeliveryResult> _callback)
Get outbound SMS message delivery reports (asynchronously).
|
okhttp3.Call |
getOutboundSmsMessageDeliveryReportsCall(String bulkId,
String messageId,
Integer limit,
ApiCallback _callback)
Build call for getOutboundSmsMessageDeliveryReports.
|
ApiResponse<SmsDeliveryResult> |
getOutboundSmsMessageDeliveryReportsWithHttpInfo(String bulkId,
String messageId,
Integer limit)
Get outbound SMS message delivery reports.
|
SmsLogsResponse |
getOutboundSmsMessageLogs(String from,
String to,
List<String> bulkId,
List<String> messageId,
String generalStatus,
OffsetDateTime sentSince,
OffsetDateTime sentUntil,
Integer limit,
String mcc,
String mnc)
Get outbound SMS message logs.
|
okhttp3.Call |
getOutboundSmsMessageLogsAsync(String from,
String to,
List<String> bulkId,
List<String> messageId,
String generalStatus,
OffsetDateTime sentSince,
OffsetDateTime sentUntil,
Integer limit,
String mcc,
String mnc,
ApiCallback<SmsLogsResponse> _callback)
Get outbound SMS message logs (asynchronously).
|
okhttp3.Call |
getOutboundSmsMessageLogsCall(String from,
String to,
List<String> bulkId,
List<String> messageId,
String generalStatus,
OffsetDateTime sentSince,
OffsetDateTime sentUntil,
Integer limit,
String mcc,
String mnc,
ApiCallback _callback)
Build call for getOutboundSmsMessageLogs.
|
ApiResponse<SmsLogsResponse> |
getOutboundSmsMessageLogsWithHttpInfo(String from,
String to,
List<String> bulkId,
List<String> messageId,
String generalStatus,
OffsetDateTime sentSince,
OffsetDateTime sentUntil,
Integer limit,
String mcc,
String mnc)
Get outbound SMS message logs.
|
SmsPreviewResponse |
previewSmsMessage(SmsPreviewRequest smsPreviewRequest)
Preview SMS message.
|
okhttp3.Call |
previewSmsMessageAsync(SmsPreviewRequest smsPreviewRequest,
ApiCallback<SmsPreviewResponse> _callback)
Preview SMS message (asynchronously).
|
okhttp3.Call |
previewSmsMessageCall(SmsPreviewRequest smsPreviewRequest,
ApiCallback _callback)
Build call for previewSmsMessage.
|
ApiResponse<SmsPreviewResponse> |
previewSmsMessageWithHttpInfo(SmsPreviewRequest smsPreviewRequest)
Preview SMS message.
|
SmsResponse |
sendBinarySmsMessage(SmsAdvancedBinaryRequest smsAdvancedBinaryRequest)
Send binary SMS message.
|
okhttp3.Call |
sendBinarySmsMessageAsync(SmsAdvancedBinaryRequest smsAdvancedBinaryRequest,
ApiCallback<SmsResponse> _callback)
Send binary SMS message (asynchronously).
|
okhttp3.Call |
sendBinarySmsMessageCall(SmsAdvancedBinaryRequest smsAdvancedBinaryRequest,
ApiCallback _callback)
Build call for sendBinarySmsMessage.
|
ApiResponse<SmsResponse> |
sendBinarySmsMessageWithHttpInfo(SmsAdvancedBinaryRequest smsAdvancedBinaryRequest)
Send binary SMS message.
|
SmsResponse |
sendSmsMessage(SmsAdvancedTextualRequest smsAdvancedTextualRequest)
Send SMS message.
|
okhttp3.Call |
sendSmsMessageAsync(SmsAdvancedTextualRequest smsAdvancedTextualRequest,
ApiCallback<SmsResponse> _callback)
Send SMS message (asynchronously).
|
okhttp3.Call |
sendSmsMessageCall(SmsAdvancedTextualRequest smsAdvancedTextualRequest,
ApiCallback _callback)
Build call for sendSmsMessage.
|
ApiResponse<SmsResponse> |
sendSmsMessageWithHttpInfo(SmsAdvancedTextualRequest smsAdvancedTextualRequest)
Send SMS message.
|
void |
setApiClient(ApiClient apiClient) |
public SendSmsApi()
public SendSmsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call getOutboundSmsMessageDeliveryReportsCall(String bulkId, String messageId, Integer limit, ApiCallback _callback) throws ApiException
bulkId - Unique ID assigned to the request if messaging multiple recipients or sending
multiple messages via a single API request. (optional)messageId - Unique message ID for which a report is requested. (optional)limit - Maximum number of delivery reports to be returned. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic SmsDeliveryResult getOutboundSmsMessageDeliveryReports(String bulkId, String messageId, Integer limit) throws ApiException
bulkId - Unique ID assigned to the request if messaging multiple recipients or sending
multiple messages via a single API request. (optional)messageId - Unique message ID for which a report is requested. (optional)limit - Maximum number of delivery reports to be returned. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<SmsDeliveryResult> getOutboundSmsMessageDeliveryReportsWithHttpInfo(String bulkId, String messageId, Integer limit) throws ApiException
bulkId - Unique ID assigned to the request if messaging multiple recipients or sending
multiple messages via a single API request. (optional)messageId - Unique message ID for which a report is requested. (optional)limit - Maximum number of delivery reports to be returned. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call getOutboundSmsMessageDeliveryReportsAsync(String bulkId, String messageId, Integer limit, ApiCallback<SmsDeliveryResult> _callback) throws ApiException
bulkId - Unique ID assigned to the request if messaging multiple recipients or sending
multiple messages via a single API request. (optional)messageId - Unique message ID for which a report is requested. (optional)limit - Maximum number of delivery reports to be returned. (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getOutboundSmsMessageLogsCall(String from, String to, List<String> bulkId, List<String> messageId, String generalStatus, OffsetDateTime sentSince, OffsetDateTime sentUntil, Integer limit, String mcc, String mnc, ApiCallback _callback) throws ApiException
from - The sender ID which can be alphanumeric or numeric. (optional)to - Message destination address. (optional)bulkId - Unique ID assigned to the request if messaging multiple recipients or sending
multiple messages via a single API request. (optional)messageId - Unique message ID for which a log is requested. (optional)generalStatus - Sent [message
status](https://www.infobip.com/docs/essentials/response-status-and-error-codes#api-status-codes).
Possible values: `ACCEPTED`, `PENDING`, `UNDELIVERABLE`,
`DELIVERED`, `REJECTED`, `EXPIRED`. (optional)sentSince - Sets the lower limit on the date and time filter for sent messages. Has the
following format: `yyyy-MM-dd'T'HH:mm:ss.SSSZ`. (optional)sentUntil - Sets the upper limit on the date and time filter for sent messages. Has the
following format: `yyyy-MM-dd'T'HH:mm:ss.SSSZ`. (optional)limit - Maximum number of messages to include in logs. If you want to fetch more than
`1000` logs, you can retrieve them in pages using `sentSince` and
`sentUntil` parameters. Defaults to `50`. (optional)mcc - Mobile Country Code. (optional)mnc - Mobile Network Code. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic SmsLogsResponse getOutboundSmsMessageLogs(String from, String to, List<String> bulkId, List<String> messageId, String generalStatus, OffsetDateTime sentSince, OffsetDateTime sentUntil, Integer limit, String mcc, String mnc) throws ApiException
from - The sender ID which can be alphanumeric or numeric. (optional)to - Message destination address. (optional)bulkId - Unique ID assigned to the request if messaging multiple recipients or sending
multiple messages via a single API request. (optional)messageId - Unique message ID for which a log is requested. (optional)generalStatus - Sent [message
status](https://www.infobip.com/docs/essentials/response-status-and-error-codes#api-status-codes).
Possible values: `ACCEPTED`, `PENDING`, `UNDELIVERABLE`,
`DELIVERED`, `REJECTED`, `EXPIRED`. (optional)sentSince - Sets the lower limit on the date and time filter for sent messages. Has the
following format: `yyyy-MM-dd'T'HH:mm:ss.SSSZ`. (optional)sentUntil - Sets the upper limit on the date and time filter for sent messages. Has the
following format: `yyyy-MM-dd'T'HH:mm:ss.SSSZ`. (optional)limit - Maximum number of messages to include in logs. If you want to fetch more than
`1000` logs, you can retrieve them in pages using `sentSince` and
`sentUntil` parameters. Defaults to `50`. (optional)mcc - Mobile Country Code. (optional)mnc - Mobile Network Code. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<SmsLogsResponse> getOutboundSmsMessageLogsWithHttpInfo(String from, String to, List<String> bulkId, List<String> messageId, String generalStatus, OffsetDateTime sentSince, OffsetDateTime sentUntil, Integer limit, String mcc, String mnc) throws ApiException
from - The sender ID which can be alphanumeric or numeric. (optional)to - Message destination address. (optional)bulkId - Unique ID assigned to the request if messaging multiple recipients or sending
multiple messages via a single API request. (optional)messageId - Unique message ID for which a log is requested. (optional)generalStatus - Sent [message
status](https://www.infobip.com/docs/essentials/response-status-and-error-codes#api-status-codes).
Possible values: `ACCEPTED`, `PENDING`, `UNDELIVERABLE`,
`DELIVERED`, `REJECTED`, `EXPIRED`. (optional)sentSince - Sets the lower limit on the date and time filter for sent messages. Has the
following format: `yyyy-MM-dd'T'HH:mm:ss.SSSZ`. (optional)sentUntil - Sets the upper limit on the date and time filter for sent messages. Has the
following format: `yyyy-MM-dd'T'HH:mm:ss.SSSZ`. (optional)limit - Maximum number of messages to include in logs. If you want to fetch more than
`1000` logs, you can retrieve them in pages using `sentSince` and
`sentUntil` parameters. Defaults to `50`. (optional)mcc - Mobile Country Code. (optional)mnc - Mobile Network Code. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call getOutboundSmsMessageLogsAsync(String from, String to, List<String> bulkId, List<String> messageId, String generalStatus, OffsetDateTime sentSince, OffsetDateTime sentUntil, Integer limit, String mcc, String mnc, ApiCallback<SmsLogsResponse> _callback) throws ApiException
from - The sender ID which can be alphanumeric or numeric. (optional)to - Message destination address. (optional)bulkId - Unique ID assigned to the request if messaging multiple recipients or sending
multiple messages via a single API request. (optional)messageId - Unique message ID for which a log is requested. (optional)generalStatus - Sent [message
status](https://www.infobip.com/docs/essentials/response-status-and-error-codes#api-status-codes).
Possible values: `ACCEPTED`, `PENDING`, `UNDELIVERABLE`,
`DELIVERED`, `REJECTED`, `EXPIRED`. (optional)sentSince - Sets the lower limit on the date and time filter for sent messages. Has the
following format: `yyyy-MM-dd'T'HH:mm:ss.SSSZ`. (optional)sentUntil - Sets the upper limit on the date and time filter for sent messages. Has the
following format: `yyyy-MM-dd'T'HH:mm:ss.SSSZ`. (optional)limit - Maximum number of messages to include in logs. If you want to fetch more than
`1000` logs, you can retrieve them in pages using `sentSince` and
`sentUntil` parameters. Defaults to `50`. (optional)mcc - Mobile Country Code. (optional)mnc - Mobile Network Code. (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call previewSmsMessageCall(SmsPreviewRequest smsPreviewRequest, ApiCallback _callback) throws ApiException
smsPreviewRequest - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic SmsPreviewResponse previewSmsMessage(SmsPreviewRequest smsPreviewRequest) throws ApiException
smsPreviewRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<SmsPreviewResponse> previewSmsMessageWithHttpInfo(SmsPreviewRequest smsPreviewRequest) throws ApiException
smsPreviewRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call previewSmsMessageAsync(SmsPreviewRequest smsPreviewRequest, ApiCallback<SmsPreviewResponse> _callback) throws ApiException
smsPreviewRequest - (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call sendBinarySmsMessageCall(SmsAdvancedBinaryRequest smsAdvancedBinaryRequest, ApiCallback _callback) throws ApiException
smsAdvancedBinaryRequest - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic SmsResponse sendBinarySmsMessage(SmsAdvancedBinaryRequest smsAdvancedBinaryRequest) throws ApiException
smsAdvancedBinaryRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<SmsResponse> sendBinarySmsMessageWithHttpInfo(SmsAdvancedBinaryRequest smsAdvancedBinaryRequest) throws ApiException
smsAdvancedBinaryRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call sendBinarySmsMessageAsync(SmsAdvancedBinaryRequest smsAdvancedBinaryRequest, ApiCallback<SmsResponse> _callback) throws ApiException
smsAdvancedBinaryRequest - (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call sendSmsMessageCall(SmsAdvancedTextualRequest smsAdvancedTextualRequest, ApiCallback _callback) throws ApiException
smsAdvancedTextualRequest - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic SmsResponse sendSmsMessage(SmsAdvancedTextualRequest smsAdvancedTextualRequest) throws ApiException
smsAdvancedTextualRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<SmsResponse> sendSmsMessageWithHttpInfo(SmsAdvancedTextualRequest smsAdvancedTextualRequest) throws ApiException
smsAdvancedTextualRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call sendSmsMessageAsync(SmsAdvancedTextualRequest smsAdvancedTextualRequest, ApiCallback<SmsResponse> _callback) throws ApiException
smsAdvancedTextualRequest - (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2022. All rights reserved.