public function getBatchStatus($batchUid) {
        $endpoint = vsprintf('batches/%s', [$batchUid]);
        $requestData = $this->getDefaultRequestData('query', []);

        return $this->sendRequest($endpoint, $requestData, self::HTTP_METHOD_GET);
    }
public function getBatchStatus($batchUid) {
        $endpoint = vsprintf('batches/%s', [$batchUid]);
        $requestData = $this->getDefaultRequestData('query', []);

        return $this->sendRequest($endpoint, $requestData, self::HTTP_METHOD_GET);
    }
public function getBatchStatus ( $ batchUid ) { $ endpoint = vsprintf ( 'batches/%s' , [ $ batchUid ] ) ; $ requestData = $ this -> getDefaultRequestData ( 'query' , [ ] ) ; return $ this -> sendRequest ( $ endpoint , $ requestData , self :: HTTP_METHOD_GET ) ; }
Returns batch status.

@param $batchUid

@return array

@throws SmartlingApiException
Returns batch status .