Determines whether a folder exists at the specified path. Returns success if the path resolves to an existing folder, or an error if the folder is not found or cannot be accessed.
/srv.asmx/FolderExists
/srv.asmx/FolderExists?authenticationTicket=...&Path=.../srv.asmx/FolderExists (form data)http://tempuri.org/FolderExists| Parameter | Type | Required | Description |
|---|---|---|---|
authenticationTicket |
string | Yes | Authentication ticket obtained from AuthenticateUser. |
Path |
string | Yes | Full infoRouter path to check (e.g. /Finance/Reports/2024). |
<response success="true" />
<response error="Folder not found." />
The API returns success="true" if and only if the path resolves to an existing folder. If the folder does not exist, an error response is returned.
The calling user must be authenticated. The path must be accessible to the user.
GET /srv.asmx/FolderExists
?authenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301
&Path=/Finance/Reports/2024
HTTP/1.1
POST /srv.asmx/FolderExists HTTP/1.1
Content-Type: application/x-www-form-urlencoded
authenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301
&Path=/Finance/Reports/2024
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:tns="http://tempuri.org/">
<soap:Body>
<tns:FolderExists>
<tns:authenticationTicket>3f2504e0-4f89-11d3-9a0c-0305e82c3301</tns:authenticationTicket>
<tns:Path>/Finance/Reports/2024</tns:Path>
</tns:FolderExists>
</soap:Body>
</soap:Envelope>
DocumentExists.folderExists attribute -“ existence is indicated by whether success="true" or an error is returned.FolderExists1 to check for a subfolder by parent path and folder name as separate parameters.| Error | Description |
|---|---|
[900] Authentication failed |
Invalid or missing authentication ticket. |
[901] Session expired or Invalid ticket |
The ticket has expired or does not exist. |
| Folder not found | The specified path does not resolve to an existing folder. |
SystemError:... |
An unexpected server-side error occurred. |