File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -29,9 +29,12 @@ def worker(args):
2929 """
3030
3131 # Step 2. Construct your API headers
32+ #ds-snippet-start:eSign26Step2
3233 api_client = create_api_client (base_path = args ["base_path" ], access_token = args ["access_token" ])
34+ #ds-snippet-end:eSign26Step2
3335
3436 # Step 3. Construct your request body
37+ #ds-snippet-start:eSign26Step3
3538 permission_profile = PermissionProfile (
3639 settings = args ["settings" ]
3740 )
@@ -40,13 +43,16 @@ def worker(args):
4043 account_id = args ["account_id" ],
4144 permission_profile_id = args ["permission_profile_id" ]
4245 ).settings .to_dict ()
46+ #ds-snippet-end:eSign26Step3
4347 # Step 4. Call the eSignature REST API
48+ #ds-snippet-start:eSign26Step4
4449 response = account_api .update_permission_profile (
4550 account_id = args ["account_id" ],
4651 permission_profile_id = args ["permission_profile_id" ],
4752 permission_profile = permission_profile
4853 )
4954 new_settings = response .settings .to_dict ()
55+ #ds-snippet-end:eSign26Step4
5056 changed_settings = {}
5157
5258 # Save only changed settings
You can’t perform that action at this time.
0 commit comments