We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a301e89 commit cd7c62aCopy full SHA for cd7c62a
1 file changed
app/eSignature/examples/eg028_brand_creating.py
@@ -23,15 +23,21 @@ def worker(args):
23
"""
24
25
# Step 2. Construct your API headers
26
+ #ds-snippet-start:eSign28Step2
27
api_client = create_api_client(base_path=args["base_path"], access_token=args["access_token"])
28
+ #ds-snippet-end:eSign28Step2
29
30
# Step 3. Construct your request body
31
+ #ds-snippet-start:eSign28Step3
32
brand = Brand(
33
brand_name=args["brand_name"],
34
default_brand_language=args["default_language"],
35
)
36
+ #ds-snippet-end:eSign28Step3
37
38
# Step 4. Call the eSignature REST API
39
+ #ds-snippet-start:eSign28Step4
40
account_api = AccountsApi(api_client)
41
response = account_api.create_brand(account_id=args["account_id"], brand=brand)
42
+ #ds-snippet-end:eSign28Step4
43
return response
0 commit comments