Query custom fields of human resources

Through this API you can query the custom fields of all human resources.

Input Parameters

The information can be filtered using the following query_params:

Parameter

Type

Required

Description

code

Text

Optional

Human resource code. Can be consulted in this same endpoint, the field is code

start

Integer

Optional

Record number where the query will start. Default is 0. All queries are limited to 100 records, when there are more than that amount this parameter must be used for pagination.

limit

Integer

Optional

Number of records that the request will show. The default value is 100.

Output Parameters

ParameterTypeDescription
id_personnelIntegerHuman resource ID
codeTextHuman resource code
full_nameTextHuman resource name
label_nameTextCustom field description
valueTextCustom field value
id_custom_field_groupIntegerCustom group ID
id_custom_field_typeIntegerCustom field type ID

Example:

Request: (GET)https://app.fracttal.com/api/personnel_custom_fields?code=J46541521

{
    "success": true,
    "message": "200",
    "data": [
        {
            "id": 5,
            "id_company": 1190,
            "id_personnel": 139336,
            "code": "J46541521",
            "full_name": "JORGE GONZALEZ",
            "label_name": "BIRTH DATE",
            "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": "EMPLOYMENT RELATIONSHIP",
            "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": "CATEGORY",
            "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": "SERVICE",
            "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": "CALL SPECIALIST",
            "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": "PERFORMS CONSULTATIONS",
            "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": "VIEWS 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": "PREVIOUS WORK",
            "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": "COMMENTS",
            "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": "SPECIALTY",
            "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-SPECIALTY 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-SPECIALTY 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": "MEDICAL RECORD NUMBER",
            "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": "LIABILITY INSURANCE",
            "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": "INSURANCE COMPANY",
            "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": "INSURANCE END DATE",
            "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": "CONACEM CERTIFICATE",
            "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": "MEDICAL PUBLICATION TITLE",
            "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
}
Language