Authorizations
Response
Lista de esquemas recuperada exitosamente
The response is of type object[]
.
curl --request GET \
--url https://api.gotrebol.com/v2/form-schemas \
--header 'x-api-key: <api-key>'
[
{
"id_schema": "onboarding-form",
"account_id": "acc_1234567890abcdef",
"name": "Formulario de Onboarding",
"ui_schema_definition": {
"ui_order": [
"nombre",
"apellido",
"notaria"
],
"nombre": {
"ui_type": "text",
"ui_label": "Nombre",
"ui_description": "Nombre del cliente"
},
"apellido": {
"ui_type": "text",
"ui_label": "Apellido",
"ui_description": "Apellido del cliente"
},
"notaria": {
"ui_type": "section",
"ui_order": [
"nombre",
"direccion",
"identidad"
],
"nombre": {
"ui_type": "text",
"ui_label": "Nombre",
"ui_description": "Nombre de la notaria"
},
"direccion": {
"ui_type": "text",
"ui_label": "Direccion",
"ui_description": "Direccion de la notaria"
},
"identidad": {
"ui_type": "section",
"ui_order": [
"curp",
"rfc"
],
"curp": {
"ui_type": "text",
"ui_label": "CURP",
"ui_description": "CURP de la notaria"
},
"rfc": {
"ui_type": "text",
"ui_label": "RFC",
"ui_description": "RFC de la notaria"
}
}
}
}
}
]
Obtiene una lista de todos los esquemas de formularios de la cuenta
curl --request GET \
--url https://api.gotrebol.com/v2/form-schemas \
--header 'x-api-key: <api-key>'
[
{
"id_schema": "onboarding-form",
"account_id": "acc_1234567890abcdef",
"name": "Formulario de Onboarding",
"ui_schema_definition": {
"ui_order": [
"nombre",
"apellido",
"notaria"
],
"nombre": {
"ui_type": "text",
"ui_label": "Nombre",
"ui_description": "Nombre del cliente"
},
"apellido": {
"ui_type": "text",
"ui_label": "Apellido",
"ui_description": "Apellido del cliente"
},
"notaria": {
"ui_type": "section",
"ui_order": [
"nombre",
"direccion",
"identidad"
],
"nombre": {
"ui_type": "text",
"ui_label": "Nombre",
"ui_description": "Nombre de la notaria"
},
"direccion": {
"ui_type": "text",
"ui_label": "Direccion",
"ui_description": "Direccion de la notaria"
},
"identidad": {
"ui_type": "section",
"ui_order": [
"curp",
"rfc"
],
"curp": {
"ui_type": "text",
"ui_label": "CURP",
"ui_description": "CURP de la notaria"
},
"rfc": {
"ui_type": "text",
"ui_label": "RFC",
"ui_description": "RFC de la notaria"
}
}
}
}
}
]
Lista de esquemas recuperada exitosamente
The response is of type object[]
.
Was this page helpful?