REST API - Accessing Form Data

Version 2

    The REST API provides access to retrieve and create form submission data.

     

    Accessing Form Submission Data

    • GET /data/form/{id}?count={count}&page={page}&startAt={startAt}&endAt={endAt}

     

    Response

    The response for this call looks as follows :

     

    {
      "elements": [
        {
          "type": "FormData",
          "id": "120666",
          "fieldValues": [
            {
              "type": "FieldValue",
              "id": "122318",
              "value": "fred.sakr@eloqua.com"
            },
            {
              "type": "FieldValue",
              "id": "122319",
              "value": "Fred"
            },
            {
              "type": "FieldValue",
              "id": "122320",
              "value": "Last"
            },
            {
              "type": "FieldValue",
              "id": "122321",
              "value": "Eloqua Corp"
            },
            {
              "type": "FieldValue",
              "id": "122322",
              "value": "Toronto"
            },
            {
              "type": "FieldValue",
              "id": "122323"
            }
          ],
          "submittedAt": "1358364307"
        },
    ..
    ]}
     

     

    Properties

     

    Name

    Type

    Description

    Notes

    Validations

    type"FormData"
    fieldValuesList of FieldValueA list of key/value pairs identifying the form data (field name / value)
    depthRequestDepthEnumRequirement
    idintegerThe unique id for this form submissionIdRequirement
    submittedAtdateReadOnlyDateRequirement
    submittedBy
    ContactId
    integerThe unique identifier of the contact that submitted the formReadOnlyIdRequirement

     

    Related Operations

    • POST : /data/form/{id}

     

    We hope that you find this help and please let us know if you have any questions.

     

    Thanks,

    Fred