1.1 Description
| path | http://www.your_website_domain.com/FeiEditor/api_v1/getAllFormSubmits |
| method | GET/POST |
| illustrate | Get all submission records of a form according to query conditions. |
1.2 parameters
| name | must | type | describe |
| formId | Yes | int | The ID of the form to be queried can be obtained in the background or through the form query API. |
| limit | no | int | The number of records returned by a query, the default is 10. The valid range is 1 to 100. |
| offset | no | int | The starting value of the current query, for example: if the query starts from the 100th record, then fill in 100. By default, the query starts from item 0. |
1.3 return result
| correct result |
| Return format: JSON |
| { "result":true, "data":[ { "id":123, "form_id":456, "unread":0, "date_added":"2017-05-26 00:41:21", "ip ":"127.0.0.1", "form_url":form_url_string, "referring_url":form_url_string, "post_id":123456, "post_title":string, "user_display_name":string, "user_email":string, "user_login":string, "element_1":[ "id": 1,//Requires "name": "Name 1" when updating form records, //The name displayed in the foreground "admin_lable": "", //The name displayed in the background "value": "some string" The value of this element ], "element_2":[ "id": 2, //Requires "name": "Name 2" when updating form records , //This item is displayed in the foreground Name "admin_lable" : "", //The name of this item displayed in the background "value": "some string" The value of this element ], } ], "total":100 } |
