Can I use API to create a folder? - docusignapi

It appears that using the docusign portal, you can create your own folders in addition to the default folders that a user has. I am wondering if there is a way to create one of these custom folders using the API. There are APIs to move envelopes between folders, delete folders, get envelopes from folders, but I cant find one that lets me create a folder. I am hoping it exists, and that i just am not finding it.

No it not currently possible to programmatically create new account folders through the REST or SOAP API.
The closest you can do is to move envelopes from one folder to another, including moving envelopes into the recyclebin to delete them or void them if they are draft or in-process, respectively. But there's no way to create a new folder through the APIs, you'll need to do that through the Web Console.

Related

document creation using google APIs in python

Is is possible to give google service-account's access to whole drive instead of just folders?
I'm unable to switch to a new directory using google docs API in python. It was possible to jump into a folder and then create the document there using google drive APIs but I want to use docs API only and I can't see any way to jump into another folder.
Is is possible to give google service-account's access to whole drive instead of just folders?
If you have a Workspace domain, I'd suggest granting domain-wide authority to the service account in order to impersonate the regular user's My Drive and access everything they can access. See Delegating domain-wide authority to the service account for more details about how to accomplish this.
If this is not an option for you, you should share all top-level items on the Drive, since there's no direct method to share the full My Drive.
It was possible to jump into a folder and then create the document there using google drive APIs but I want to use docs API only and I can't see any way to jump into another folder.
You need to use Drive API to move files between folders. Docs API cannot be used for that.
Sidenote:
Not sure if you're aware of this, but please notice that, if you create a document via Docs API, you can only create a blank document, since all fields apart from title are ignored in this method (see documents.create). If you want to add text, change other properties, etc., you'll have to use documents.batchUpdate.
I'm mentioning this since I don't know whether that was the reason you wanted to create the document via Docs API.

Couldn't copy google sheet using Google API Key

I have been working for a project that makes use of google-APIs to create/write and read google sheets. I also wanted to duplicate a template on every user onboard.
I'm trying to use Files.Copy API, but I'm unable to do so with the Google API Key. It always restricts the copy with an error message ''This error may be due to using an insufficient credential type. Try using OAuth 2.0."
Is there any way to copy the google sheet using only API key other than OAuth?
Here are the steps that I followed to overcome this issue.
Create a folder in GSuite drive
Share the folder with the service account
Move the template sheet that needs to be copied to the shared folder
Share the template key with the service account
User File.Copy (Drive API) to copy the template sheet to the shard folder itself.
This way you can achieve both copying a template and viewing it. Without a shared folder, it ain't possible to view the sheets created by a service account
Previously I wasn't able to copy the sheet because it was owned by another user and had to get the consent from the user through oAuth. Now its resolved by sharing the parent folder of the template with the service account email.

How to differentiate microsoft teams channel folder and normal SP folder in sharepoint document library

I'm trying to get the Microsoft Teams channel's folders using SharePoint rest API, but i'm getting all folders in the document library. How to differentiate b/w MS-Teams channel's folder and normal SP folder.
There are no differences in Share Point folder which are create for channels. Only way for you to identify folder would be to match channel names but it's not reliable as when channel name is changed SharePoint folder name does not change.

Cross Account Template Accessibility

It appears that it is possible to generate an envelope using a template that does not belong to the account that was authenticated in the REST call. The two accounts were completely unrelated. Access to the generated envelope is limited to the account that generated the envelope; however the access to the template seems to be allowed to any account.
Scenario where this behavior was noticed:
- Account 1 - Created Template #1
- Account 2 - Generate an envelope using Template ID generated by Account 1
I could not find documentation or configuration related to behavior.
I need to confirm if the behavior is intended/supported before we plan to utilize the functionality.
Probably your best solution if you want to use Templates from one account in another is to simply move them. You might only be able to do this in the classic UI so you might have to switch back through your preferences, but you can:
Download the actual XML for each template you want to "share" across accounts.
Open the second account and select to upload template(s) and chose the XML files you downloaded.
As mentioned you might have to switch back to the classic UI to download/upload, but you definitely will not be able to use Templates from one account when you are an un-authenticated user in another account.

how to create folder and sub-folder in a document library in SharePoint 2010 automatically when creating and new folder?

i'm new to SharePoint Server 2010 and i need to implement this scenario, i need to create a new product folder within a document library after this done sub-folders must be created within this folder with permissions, which means these sub-folders must have permissions to enable groups of users to view it for example or full control permissions.
is it possible to implement this scenario ?!!
thank you
You can create EventReceiver project via Visual Studio 2010. Attach it to new item creation event. You should implement custom logic to check if this item is folder for a new product and then create needed sub-folders and set permissions for it programmatically.

Resources