NAME
Document::eSign::Docusign::requestSignatureFromTemplate - Uses a template to create and send a new envelope.
VERSION
Version 0.02
functions
requestSignatureFromTemplate($parent, $vars)
my $response = $ds->requestSignatureFromTemplate(
{
accountId => $ds->accountid,
emailSubject => 'Hello Signer World!',
emailBlurb => 'Please sign my document.',
templateId => 'GUID-OF-TEMPLATE-FROM-TEMPLATES',
templateRoles => [
{
email => 'somebody@somedomain.org',
name => 'Joe Somebody',
roleName => 'Signer1', # Corresponds to template signer ID.
}
],
status => 'sent'
}
);
print "Got envelopeId: " . $response->{envelopeId} . "\n";
For more complicated examples, refer to Docusign's API Documentation.