Download the PHP package chancegarcia/document-assembly-legacy-sdk without Composer
On this page you can find all versions of the php package chancegarcia/document-assembly-legacy-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download chancegarcia/document-assembly-legacy-sdk
More information about chancegarcia/document-assembly-legacy-sdk
Files in chancegarcia/document-assembly-legacy-sdk
Download chancegarcia/document-assembly-legacy-sdk
More information about chancegarcia/document-assembly-legacy-sdk
Files in chancegarcia/document-assembly-legacy-sdk
Vendor chancegarcia
Package document-assembly-legacy-sdk
Short Description sdk for Blue Burro DraftOnce and JustFillOut API v1
License MIT
Package document-assembly-legacy-sdk
Short Description sdk for Blue Burro DraftOnce and JustFillOut API v1
License MIT
Please rate this library. Is it a good library?
Informations about the package document-assembly-legacy-sdk
Document Assembly SDK
Export data to DraftOnce or JustFillOut API v1
Installation
The suggested installation method is via composer:
php composer.phar require "chancegarcia/document-assembly-legacy-sdk"
Usage
$exporter = new GuzzleExportService();
$exporter->setInstanceName('yourInstance');
$exporter->setInstanceApiKey('yourInstanceApiKey');
$exporter->setUserApiKey('aUserApiKey');
$exporter->setDomain('draftonce.com');
$guzzle = new Client();
$exporter->setClient($guzzle);
$interviewSessionData = new InterviewSessionData();
$interviewSessionData->setInterview(1);
$a1 = new SdkInterviewSessionAnswer();
$a1->setField(7);
$a1->setName('first name');
$a1->setValue(uniqid('chance_', true));
$interviewSessionData->addAnswer($a1);
$r0a = new SdkRepeatableRepreatableAnswer();
$r0a->setValue(uniqid('rtr_edu_', true));
$r0a->setName('education-university');
$r0a->setField(12);
$r0a->setRepeatableTableRow(1);
$r0a->setRowCount(0);
$interviewSessionData->addAnswer($r0a);
$interviewSessionData->setInterviewSession(4);
$interviewSessionData->setNote('rtr answer test');
$exporter->setInterviewSessionData($interviewSessionData);
$response = $exporter->export();
$body = $response->getBody();
$content = $body->getContents();
$phpContent = json_decode($content);
All versions of document-assembly-legacy-sdk with dependencies
PHP Build Version
Package Version
The package chancegarcia/document-assembly-legacy-sdk contains the following files
Loading the files please wait ....