get
Returns data entered by users in forms on Turbo pages.
Learn more
Restrictions
The method returns a maximum of 10,000 objects.
Request
Request structure in JSON format:
{
"method": "get",
"params": { /* params */
"SelectionCriteria": { /* LeadsSelectionCriteria */
"TurboPageIds": [(long), ... ], /* required */
"DateTimeFrom": (string),
"DateTimeTo": (string)
}, /* required */
"FieldNames": [( "SubmittedAt" | "TurboPageId" | "TurboPageName" | "Id" | "Data" ), ... ], /* required */
"Page": { /* LimitOffset */
"Limit": (long),
"Offset": (long)
}
}
}
Parameter |
Type |
Description |
Required |
params structure (for JSON) / GetRequest (for SOAP) |
|||
|
LeadsSelectionCriteria |
Criteria for selecting data that was entered by users in forms on Turbo pages. |
Yes |
|
array of LeadFieldEnum |
Names of top-level parameters to get. |
Yes |
|
Structure that defines the page for paginated selection of data. |
No |
|
LeadsSelectionCriteria structure |
|||
|
array of long |
Select data that was entered by users in forms on Turbo pages with the specified IDs. From 1 to 1000 items in the array. |
Yes |
|
string |
The start of the time period to get data for. Specified in YYYY-MM-DDThh:mm:ssZ format (conforming to ISO 8601). |
No |
|
string |
The end of the time period to get data for. Specified in YYYY-MM-DDThh:mm:ssZ format (conforming to ISO 8601). |
No |
Response
Response structure in JSON format:
{
"result": { /* result */
"Leads": [{ /* LeadGetItem */
"Id": (string), /* required */
"SubmittedAt": (string), /* required */
"TurboPageId": (string), /* required */
"TurboPageName": (string), /* required */
"Data": [{ /* LeadDataItem */
"Name": (string), /* required */
"Value": (string) /* required */
}, ... ] /* required */
}, ... ],
"LimitedBy": (long)
}
}
Parameter |
Type |
Description |
result structure (for JSON) / GetResponse (for SOAP) |
||
|
array of LeadGetItem |
Data entered by users in forms on Turbo pages. |
|
long |
Sequential number of the last object returned. It is included if there was a limit on the number of objects in the response. See the section Paginated data selection. |
LeadGetItem structure |
||
|
string |
ID of the data entered by a user in a form. |
|
string |
The date and time when the form was submitted. Output in YYYY-MM-DDThh:mm:ssZ format (conforming to ISO 8601). |
|
string |
ID of the Turbo page where the form was submitted. |
|
string |
Name of the Turbo page where the form was submitted. |
|
array of LeadDataItem |
Data entered by the user. |
LeadDataItem structure |
||
|
string |
Name of the form field. |
|
string |
The value entered by the user. |