Code 200 implies that the form(s) has been retrieved successfully. Example is given as follows:
Response Body:
CODE
[
{
"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"
]
}
]
}
}
]
},
{
"id": "2",
"formTitle": "New Form",
"formDescription": "This is helping text.",
"attributes": []
}
]