RandyB
RandyB

Reputation: 375

DocuSign API: Can I get a nicely formatted Envelope Audit Results?

Using the DocuSign API SDK, C#.

I have a notification processor that handles the Connect notifications. When we get one for an envelope Completed (or Voided), that's when we grab any associated documents plus the Certificate of Completion. Well, the folks over in the Compliance department saw the Envelope History on the DocuSign website and would like to have that, too -- saved as a "document" in the database. (It has a little more detail than the Certificate.)

Here's what I'm using to get the envelope audit events:

EnvelopeAuditEventResponse auditReponse = await envelopesApi.ListAuditEventsAsync(Account.AccountId, envelopeId);

That works fine, but the results are in raw form -- I can understand them, but the Compliance folks cannot.

Has anyone been successful in formatting the EnvelopeAuditEventResponse instance into something a business person (not a developer) can read? PDF would be great, but I'd take HTML or even formatted text.

If you have any questions, please let me know.

thanks, randy

Upvotes: 0

Views: 257

Answers (1)

Larry K
Larry K

Reputation: 49114

Envelopes:listAuditEvents returns an array of name/value pairs.

I'd suggest just printing them out, in order (it's an array). If the errorDetails or originalValue attributes have values, include them in the output line for that item.

Together, the audit events and certificate of completion provide a complete picture of the transaction.

Upvotes: 1

Related Questions