After creating envelope and adding document (pdf) to it, Then I receive the email, and sign the document, when I later retrieve the envelope there is no document in it.
EnvelopeDefinition envelopeDefinition = new EnvelopeDefinition
{
EmailSubject = "Please sign the document",
Documents = new List<Document>(documents),
Recipients = recipients,
Status = "sent"
};
// 2. Use the SDK to create and send the envelope
ApiClient apiClient = new ApiClient(basePath);
apiClient.Configuration.AddDefaultHeader("Authorization", "Bearer " + accessToken);
EnvelopesApi envelopesApi = new EnvelopesApi(apiClient.Configuration);
EnvelopeSummary results = await envelopesApi.CreateEnvelopeAsync(accountId, envelopeDefinition);
Later retrieve the envelope by ID
var envelope = envelopesApi.GetEnvelope(accountId, results.Envelopes.FirstOrDefault().EnvelopeId);
Then EnvelopeDocuments is null.
How do I get the signed document?
Try instead to use this method:
envelopesApi.GetDocument (accountId, envelopeId, documentId);
documentId is what you set it, could be "1" if you followed common examples.
Or use the special documentId "combined"
to return all of the envelope's documents.
See the EnvelopeDocuments:get docs.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.