Get form entry fields by form entry ID

GET /formentryfields/{id}

Return all field data for a specific form entry. This includes field types, labels, repeat indices, entered values, and deletion timestamps. Only form entries that the authenticated user has permission to view are accessible.

Path parameters

  • id integer Required

    The form entry ID to get fields for

Responses

  • 200 application/json

    Form entry fields returned OK

    Hide response attributes Show response attributes object
    • field_type integer | string

      The field type identifier. Can be either an integer (UDF ID) or a string code for built-in field types.

      One of:

      User Defined Field (UDF) ID

      Built-in field type code

      Values are inf, ftx, txt, ltx, hdg, hr, img, amt, stk, ppf, ttl, ttlpl, pay, acc, nm, ad, ph, em, gd, dte, wa, ntp, nth, hh, okc, oke, okp, okl, oks, cam, gp, gpadd, cl, pf, ap, rpt, sec, wid, file, int, lst, tik, tstk, prd, pdrv, gft, gn, infsf, hrf, or stx.

    • field_label string

      The label/name of the form field

    • repeat_index integer

      The repeat index for repeatable fields

    • entered_value string | null | array[string]

      The value entered by the user for this field

    • deleted_at string(date-time)

      The date and time this field was deleted (if applicable)

  • 400 application/json

    One or more errors have occurred

    Hide response attributes Show response attributes object
    • error string Deprecated

      A single error text or code

    • errors object

      An array of fields and the errors for each field

      Hide errors attribute Show errors attribute object
      • errorfield array[object]

        errorfield is the name of the field that is in error

        Hide errorfield attributes Show errorfield attributes object
        • code integer

          the specific error code for this error

        • message string

          the error message for this error

  • 401 application/json

    Authentication unauthorised

    Hide response attribute Show response attribute object
    • error string
  • 403 application/json

    Invalid permission

    Hide response attribute Show response attribute object
    • error string
  • 404 application/json

    Not Found

    Hide response attribute Show response attribute object
    • error string
GET /formentryfields/{id}
curl \
 --request GET 'https://YOURSITE.infoodle.com/apiv2/formentryfields/12345' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
  {
    "field_type": 123,
    "field_label": "First Name",
    "repeat_index": 0,
    "entered_value": "John Doe",
    "deleted_at": "2023-10-20T10:30:00Z"
  }
]
Response examples (400)
{
  "error": "Invalid field contents",
  "errors": {
    "errorfield": [
      {
        "code": 400,
        "message": "Invalid value supplied for field"
      }
    ]
  }
}
Response examples (401)
{
  "error": "Unauthorised"
}
Response examples (403)
{
  "error": "Invalid Permission"
}
Response examples (404)
{
  "error": "Not Found"
}