docusign / docusign-esign-csharp-client

The Official Docusign C# Client Library used to interact with the eSignature REST API. Send, sign, and approve documents using this client.
https://developers.docusign.com/docs/esign-rest-api/sdks/csharp/
MIT License
130 stars 159 forks source link

FoldersApi.List does not return full sub folder tree #319

Open natersherman opened 3 years ago

natersherman commented 3 years ago

The FoldersApi List method does not return a full list of subfolders, in my use case I am trying to get all template folders where some folders are 3 or 4 levels deep. Adding the query string "sub_folder_depth=-1" to the api call will return the full list of sub folders. This is not documented and the option does not exist in the FoldersApi.ListOptionsmodel.

ivdinkovds commented 3 years ago

@natersherman As you've already said, this isn't documented, so you can use it but at your own risk.