<?php use PDFfiller\OAuth2\Client\Provider\FillRequest; $provider = (require_once __DIR__ . '/../bootstrap/initWithFabric.php'); $e = FillRequest::one($provider, 53690143); dd($e);
<?php use PDFfiller\OAuth2\Client\Provider\FillRequest; $provider = (require_once __DIR__ . '/../bootstrap/initWithFabric.php'); $e = FillRequest::one($provider, 53690143)->forms(); dd($e);
<?php use PDFfiller\OAuth2\Client\Provider\FillRequest; $provider = (require_once __DIR__ . '/../bootstrap/initWithFabric.php'); $e = FillRequest::one($provider, 53690143)->form(1)->remove(); dd($e);
<?php use PDFfiller\OAuth2\Client\Provider\FillRequest; $provider = (require_once __DIR__ . '/../bootstrap/initWithFabric.php'); $e = FillRequest::one($provider, 53690143)->form(1)->export(); dd($e);
<?php use PDFfiller\OAuth2\Client\Provider\FillRequest; $provider = (require_once __DIR__ . '/../bootstrap/initWithFabric.php'); $e = FillRequest::all($provider); dd($e);
<?php use PDFfiller\OAuth2\Client\Provider\FillRequest; $provider = (require_once __DIR__ . '/../bootstrap/initWithFabric.php'); $e = FillRequest::one($provider, 53690143)->form(1)->download(); dd($e);
<?php use PDFfiller\OAuth2\Client\Provider\FillRequest; $provider = (require_once __DIR__ . '/../bootstrap/initWithFabric.php'); $params = ["document_id" => 53690143, "access" => "full", "status" => "public", "email_required" => true, "name_required" => true, "custom_message" => "Custom string to show for a user", "notification_emails" => [["name" => "Test User", "email" => "*****@*****.**"]]]; $fillRequestEntity = FillRequest::one($provider, 53690143); $fillRequestEntity->custom_message = "New custom message"; $e = $fillRequestEntity->save(false); dd($e);
<?php use PDFfiller\OAuth2\Client\Provider\FillRequest; $provider = (require_once __DIR__ . '/../bootstrap/initWithFabric.php'); $e = FillRequest::deleteOne($provider, 53690143); dd($e);
<?php use PDFfiller\OAuth2\Client\Provider\FillRequest; $provider = (require_once __DIR__ . '/../bootstrap/initWithFabric.php'); $fillRequestEntity = new FillRequest($provider); $fillRequestEntity->document_id = 53690143; $fillRequestEntity->access = "full"; $fillRequestEntity->status = "public"; $fillRequestEntity->email_required = true; $fillRequestEntity->name_required = true; $fillRequestEntity->custom_message = "Custom"; $fillRequestEntity->notification_emails = [['name' => 'name', 'email' => '*****@*****.**']]; $e = $fillRequestEntity->save(); dd($e);