Steve Prior
Steve Prior

Reputation: 322

How to pass a "request id" to the signature request and retrieve it?

I'm looking to use the DocuSign REST Java API to request a signature from a template, but I'd like to include a specified request id string that I can retrieve via the envelope after the signer completes the form.

Envelope.setTransactionId("") sounded like what I wanted (though I'd rather have something permanent instead of just valid for 7 days as mentioned in the docs), so as an example I called: envDef.setTransactionId("TRANS12345");

But when I sign the test Envelope and then query it with getEnvelope(...) and call getTransactionId() I get null.

Can anyone point me in the direction of how to properly retrieve the transaction ID, or if there is a better way of adding a permanent specified ID to a signing request?

Upvotes: 0

Views: 106

Answers (1)

Praveen Reddy
Praveen Reddy

Reputation: 7383

You can use Envelope Custom Fields aka Document labels to specify additional metadata for an envelope.

See this answer for more information.

Upvotes: 1

Related Questions