public class FoldersApi extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
FoldersApi.ListItemsOptions |
class |
FoldersApi.ListOptions |
class |
FoldersApi.SearchOptions |
| Constructor and Description |
|---|
FoldersApi() |
FoldersApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
FoldersResponse |
list(String accountId)
Gets a list of the folders for the account.
|
FoldersResponse |
list(String accountId,
FoldersApi.ListOptions options)
Gets a list of the folders for the account.
|
FolderItemsResponse |
listItems(String accountId,
String folderId)
Gets a list of the envelopes in the specified folder.
|
FolderItemsResponse |
listItems(String accountId,
String folderId,
FoldersApi.ListItemsOptions options)
Gets a list of the envelopes in the specified folder.
|
FoldersResponse |
moveEnvelopes(String accountId,
String folderId,
FoldersRequest foldersRequest)
Moves an envelope from its current folder to the specified folder.
|
FolderItemResponse |
search(String accountId,
String searchFolderId)
Gets a list of envelopes in folders matching the specified criteria.
|
FolderItemResponse |
search(String accountId,
String searchFolderId,
FoldersApi.SearchOptions options)
Gets a list of envelopes in folders matching the specified criteria.
|
void |
setApiClient(ApiClient apiClient) |
public FoldersApi()
public FoldersApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public FoldersResponse list(String accountId) throws ApiException
Gets a list of the folders for the account. Retrieves a list of the folders for the account, including the folder hierarchy. You can specify whether to return just the template folder or template folder and normal folders by setting the template query string parameter.
accountId - The external account number (int) or account ID Guid.ApiExceptionpublic FoldersResponse list(String accountId, FoldersApi.ListOptions options) throws ApiException
Gets a list of the folders for the account. Retrieves a list of the folders for the account, including the folder hierarchy. You can specify whether to return just the template folder or template folder and normal folders by setting the template query string parameter.
accountId - The external account number (int) or account ID Guid.FoldersApi.ListOptions - Options for modifying the method behavior.ApiExceptionpublic FolderItemsResponse listItems(String accountId, String folderId) throws ApiException
Gets a list of the envelopes in the specified folder. Retrieves a list of the envelopes in the specified folder. You can narrow the query by specifying search criteria in the query string parameters.
accountId - The external account number (int) or account ID Guid.folderId - The ID of the folder being accessed.ApiExceptionpublic FolderItemsResponse listItems(String accountId, String folderId, FoldersApi.ListItemsOptions options) throws ApiException
Gets a list of the envelopes in the specified folder. Retrieves a list of the envelopes in the specified folder. You can narrow the query by specifying search criteria in the query string parameters.
accountId - The external account number (int) or account ID Guid.folderId - The ID of the folder being accessed.FoldersApi.ListItemsOptions - Options for modifying the method behavior.ApiExceptionpublic FoldersResponse moveEnvelopes(String accountId, String folderId, FoldersRequest foldersRequest) throws ApiException
Moves an envelope from its current folder to the specified folder. Moves envelopes to the specified folder.
accountId - The external account number (int) or account ID Guid.folderId - The ID of the folder being accessed.FoldersApi.MoveEnvelopesOptions - Options for modifying the method behavior.ApiExceptionpublic FolderItemResponse search(String accountId, String searchFolderId) throws ApiException
Gets a list of envelopes in folders matching the specified criteria. Retrieves a list of envelopes that match the criteria specified in the query.\n\nIf the user ID of the user making the call is the same as the user ID for any returned recipient, then the userId property is added to the returned information for those recipients.
accountId - The external account number (int) or account ID Guid.searchFolderId - Specifies the envelope group that is searched by the request. These are logical groupings, not actual folder names. Valid values are: drafts, awaiting_my_signature, completed, out_for_signature.ApiExceptionpublic FolderItemResponse search(String accountId, String searchFolderId, FoldersApi.SearchOptions options) throws ApiException
Gets a list of envelopes in folders matching the specified criteria. Retrieves a list of envelopes that match the criteria specified in the query.\n\nIf the user ID of the user making the call is the same as the user ID for any returned recipient, then the userId property is added to the returned information for those recipients.
accountId - The external account number (int) or account ID Guid.searchFolderId - Specifies the envelope group that is searched by the request. These are logical groupings, not actual folder names. Valid values are: drafts, awaiting_my_signature, completed, out_for_signature.FoldersApi.SearchOptions - Options for modifying the method behavior.ApiExceptionCopyright © 2017. All Rights Reserved.