Can I add a folder reference when the document is created?

Is it possible to include a folder reference when creating a document via the REST API to avoid having to follow up with another API call?

Tagged:

Answers

  • No, the folder must be created, then the items are added. The api requires that the folder exists first prior to adding the content.

  • Thanks. What about the other way around? If the folder already exists, is there a way I can add the folder reference when uploading the document without having to follow up with a post to /references?