Not logged in - Login
< back

Custom Form Data Searching

The following will outline the process of searching custom form data within the system.

Search For Custom Forms - All

Before beginning the process of searching custom form data, you should use the following search to acquire information about the form.

This first endpoint will return an array of all active forms in the organization. (True is the boolean value for active in this url).
GET https://securelb.trackerproducts.com/api/forms/all/true
The response will return some pertinent information about the form including the schema.

Custom Form


Note the form id and the modelTypeId. The id will be used later in searching, and the model type is important so that the search is run against the correct entity - case, item, or person.


In order to see the model types, use this endpoint:


GET https://securelb.trackerproducts.com/api/modelTypes
This returns an array of model types used throughout the system.

Model Types

Search For Custom Forms - By Model Type (Form Type)

Forms can also be searched by form type.
The form type is the id to the corresponding model type.
4 = cases
5 = items
11 = people
0 = all
GET https://securelb.trackerproducts.com/api/forms?formType=4
This will return an array of all case custom forms.

Search For Custom Forms - By Id

Forms can also be searched by their.
GET https://securelb.trackerproducts.com/api/forms/913
Here is the response for a form we will use for our first search:
Custom Form With Text Field


The most important information here is in schema => fields.
For this example we will be concerned with the type (text), and the name (field5617).