API: Copy object to a folder

How to add an object to an existing folder

Object

I want to put this object with the ID 110 into the folder test1

Folder

To get the list of my folders (there is a way to filter them…i cant remember)

Or just search for the name eg test1 using the oData conventions:

test1 folder has id: 53

Response

Copy the object to the folder

Now to add the object we add to selfUrl of the object into the filled body of the folder and do a PUT folders. IMPORTANT add the content-type to the header:

Comments are closed.