Skip to main content

getFormsDataByMarker

Searching for form data by text identifier (marker).

FormData?.getFormsDataByMarker( marker?, langCode?, offset?, limit? );

Minimal example

const value = await FormData.getFormsDataByMarker('my-marker')
Schema

marker(required): string
Marker of the form data
example: "contact_form_data"

langCode: string
Language code. Default: "en_US"
example: "en_US"

offset: number
Parameter for pagination. Default: 0
example: 0

limit: number
Parameter for pagination. Default: 30
example: 30

This method retrieves a specific form data object by its marker from the API. It accepts a marker parameter as the marker of the form data. It returns a Promise that resolves to an array of objects of type FormDataEntity.

Example response

{
"items": [
{
"id": 285,
"formIdentifier": "test-form",
"time": "2025-07-21T01:54:30.043Z",
"formData": [
{
"marker": "name",
"type": "string",
"value": "Test"
}
],
"attributeSetIdentifier": "form"
},
{
"id": 283,
"formIdentifier": "test-form",
"time": "2025-07-21T01:49:33.957Z",
"formData": [
{
"marker": "name",
"type": "string",
"value": "Test"
}
],
"attributeSetIdentifier": "form"
},
{
"id": 281,
"formIdentifier": "test-form",
"time": "2025-07-21T01:44:11.296Z",
"formData": [
{
"marker": "name",
"type": "string",
"value": "Test"
}
],
"attributeSetIdentifier": "form"
},
"..."
],
"total": 169
}
Schema

items: IFormDataEntity[]
Array of form data objects.
example:

[
{
"id": 1,
"formIdentifier": "form",
"time": "2025-06-06T19:07:45.993Z",
"formData": {},
"attributeSetIdentifier": "form",
"actionMessage": "Action message string"
}
]

total: number
Total number of found records.
example: NaN