You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.MD
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
-
# Python and React: MyUni Education Sample Application
1
+
# Python and React: University Sample Application
2
2
3
-
### Github repo: MyUniSampleApp
3
+
### Github repo: University Sample App
4
4
5
5
## Introduction
6
-
MyUni is a Docusign sample application written in Python 3.7 (server) and React (client). You can find a live instance running at [https://myuni.sampleapps.docusign.com/](https://myuni.sampleapps.docusign.com/).
6
+
The University Sample App is a Docusign sample application written in Python 3.7 (server) and React (client). You can find a live instance running at [https://university.sampleapps.docusign.com/](https://university.sampleapps.docusign.com/).
7
7
8
-
MyUni demonstrates the following:
8
+
The University Sample App demonstrates the following:
9
9
10
10
1. Authentication with Docusign via [JSON Web Token (JWT) Grant](https://developers.docusign.com/platform/auth/jwt/).
11
11
2.**Change Your Major or Minor:** ([Source](./app/api/requests.py))
@@ -48,8 +48,8 @@ MyUni demonstrates the following:
48
48
49
49
**Manual**
50
50
51
-
1. Download or clone this repository to your workstation to directory **sample-app-myuni-python**
52
-
2. Navigate to that folder: **`cd sample-app-myuni-python`** directory
51
+
1. Download or clone this repository to your workstation to directory **sample-app-university-python**
52
+
2. Navigate to that folder: **`cd sample-app-university-python`** directory
4. Install React dependencies using [npm](https://www.npmjs.com/) package manager **npm install**
55
55
5. Update the **.env** file with the integration key and other settings.
@@ -58,8 +58,8 @@ MyUni demonstrates the following:
58
58
59
59
**Using installation scripts**
60
60
61
-
1. Download or clone this repository to your workstation in the folder **sample-app-myuni-python**.
62
-
2. Navigate to the scripts subfolder: **`cd sample-app-myuni-python/scripts`**
61
+
1. Download or clone this repository to your workstation in the folder **sample-app-university-python**.
62
+
2. Navigate to the scripts subfolder: **`cd sample-app-university-python/scripts`**
63
63
3. Run the installation script: **`./install.sh`**
64
64
4. Update the **.env** file with the integration key and other settings.
65
65
> **Note:** Protect your integration key and client secret. You should make sure that your **.env** file will not be stored in your source code repository.
@@ -70,11 +70,11 @@ All installation scripts are located in the **scripts** folder.
70
70
1. To stop the application, run **`./stop.sh`**
71
71
1. To remove the virtual environment and modules, run **`./clean.sh`**
72
72
73
-
## Running MyUni
73
+
## Running the University Sample App
74
74
75
75
### Manual
76
76
77
-
1. Navigate to the application folder: **`cd sample-app-myuni-python`**
77
+
1. Navigate to the application folder: **`cd sample-app-university-python`**
78
78
2. Run the application: **`flask run --port 5001`**
"Description": "<p>This education-focused Docusign sample application demonstrates some common Docusign API integration workflows built from the Docusign eSignature API, Docusign Click API, Docusign Payments, and Docusign Connect.</p>",
"SandboxText": "<h4>Get Started with the Docusign APIs Today</h4>",
7
7
"SandboxButton": "GET YOUR DEVELOPER ACCOUNT",
8
8
"Description2": "<p></br>With the Docusign developer account, you can test our APIs for free! Developer accounts do not expire and have enterprise-level features enabled.</p>",
9
-
"Features": "<h3>MyUni features:</h3><ul><li>Send document for signature</li><li>Update recipient information</li><li>Embedded signing </li><li>Create an envelope from HTML import</li><li>Real-time status reporting</li><li>Fill tab data</li><li>Create a clickwrap</li><li>Embed a clickwrap on your site</li><li>Calculated (formula) fields</li><liRequest payment</li></ul>",
9
+
"Features": "<h3>The University Sample App features:</h3><ul><li>Send document for signature</li><li>Update recipient information</li><li>Embedded signing </li><li>Create an envelope from HTML import</li><li>Real-time status reporting</li><li>Fill tab data</li><li>Create a clickwrap</li><li>Embed a clickwrap on your site</li><li>Calculated (formula) fields</li><liRequest payment</li></ul>",
"AboutDocuSign": "<h3>About Docusign</h3><ul><li>More than 1,000,000 paying customers and over a billion users in over 180 countries</li><li>More than 300,000 new unique users join the Docusign Global Trust Network every day</li><li>83% of Docusign documents are returned within 1 hour, with 50% completed within 15 minutes</li><li>$36 per document savings when you leave paper behind</li> <li>Docusign is available in 44 languages</li></ul>"
"EmptyListMessage": "Once you begin creating MyUni transactions, you'll be able to check their status here and download the documents they generate...",
11
+
"EmptyListMessage": "Once you begin creating transactions through the sample app, you'll be able to check their status here and download the documents they generate...",
12
12
"ApiDecription": {
13
13
"SeeMore": "- See behind the scenes",
14
-
"CodeFlow": "<p>View source file <a href='https://github.com/docusign/sample-app-myuni-python/blob/master/app/envelope.py#L68-L108' target='blank' rel='norefferer noopener'>envelopes.py</a> on GitHub.</p><h3>This sample features:</h3><ul><li>List envelope status changes</li><li>Download envelope documents</li></ul><h3>Code flow:</h3><h5>Step 1</h5><p>When the status page loads, we use the <a href='https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopes/liststatuschanges/' target='blank' rel='noopener noreferrer'>Envelopes: listStatusChanges</a> method to retrieve the statuses of envelopes in the authenticated user’s account, filtering by the current day's date with the <code>from_date</code> query parameter. Additionally, we use the <code>include</code> query parameter to retrieve recipient information for each envelope. We then cross-reference these envelopes with the envelope IDs saved in the app’s session and display only those sent by the currently authenticated user using the app.</p><p>To list envelope status changes, we send an API request to:</p><pre>POST /restapi/v2.1/accounts/{accountId}/envelopes?from_date={date}&include='recipients'</pre><h5>Step 2</h5><p>To download envelope documents, we send an API request to: <pre>GET /restapi/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}</pre></p>"
14
+
"CodeFlow": "<p>View source file <a href='https://github.com/docusign/sample-app-university-python/blob/master/app/envelope.py#L68-L108' target='blank' rel='norefferer noopener'>envelopes.py</a> on GitHub.</p><h3>This sample features:</h3><ul><li>List envelope status changes</li><li>Download envelope documents</li></ul><h3>Code flow:</h3><h5>Step 1</h5><p>When the status page loads, we use the <a href='https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopes/liststatuschanges/' target='blank' rel='noopener noreferrer'>Envelopes: listStatusChanges</a> method to retrieve the statuses of envelopes in the authenticated user’s account, filtering by the current day's date with the <code>from_date</code> query parameter. Additionally, we use the <code>include</code> query parameter to retrieve recipient information for each envelope. We then cross-reference these envelopes with the envelope IDs saved in the app’s session and display only those sent by the currently authenticated user using the app.</p><p>To list envelope status changes, we send an API request to:</p><pre>POST /restapi/v2.1/accounts/{accountId}/envelopes?from_date={date}&include='recipients'</pre><h5>Step 2</h5><p>To download envelope documents, we send an API request to: <pre>GET /restapi/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}</pre></p>"
Copy file name to clipboardExpand all lines: client/public/locales/en/RequestExtracurricularActivity.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,6 @@
43
43
},
44
44
"ApiDecription": {
45
45
"SeeMore": "- See behind the scenes",
46
-
"CodeFlow": "<p>View source files <a href='https://github.com/docusign/sample-app-myuni-python/blob/master/app/document.py#L116-L252' target='blank' rel='norefferer noopener'>document.py</a> and <a href='https://github.com/docusign/sample-app-myuni-python/blob/master/app/envelope.py#L10-L65' target='blank' rel='norefferer noopener'>envelope.py</a> on GitHub.</p><h3>This sample features:</h3><ul><li>Update recipient information<li>Create envelope from HTML import<li>Fill tab data<li>Embedded signing (recipient view)<li>Request payment</li></ul><p><strong>Note</strong>: This scenario uses <a target='_blank' rel='noopener noreferrer' href=\"https://www.docusign.com/products/payments\">Docusign Payments</a>. To complete the transaction, you will need to set up a <a target='_blank' rel='noopener noreferrer' href=\"https://support.docusign.com/en/guides/managing-payment-gateways\">payment gateway</a> on your account. </p><h3>Code flow:</h3><h4>Step 1</h4><p>When the form is submitted, we use the <a target='_blank' rel='noopener noreferrer' href='https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopes/create/'>Envelopes: create</a> method to send the signature request with the corresponding form information. The envelope we construct contains a <code>document</code> object, a <code>recipient</code> object of type <code>signer</code>, and <code>tabs,</code> which contain the form fields information. Since we are using embedded signing, we must also set the <code>clientUserId</code> property on the recipient.</p><p>We place the tabs on the document by specifying a <code>SignHereTab</code> element and a <code>PaymentTab</code> element as part of the <code>signer</code> element. The tab elements are positioned using <em>x/y</em> coordinates on the <code>document</code>.</p><p>The <code>PaymentTab</code> serves two purposes. It is used both to display the amount due in the document and to instruct Docusign to proceed to collect payments after the document is signed.</p><p>Lastly, we include the status \"sent\" in the request so that the envelope is sent for signing. The eSignature REST API request is sent to the following endpoint:</p><pre>POST /v2.1/accounts/{accountId}/envelopes</pre><h4>Step 2</h4><p>To enable embedded signing of the envelope inside our application, we next use the <a target='_blank' rel='noopener noreferrer' href='https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopeviews/createrecipient'>EnvelopeViews: createRecipient</a> method to generate a signing URL for the recipient. For this to work, the <code>clientUserId</code> property must be set on the recipient when the envelope is sent during step 1 above.</p><p>Once the envelope is sent, we save the envelope ID and recipient information to our session. Then, we retrieve the envelope ID and recipient info from our session and create the recipient view by generating the URL and displaying the recipient view in a full-width and full-height iframe inside our page.</p><p>To create the recipient view of the envelope, we send an API request to:</p><pre>POST /v2.1/accounts/{accountId}/envelopes/{envelopeId}/views/recipient</pre>"
46
+
"CodeFlow": "<p>View source files <a href='https://github.com/docusign/sample-app-university-python/blob/master/app/document.py#L116-L252' target='blank' rel='norefferer noopener'>document.py</a> and <a href='https://github.com/docusign/sample-app-university-python/blob/master/app/envelope.py#L10-L65' target='blank' rel='norefferer noopener'>envelope.py</a> on GitHub.</p><h3>This sample features:</h3><ul><li>Update recipient information<li>Create envelope from HTML import<li>Fill tab data<li>Embedded signing (recipient view)<li>Request payment</li></ul><p><strong>Note</strong>: This scenario uses <a target='_blank' rel='noopener noreferrer' href=\"https://www.docusign.com/products/payments\">Docusign Payments</a>. To complete the transaction, you will need to set up a <a target='_blank' rel='noopener noreferrer' href=\"https://support.docusign.com/en/guides/managing-payment-gateways\">payment gateway</a> on your account. </p><h3>Code flow:</h3><h4>Step 1</h4><p>When the form is submitted, we use the <a target='_blank' rel='noopener noreferrer' href='https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopes/create/'>Envelopes: create</a> method to send the signature request with the corresponding form information. The envelope we construct contains a <code>document</code> object, a <code>recipient</code> object of type <code>signer</code>, and <code>tabs,</code> which contain the form fields information. Since we are using embedded signing, we must also set the <code>clientUserId</code> property on the recipient.</p><p>We place the tabs on the document by specifying a <code>SignHereTab</code> element and a <code>PaymentTab</code> element as part of the <code>signer</code> element. The tab elements are positioned using <em>x/y</em> coordinates on the <code>document</code>.</p><p>The <code>PaymentTab</code> serves two purposes. It is used both to display the amount due in the document and to instruct Docusign to proceed to collect payments after the document is signed.</p><p>Lastly, we include the status \"sent\" in the request so that the envelope is sent for signing. The eSignature REST API request is sent to the following endpoint:</p><pre>POST /v2.1/accounts/{accountId}/envelopes</pre><h4>Step 2</h4><p>To enable embedded signing of the envelope inside our application, we next use the <a target='_blank' rel='noopener noreferrer' href='https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopeviews/createrecipient'>EnvelopeViews: createRecipient</a> method to generate a signing URL for the recipient. For this to work, the <code>clientUserId</code> property must be set on the recipient when the envelope is sent during step 1 above.</p><p>Once the envelope is sent, we save the envelope ID and recipient information to our session. Then, we retrieve the envelope ID and recipient info from our session and create the recipient view by generating the URL and displaying the recipient view in a full-width and full-height iframe inside our page.</p><p>To create the recipient view of the envelope, we send an API request to:</p><pre>POST /v2.1/accounts/{accountId}/envelopes/{envelopeId}/views/recipient</pre>"
0 commit comments