1 Reply Latest reply on Mar 4, 2016 8:39 AM by NikhilKumar

    In Echosign Soap Api, how can i send multiple file for signature..

    shank5833360

      Here is sample code for sending single document...

      $client = new SoapClient(EchoSign\API::getWSDL());

      $api = new EchoSign\API($client, 'YOUR API KEY');

         

      $file = EchoSign\Info\FileInfo::createFromFile('demo.pdf');

         

      $document = new EchoSign\Info\DocumentCreationInfo('Test sendDocument', $file);

         

      $recipients = new EchoSign\Info\RecipientInfo;

      $recipients->addRecipient($recipient_email);

         

      $document->setRecipients($recipients);

         

      $result = $api->sendDocument($document);