You are here

public function FileApi::getStatusAllLocales in TMGMT Translator Smartling 8.4

Same name and namespace in other branches
  1. 8.2 api-sdk-php/src/File/FileApi.php \Smartling\File\FileApi::getStatusAllLocales()
  2. 8.2 vendor/smartling/api-sdk-php/src/File/FileApi.php \Smartling\File\FileApi::getStatusAllLocales()
  3. 8.3 vendor/smartling/api-sdk-php/src/File/FileApi.php \Smartling\File\FileApi::getStatusAllLocales()

retrieve all statuses about file translations progress

Parameters

$fileUri:

ParameterInterface $params:

Return value

array

Throws

SmartlingApiException

File

vendor/smartling/api-sdk-php/src/File/FileApi.php, line 384

Class

FileApi
Class FileApi

Namespace

Smartling\File

Code

public function getStatusAllLocales($fileUri, ParameterInterface $params = null) {
  $params = is_null($params) ? [] : $params
    ->exportToArray();
  $params['fileUri'] = $fileUri;
  $requestData = $this
    ->getDefaultRequestData('query', $params);
  return $this
    ->sendRequest('file/status', $requestData, self::HTTP_METHOD_GET);
}