public function TranslationRequestsApi::searchTranslationRequests in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.3 vendor/smartling/api-sdk-php/src/TranslationRequests/TranslationRequestsApi.php \Smartling\TranslationRequests\TranslationRequestsApi::searchTranslationRequests()
Parameters
string $bucketName:
SearchTranslationRequestParams $searchParams:
Return value
array
Throws
1 method overrides TranslationRequestsApi::searchTranslationRequests()
- TranslationRequestsApiV3::searchTranslationRequests in src/
Smartling/ Submission/ TranslationRequestsApiV3.php
File
- vendor/
smartling/ api-sdk-php/ src/ TranslationRequests/ TranslationRequestsApi.php, line 85
Class
- TranslationRequestsApi
- Class TranslationRequestsApi @package Smartling\TranslationRequests
Namespace
Smartling\TranslationRequestsCode
public function searchTranslationRequests($bucketName, SearchTranslationRequestParams $searchParams) {
$requestData = $this
->getDefaultRequestData('query', $searchParams
->exportToArray());
$requestUri = vsprintf('buckets/%s/translation-requests', [
$bucketName,
]);
return $this
->sendRequest($requestUri, $requestData, static::HTTP_METHOD_GET);
}