Folder API
Folder API
The GET Folder (Search) API finds all folders matching the given parameters.
On the Cloud, this API is available via SSL-secured HTTPS connection using the REST GET verb.
The format query string parameter controls the desired response format. Specify either XML or JSON.
/api/v2/folder/search?format=xml/json
You may use either JSON or XML formats in your GET request.
You indicate this by setting the ContentType HTTP header as "application/json" or "application/xml".
If no ContentType is specified, XML format is assumed.
All XML formatted requests must specify the following XML namespace in the data source root element:
xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
Parameters
The GET Folder (Search) API finds all folders matching the given parameters.
The required and optional parameters for a GET call to the Folder API are outlined below.
1 / 12
7/15/24, 6:14 PM
Example
Given that the API is REST-based, you can access the API directly via your web browser to test or by using the Postman
API Platform.
The below example demonstrates a simple request returning all Folders from a specific company account.
Request URL
https://secure.formsonfire.com:443/api/v2/folder/search?CompanyId=6XXXX&Integration
Response Body
{
"Folders": [
{
"Id": "8b7XXXXXXXXXXXXXXXXXXXXXXXXXXX",
"Name": "Asset Manager",
"CompanyId": 6XXXX
},
{
"Id": "1bdXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"Name": "Drill Log & Timesheet",
"CompanyId": 6XXXX
},
{
"Id": "2ceXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"Name": "Field Sales App",
"CompanyId": 6XXXX
},
{
"Id": "31fXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"Name": "GeneralApps",
"CompanyId": 6XXXX
},
{
"Id": "409XXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"Name": "Inventory App",
"CompanyId": 6XXXX
},
{
"Id": "5caXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"Name": "RETIRED",
"IsRestricted": true,
"CompanyId": 6XXXX
}
],
"TotalRows": 6
}
2 / 12
7/15/24, 6:14 PM
3 / 12
7/15/24, 6:14 PM
POST Folder
TABLE OF CONTENTS
Parameters
Example
ADDITIONAL INFO
API Explorer
General Information
The POST Folder API creates a new folder in the company's account.
On the Cloud, this API is available via SSL-secured HTTPS connection using the REST POST verb.
The format query string parameter controls the desired response format. Specify either XML or JSON.
/api/v2/folder?format=xml/json
You may use either JSON or XML formats in your POST request.
You indicate this by setting the ContentType HTTP header as "application/json" or "application/xml".
If no ContentType is specified, XML format is assumed.
All XML formatted requests must specify the following XML namespace in the data source root element:
xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
Parameters
The POST Folder API allows you to create a new folder in your company account.
The required and optional parameters for a POST call to the Folder API are outlined below.
4 / 12
7/15/24, 6:14 PM
Example
Given that the API is REST-based, you can access the API directly via your web browser to test or by using the Postman
API Platform.
The below example demonstrates how to create a new folder using a POST Folder API call.
Request URL
https://secure.appenate.com:443/api/v2/folder
Request Body
{
"Id": "",
"Name": "Test App 2",
"ExternalId": "",
"IsRestricted": false,
"RestrictToGroup": "",
"Description": "",
"CompanyId": 60XXX,
"IntegrationKey": "995XXXXXXXXXXXXXXXXXXXXXXX"
}
5 / 12
7/15/24, 6:14 PM
GET Folder
TABLE OF CONTENTS
Parameters
Example
ADDITIONAL INFO
API Explorer
General Information
The GET Folder API returns details of the Folder matching the given parameters.
On the Cloud, this API is available via SSL-secured HTTPS connection using the REST GET verb.
The format query string parameter controls the desired response format. Specify either XML or JSON.
/api/v2/folder?format=xml/json
You may use either JSON or XML formats in your GET request.
You indicate this by setting the ContentType HTTP header as "application/json" or "application/xml".
If no ContentType is specified, XML format is assumed.
All XML formatted requests must specify the following XML namespace in the data source root element:
xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
Parameters
The GET Folder API returns all properties of the Folder matching the given parameters.
The required and optional parameters for a GET call to the Folder API are outlined below.
Example
Given that the API is REST-based, you can access the API directly via your web browser to test or by using the Postman
API Platform.
The below example demonstrates a simple request returning details of a specified Folder.
6 / 12
7/15/24, 6:14 PM
Request URL
https://secure.formsonfire.com.com:443/api/v2/folder?CompanyId=60XXX&IntegrationKey
Response Body
{
"Folder": {
"Id": "301XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"Name": "Test Apps",
"IsRestricted": false,
"Items": [
{
"KeyId": "43eXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"Type": "Screen"
},
{
"KeyId": "1cdXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"Type": "Screen"
},
{
"KeyId": "cb4XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"Type": "DataSource"
},
{
"KeyId": "747XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"Type": "Screen"
},
{
"KeyId": "c71XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"Type": "DataSource"
},
{
"KeyId": "ff4XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"Type": "Screen"
},
{
"KeyId": "b46XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"Type": "DataSource"
},
{
"KeyId": "a05XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"Type": "DataSource"
},
{
"KeyId": "e71XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"Type": "Screen"
},
{
7 / 12
7/15/24, 6:14 PM
"KeyId": "46bXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"Type": "Screen"
},
{
"KeyId": "1e6XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"Type": "Screen"
}
],
"CompanyId": 6XXXX
}
}
8 / 12
7/15/24, 6:14 PM
DELETE Folder
TABLE OF CONTENTS
Parameters
Example
ADDITIONAL INFO
API Explorer
General Information
The DELETE Folder API allows you to remove an existing folder from a company account.
On the Cloud, this API is available via SSL-secured HTTPS connection using the REST DELETE verb.
The format query string parameter controls the desired response format. Specify either XML or JSON.
/api/v2/folder?format=xml/json
You may use either JSON or XML formats in your DELETE request.
You indicate this by setting the ContentType HTTP header as "application/json" or "application/xml".
If no ContentType is specified, XML format is assumed.
All XML formatted requests must specify the following XML namespace in the data source root element:
xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
Parameters
The required parameters for a PUT request to the Screens API are outlined below:
Example
Given that the API is REST-based, you can access the API directly via your web browser to test or by using the Postman
API Platform.
The below example demonstrates how to delete an existing folder using a DELETE Folder API call.
9 / 12
7/15/24, 6:14 PM
Request URL
https://secure.formsonfire.com:443/api/v2/folder?CompanyId=6XXXX&IntegrationKey=995
Response Body
{}
Response Code
200
10 / 12
7/15/24, 6:14 PM
PUT Folder
TABLE OF CONTENTS
Parameters
Example
ADDITIONAL INFO
API Explorer
General Information
On the Cloud, this API is available via SSL-secured HTTPS connection using the REST PUT verb.
The format query string parameter controls the desired response format. Specify either XML or JSON.
/api/v2/folder?format=xml/json
You may use either JSON or XML formats in your PUT request.
You indicate this by setting the ContentType HTTP header as "application/json" or "application/xml".
If no ContentType is specified, XML format is assumed.
All XML formatted requests must specify the following XML namespace in the data source root element:
xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
Parameters
The POST Folder API allows you to create a new folder in your company account.
The required and optional parameters for a POST call to the Folder API are outlined below.
11 / 12
7/15/24, 6:14 PM
Example
Given that the API is REST-based, you can access the API directly via your web browser to test or by using Postman API
Platform.
The below example demonstrates how to update an existing folder using a PUT Folder API call.
Request URL
https://secure.formsonfire.com:443/api/v2/folder
Request Body
{
"Id": "",
"Name": "",
"ExternalId": "",
"IsRestricted": false,
"RestrictToGroup": "",
"Description": "",
"Items": [
{
"KeyId": "",
"Type": ""
}
],
"CompanyId": 0,
"IntegrationKey": ""
}
12 / 12