DataFire integration for DocuSign
npm install @datafire/docusignClient library for DocuSign
bash
npm install --save @datafire/docusign
`
`js
let docusign = require('@datafire/docusign').create();.then(data => {
console.log(data);
});
`Description
The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
Actions
$3
Retrieves the available REST API versions.DocuSign Production system: https://www.docusign.net/restapi/service_information
DocuSign Demo system: https://demo.docusign.net/restapi/service_information
You do not need an integrator key to view the REST API versions and resources.
`js
docusign.ServiceInformation_GetServiceInformation(null, context)
`#### Input
This action has no parameters
#### Output
* output Services
$3
Retrieves the base resources available for the DocuSign REST APIs.You do not need an integrator key to view the REST API versions and resources.
Example: https://demo.docusign.net/restapi/v2 lists all of the base resources available in version 2 of the REST API on the DocuSign Demo system.
To view descriptions and samples of the service operations for all versions, remove the version number and add /help to the URL.
Example: https://demo.docusign.net/restapi/help lists the REST API operations on the DocuSign Demo system with XML and JSON request and response samples.
`js
docusign.ServiceInformation_GetResourceInformation(null, context)
`#### Input
This action has no parameters
#### Output
* output Resources
$3
Creates new DocuSign accounts.
You can use this method to create
a single account
or up to 100 accounts at a time.When creating a single account,
the body of the request is a
[
newAccountDefinition][newAccountDefinition]
object.If the request succeeds.
it returns a
201 (Created) code.
The response returns the new account ID, password and the default user
information for each newly created account.
When creating multiple accounts,
the body of the request is a
newAccountRequests
object,
which contains one or more
[newAccountDefinition][newAccountDefinition]
objects.
You can create up to 100 new accounts
at a time this way.The body for a multi-account
creation request
looks like this in JSON:
`
{
"newAccountRequests": [
{
"accountName": "accountone",
. . .
},
{
"accountName": "accounttwo",
. . .
}
]
}
`A multi-account request
looks like this in XML:
`
. . .
. . .
`A multi-account creation request
may succeed (report a 201 code)
even if some accounts could not be created.
In this case, the
errorDetails property
in the response contains specific information
about the failure.
$3
The
accountSettings` property| Name | Type | Authorization Required | Description |
| :------------------------------------------------- | :------ | :---------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| adoptSigConfig | Boolean | Admin | When true, the Signature Adoption Configuration page is available to account administrators. |
| allowAccessCodeFormat | Boolean | Admin | When true, the Access Code Format page is available to account administrators. |
| allowAccountManagementGranular | Boolean | Admin | When true, the Delegated Administration functionality is available to account. |
| allowBulkSend | Boolean | Admin | When true, the account can set if the bulk send feature can be used. |
| allowCDWithdraw | Boolean | Admin | When true, signers can withdraw their consent to use electronic signatures. |
| allowConnectSendFinishLater | Boolean | Reserved | Reserved for DocuSign. |
| allowDataDownload | Boolean | Admin | When true, the account can download envelope data. |
| allowEnvelopeCorrect | Boolean | Admin | When true, the account allows in process envelopes to be corrected. |
| allowEnvelopePublishReporting | Boolean | Admin | When true, the account can access the Envelope Publish section in Classic DocuSign Experience Account Administration. |
| allowExpressSignerCertificate | Boolean | Admin | When true, senders are allowed to use the DocuSign Express digital signatures. |
| allowExternalSignaturePad | Boolean | Admin | When true, an external signature pad can be used for signing. The signature pad type is set by the externalSignaturePadType property. |
| allowInPerson | Boolean | SysAdmin | When true, the account allows In Person Signing. |
| allowMarkup | Boolean | Admin | When true, the document markup feature is enabled for the account. |
| allowMemberTimezone | Boolean | Admin | When true, account users can set their own time zones. |
| allowMergeFields | Boolean | Admin | When true, the account can use merge fields in conjunction with DocuSign for Salesforce. |
| allowMultipleSignerAttachments | Boolean | Admin | When true, multiple signer attachments are allowed for an envelope. |
| allowOfflineSigning | Boolean | Admin | When true, the account can use Offline Signing and envelopes signed using offline signing on mobile devices are synchronized with this account. This option and the inSessionEnabled option must both be enabled (true) for a caller to use offline signing. |
| allowOpenTrustSignerCertificate | Boolean | Admin | When true, senders are allowed to use the OpenTrust digital signatures. |
| allowPaymentProcessing | Boolean | Admin | When true, the account can access the Payment Processing set up page. |
| allowPersonalSignerCertificate | Boolean | Admin | When true, the account can specify that signers must use personal signer certificates during signing. |
| allowPrivateSigningGroups | Boolean | SysAdmin Read Only | Reserved for DocuSign. This currently returns false in a response. This setting is only shown in the response when listing account settings. |
| allowReminders | Boolean | Admin | When true, the reminder and expiration functionality is available when sending envelops. |
| allowSafeBioPharmaSignerCertificate | Boolean | Admin | When true, senders are allowed to use the SAFE BioPharma digital signatures. |
| allowSharedTabs | Boolean | Admin | When true, the account allows users to share custom tabs (fields).
This setting is only shown when getting account settings. It cannot be modified. |
| allowSignDocumentFromHomePage | Boolean | Admin | When true, the Sign a Document Now button is available on the Home tab. |
| allowSignatureStamps | Boolean | Reserved | Reserved for DocuSign. |
| allowSignerReassign | Boolean | Admin | When true, the account allows signers to reassign an envelope. |
| allowSignerReassignOverride | Boolean | Admin | When true, the sender has the option override the default account setting for reassigning recipients. |
| allowSigningGroups | Boolean | SysAdmin Read Only | When true, the account can use signing groups. This setting is only shown in the response when listing account settings. |
| allowTabOrder | Boolean | Admin | When true, the Tab Order field is available for use when creating tabs. |
| allowWorkspaceComments | Boolean | Reserved | Reserved for DocuSign. |
| allowWorkspaceCreate | Boolean | Admin | When true, account users can create DocuSign Rooms. |
| attachCompletedEnvelope | Boolean | SysAdmin | When true, envelope documents are included as a PDF file attachment for signing completed emails. |
| authenticationCheck | String | Admin | Sets when authentication checks are applied for recipient envelope access. This setting only applies to the following ID checks:
initial_access: The authentication check always applies the first time a recipient accesses the documents. Recipients are not asked to authenticate again when they access the documents from the same browser on the same device. If the recipient attempts to access the documents from a different browser or a different device, the recipient must pass authentication again. Once authenticated, that recipient is not challenged again on the new device or browser. The ability for a recipient to skip authentication for documents is limited to documents sent from the same sending account.
each_access: Authentication checks apply every time a recipient attempts to access the envelope. However, you can configure the Authentication Expiration setting to allow recipients to skip authentication when they have recently passed authentication by setting a variable timeframe.
offrequired_fieldsrequired_and_blank_fieldsall_fieldspage_then_required_fieldspage_then_required_and_blank_fieldspage_then_all_fieldsonce: Per account, the supplemental document is displayed once only per userId. always: Per envelope, the supplemental document is displayed once only per userId. each_access: - Per envelope, the supplemental document is displayed once only per recipientId. document: Tabs in a document with the same label populate with the same data. envelope: Tabs in all documents in the envelope with the same label populate with the same data.