All URIs are relative to https://api.simply.com, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| orderDnsService() | POST /2/my/order/dnsservice/ | Order a DNS service with optional domain registration/transfer |
orderDnsService($orderDnsServicePayload): \SimplyCom\SimplyCom\Model\OrderDnsService200ResponseOrder a DNS service with optional domain registration/transfer
Order a DNS service, optionally registering or transferring a domain. If payment is required, a working credit card must be on file. The order will be processed immediately if payment succeeds.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
$config = SimplyCom\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SimplyCom\Api\OrderApi(
// 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
);
$orderDnsServicePayload = new \SimplyCom\SimplyCom\Model\OrderDnsServicePayload(); // \SimplyCom\SimplyCom\Model\OrderDnsServicePayload
try {
$result = $apiInstance->orderDnsService($orderDnsServicePayload);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderApi->orderDnsService: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| orderDnsServicePayload | \SimplyCom\SimplyCom\Model\OrderDnsServicePayload |
\SimplyCom\SimplyCom\Model\OrderDnsService200Response
- Content-Type:
application/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]