public class UsersApi extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
UsersApi.GetInformationOptions |
class |
UsersApi.GetProfileImageOptions |
class |
UsersApi.GetSignatureImageOptions |
class |
UsersApi.ListOptions |
class |
UsersApi.UpdateSignatureOptions |
| Constructor and Description |
|---|
UsersApi() |
UsersApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
NewUsersSummary |
create(String accountId,
NewUsersDefinition newUsersDefinition)
Adds news user to the specified account.
|
UserSignaturesInformation |
createSignatures(String accountId,
String userId,
UserSignaturesInformation userSignaturesInformation)
Adds user Signature and initials images to a Signature.
|
UsersResponse |
delete(String accountId,
UserInfoList userInfoList)
Removes users account privileges.
|
ContactUpdateResponse |
deleteContacts(String accountId,
ContactModRequest contactModRequest)
Delete contacts associated with an account for the DocuSign service.
|
ContactUpdateResponse |
deleteContactWithId(String accountId,
String contactId)
Replaces a particular contact associated with an account for the DocuSign service.
|
CustomSettingsInformation |
deleteCustomSettings(String accountId,
String userId,
CustomSettingsInformation customSettingsInformation)
Deletes custom user settings for a specified user.
|
void |
deleteProfileImage(String accountId,
String userId)
Deletes the user profile image for the specified user.
|
void |
deleteSignature(String accountId,
String userId,
String signatureId)
Removes removes signature information for the specified user.
|
UserSignature |
deleteSignatureImage(String accountId,
String userId,
String signatureId,
String imageType)
Deletes the user initials image or the user signature image for the specified user.
|
ApiClient |
getApiClient() |
ContactGetResponse |
getContactById(String accountId,
String contactId)
Gets a particular contact associated with the user's account.
|
UserInformation |
getInformation(String accountId,
String userId)
Gets the user information for a specified user.
|
UserInformation |
getInformation(String accountId,
String userId,
UsersApi.GetInformationOptions options)
Gets the user information for a specified user.
|
UserProfile |
getProfile(String accountId,
String userId)
Retrieves the user profile for a specified user.
|
byte[] |
getProfileImage(String accountId,
String userId)
Retrieves the user profile image for the specified user.
|
byte[] |
getProfileImage(String accountId,
String userId,
UsersApi.GetProfileImageOptions options)
Retrieves the user profile image for the specified user.
|
UserSettingsInformation |
getSettings(String accountId,
String userId)
Gets the user account settings for a specified user.
|
UserSignature |
getSignature(String accountId,
String userId,
String signatureId)
Gets the user signature information for the specified user.
|
byte[] |
getSignatureImage(String accountId,
String userId,
String signatureId,
String imageType)
Retrieves the user initials image or the user signature image for the specified user.
|
byte[] |
getSignatureImage(String accountId,
String userId,
String signatureId,
String imageType,
UsersApi.GetSignatureImageOptions options)
Retrieves the user initials image or the user signature image for the specified user.
|
UserInformationList |
list(String accountId)
Retrieves the list of users for the specified account.
|
UserInformationList |
list(String accountId,
UsersApi.ListOptions options)
Retrieves the list of users for the specified account.
|
CustomSettingsInformation |
listCustomSettings(String accountId,
String userId)
Retrieves the custom user settings for a specified user.
|
UserSignaturesInformation |
listSignatures(String accountId,
String userId)
Retrieves a list of user signature definitions for a specified user.
|
ContactUpdateResponse |
postContacts(String accountId,
ContactModRequest contactModRequest)
Imports multiple new contacts into the contacts collection from CSV, JSON, or XML (based on content type).
|
ContactUpdateResponse |
putContacts(String accountId,
ContactModRequest contactModRequest)
Replaces contacts associated with an account for the DocuSign service.
|
void |
setApiClient(ApiClient apiClient) |
CustomSettingsInformation |
updateCustomSettings(String accountId,
String userId,
CustomSettingsInformation customSettingsInformation)
Adds or updates custom user settings for the specified user.
|
void |
updateProfile(String accountId,
String userId,
UserProfile userProfile)
Updates the user profile information for the specified user.
|
void |
updateProfileImage(String accountId,
String userId)
Updates the user profile image for a specified user.
|
void |
updateSettings(String accountId,
String userId,
UserSettingsInformation userSettingsInformation)
Updates the user account settings for a specified user.
|
UserSignature |
updateSignature(String accountId,
String userId,
String signatureId,
UserSignatureDefinition userSignatureDefinition)
Updates the user signature for a specified user.
|
UserSignature |
updateSignature(String accountId,
String userId,
String signatureId,
UserSignatureDefinition userSignatureDefinition,
UsersApi.UpdateSignatureOptions options)
Updates the user signature for a specified user.
|
UserSignature |
updateSignatureImage(String accountId,
String userId,
String signatureId,
String imageType)
Updates the user signature image or user initials image for the specified user.
|
UserInformation |
updateUser(String accountId,
String userId,
UserInformation userInformation)
Updates the specified user information.
|
UserInformationList |
updateUsers(String accountId,
UserInformationList userInformationList)
Change one or more user in the specified account.
|
public UsersApi()
public UsersApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public ContactUpdateResponse putContacts(String accountId, ContactModRequest contactModRequest) throws ApiException
accountId - The external account number (int) or account ID Guid.UsersApi.PutContactsOptions - Options for modifying the method behavior.ApiExceptionpublic ContactUpdateResponse postContacts(String accountId, ContactModRequest contactModRequest) throws ApiException
accountId - The external account number (int) or account ID Guid.UsersApi.PostContactsOptions - Options for modifying the method behavior.ApiExceptionpublic ContactUpdateResponse deleteContacts(String accountId, ContactModRequest contactModRequest) throws ApiException
accountId - The external account number (int) or account ID Guid.UsersApi.DeleteContactsOptions - Options for modifying the method behavior.ApiExceptionpublic ContactGetResponse getContactById(String accountId, String contactId) throws ApiException
accountId - The external account number (int) or account ID Guid.contactId - The unique identifier of a person in the contacts address book.UsersApi.GetContactByIdOptions - Options for modifying the method behavior.ApiExceptionpublic ContactUpdateResponse deleteContactWithId(String accountId, String contactId) throws ApiException
accountId - The external account number (int) or account ID Guid.contactId - The unique identifier of a person in the contacts address book.UsersApi.DeleteContactWithIdOptions - Options for modifying the method behavior.ApiExceptionpublic UserInformationList list(String accountId) throws ApiException
accountId - The external account number (int) or account ID Guid.ApiExceptionpublic UserInformationList list(String accountId, UsersApi.ListOptions options) throws ApiException
accountId - The external account number (int) or account ID Guid.UsersApi.ListOptions - Options for modifying the method behavior.ApiExceptionpublic UserInformationList updateUsers(String accountId, UserInformationList userInformationList) throws ApiException
accountId - The external account number (int) or account ID Guid.UsersApi.UpdateUsersOptions - Options for modifying the method behavior.ApiExceptionpublic NewUsersSummary create(String accountId, NewUsersDefinition newUsersDefinition) throws ApiException
accountId - The external account number (int) or account ID Guid.UsersApi.CreateOptions - Options for modifying the method behavior.ApiExceptionpublic UsersResponse delete(String accountId, UserInfoList userInfoList) throws ApiException
accountId - The external account number (int) or account ID Guid.UsersApi.DeleteOptions - Options for modifying the method behavior.ApiExceptionpublic UserInformation getInformation(String accountId, String userId) throws ApiException
accountId - The external account number (int) or account ID Guid.userId - The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.ApiExceptionpublic UserInformation getInformation(String accountId, String userId, UsersApi.GetInformationOptions options) throws ApiException
accountId - The external account number (int) or account ID Guid.userId - The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.UsersApi.GetInformationOptions - Options for modifying the method behavior.ApiExceptionpublic UserInformation updateUser(String accountId, String userId, UserInformation userInformation) throws ApiException
accountId - The external account number (int) or account ID Guid.userId - The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.UsersApi.UpdateUserOptions - Options for modifying the method behavior.ApiExceptionpublic CustomSettingsInformation listCustomSettings(String accountId, String userId) throws ApiException
accountId - The external account number (int) or account ID Guid.userId - The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.UsersApi.ListCustomSettingsOptions - Options for modifying the method behavior.ApiExceptionpublic CustomSettingsInformation updateCustomSettings(String accountId, String userId, CustomSettingsInformation customSettingsInformation) throws ApiException
accountId - The external account number (int) or account ID Guid.userId - The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.UsersApi.UpdateCustomSettingsOptions - Options for modifying the method behavior.ApiExceptionpublic CustomSettingsInformation deleteCustomSettings(String accountId, String userId, CustomSettingsInformation customSettingsInformation) throws ApiException
accountId - The external account number (int) or account ID Guid.userId - The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.UsersApi.DeleteCustomSettingsOptions - Options for modifying the method behavior.ApiExceptionpublic UserProfile getProfile(String accountId, String userId) throws ApiException
accountId - The external account number (int) or account ID Guid.userId - The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.UsersApi.GetProfileOptions - Options for modifying the method behavior.ApiExceptionpublic void updateProfile(String accountId, String userId, UserProfile userProfile) throws ApiException
accountId - The external account number (int) or account ID Guid.userId - The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.UsersApi.UpdateProfileOptions - Options for modifying the method behavior.ApiExceptionpublic byte[] getProfileImage(String accountId, String userId) throws ApiException
accountId - The external account number (int) or account ID Guid.userId - The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.ApiExceptionpublic byte[] getProfileImage(String accountId, String userId, UsersApi.GetProfileImageOptions options) throws ApiException
accountId - The external account number (int) or account ID Guid.userId - The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.UsersApi.GetProfileImageOptions - Options for modifying the method behavior.ApiExceptionpublic void updateProfileImage(String accountId, String userId) throws ApiException
accountId - The external account number (int) or account ID Guid.userId - The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.UsersApi.UpdateProfileImageOptions - Options for modifying the method behavior.ApiExceptionpublic void deleteProfileImage(String accountId, String userId) throws ApiException
accountId - The external account number (int) or account ID Guid.userId - The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.UsersApi.DeleteProfileImageOptions - Options for modifying the method behavior.ApiExceptionpublic UserSettingsInformation getSettings(String accountId, String userId) throws ApiException
accountId - The external account number (int) or account ID Guid.userId - The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.UsersApi.GetSettingsOptions - Options for modifying the method behavior.ApiExceptionpublic void updateSettings(String accountId, String userId, UserSettingsInformation userSettingsInformation) throws ApiException
accountId - The external account number (int) or account ID Guid.userId - The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.UsersApi.UpdateSettingsOptions - Options for modifying the method behavior.ApiExceptionpublic UserSignaturesInformation listSignatures(String accountId, String userId) throws ApiException
accountId - The external account number (int) or account ID Guid.userId - The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.UsersApi.ListSignaturesOptions - Options for modifying the method behavior.ApiExceptionpublic UserSignaturesInformation createSignatures(String accountId, String userId, UserSignaturesInformation userSignaturesInformation) throws ApiException
accountId - The external account number (int) or account ID Guid.userId - The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.UsersApi.CreateSignaturesOptions - Options for modifying the method behavior.ApiExceptionpublic UserSignature getSignature(String accountId, String userId, String signatureId) throws ApiException
accountId - The external account number (int) or account ID Guid.userId - The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.signatureId - The ID of the signature being accessed.UsersApi.GetSignatureOptions - Options for modifying the method behavior.ApiExceptionpublic UserSignature updateSignature(String accountId, String userId, String signatureId, UserSignatureDefinition userSignatureDefinition) throws ApiException
accountId - The external account number (int) or account ID Guid.userId - The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.signatureId - The ID of the signature being accessed.ApiExceptionpublic UserSignature updateSignature(String accountId, String userId, String signatureId, UserSignatureDefinition userSignatureDefinition, UsersApi.UpdateSignatureOptions options) throws ApiException
accountId - The external account number (int) or account ID Guid.userId - The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.signatureId - The ID of the signature being accessed.UsersApi.UpdateSignatureOptions - Options for modifying the method behavior.ApiExceptionpublic void deleteSignature(String accountId, String userId, String signatureId) throws ApiException
accountId - The external account number (int) or account ID Guid.userId - The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.signatureId - The ID of the signature being accessed.UsersApi.DeleteSignatureOptions - Options for modifying the method behavior.ApiExceptionpublic byte[] getSignatureImage(String accountId, String userId, String signatureId, String imageType) throws ApiException
accountId - The external account number (int) or account ID Guid.userId - The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.signatureId - The ID of the signature being accessed.imageType - One of **signature_image** or **initials_image**.ApiExceptionpublic byte[] getSignatureImage(String accountId, String userId, String signatureId, String imageType, UsersApi.GetSignatureImageOptions options) throws ApiException
accountId - The external account number (int) or account ID Guid.userId - The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.signatureId - The ID of the signature being accessed.imageType - One of **signature_image** or **initials_image**.UsersApi.GetSignatureImageOptions - Options for modifying the method behavior.ApiExceptionpublic UserSignature updateSignatureImage(String accountId, String userId, String signatureId, String imageType) throws ApiException
accountId - The external account number (int) or account ID Guid.userId - The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.signatureId - The ID of the signature being accessed.imageType - One of **signature_image** or **initials_image**.UsersApi.UpdateSignatureImageOptions - Options for modifying the method behavior.ApiExceptionpublic UserSignature deleteSignatureImage(String accountId, String userId, String signatureId, String imageType) throws ApiException
accountId - The external account number (int) or account ID Guid.userId - The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.signatureId - The ID of the signature being accessed.imageType - One of **signature_image** or **initials_image**.UsersApi.DeleteSignatureImageOptions - Options for modifying the method behavior.ApiExceptionCopyright © 2017. All rights reserved.