You are here

public function FileApi::getStatusForAllLocales 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::getStatusForAllLocales()
  2. 8.2 vendor/smartling/api-sdk-php/src/File/FileApi.php \Smartling\File\FileApi::getStatusForAllLocales()
  3. 8.3 vendor/smartling/api-sdk-php/src/File/FileApi.php \Smartling\File\FileApi::getStatusForAllLocales()

Retrieves status about file translation progress for all locales.

Parameters

string $fileUri: Value that uniquely identifies the file.

ParameterInterface $params: Additional parameters that might be added later

Return value

array Data about request file. Data about request file.

Throws

SmartlingApiException

See also

http://docs.smartling.com/pages/API/v2/FileAPI/Status/All-Locales/

File

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

Class

FileApi
Class FileApi

Namespace

Smartling\File

Code

public function getStatusForAllLocales($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);
}