DOCAPOSTESEND Workflow Application
Overview
The DOCAPOSTESEND workflow application lets you send one or more documents to Docaposte for electronic signature.
How it works
The DOCAPOSTESEND application creates a single envelope and sends it to one or more signers.
You can specify one or more files per DOCAPOSTESEND action. To do this, use the
FILEx
parameter, where x is the file number (e.g.:FILE1
). At least one file is required.You can specify one or more signers. To do this, use the combination of
SIGNER_FIRSTNAME_LIST
,SIGNER_LASTNAME_LIST
, andSIGNER_EMAIL_LIST
. You can also useSIGNER_FIRSTNAMEx
,SIGNER_LASTNAMEx
, andSIGNER_EMAILx
, wherex
is the number of the signer.You can specify one type of signature per recipient. To do this, depending on the method you use to specify signers (with or without
_LIST
), you can useSIGNATURE_TYPE_LIST
orSIGNATURE_TYPEx
, wherex
is the signer number. Possible values:OTP
(default),PAD
,TOKEN
,CONSENT_PROOF
orIDENTITY
.Application logs are available. These can be specified by setting the value of the
DocaposteSendLogLevel
parameter in theweb.config
file to0
to disable logging,1
for error logs,2
for information logs, or3
for debug logs; The default value is0
.
Required parameters
You can use one of the following two configurations: with a list of signers or with signer numbers.
With a list of signers
Parameter | Type | Direction | Description |
| TEXT | IN | First names of signers, separated by the value defined in the |
| TEXT | IN | Last names of signers, separated by the value defined in the |
| TEXT | IN | Email addresses of the signers, separated by the value defined in the |
| FILE | IN | File(s) to send, where |
With signer numbers
Parameter | Type | Direction | Description |
| TEXT | IN | First name(s) of the signer(s), where |
| TEXT | IN | Last name(s) of the signer(s), where |
| TEXT | IN | Email address(es) of the signer(s), where |
| FILE | IN | File(s) to send, where |
Optional parameters
Docaposte configuration
Parameters | Type | Direction | Description |
| TEXT | IN | Docaposte username
By default, this value comes from the |
| TEXT | IN | Docaposte password
By default, this value comes from the |
| TEXT | IN | Docaposte host server By default, this value comes from the |
| TEXT | IN | Docaposte offer code By default, this value comes from the |
| TEXT | IN | Docaposte organizational unit code By default, this value comes from the |
General
Parameters | Type | Direction | Description |
| TEXT | IN | Separator used to separate the contents of |
| TEXT | IN | Signature type of signers, separated by the value defined in the
|
| TEXT | IN | Signature type of signer(s), where Possible values:
|
| TEXT | IN | Provider reference The content of this parameter can allow the provider to identify the transaction on its end with; for example, a value specific to its business domain (e.g. customer file number).
Default: |
| TEXT | IN | Indicates whether the transaction is a TEST transaction ( Default: |
| TEXT | IN | Subject of the email that will be sent to signers Default: |
| TEXT | IN | Domain name of the email address that will be used to send the email to signers Default : |
| FILE | IN | Content of the email to send to signers (see the Customizing the body of the email section) |
Return parameters
Parameter | Type | Direction | Description |
| TEXT | OUT | Contains the Docaposte transaction ID; you can use this ID in the DOCAPOSTCHECK workflow application |
| TEXT | OUT | Contains the names of the documents sent to Docaposte; you can use these values in the DOCAPOSTECHECK workflow application |
Customizing the body of the email
You can customize the content of the body of the email to be sent to the signer. The template must contain the <DOCAPOSTE_SIGN_URL>
tag, which will be replaced by the link allowing the signer to add their signature.
Default value:
Examples
With a list of signers
Parameter | Type | Direction | Value |
| TEXT | IN |
|
| TEXT | IN |
|
| TEXT | IN |
|
| TEXT | IN |
|
| FILE | IN |
|
| TEXT | OUT |
|
| TEXT | OUT |
|
With signer numbers
Parameter | Type | Direction | Value |
| TEXT | IN |
|
| TEXT | IN |
|
| TEXT | IN |
|
| TEXT | IN |
|
| TEXT | IN |
|
| TEXT | IN |
|
| TEXT | IN |
|
| TEXT | IN |
|
| FILE | IN |
|
| TEXT | OUT |
|
| TEXT | OUT |
|