All URIs are relative to https://api.wall.et, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
beginA2PApplication() | POST /v2/a2p/application | Create A2P Application |
fetchA2PApplication() | GET /v2/a2p/application | Fetch A2P Application |
fetchA2PRegistration() | GET /v2/a2p/registration | Fetch A2P Registration |
updateA2PApplication() | PUT /v2/a2p/application/{applicationID} | Update A2P Application |
beginA2PApplication($a2_p_application_submission): bool
Create A2P Application
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\A2PApi(
// 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()
);
$a2_p_application_submission = new \OpenAPI\Client\Model\A2PApplicationSubmission(); // \OpenAPI\Client\Model\A2PApplicationSubmission
try {
$result = $apiInstance->beginA2PApplication($a2_p_application_submission);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling A2PApi->beginA2PApplication: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
a2_p_application_submission | \OpenAPI\Client\Model\A2PApplicationSubmission |
bool
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchA2PApplication(): mixed
Fetch A2P Application
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\A2PApi(
// 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()
);
try {
$result = $apiInstance->fetchA2PApplication();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling A2PApi->fetchA2PApplication: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
mixed
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchA2PRegistration(): mixed
Fetch A2P Registration
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\A2PApi(
// 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()
);
try {
$result = $apiInstance->fetchA2PRegistration();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling A2PApi->fetchA2PRegistration: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
mixed
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateA2PApplication($application_id, $wta2_p_application_update_params): bool
Update A2P Application
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\A2PApi(
// 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()
);
$application_id = 'application_id_example'; // string
$wta2_p_application_update_params = new \OpenAPI\Client\Model\WTA2PApplicationUpdateParams(); // \OpenAPI\Client\Model\WTA2PApplicationUpdateParams
try {
$result = $apiInstance->updateA2PApplication($application_id, $wta2_p_application_update_params);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling A2PApi->updateA2PApplication: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
application_id | string | ||
wta2_p_application_update_params | \OpenAPI\Client\Model\WTA2PApplicationUpdateParams |
bool
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]