Package: docusign-webforms
docusign-webformsThe Web Forms API facilitates generating semantic HTML forms around everyday contracts.This Python package is automatically generated by theSwagger Codegenproject:API version: 1.1.0Package version: 1.0.0Build package: io.swagger.codegen.languages.PythonClientCodegen
For more information, please visithttps://developers.docusign.com/Requirements.Python 2.7 and 3.4+Installation & Usagepip installIf the python package is hosted on Github, you can install directly from Githubpipinstallgit+https://github.com/GIT_USER_ID/GIT_REPO_ID.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)Then import the package:importdocusign_webformsSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importdocusign_webformsGetting StartedPlease follow theinstallation procedureand then run the following:from__future__importprint_functionimporttimeimportdocusign_webformsfromdocusign_webforms.restimportApiExceptionfrompprintimportpprint# Configure OAuth2 access token for authorization: docusignAccessCodeconfiguration=docusign_webforms.Configuration()configuration.access_token='YOUR_ACCESS_TOKEN'# create an instance of the API classapi_instance=docusign_webforms.FormInstanceManagementApi(docusign_webforms.ApiClient(configuration))account_id='account_id_example'# str | Account identifier in which the web form residesform_id='form_id_example'# str | Unique identifier for a web form entity that is consistent for it's lifetimecreate_instance_body=docusign_webforms.CreateInstanceRequestBody()# CreateInstanceRequestBody | Request body containing properties that will be used to create instance.try:# Creates an instance of the web formapi_response=api_instance.create_instance(account_id,form_id,create_instance_body)pprint(api_response)exceptApiExceptionase:print("Exception when calling FormInstanceManagementApi->create_instance:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttps://www.docusign.net/webforms/v1.1ClassMethodHTTP requestDescriptionFormInstanceManagementApicreate_instancePOST/accounts/{account_id}/forms/{form_id}/instancesCreates an instance of the web formFormInstanceManagementApiget_instanceGET/accounts/{account_id}/forms/{form_id}/instances/{instance_id}Get form instanceFormInstanceManagementApilist_instancesGET/accounts/{account_id}/forms/{form_id}/instancesList instancesFormInstanceManagementApirefresh_tokenPOST/accounts/{account_id}/forms/{form_id}/instances/{instance_id}/refreshRefreshes the instance tokenFormManagementApiget_formGET/accounts/{account_id}/forms/{form_id}Get FormFormManagementApilist_formsGET/accounts/{account_id}/formsList FormsDocumentation For ModelsAuthenticationMethodCreateInstanceRequestBodyHttpErrorHttpSuccessInstanceSourceInstanceStatusTemplatePropertiesWebFormWebFormComponentTypeWebFormContentWebFormInstanceWebFormInstanceEnvelopesWebFormInstanceListWebFormInstanceMetadataWebFormMetadataWebFormPropertiesWebFormSourceWebFormStateWebFormSummaryWebFormSummaryListWebFormUserInfoWebFormValuesDocumentation For AuthorizationdocusignAccessCodeType: OAuthFlow: accessCodeAuthorization URL:https://account.docusign.com/oauth/authScopes: N/AAuthordevcenter@docusign.com