Implementation
Map<String, dynamic> changedformat = {
"FormDetails": [
{
"ColumnID": 25,
"FieldName": "Mobileno",
"DisplayName": "Mobile number ",
"Type": "integer",
"DisplayType": "TextBox",
"Mandatory": true,
"MinLength": 4,
"MaxLength": 16,
"Sequence": 11,
"GroupBy": "Retailers Details",
"Regex": "",
"Editable": true,
"ImageSize": null,
"ImageType": null,
"dependend": null,
"OCRRequired": null,
"OCRValidation": null,
"OptionValues": null
},
{
"ColumnID": 24,
"FieldName": "Emailid",
"DisplayName": "Email id ",
"Type": "string ",
"DisplayType": "TextBox",
"Mandatory": true,
"MinLength": 4,
"MaxLength": 16,
"Sequence": 12,
"GroupBy": "Retailers Details",
"Regex": "",
"Editable": true,
"ImageSize": null,
"ImageType": null,
"dependend": null,
"OCRRequired": null,
"OCRValidation": null,
"OptionValues": null
},
{
"ColumnID": 21,
"FieldName": "Gstinnumber",
"DisplayName": "Gst number ",
"Type": "string ",
"DisplayType": "TextBox",
"Mandatory": false,
"MinLength": 4,
"MaxLength": 16,
"Sequence": 17,
"GroupBy": "GST/PAN Details",
"Regex": "",
"Editable": true,
"ImageSize": null,
"ImageType": null,
"dependend": "Panno",
"OCRRequired": false,
"OCRValidation": true,
"OptionValues": null
},
{
"ColumnID": 26,
"FieldName": "Panno",
"DisplayName": "Pan number ",
"Type": "string ",
"DisplayType": "TextBox",
"Mandatory": false,
"MinLength": 4,
"MaxLength": 16,
"Sequence": 22,
"GroupBy": "GST/PAN Details",
"Regex": "",
"Editable": true,
"ImageSize": null,
"ImageType": null,
"dependend": null,
"OCRRequired": false,
"OCRValidation": true,
"OptionValues": null
},
{
"ColumnID": 14,
"FieldName": "Bankname",
"DisplayName": "Bank Name",
"Type": "string ",
"DisplayType": "TextBox ",
"Mandatory": false,
"MinLength": 4,
"MaxLength": 16,
"Sequence": 27,
"GroupBy": "Bank Details",
"Regex": "",
"Editable": true,
"ImageSize": null,
"ImageType": null,
"dependend": null,
"OCRRequired": null,
"OCRValidation": null,
"OptionValues": null
},
],
"FormDependable": [
{
"ColumnID": 24,
"dependableMandatory": "Bankaccountno",
"dependableValue": "",
"dependableRegex": ""
},
{
"ColumnID": 25,
"dependableMandatory": "Ifsccode",
"dependableValue": "",
"dependableRegex": ""
},
{
"ColumnID": 26,
"dependableMandatory": "Bankname",
"dependableValue": "",
"dependableRegex": ""
},
{
"ColumnID": 26,
"dependableMandatory": "ContactPerson",
"dependableValue": "",
"dependableRegex": ""
}
],
"FormApi": [
{
"ColumnID": 21,
"FieldName": "GstPhoto2",
"APIURL": "http://kyc-api.ppms.co.in/API/KYC/ocrImage",
"APIRequest": "",
"APIResponse": null
},
{
"ColumnID": 14,
"FieldName": "GstPhoto1",
"APIURL": "http://kyc-api.ppms.co.in/API/KYC/ocrImage",
"APIRequest": "",
"APIResponse": null
},
{
"ColumnID": 21,
"FieldName": "PanPhoto",
"APIURL": "http://kyc-api.ppms.co.in/API/KYC/ocrImage",
"APIRequest": "",
"APIResponse": null
},
]
};