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.0
- 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
- AuthenticationMethod
- 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.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b7ac0874e1784cfa12c953ca80546d54fab7cef36d8e359b9efb57863de8f3a |
|
MD5 | d6c69fa3d3c782bf7b6173cb9789ba04 |
|
BLAKE2b-256 | aec8669da56ef5cdf91f7b14598f99fd2d1039d4083ad747c3e6dd0c58578e0b |