As per "get" envelope or "listStatusChange" API documentation, both of them supports the query param "include" to fetch additional information ( not only the envelope name, status & email subject). Ex: Specifies additional information to return about the envelopes. Enter a comma-separated list, such as tabs, recipients. Valid values are: tabs,recipients, documents, custom_fields, attachments, extensions etc.
But I did try this query params with above keywords on REST API explorer provided by DocuSign (https://apiexplorer.docusign.com/#/esign/restapi?categories=Envelopes&tags=Envelopes&operations=listStatusChanges)
but I didn't get any additional information in the response as detailed out in example JSON response (https://developers.docusign.com/esign-rest-api/reference/Envelopes/Envelopes/listStatusChanges#examples)
I have a requirement to fetch most of the envelope fields with like name, subject, recipients with signers, carbonCopies, EnvelopeTabs, routing order, attachments etc.
I did try below 3 APIs.. but none of them works as stated in API documentation with respect to "include" query param. Please let me know what should be appropriate API to get complete envelope definition (without having internal URI which refers to nested objects )
- get (https://developers.docusign.com/esign-rest-api/reference/Envelopes/Envelopes/get)
- listStatus (https://developers.docusign.com/esign-rest-api/reference/Envelopes/Envelopes/listStatus)
- listStatusChange (https://developers.docusign.com/esign-rest-api/reference/Envelopes/Envelopes/listStatusChanges)
expecting results as stated in the example JSON response https://developers.docusign.com/esign-rest-api/reference/Envelopes/Envelopes/listStatusChanges#examples
