/// <summary>
        /// Returns a list of all envelopes documents.
        /// </summary>
        public SignatureEnvelopesResponse GetEnvelopes(string statusId, string page, string count, string documentId, string recipientEmail, string date)
        {
            var template   = SignatureApiUriTemplates.BuildUriTemplate(SignatureApiUriTemplates.GetEnvelopes);
            var parameters = new NameValueCollection
            {
                { "userId", UserId },
                { "statusId", statusId },
                { "page", page },
                { "count", count },
                { "documentId", documentId },
                { "recipientEmail", recipientEmail },
                { "date", date }
            };

            var response = SubmitRequest <SignatureEnvelopesResponse>(template, parameters);

            return(response);
        }
        public SignatureEnvelopeRecipientResponse ModifyEnvelopeRecipient(string envelopeId, string recipientId, string recipientEmail, string recipientFirstName, string recipientLastName, string roleId, decimal order)
        {
            var template   = SignatureApiUriTemplates.BuildUriTemplate(SignatureApiUriTemplates.ModifyEnvelopeRecipient);
            var parameters = new NameValueCollection
            {
                { "userId", UserId },
                { "envelopeId", envelopeId },
                { "recipientId", recipientId },
                { "recipientEmail", recipientEmail },
                { "recipientFirstName", recipientFirstName },
                { "recipientLastName", recipientLastName },
                { "roleId", roleId },
                { "order", order.ToString(CultureInfo.InvariantCulture) },
            };

            var response = SubmitRequest <SignatureEnvelopeRecipientResponse>(template, parameters, "PUT", HttpContent.CreateEmpty());

            return(response);
        }