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: MySure Insurance Sample Application
1
+
# Python and React: Insurance Sample Application
2
2
3
-
### Github repo: MySureSampleApp
3
+
### Github repo: sample-app-insurance-python
4
4
5
5
## Introduction
6
-
MySuresample application written in Python 3.7 (server) and React (client). You can find a live instance running at [https://mysure.sampleapps.docusign.com/](https://mysure.sampleapps.docusign.com/).
6
+
The Docusign Insurance Sample App written in Python 3.7 (server) and React (client). You can find a live instance running at [https://insurance.sampleapps.docusign.com/](https://insurance.sampleapps.docusign.com/).
7
7
8
-
MySure demonstrates the following:
8
+
The Insurance 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.**Submit a claim:**[Source](./app/api/requests.py)
@@ -57,8 +57,8 @@ MySure demonstrates the following:
57
57
58
58
**Manual**
59
59
60
-
1. Download or clone this repository to your workstation in a new folder named **sample-app-mysure-python**.
61
-
2. Navigate to that folder: **`cd sample-app-mysure-python`**
60
+
1. Download or clone this repository to your workstation in a new folder named **sample-app-insurance-python**.
61
+
2. Navigate to that folder: **`cd sample-app-insurance-python`**
4. Install React dependencies using the [npm](https://www.npmjs.com/) package manager: **npm install**
64
64
5. Update the **.env** file with the integration key and other settings.
@@ -69,8 +69,8 @@ MySure demonstrates the following:
69
69
70
70
**Using installation scripts**
71
71
72
-
1. Download or clone this repository to your workstation in a new folder named **sample-app-mysure-python**.
73
-
2. Navigate to the scripts subfolder:**`cd sample-app-mysure-python/scripts`**
72
+
1. Download or clone this repository to your workstation in a new folder named **sample-app-insurance-python**.
73
+
2. Navigate to the scripts subfolder:**`cd sample-app-insurance-python/scripts`**
74
74
3. Run the installation script: **`./install.sh`** (`./install.bat` for Windows)
75
75
4. Update the **.env** file with the integration key and other settings.
76
76
> **Note:** Protect your integration key and client secret. You should make sure that the **.env** file will not be stored in your source code repository.
@@ -81,11 +81,11 @@ All installation scripts are located in the **scripts** folder.
81
81
1. To stop the application, run **`./stop.sh`**
82
82
1. To remove the virtual environment and modules, run **`./clean.sh`**
83
83
84
-
## Running MySure
84
+
## Running the Insurance Sample App
85
85
86
86
### Manual
87
87
88
-
1. Navigate to the application folder: **`cd sample-app-mysure-python`**
88
+
1. Navigate to the application folder: **`cd sample-app-insurance-python`**
89
89
2. Run the application: **`flask run --port 5001`**
<metaname="description" content="See how the MySure Docusign sample application for insurance showcases the capabilities of the Docusign API to enable you to integrate Docusign functionality into your own applications.">
21
+
<title>Insurance Sample App</title>
22
+
<metaname="description" content="See how the Docusign sample application for insurance showcases the capabilities of the Docusign API to enable you to integrate Docusign functionality into your own applications.">
<metaname="twitter:description" content="See how the MySure Docusign sample application for insurance showcases the capabilities of the Docusign API to enable you to integrate Docusign functionality into your own applications." />
<metaproperty="og:description" content="See how the MySure Docusign sample application for insurance showcases the capabilities of the Docusign API to enable you to integrate Docusign functionality into your own applications." />
<metaname="twitter:description" content="See how the Docusign sample application for insurance showcases the capabilities of the Docusign API to enable you to integrate Docusign functionality into your own applications." />
<metaproperty="og:description" content="See how the Docusign sample application for insurance showcases the capabilities of the Docusign API to enable you to integrate Docusign functionality into your own applications." />
Copy file name to clipboardExpand all lines: public/locales/en/About.json
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
{
2
-
"Title": "MySure Docusign Sample Application for Insurance",
2
+
"Title": "Docusign Sample Application for Insurance",
3
3
"Description": "A sample insurance application that demonstrates some common Docusign API workflows including Docusign eSignature, Docusign Click, Docusign Payments, and real-time status.",
"SandboxText": "<h4>Get started with the Docusign APIs today</h4>",
7
7
"SandboxButton": "Create Developer Account",
8
8
"Description2": "<p><br></br>With a developer developer account, you can test our APIs for free! Developer accounts do not expire and have Enterprise-level features enabled.</p>",
9
-
"Features": "<h3>MySure features:</h3><ul><li>Send document for signature</li><li>Send from template</li><li>Embedded signing</li><li>Forms and form-field data</li><li>Real-time status</li><li>Custom branding</li><li>Document visibility</li><li>Signer attachment tabs</li><li>Calculated (formula) fields</li><li>Downloadable documents and audit trails</li></ul>",
9
+
"Features": "<h3>Insurance Sample App features:</h3><ul><li>Send document for signature</li><li>Send from template</li><li>Embedded signing</li><li>Forms and form-field data</li><li>Real-time status</li><li>Custom branding</li><li>Document visibility</li><li>Signer attachment tabs</li><li>Calculated (formula) fields</li><li>Downloadable documents and audit trails</li></ul>",
"EmptyListMessage": " Create some MySure transactions and they will start showing up here.",
11
+
"EmptyListMessage": " Create some Insurance Sample App transactions and they will start showing up here.",
12
12
"ApiDecription": {
13
13
"SeeMore": "- See behind the scenes",
14
14
"CodeFlow": "<p>View source file <a href='https://github.com/docusign/sample-app-mysure-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>"
0 commit comments