// GET api/envelope/<id> public async Task <Envelopes> Get([FromUri] DateTime fromDate) { await CheckAuthInfo(); var client = new DocuSignClient(BaseUrl, DocuSignCredentials); var envelopes = await client.GetEnvelopesAsync(fromDate); return(envelopes); }
public async void GetEnvelopes() { var auth = new AuthenticationClient(_username, _password, _integratorKey); await auth.LoginInformationAsync(); var client = new DocuSignClient(auth); var envelopes = await client.GetEnvelopesAsync(DateTime.Now.AddDays(-100)); Assert.IsNotNull(envelopes); }