Skip to navigation

GetRecipientEsignList

View as Markdown

Senders can use this method to determine if an Esign agreement pre-exists between the sender and recipient.

Schema

SaveTemplate
// Enter account holder's username, email and accountID,
// and the email of the user that you wish to determine if
// an esign agreement exists
DocuSignWeb.RecipientEsignList recipients =
_apiClient.GetRecipientEsignList(_userName, _email, _accountId, "<email>");
// Display the number of people in the list
Console.WriteLine("There are {0} recipients", recipients.RecipientEsign.Length);
// Examine each record -- does the esign agreement exist?
foreach (DocuSignWeb.RecipientEsign esign in recipients.RecipientEsign)
{
Console.WriteLine("\t{0}: {1}", esign.Email, esign.Esign);
}
NameSchema TypeDescription
UserNameUserNameSender’s name.
SenderEmailEmailSender’s email address.
SenderAccountIdDSXIdSender’s account Id.
RecipientEmailEmailRecipient’s email address.

Sample Request XML

SOAPAction: "http://www.docusign.net/API/3.0/GetRecipientEsignList"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap: Body>
<GetRecipientEsignList xmlns="http://www.docusign.net/API/3.0">
<UserName>string</UserName>
<SenderEmail>string</SenderEmail>
<SenderAccountId>string</SenderAccountId>
<RecipientEmail>string</RecipientEmail>
</GetRecipientEsignList>
</soap:Body>
</soap:Envelope>

RecipientEsignList

This element returns a list of RecipientEsignRecords for a designated sender and recipient combination. For each record, the return Boolean value indicates whether or not an Esign agreement exists between the sender and that particular recipient.

Schema

SaveTemplate
NameSchema TypeDescription
AccountIDDSXIdThe account holding the ESign agreement.
UserNameUserNameThe recipient’s name.
EmailEmailThe recipient’s email.
ESignBooleanIf true, an Esign agreement exists between the sender and the recipient.

Rules for using GetRecipientEsignList and RecipientEsignList

  • The UserName should be valid.
  • The SenderEmail should be valid; else “Invalid_Email_Address_For_Sender” execution will be thrown.
  • The length of UserName, SenderEmail, SenderAccountId and RecipientEmail must not exceed 100 characters.
  • User defined by UserName and SenderEmail pair belong to SenderAccountId specified, else “User_Does_Not_Belong_To_Specified_Account” exception is thrown.