Returns a response with the area codes available for a given state/provice and city.
successful operation
failed_operation
<?php
require_once __DIR__ . "/vendor/autoload.php";
$config = Dropbox\Sign\Configuration::getDefaultConfiguration();
// Configure HTTP basic authorization: api_key
$config->setUsername("YOUR_API_KEY");
$faxLineApi = new Dropbox\Sign\Api\FaxLineApi($config);
try {
$result = $faxLineApi->faxLineAreaCodeGet("US", "CA");
print_r($result);
} catch (Dropbox\Sign\ApiException $e) {
$error = $e->getResponseObject();
echo "Exception when calling Dropbox Sign API: "
. print_r($error->getError());
}
{- "area_codes": [
- 209,
- 213,
- 310,
- 323,
- 408,
- 415,
- 424,
- 510,
- 530,
- 559,
- 562,
- 619,
- 626,
- 650,
- 657,
- 661,
- 669,
- 707,
- 714,
- 747,
- 760,
- 805,
- 818,
- 831,
- 858,
- 909,
- 916,
- 925,
- 949,
- 951
]
}