Retorna la cofiguracion para un formulario.
| Name | Description |
|---|---|
| resource | recurso para el cual se desea conocer la configuracion. Si quieres ver el default enviar common |
| country | pais para el cual se desea conocer la configuracion |
Content-Type: application/json Host: example.org Cookie:
GET /public/config_forms?resource=bank&country=common
resource: bank country: common
X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff X-Download-Options: noopen X-Permitted-Cross-Domain-Policies: none Referrer-Policy: strict-origin-when-cross-origin Content-Type: application/json; charset=utf-8 ETag: W/"5b9f7bb594050c0d7c7c85046cbbc32a" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: eeb76c7e-0083-443c-af5d-b5dc4b33123f X-Runtime: 0.017189 Vary: Origin Content-Length: 925
200 OK
{
"data": [
{
"type": "Select",
"name_of_param": "country",
"label": "Pais",
"required": true,
"options": [
{
"key": "Argentina",
"value": "ARG"
},
{
"key": "Colombia",
"value": "COL"
},
{
"key": "Costa Rica",
"value": "CRI"
},
{
"key": "El Salvador",
"value": "SLV"
},
{
"key": "Uruguay",
"value": "URY"
},
{
"key": "Venezuela",
"value": "VEN"
}
]
},
{
"type": "CurrenciesFiat",
"name_of_param": "currency",
"label": "Moneda",
"required": true
},
{
"type": "Input",
"name_of_param": "name",
"label": "Nombre entidad bancaria",
"required": true
},
{
"type": "Select",
"name_of_param": "account_type",
"label": "Tipo de cuenta",
"options": [
{
"key": "Ahorro",
"value": "Ahorro"
},
{
"key": "Corriente",
"value": "Corriente"
}
],
"required": true
},
{
"type": "Select",
"name_of_param": "type_of_document",
"label": "Tipo de documento",
"options": [
{
"key": "DNI",
"value": "DNI"
},
{
"key": "CUIT/CUIL",
"value": "CUIT/CUIL"
}
],
"required": true
},
{
"type": "Input",
"name_of_param": "number_of_document",
"label": "Identificacion",
"required": true
}
]
}