public function ProgressTrackerApi::getToken in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.3 vendor/smartling/api-sdk-php/src/ProgressTracker/ProgressTrackerApi.php \Smartling\ProgressTracker\ProgressTrackerApi::getToken()
Parameters
string $accountUid:
Return value
array
Throws
\Smartling\Exceptions\SmartlingApiException
File
- vendor/
smartling/ api-sdk-php/ src/ ProgressTracker/ ProgressTrackerApi.php, line 56
Class
- ProgressTrackerApi
- Class ProgressTrackerApi
Namespace
Smartling\ProgressTrackerCode
public function getToken($accountUid) {
$requestData = $this
->getDefaultRequestData('query', []);
$endpoint = vsprintf('accounts/%s/token', [
$accountUid,
]);
return $this
->sendRequest($endpoint, $requestData, static::HTTP_METHOD_GET);
}