Create a folder
Create a folder under an existing folder.
API
ServicesPortal/api/users
URI
http://portal_url/ServicesPortal/api where portal_url is the URL of the team portal.
HTTP Method
POST
Request Content-Type
application/xml
Request body
<obj>
  <att id="name">
    <val>makeCollection</val>
  </att>
  <att id="param">
    <obj class="makeCollectionParam">
      <att id="name">
        <val>new_folder_name</val>
      </att>
      <att id="parentPath">
        <val>path_for_new_folder</val>
      </att>
    </obj>
  </att>
</obj>
Expected Response status
200 OK
If a response such as 403 Forbidden is returned, check the user name and password provided.
Response body
<val>ok</val>
The request body:
name – Mandatory: The name of the new folder.
parentPath – Mandatory: The path to the new folder.