File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 1- # Send an envelope with three documents
1+ # Create a template. First, the account's templates are listed.
2+ # If one of the templates is named "Example Signer and CC template"
3+ # then the template will not be created.
24#
35# Check that we're in a bash shell
46if [[ $SHELL != * " bash" * ]]; then
57 echo " PROBLEM: Run these scripts from within the bash shell."
68fi
79
10+ # Step 1. List the account's templates
11+ template_name=" Example Signer and CC template"
12+ response=$( mktemp /tmp/response-eg-008.XXXXXX)
13+ curl --header " Authorization: Bearer {ACCESS_TOKEN}" \
14+ --header " Content-Type: application/json" \
15+ --get \
16+ --data-urlencode " search_text=${template_name} " \
17+ --request GET https://demo.docusign.net/restapi/v2/accounts/{ACCOUNT_ID}/templates
18+
19+
20+ exit 0
21+
822# document 1 (html) has tag **signature_1**
923# document 2 (docx) has tag /sn1/
1024# document 3 (pdf) has tag /sn1/
You can’t perform that action at this time.
0 commit comments