public function getDrawingObject($objectURI, $outputPath)
    {


        if ($outputPath == '')
            throw new Exception('Output path not specified');

        if ($objectURI == '')
            throw new Exception('Object URI not specified');

        $url_arr = explode('/', $objectURI);
        $objectIndex = end($url_arr);

        $strURI = $objectURI;

        $signedURI = Utils::sign($strURI);

        $responseStream = Utils::processCommand($signedURI, 'GET', '', '');

        $json = json_decode($responseStream);

        if ($json->Code == 200) {
            if ($json->DrawingObject->ImageDataLink != '') {
                $strURI = $strURI . '/imageData';
                $outputPath = $outputPath . '\\DrawingObject_' . $objectIndex . '.jpeg';
            } else if ($json->DrawingObject->OleDataLink != '') {
                $strURI = $strURI . '/oleData';
                $outputPath = $outputPath . '\\DrawingObject_' . $objectIndex . '.xlsx';
            } else {
                $strURI = $strURI . '?format=jpeg';
                $outputPath = $outputPath . '\\DrawingObject_' . $objectIndex . '.jpeg';
            }

            $signedURI = Utils::sign($strURI);

            $responseStream = Utils::processCommand($signedURI, 'GET', '', '');

            $v_output = Utils::validateOutput($responseStream);

            if ($v_output === '') {
                Utils::saveFile($responseStream, $outputPath);
                return $outputPath;
            } else
                return $v_output;
        } else {
            return false;
        }
    }