All URIs are relative to http://localhost, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
broadbandDiagnosticsResultsUsernameTestIdGet() | GET /broadband/diagnostics/results/{username}/{test_id} | Gets the results of complete diagnostics test for a certain user and test ID for a TTB line |
broadbandDiagnosticsUsernameGet() | GET /broadband/diagnostics/{username} | Carry out a TalkTalk diagnostics test on the user line |
broadbandKbdPost() | POST /broadband/kbd | Carry out a Knowledge Based Diagnostics test on a BT Openreach line |
broadbandKbdResultUsernameGet() | GET /broadband/kbd/result/{username} | Gets the results of complete KBD's for a certain user |
broadbandDiagnosticsResultsUsernameTestIdGet($username, $test_id, $api_platform): \OpenAPI\Client\Model\BroadbandDiagnosticsTamResponse
Gets the results of complete diagnostics test for a certain user and test ID for a TTB line
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\BroadbandDiagnosticsApi(
// 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(),
$config
);
$username = 'username_example'; // string | The name of the user
$test_id = 'test_id_example'; // string | The test ID
$api_platform = 'api_platform_example'; // string | The API provides access to two separate platforms: test and live. The test platform allows you to experiment with the API without incurring charges or affecting customer orders. The live platform allows you to make real world changes.
try {
$result = $apiInstance->broadbandDiagnosticsResultsUsernameTestIdGet($username, $test_id, $api_platform);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BroadbandDiagnosticsApi->broadbandDiagnosticsResultsUsernameTestIdGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
username | string | The name of the user | |
test_id | string | The test ID | |
api_platform | string | The API provides access to two separate platforms: test and live. The test platform allows you to experiment with the API without incurring charges or affecting customer orders. The live platform allows you to make real world changes. |
\OpenAPI\Client\Model\BroadbandDiagnosticsTamResponse
- Content-Type: Not defined
- Accept:
text/plain
,application/json
,text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
broadbandDiagnosticsUsernameGet($username, $api_platform): \OpenAPI\Client\Model\BroadbandDiagnosticsResponse
Carry out a TalkTalk diagnostics test on the user line
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\BroadbandDiagnosticsApi(
// 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(),
$config
);
$username = 'username_example'; // string | The name of the user
$api_platform = 'api_platform_example'; // string | The API provides access to two separate platforms: test and live. The test platform allows you to experiment with the API without incurring charges or affecting customer orders. The live platform allows you to make real world changes.
try {
$result = $apiInstance->broadbandDiagnosticsUsernameGet($username, $api_platform);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BroadbandDiagnosticsApi->broadbandDiagnosticsUsernameGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
username | string | The name of the user | |
api_platform | string | The API provides access to two separate platforms: test and live. The test platform allows you to experiment with the API without incurring charges or affecting customer orders. The live platform allows you to make real world changes. |
\OpenAPI\Client\Model\BroadbandDiagnosticsResponse
- Content-Type: Not defined
- Accept:
text/plain
,application/json
,text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
broadbandKbdPost($api_platform, $broadband_kbd_request): \OpenAPI\Client\Model\BroadbandKBDResponse
Carry out a Knowledge Based Diagnostics test on a BT Openreach line
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\BroadbandDiagnosticsApi(
// 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(),
$config
);
$api_platform = 'api_platform_example'; // string | The API provides access to two separate platforms: test and live. The test platform allows you to experiment with the API without incurring charges or affecting customer orders. The live platform allows you to make real world changes.
$broadband_kbd_request = new \OpenAPI\Client\Model\BroadbandKBDRequest(); // \OpenAPI\Client\Model\BroadbandKBDRequest | Represent a KBD request
try {
$result = $apiInstance->broadbandKbdPost($api_platform, $broadband_kbd_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BroadbandDiagnosticsApi->broadbandKbdPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
api_platform | string | The API provides access to two separate platforms: test and live. The test platform allows you to experiment with the API without incurring charges or affecting customer orders. The live platform allows you to make real world changes. | |
broadband_kbd_request | \OpenAPI\Client\Model\BroadbandKBDRequest | Represent a KBD request | [optional] |
\OpenAPI\Client\Model\BroadbandKBDResponse
- 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]
broadbandKbdResultUsernameGet($username, $api_platform): \OpenAPI\Client\Model\BroadbandKBDResponse[]
Gets the results of complete KBD's for a certain user
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\BroadbandDiagnosticsApi(
// 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(),
$config
);
$username = 'username_example'; // string | The name of the user
$api_platform = 'api_platform_example'; // string | The API provides access to two separate platforms: test and live. The test platform allows you to experiment with the API without incurring charges or affecting customer orders. The live platform allows you to make real world changes.
try {
$result = $apiInstance->broadbandKbdResultUsernameGet($username, $api_platform);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BroadbandDiagnosticsApi->broadbandKbdResultUsernameGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
username | string | The name of the user | |
api_platform | string | The API provides access to two separate platforms: test and live. The test platform allows you to experiment with the API without incurring charges or affecting customer orders. The live platform allows you to make real world changes. |
\OpenAPI\Client\Model\BroadbandKBDResponse[]
- Content-Type: Not defined
- Accept:
text/plain
,application/json
,text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]