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

Post Form Data

Request Format

{
   "request_type":"put_form",
        "forms":
            [
                <list of form objects here>
            ]
}

Each form object has the following format:

{
     "form_name" : <name of form>,
     "fields_data" : 
       {
          "<label of code field>" : {
                                      field_data: 
                                               {
                                                  "Code" : "0001"
                                               }
                                    }
          "<label of field>" : {
                                     field_data: 
                                                {
                                                  <special field data for the type of field
                                                }
                                },
          ...  // all the fields that you want to put into the form are of this format a label and an object based on field type

            "<label of image field> : {
                                        "field_data: 
                                                   {
                                                     "file_name" : "<file name with extension>",
                                                     "file_data"  : "<base64 encoded data>"
                                                   }
                                      }
       } 


}

How can we help?