public class UsersApi extends Object
Modifier and Type | Class and Description |
---|---|
class |
UsersApi.DeleteOptions |
class |
UsersApi.GetInformationOptions |
class |
UsersApi.GetProfileImageOptions |
class |
UsersApi.GetSignatureImageOptions |
class |
UsersApi.ListOptions |
class |
UsersApi.ListSignaturesOptions |
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.
|
UsersResponse |
delete(String accountId,
UserInfoList userInfoList,
UsersApi.DeleteOptions options)
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.
|
void |
getUserListExport(String organizationId,
String resultId)
Retrieves UserList Export Results data.
|
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.
|
UserSignaturesInformation |
listSignatures(String accountId,
String userId,
UsersApi.ListSignaturesOptions options)
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.
|
UserSignaturesInformation |
updateSignatures(String accountId,
String userId,
UserSignaturesInformation userSignaturesInformation)
Adds/updates a user signature.
|
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 NewUsersSummary create(String accountId, NewUsersDefinition newUsersDefinition) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)newUsersDefinition
- (optional)ApiException
- if fails to make API callpublic UserSignaturesInformation createSignatures(String accountId, String userId, UserSignaturesInformation userSignaturesInformation) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)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. (required)userSignaturesInformation
- (optional)ApiException
- if fails to make API callpublic UsersResponse delete(String accountId, UserInfoList userInfoList) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)userInfoList
- (optional)ApiException
public UsersResponse delete(String accountId, UserInfoList userInfoList, UsersApi.DeleteOptions options) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)userInfoList
- (optional)options
- for modifying the method behavior.ApiException
- if fails to make API callpublic ContactUpdateResponse deleteContactWithId(String accountId, String contactId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)contactId
- The unique identifier of a person in the contacts address book. (required)ApiException
- if fails to make API callpublic ContactUpdateResponse deleteContacts(String accountId, ContactModRequest contactModRequest) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)contactModRequest
- (optional)ApiException
- if fails to make API callpublic CustomSettingsInformation deleteCustomSettings(String accountId, String userId, CustomSettingsInformation customSettingsInformation) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)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. (required)customSettingsInformation
- (optional)ApiException
- if fails to make API callpublic void deleteProfileImage(String accountId, String userId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)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. (required)ApiException
- if fails to make API callpublic void deleteSignature(String accountId, String userId, String signatureId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)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. (required)signatureId
- The ID of the signature being accessed. (required)ApiException
- if fails to make API callpublic UserSignature deleteSignatureImage(String accountId, String userId, String signatureId, String imageType) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)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. (required)signatureId
- The ID of the signature being accessed. (required)imageType
- One of **signature_image** or **initials_image**. (required)ApiException
- if fails to make API callpublic ContactGetResponse getContactById(String accountId, String contactId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)contactId
- The unique identifier of a person in the contacts address book. (required)ApiException
- if fails to make API callpublic UserInformation getInformation(String accountId, String userId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)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. (required)ApiException
public UserInformation getInformation(String accountId, String userId, UsersApi.GetInformationOptions options) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)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. (required)options
- for modifying the method behavior.ApiException
- if fails to make API callpublic UserProfile getProfile(String accountId, String userId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)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. (required)ApiException
- if fails to make API callpublic byte[] getProfileImage(String accountId, String userId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)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. (required)ApiException
public byte[] getProfileImage(String accountId, String userId, UsersApi.GetProfileImageOptions options) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)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. (required)options
- for modifying the method behavior.ApiException
- if fails to make API callpublic UserSettingsInformation getSettings(String accountId, String userId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)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. (required)ApiException
- if fails to make API callpublic UserSignature getSignature(String accountId, String userId, String signatureId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)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. (required)signatureId
- The ID of the signature being accessed. (required)ApiException
- if fails to make API callpublic byte[] getSignatureImage(String accountId, String userId, String signatureId, String imageType) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)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. (required)signatureId
- The ID of the signature being accessed. (required)imageType
- One of **signature_image** or **initials_image**. (required)ApiException
public 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. (required)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. (required)signatureId
- The ID of the signature being accessed. (required)imageType
- One of **signature_image** or **initials_image**. (required)options
- for modifying the method behavior.ApiException
- if fails to make API callpublic void getUserListExport(String organizationId, String resultId) throws ApiException
organizationId
- (required)resultId
- (required)ApiException
- if fails to make API callpublic UserInformationList list(String accountId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)ApiException
public UserInformationList list(String accountId, UsersApi.ListOptions options) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)options
- for modifying the method behavior.ApiException
- if fails to make API callpublic CustomSettingsInformation listCustomSettings(String accountId, String userId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)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. (required)ApiException
- if fails to make API callpublic UserSignaturesInformation listSignatures(String accountId, String userId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)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. (required)ApiException
public UserSignaturesInformation listSignatures(String accountId, String userId, UsersApi.ListSignaturesOptions options) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)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. (required)options
- for modifying the method behavior.ApiException
- if fails to make API callpublic ContactUpdateResponse postContacts(String accountId, ContactModRequest contactModRequest) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)contactModRequest
- (optional)ApiException
- if fails to make API callpublic ContactUpdateResponse putContacts(String accountId, ContactModRequest contactModRequest) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)contactModRequest
- (optional)ApiException
- if fails to make API callpublic CustomSettingsInformation updateCustomSettings(String accountId, String userId, CustomSettingsInformation customSettingsInformation) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)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. (required)customSettingsInformation
- (optional)ApiException
- if fails to make API callpublic void updateProfile(String accountId, String userId, UserProfile userProfile) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)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. (required)userProfile
- (optional)ApiException
- if fails to make API callpublic void updateProfileImage(String accountId, String userId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)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. (required)ApiException
- if fails to make API callpublic void updateSettings(String accountId, String userId, UserSettingsInformation userSettingsInformation) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)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. (required)userSettingsInformation
- (optional)ApiException
- if fails to make API callpublic UserSignature updateSignature(String accountId, String userId, String signatureId, UserSignatureDefinition userSignatureDefinition) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)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. (required)signatureId
- The ID of the signature being accessed. (required)userSignatureDefinition
- (optional)ApiException
public 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. (required)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. (required)signatureId
- The ID of the signature being accessed. (required)userSignatureDefinition
- (optional)options
- for modifying the method behavior.ApiException
- if fails to make API callpublic UserSignature updateSignatureImage(String accountId, String userId, String signatureId, String imageType) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)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. (required)signatureId
- The ID of the signature being accessed. (required)imageType
- One of **signature_image** or **initials_image**. (required)ApiException
- if fails to make API callpublic UserSignaturesInformation updateSignatures(String accountId, String userId, UserSignaturesInformation userSignaturesInformation) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)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. (required)userSignaturesInformation
- (optional)ApiException
- if fails to make API callpublic UserInformation updateUser(String accountId, String userId, UserInformation userInformation) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)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. (required)userInformation
- (optional)ApiException
- if fails to make API callpublic UserInformationList updateUsers(String accountId, UserInformationList userInformationList) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)userInformationList
- (optional)ApiException
- if fails to make API callCopyright © 2020. All rights reserved.