| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0274df4 commit abd0d5b
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -43,15 +43,16 @@ def worker(args,doc_docx_path,doc_pdf_path): | |||
| 43 | 43 | draft mode and returning a URL for the sender"s view | |
| 44 | 44 | """ | |
| 45 | 45 | ||
| 46 | - # Step 1. Create the envelope with "created" (draft) status | ||
| 46 | + # Step 2. Create the envelope with "created" (draft) status | ||
| 47 | 47 | args["envelope_args"]["status"] = "created" | |
| 48 | 48 | # Using worker from example 002 | |
| 49 | 49 | results = Eg002SigningViaEmailController.worker(args, doc_docx_path, doc_pdf_path) | |
| 50 | 50 | envelope_id = results["envelope_id"] | |
| 51 | 51 | ||
| 52 | - # Step 2. Create the sender view | ||
| 52 | + # Step 3. Create the sender view | ||
| 53 | 53 | view_request = ReturnUrlRequest(return_url=args["ds_return_url"]) | |
| 54 | 54 | # Exceptions will be caught by the calling function | |
| 55 | + #ds-snippet-start:eSign11Step3 | ||
| 55 | 56 | api_client = create_api_client(base_path=args["base_path"], access_token=args["access_token"]) | |
| 56 | 57 | ||
| 57 | 58 | envelope_api = EnvelopesApi(api_client) | |
@@ -65,5 +66,6 @@ def worker(args,doc_docx_path,doc_pdf_path): | |||
| 65 | 66 | url = results.url | |
| 66 | 67 | if args["starting_view"] == "recipient": | |
| 67 | 68 | url = url.replace("send=1", "send=0") | |
| 69 | + #ds-snippet-end:eSign13Step3 | ||
| 68 | 70 | ||
| 69 | 71 | return {"envelope_id": envelope_id, "redirect_url": url} | |
| Back | FazBrowse Home | New Git URL |
0 commit comments