Web Forms API version 1.1
Project description
docusign-webforms
The Web Forms API facilitates generating semantic HTML forms around everyday contracts.
This Python package is automatically generated by the Swagger Codegen project:
- API version: 1.1.0
- Package version: 1.0.2rc12
- Build package: io.swagger.codegen.languages.PythonClientCodegen For more information, please visit https://developers.docusign.com/
Requirements.
Python 2.7 and 3.4+
Installation & Usage
pip install
If the python package is hosted on Github, you can install directly from Github
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
)
Then import the package:
import docusign_webforms
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import docusign_webforms
Getting Started
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import docusign_webforms
from docusign_webforms.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: docusignAccessCode
configuration = docusign_webforms.Configuration()
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = docusign_webforms.FormInstanceManagementApi(docusign_webforms.ApiClient(configuration))
account_id = 'account_id_example' # str | Account identifier in which the web form resides
form_id = 'form_id_example' # str | Unique identifier for a web form entity that is consistent for it's lifetime
create_instance_body = docusign_webforms.CreateInstanceRequestBody() # CreateInstanceRequestBody | Request body containing properties that will be used to create instance.
try:
# Creates an instance of the web form
api_response = api_instance.create_instance(account_id, form_id, create_instance_body)
pprint(api_response)
except ApiException as e:
print("Exception when calling FormInstanceManagementApi->create_instance: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://www.docusign.net/webforms/v1.1
Class | Method | HTTP request | Description |
---|---|---|---|
FormInstanceManagementApi | create_instance | POST /accounts/{account_id}/forms/{form_id}/instances | Creates an instance of the web form |
FormInstanceManagementApi | get_instance | GET /accounts/{account_id}/forms/{form_id}/instances/{instance_id} | Get form instance |
FormInstanceManagementApi | list_instances | GET /accounts/{account_id}/forms/{form_id}/instances | List instances |
FormInstanceManagementApi | refresh_token | POST /accounts/{account_id}/forms/{form_id}/instances/{instance_id}/refresh | Refreshes the instance token |
FormManagementApi | get_form | GET /accounts/{account_id}/forms/{form_id} | Get Form |
FormManagementApi | list_forms | GET /accounts/{account_id}/forms | List Forms |
Documentation For Models
- CreateInstanceRequestBody
- HttpError
- HttpSuccess
- InstanceSource
- InstanceStatus
- TemplateProperties
- WebForm
- WebFormComponentType
- WebFormContent
- WebFormInstance
- WebFormInstanceEnvelopes
- WebFormInstanceList
- WebFormInstanceMetadata
- WebFormMetadata
- WebFormProperties
- WebFormSource
- WebFormState
- WebFormSummary
- WebFormSummaryList
- WebFormUserInfo
- WebFormValues
Documentation For Authorization
docusignAccessCode
- Type: OAuth
- Flow: accessCode
- Authorization URL: https://account.docusign.com/oauth/auth
- Scopes: N/A
Author
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for docusign-webforms-1.0.2rc12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cc8ed8592f7c18f40d7909ac060af27fe6ca072ea0b02d57d77c33e82e12416 |
|
MD5 | 3e8a26dde41dc48a3f35cea7d9931c8e |
|
BLAKE2b-256 | 91b78bfaaebe4430ce62c78b95b2d101c81f333752fe5896ee78d1dfefd5d539 |
Hashes for docusign_webforms-1.0.2rc12-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc331fdba97b486c81139309974fe7d0fdeb558554e05d71bc6c010365abbbe0 |
|
MD5 | 025274192bf7070d57fdc2963ae246c0 |
|
BLAKE2b-256 | 81e430b4975b9d61d9933657c67527c2fd59ac214d194b1d62ac8746a0cf0732 |