GET Formentry (Search)

GET Formentry (Search)

The GET Formentry (Search) API finds all form entries that match 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.


Endpoints & API Explorer

NodeAPI EndpointAPI Explorer
USapi/v2/formentry/search
Model Description/Schema & Parameters

Parameters

The GET verb allows you to find all form entries that match the given parameters.
The required and optional parameters for a GET call to the Screen API are outlined below.

NameTypeDescriptionRequired
CompanyIdIntegerYour unique Company Id found on the Organisation Setup page of the secure website.
IntegrationKeyStringYour unique Integration Key found on the Organisation Setup page of the secure website.
FormExternalIdStringExternal ID of the Form to fetch entries for.
FormVersionIntegerVersion of the Form that you wish to fetch entries for. If not specified or zero (0), will return entries for the latest Published version. Use version of -1 to return entries across all versions of the Form.
FormIdStringIdentifier of the specific Form Screen to fetch entries for.
FromDateDateReturns Form entries on or after the given UTC date/time.Default is to filter using the time received by our servers. If you specify OrderBy parameter as CompletedTime, entries are instead filtered by the time completed on device.Required format is ISO8601 – i.e. YYYY-MM-DDTHH:MI:SSZ
ToDateDateReturns Form entries on or before the given UTC date/time.Default is to filter using the time received by our servers. If you specify OrderBy parameter as CompletedTime, entries are instead filtered by the time completed on device.Required format is ISO8601 – i.e. YYYY-MM-DDTHH:MI:SSZ
AnswerFormatStringWhether or not to return rich answers or raw answers
MediaAsUrlBooleanReturns Media answers as full file download URLs instead of just the file name..
FieldsStringOptionally restrict returned answer values to the given comma-separated list of field data names.ONLY SUPPORTED WITH ‘FLAT’ ANSWERFORMAT.
OrderByStringOrder results by time received/uploaded to our platform or the time entry was completed on the user’s device. CompletedTime can be inaccurate if the device clock is wrong. Default is ReceivedTime.
DateOrderStringReturns results in either Ascending or Descending order. Default is Ascending (oldest first).
PageNoIntegerThe page number from which to start reading results (0 based).
PageSizeIntegerThe page size (number of rows) to return. Maximum allowable value is 250.

Example

Given that the API is REST-based, you can access the API directly using a REST client such as Postman, a popular standalone application for testing APIs.

Request URL

https://eforms.mobileform.net:443/api/v2/formentry/search?CompanyId=6****&IntegrationKey=995*******************************&FormExternalId=EXT_Damage_Report&FormVersion=-1

Response Body

{
"Entries": [
{
"Id": "4ed********************************",
"RowId": 1,
"FormId": "449********************************",
"FormVersion": 11,
"DeviceId": "6a7********************************",
"UserFirstName": "Support",
"UserLastName": "User",
"UserEmail": "cha*******@appenate.com",
"UserExternalId": "charles_test_user_extid",
"Latitude": -23.0892846,
"Longitude": 30.545262,
"StartTime": "2022-11-03T17:57:32.9700000Z",
"CompleteTime": "2022-11-03T18:01:54.1170000Z",
"ReceivedTime": "2022-11-03T18:01:55.0730000Z",
"AnswerFormat": "Rich",
"Answers": [
{
"Name": "page1",
"Type": "Group",
"Value": "",
"Answers": [
{
"Name": "Report_reference",
"Type": "Hidden",
"Value": "00001"
},
{
"Name": "client",
"Type": "SelectOne",
"Value": "Julie Interiors"
}
]
}
]
}
]
}

***The results return too many parameters to show them all. You can test the output and see all parameters returned in the API Explorer*** 

    • Related Articles

    • GET Formentry

      The GET Formentry API returns the form entry 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 ...
    • GET Formentry (File)

      The GET Formentry (File) API allows you to download a media file captured on a given Form Entry. 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 ...
    • GET Usergroup (Search)

      This API allows you to find all user groups 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 ...
    • GET Screen (Map Search)

      The GET Screen (Map Search) API returns the Published version of matching Map Screens or all versions of a single specified Map Screen. On the Cloud, this API is available via SSL-secured HTTPS connection using the REST GET verb. The format query ...
    • GET Folder (Search)

      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 ...