get https://app.fracttal.com/api/personnel_custom_fields/
Mediante esta API se puede consultar los campos personalizados de todos los recursos humanos
Parámetros de entrada
Se puede filtrar la información mediante los siguientes query_params:
Parámetro | Tipo | Requerido | Descripción |
---|---|---|---|
code | Texto | Opcional | Código del recurso humano. Se puede consultar en este mismo endpoint, el campo es code |
start | Entero | Opcional | Número de registro donde iniciará la consulta. Por defecto 0. Todas las consultas están limitadas a 100 registros, cuando hay más de esa cantidad se debe utilizar este parámetro para la paginación. |
limit | Entero | Opcional | Cantidad de registros que mostrará la petición. El valor por defecto es 100. |
Parámetros de salida
Parámetro | Tipo | Descripción |
---|---|---|
id_personnel | Entero | Id del recurso humano |
code | Texto | Código del recurso humano |
full_name | Texto | Nombre del recurso humano |
label_name | Texto | Descripción del campo personalizado |
value | Texto | Valor del campo personalizado |
id_custom_field_group | Entero | Id del grupo personalizado |
id_custom_field_type | Entero | Id del tipo de campo personalizado |
Ejemplo:
Petición: (GET) https://app.fracttal.com/api/items_custom_fields/STTGO-01?item_type=1
{
"success": true,
"message": "200",
"data": [
{
"id": 5,
"id_company": 1190,
"id_personnel": 139336,
"code": "J46541521",
"full_name": "JORGE GONZALEZ",
"label_name": "FECHA NACIMIENTO",
"value": "2024-03-18T05:00:00.000Z",
"id_custom_field_group": 1,
"id_custom_field_type": 2
},
{
"id": 6,
"id_company": 1190,
"id_personnel": 139336,
"code": "J46541521",
"full_name": "JORGE GONZALEZ",
"label_name": "RELACIÓN LABORAL",
"value": null,
"id_custom_field_group": 1,
"id_custom_field_type": 6
},
{
"id": 7,
"id_company": 1190,
"id_personnel": 139336,
"code": "J46541521",
"full_name": "JORGE GONZALEZ",
"label_name": "CATEGORIA",
"value": null,
"id_custom_field_group": 1,
"id_custom_field_type": 6
},
{
"id": 8,
"id_company": 1190,
"id_personnel": 139336,
"code": "J46541521",
"full_name": "JORGE GONZALEZ",
"label_name": "SERVICIO",
"value": null,
"id_custom_field_group": 1,
"id_custom_field_type": 6
},
{
"id": 9,
"id_company": 1190,
"id_personnel": 139336,
"code": "J46541521",
"full_name": "JORGE GONZALEZ",
"label_name": "STAFF",
"value": null,
"id_custom_field_group": 1,
"id_custom_field_type": 8
},
{
"id": 10,
"id_company": 1190,
"id_personnel": 139336,
"code": "J46541521",
"full_name": "JORGE GONZALEZ",
"label_name": "ESPECIALISTA DE LLAMADO",
"value": null,
"id_custom_field_group": 1,
"id_custom_field_type": 8
},
{
"id": 11,
"id_company": 1190,
"id_personnel": 139336,
"code": "J46541521",
"full_name": "JORGE GONZALEZ",
"label_name": "REALIZA CONSULTAS",
"value": null,
"id_custom_field_group": 1,
"id_custom_field_type": 8
},
{
"id": 12,
"id_company": 1190,
"id_personnel": 139336,
"code": "J46541521",
"full_name": "JORGE GONZALEZ",
"label_name": "VISUALIZA INTERNET",
"value": null,
"id_custom_field_group": 1,
"id_custom_field_type": 8
},
{
"id": 13,
"id_company": 1190,
"id_personnel": 139336,
"code": "J46541521",
"full_name": "JORGE GONZALEZ",
"label_name": "TRABAJOS ANTERIORES",
"value": null,
"id_custom_field_group": 1,
"id_custom_field_type": 1
},
{
"id": 14,
"id_company": 1190,
"id_personnel": 139336,
"code": "J46541521",
"full_name": "JORGE GONZALEZ",
"label_name": "COMENTARIOS",
"value": null,
"id_custom_field_group": 1,
"id_custom_field_type": 1
},
{
"id": 15,
"id_company": 1190,
"id_personnel": 139336,
"code": "J46541521",
"full_name": "JORGE GONZALEZ",
"label_name": "ESPECIALIDAD",
"value": null,
"id_custom_field_group": 1,
"id_custom_field_type": 6
},
{
"id": 16,
"id_company": 1190,
"id_personnel": 139336,
"code": "J46541521",
"full_name": "JORGE GONZALEZ",
"label_name": "SUB-ESPECIALIDAD 1",
"value": null,
"id_custom_field_group": 1,
"id_custom_field_type": 6
},
{
"id": 17,
"id_company": 1190,
"id_personnel": 139336,
"code": "J46541521",
"full_name": "JORGE GONZALEZ",
"label_name": "SUB-ESPECIALIDAD 2",
"value": null,
"id_custom_field_group": 1,
"id_custom_field_type": 6
},
{
"id": 18,
"id_company": 1190,
"id_personnel": 139336,
"code": "J46541521",
"full_name": "JORGE GONZALEZ",
"label_name": "Nro REGISTRO MEDICO",
"value": null,
"id_custom_field_group": 1,
"id_custom_field_type": 1
},
{
"id": 19,
"id_company": 1190,
"id_personnel": 139336,
"code": "J46541521",
"full_name": "JORGE GONZALEZ",
"label_name": "SEGURO RESPONSABILIDAD CIVIL",
"value": null,
"id_custom_field_group": 1,
"id_custom_field_type": 8
},
{
"id": 20,
"id_company": 1190,
"id_personnel": 139336,
"code": "J46541521",
"full_name": "JORGE GONZALEZ",
"label_name": "COMPAÑÍA DE SEGURO",
"value": null,
"id_custom_field_group": 1,
"id_custom_field_type": 6
},
{
"id": 21,
"id_company": 1190,
"id_personnel": 139336,
"code": "J46541521",
"full_name": "JORGE GONZALEZ",
"label_name": "FECHA FIN SEGURO",
"value": null,
"id_custom_field_group": 1,
"id_custom_field_type": 2
},
{
"id": 22,
"id_company": 1190,
"id_personnel": 139336,
"code": "J46541521",
"full_name": "JORGE GONZALEZ",
"label_name": "CERTIFICADO CONACEM",
"value": null,
"id_custom_field_group": 1,
"id_custom_field_type": 8
},
{
"id": 23,
"id_company": 1190,
"id_personnel": 139336,
"code": "J46541521",
"full_name": "JORGE GONZALEZ",
"label_name": "TITULO PUBLICACIÓN MEDICA",
"value": null,
"id_custom_field_group": 1,
"id_custom_field_type": 1
},
{
"id": 24,
"id_company": 1190,
"id_personnel": 139336,
"code": "J46541521",
"full_name": "JORGE GONZALEZ",
"label_name": "PMID",
"value": null,
"id_custom_field_group": 1,
"id_custom_field_type": 1
}
],
"total": 20
}