EnsureExists(Integer, String) Method - Author-it On-Premises - Author-it

Author-it Development Documentation

Create a folder if it doesn't already exist.

Parameters

Name

Type

Description

parentFolderId

Integer

ID of parent folder.

name

String

Name of folder.

Returns

Type: Folder

The Folder created, or fetched if it already existed.

Addresses

JSON: http://<Base Address>/Folder/json/EnsureExists

JSON (for IIS): http://<Base Address>/Folder.svc/json/EnsureExists