1. Home
  2. Docs
  3. Formever API
  4. Get
  5. Get Form Data

Get Form Data

Request Format

{
        "request_type":"get_form",
        "form_data":
            {
                "form_name":"Members",
                "Member Code":"GUTTC1"}}
            }
    }

This is an example of getting form data. The formcode is specified by the name of the form code on that form. This can be taken from the metadata.

A reply looks like the following. Notice that now no metadata is put in the reply.To identify the type of the field it is necessary to relate the given index to the metadata,

{
     "status" : "success",
     "form_data" : {
                       "0" : {
                                 "field_data" : {
                                                    "text" : {
                                                                 "en" : "Members"
                                                             }
                                                }
                             },
                       "5" : {
                                 "field_data" : {
                                                    "code" : "GUTTC1"
                                                }
                             },
                       "9" : {
                                 "field_data" : {
                                                    "text" : {
                                                                 "en" : "Jeff Craig"
                                                             }
                                                }
                             },
   ...

How can we help?