get https://app.fracttal.com/api/personnel_custom_fields/
Através desta API é possível consultar os campos personalizados de todos os recursos humanos
Parâmetros de entrada
É possível filtrar as informações através dos seguintes query_params:
Parâmetro | Tipo | Obrigatório | Descrição |
---|---|---|---|
code | Texto | Opcional | Código do recurso humano. Pode ser consultado neste mesmo endpoint, o campo é code |
start | Inteiro | Opcional | Número do registro onde iniciará a consulta. Por padrão 0. Todas as consultas estão limitadas a 100 registros, quando há mais que essa quantidade deve-se utilizar este parâmetro para a paginação. |
limit | Inteiro | Opcional | Quantidade de registros que a requisição mostrará. O valor por padrão é 100. |
Parâmetros de saída
Parâmetro | Tipo | Descrição |
---|---|---|
id_personnel | Inteiro | Id do recurso humano |
code | Texto | Código do recurso humano |
full_name | Texto | Nome do recurso humano |
label_name | Texto | Descrição do campo personalizado |
value | Texto | Valor do campo personalizado |
id_custom_field_group | Inteiro | Id do grupo personalizado |
id_custom_field_type | Inteiro | Id do tipo de campo personalizado |
Exemplo:
Requisição: (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
}