public function executeBatch($batchUid)
    {
        $endpoint = vsprintf('batches/%s', [$batchUid]);
        $requestData = $this->getDefaultRequestData('json', [
          'action' => self::ACTION_EXECUTE,
        ]);

        return $this->sendRequest($endpoint, $requestData, self::HTTP_METHOD_POST);
    }
public function executeBatch($batchUid)
    {
        $endpoint = vsprintf('batches/%s', [$batchUid]);
        $requestData = $this->getDefaultRequestData('json', [
          'action' => self::ACTION_EXECUTE,
        ]);

        return $this->sendRequest($endpoint, $requestData, self::HTTP_METHOD_POST);
    }
public function executeBatch ( $ batchUid ) { $ endpoint = vsprintf ( 'batches/%s' , [ $ batchUid ] ) ; $ requestData = $ this -> getDefaultRequestData ( 'json' , [ 'action' => self :: ACTION_EXECUTE , ] ) ; return $ this -> sendRequest ( $ endpoint , $ requestData , self :: HTTP_METHOD_POST ) ; }
Execute batch.

@param $batchUid

@return bool

@throws SmartlingApiException
Execute batch .