This API allows you to update an existing form.
The endpoints, properties and code examples are given as follows:
PUT/forms
The body should be in JSON format and include the following properties:
Request
formTitle REQUIRED
formDescription OPTIONAL
attributes REQUIRED
Response
200
Code 200 implies that the form/form fields have been updated successfully.
{ "id":"1", "formTitle": "New Form", "formDescription": "This is helping text.", "attributes": [ { "key": "first_name", "label": "First Name", "helpText": "This is helping text", "attributeType": "INPUT", "valueType": "String100", "isRequired": true, "categoryOptions": {} }, { "key": "state_name", "label": "State Name", "helpText": "This is helping text", "attributeType": "OPTIONS", "valueType": "StringList", "isRequired": true, "categoryOptions": { "isMultipleChoice": true, "categories": [ { "categoryName": "Category1", "values": [ "Badin", "Chaman", "Balakot" ] } ] } } ] }
Quick Links
Please note, these errors can depend on your browser setup.
If this problem persists, please contact our support.