All URIs are relative to /
Method | HTTP request | Description |
---|---|---|
sendBulkSms | POST /api/v1/sms/queue | Enqueuees the smses in the Membercare sms queue. |
sendSms | POST /api/v1/sms/send | Send the sms directly without waiting in the queue. |
sendSmsToListOfDebtorAccountNumbers | POST /api/v1/sms/queue2 | Enqueuees an sms for a list of debtor account numbers in the Membercare sms queue. |
sendBulkSms($token, $body)
Enqueuees the smses in the Membercare sms queue.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Membercare\Client\Api\SmsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$token = "token_example"; // string | access token
$body = new \Membercare\Client\Model\SmsShot(); // \Membercare\Client\Model\SmsShot |
try {
$apiInstance->sendBulkSms($token, $body);
} catch (Exception $e) {
echo 'Exception when calling SmsApi->sendBulkSms: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
token | string | access token | |
body | \Membercare\Client\Model\SmsShot | [optional] |
void (empty response body)
No authorization required
- Content-Type: application/json, text/json, application/_*+json
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
sendSms($token, $body)
Send the sms directly without waiting in the queue.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Membercare\Client\Api\SmsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$token = "token_example"; // string | access token
$body = new \Membercare\Client\Model\Sms(); // \Membercare\Client\Model\Sms |
try {
$apiInstance->sendSms($token, $body);
} catch (Exception $e) {
echo 'Exception when calling SmsApi->sendSms: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
token | string | access token | |
body | \Membercare\Client\Model\Sms | [optional] |
void (empty response body)
No authorization required
- Content-Type: application/json, text/json, application/_*+json
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
sendSmsToListOfDebtorAccountNumbers($token, $body)
Enqueuees an sms for a list of debtor account numbers in the Membercare sms queue.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Membercare\Client\Api\SmsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$token = "token_example"; // string | access token
$body = new \Membercare\Client\Model\SmsToDebtorAccountNumbersPost(); // \Membercare\Client\Model\SmsToDebtorAccountNumbersPost |
try {
$apiInstance->sendSmsToListOfDebtorAccountNumbers($token, $body);
} catch (Exception $e) {
echo 'Exception when calling SmsApi->sendSmsToListOfDebtorAccountNumbers: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
token | string | access token | |
body | \Membercare\Client\Model\SmsToDebtorAccountNumbersPost | [optional] |
void (empty response body)
No authorization required
- Content-Type: application/json, text/json, application/_*+json
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]