FormManagementApi
in package
FormManagementApi Class Doc Comment
Tags
Table of Contents
- $apiClient : ApiClient
- API Client
- __construct() : void
- Constructor
- getApiClient() : ApiClient
- Get API client
- getForm() : WebForm
- Operation getForm
- getFormWithHttpInfo() : array<string|int, mixed>
- Operation getFormWithHttpInfo
- listForms() : WebFormSummaryList
- Operation listForms
- listFormsWithHttpInfo() : array<string|int, mixed>
- Operation listFormsWithHttpInfo
- setApiClient() : self
- Set the API client
- updateResourcePath() : string
- Update $resourcePath with $
Properties
$apiClient
API Client
protected
ApiClient
$apiClient
instance of the ApiClient
Methods
__construct()
Constructor
public
__construct([ApiClient|null $apiClient = null ]) : void
Parameters
- $apiClient : ApiClient|null = null
-
The api client to use
Return values
void —getApiClient()
Get API client
public
getApiClient() : ApiClient
Return values
ApiClient —get the API client
getForm()
Operation getForm
public
getForm(string|null $account_id, string|null $form_id[, GetFormOptions $options = null ]) : WebForm
Get Form
Parameters
- $account_id : string|null
-
Account identifier in which the web form resides
- $form_id : string|null
-
Unique identifier for a web form that is consistent for it's lifetime
- $options : GetFormOptions = null
-
for modifying the behavior of the function. (optional)
Tags
Return values
WebForm —getFormWithHttpInfo()
Operation getFormWithHttpInfo
public
getFormWithHttpInfo(string|null $account_id, string|null $form_id[, GetFormOptions $options = null ]) : array<string|int, mixed>
Get Form
Parameters
- $account_id : string|null
-
Account identifier in which the web form resides
- $form_id : string|null
-
Unique identifier for a web form that is consistent for it's lifetime
- $options : GetFormOptions = null
-
for modifying the behavior of the function. (optional)
Tags
Return values
array<string|int, mixed> —of \DocuSign\WebForms\Model\WebForm, HTTP status code, HTTP response headers (array of strings)
listForms()
Operation listForms
public
listForms(string|null $account_id[, ListFormsOptions $options = null ]) : WebFormSummaryList
List Forms
Parameters
- $account_id : string|null
-
Account identifier in which the webform resides
- $options : ListFormsOptions = null
-
for modifying the behavior of the function. (optional)
Tags
Return values
WebFormSummaryList —listFormsWithHttpInfo()
Operation listFormsWithHttpInfo
public
listFormsWithHttpInfo(string|null $account_id[, ListFormsOptions $options = null ]) : array<string|int, mixed>
List Forms
Parameters
- $account_id : string|null
-
Account identifier in which the webform resides
- $options : ListFormsOptions = null
-
for modifying the behavior of the function. (optional)
Tags
Return values
array<string|int, mixed> —of \DocuSign\WebForms\Model\WebFormSummaryList, HTTP status code, HTTP response headers (array of strings)
setApiClient()
Set the API client
public
setApiClient(ApiClient $apiClient) : self
Parameters
- $apiClient : ApiClient
-
set the API client
Return values
self —updateResourcePath()
Update $resourcePath with $
public
updateResourcePath(string $resourcePath, string $baseName, string $paramName) : string
Parameters
- $resourcePath : string
-
the resource path to use
- $baseName : string
-
the base name param
- $paramName : string
-
the parameter name