public function BatchApi::listBatches in TMGMT Translator Smartling 8.3
Same name and namespace in other branches
- 8.4 vendor/smartling/api-sdk-php/src/Batch/BatchApi.php \Smartling\Batch\BatchApi::listBatches()
Returns list of batches.
Return value
array
Throws
File
- vendor/
smartling/ api-sdk-php/ src/ Batch/ BatchApi.php, line 151
Class
- BatchApi
- Class JobsFacadeApi
Namespace
Smartling\BatchCode
public function listBatches() {
$requestData = $this
->getDefaultRequestData('query', []);
return $this
->sendRequest('batches', $requestData, self::HTTP_METHOD_GET);
}