|
5 | 5 | This repo includes bash scripts that use curl to demonstrate: |
6 | 6 |
|
7 | 7 | 1. **Embedded Signing Ceremony.** |
8 | | - [Source.](https://github.com/docusign/eg-03-curl/blob/master/examples/eg001EmbeddedSigning.sh) |
| 8 | + [Source.](https://github.com/docusign/eg-03-curl/blob/apiv2/examples/eg001EmbeddedSigning.sh) |
9 | 9 | This example sends an envelope, and then uses an embedded signing ceremony for the first signer. |
10 | 10 | With embedded signing, the DocuSign signing ceremony is initiated from your website. |
11 | 11 | 1. **Send an envelope with a remote (email) signer and cc recipient.** |
12 | | - [Source.](https://github.com/docusign/eg-03-curl/blob/master/examples/eg002SigningViaEmail.sh) |
| 12 | + [Source.](https://github.com/docusign/eg-03-curl/blob/apiv2/examples/eg002SigningViaEmail.sh) |
13 | 13 | The envelope includes a pdf, Word, and HTML document. |
14 | 14 | Anchor text ([AutoPlace](https://support.docusign.com/en/guides/AutoPlace-New-DocuSign-Experience)) is used to position the signing fields in the documents. |
15 | 15 | 1. **List envelopes in the user's account.** |
16 | | - [Source.](https://github.com/docusign/eg-03-curl/blob/master/examples/eg003ListEnvelopes.sh) |
| 16 | + [Source.](https://github.com/docusign/eg-03-curl/blob/apiv2/examples/eg003ListEnvelopes.sh) |
17 | 17 | 1. **Get an envelope's basic information.** |
18 | | - [Source.](https://github.com/docusign/eg-03-curl/blob/master/examples/eg004EnvelopeInfo.sh) |
| 18 | + [Source.](https://github.com/docusign/eg-03-curl/blob/apiv2/examples/eg004EnvelopeInfo.sh) |
19 | 19 | The example lists the basic information about an envelope, including its overall status. |
20 | 20 | 1. **List an envelope's recipients** |
21 | | - [Source.](https://github.com/docusign/eg-03-curl/blob/master/examples/eg005EnvelopeRecipients.sh) |
| 21 | + [Source.](https://github.com/docusign/eg-03-curl/blob/apiv2/examples/eg005EnvelopeRecipients.sh) |
22 | 22 | Includes current recipient status. |
23 | 23 | 1. **List an envelope's documents.** |
24 | | - [Source.](https://github.com/docusign/eg-03-curl/blob/master/examples/eg006EnvelopeDocs.sh) |
| 24 | + [Source.](https://github.com/docusign/eg-03-curl/blob/apiv2/examples/eg006EnvelopeDocs.sh) |
25 | 25 | 1. **Download an envelope's documents.** |
26 | | - [Source.](https://github.com/docusign/eg-03-curl/blob/master/examples/eg007EnvelopeGetDoc.sh) |
| 26 | + [Source.](https://github.com/docusign/eg-03-curl/blob/apiv2/examples/eg007EnvelopeGetDoc.sh) |
27 | 27 | The example can download individual |
28 | 28 | documents, the documents concatenated together, or a zip file of the documents. |
29 | 29 | 1. **Programmatically create a template.** |
30 | | - [Source.](https://github.com/docusign/eg-03-curl/blob/master/examples/eg008CreateTemplate.sh) |
| 30 | + [Source.](https://github.com/docusign/eg-03-curl/blob/apiv2/examples/eg008CreateTemplate.sh) |
31 | 31 | 1. **Send an envelope using a template.** |
32 | | - [Source.](https://github.com/docusign/eg-03-curl/blob/master/examples/eg009UseTemplate.sh) |
| 32 | + [Source.](https://github.com/docusign/eg-03-curl/blob/apiv2/examples/eg009UseTemplate.sh) |
33 | 33 | 1. **Send an envelope and upload its documents with multipart binary transfer.** |
34 | | - [Source.](https://github.com/docusign/eg-03-curl/blob/master/examples/eg010SendBinaryDocs.sh) |
| 34 | + [Source.](https://github.com/docusign/eg-03-curl/blob/apiv2/examples/eg010SendBinaryDocs.sh) |
35 | 35 | Binary transfer is 33% more efficient than using Base64 encoding. |
36 | 36 | 1. **Embedded sending.** |
37 | | - [Source.](https://github.com/docusign/eg-03-curl/blob/master/examples/eg011EmbeddedSending.sh) |
| 37 | + [Source.](https://github.com/docusign/eg-03-curl/blob/apiv2/examples/eg011EmbeddedSending.sh) |
38 | 38 | Embeds the DocuSign web tool (NDSE) in your web app to finalize or update |
39 | 39 | the envelope and documents before they are sent. |
40 | 40 | 1. **Embedded DocuSign web tool (NDSE).** |
41 | | - [Source.](https://github.com/docusign/eg-03-curl/blob/master/examples/eg012EmbeddedConsole.sh) |
| 41 | + [Source.](https://github.com/docusign/eg-03-curl/blob/apiv2/examples/eg012EmbeddedConsole.sh) |
42 | 42 | 1. **Embedded Signing Ceremony from a template with an added document.** |
43 | | - [Source.](https://github.com/docusign/eg-03-curl/blob/master/examples/eg013AddDocToTemplate.sh) |
| 43 | + [Source.](https://github.com/docusign/eg-03-curl/blob/apiv2/examples/eg013AddDocToTemplate.sh) |
44 | 44 | This example sends an envelope based on a template. |
45 | 45 | In addition to the template's document(s), the example adds an |
46 | 46 | additional document to the envelope by using the |
47 | 47 | [Composite Templates](https://developers.docusign.com/esign-rest-api/guides/features/templates#composite-templates) |
48 | 48 | feature. |
49 | | -1. **Payments example: an order form, with online payment by credit card.** |
50 | | - [Source.](https://github.com/docusign/eg-03-curl/blob/master/examples/eg014CollectPayment.sh) |
| 49 | +1. **Get the envelope tab data.** (Coming Soon...) |
| 50 | +1. **Set envelope tab values.** (Coming Soon...) |
| 51 | +1. **Set template tab values.** (Coming Soon...) |
| 52 | +1. **Get the envelope custom field data (metadata).** (Coming Soon...) |
| 53 | +1. **Send an envelope with a remote (email) signer using Access Code authentication.** |
| 54 | + [Source.](https://github.com/docusign/eg-03-curl/blob/apiv2/examples/eg019SigningViaEmailWithAccessCode.sh) |
| 55 | + This example sends an envelope using remote (email) signing requiring the recipient to enter an access code. |
| 56 | +1. **Send an envelope with a remote (email) signer using SMS authentication.** |
| 57 | + [Source.](https://github.com/docusign/eg-03-curl/blob/apiv2/examples/eg020SigningViaEmailWithSmsAuthentication.sh) |
| 58 | + This example sends an envelope using remote (email) signing requiring the recipient to supply a verification code sent to them via SMS. |
| 59 | +1. **Send an envelope with a remote (email) signer using Phone authentication.** |
| 60 | + [Source.](https://github.com/docusign/eg-03-curl/blob/apiv2/examples/eg021SigningViaEmailWithPhoneAuthentication.sh) |
| 61 | + This example sends an envelope using remote (email) signing requiring the recipient to supply a verification code sent to them via a phone call. |
| 62 | +1. **Send an envelope with a remote (email) signer using Knowledge-Based authentication.** |
| 63 | + [Source.](https://github.com/docusign/eg-03-curl/blob/apiv2/examples/eg022SigningViaEmailWithKnoweldgeBasedAuthentication.sh) |
| 64 | + This example sends an envelope using remote (email) signing requiring the recipient to validate their identity via Knowledge-Based authentication. |
| 65 | +1. **Send an envelope with a remote (email) signer using Identity Verification.** |
| 66 | + [Source.](https://github.com/docusign/eg-03-curl/blob/apiv2/examples/eg023SigningViaEmailWithIDVAuthentication.sh) |
| 67 | + This example sends an envelope using remote (email) signing requiring the recipient to validate their identity via a government issued ID. |
51 | 68 |
|
52 | 69 | ## Installation |
53 | 70 |
|
|
76 | 93 | ### Payments code example |
77 | 94 | To use the payments code example, first create a test payments gatway in your account. |
78 | 95 | Follow the instructions in the |
79 | | -[PAYMENTS_INSTALLATION.md](https://github.com/docusign/eg-03-curl/blob/master/PAYMENTS_INSTALLATION.md) |
| 96 | +[PAYMENTS_INSTALLATION.md](https://github.com/docusign/eg-03-curl/blob/apiv2/PAYMENTS_INSTALLATION.md) |
80 | 97 | file. |
81 | 98 |
|
82 | 99 | Then add the payment gateway id to the code example file. |
@@ -107,6 +124,16 @@ bash eg010SendBinaryDocs.sh |
107 | 124 | bash eg011EmbeddedSending.sh |
108 | 125 | bash eg012EmbeddedConsole.sh |
109 | 126 | bash eg013AddDocToTemplate.sh |
| 127 | +base eg014Payments.sh (Coming Soon...) |
| 128 | +bash eg015GetEnvelopeTabData.sh (Coming Soon...) |
| 129 | +bash eg016SetEnvelopeTabValues.sh (Coming Soon...) |
| 130 | +bash eg017SetTemplateTabValues.sh (Coming Soon...) |
| 131 | +bash eg018GetEnvelopeCustomFieldData.sh (Coming Soon...) |
| 132 | +bash eg019SigningViaEmailWithAccessCode.sh |
| 133 | +bash eg020SigningViaEmailWithSmsAuthentication.sh |
| 134 | +bash eg021SigningViaEmailWithPhoneAuthentication.sh |
| 135 | +bash eg022SigningViaEmailWithKnoweldgeBasedAuthentication.sh |
| 136 | +bash eg023SigningViaEmailWithIDVAuthentication.sh |
110 | 137 |
|
111 | 138 | # Note: to use example 14 you must also configure a |
112 | 139 | # payment gateway for your account. |
|
0 commit comments