Query human resources

Through this API you can consult the information of your human resources.

You can consult the list of your human resources or make filters by the code of the human resource.

Input parameters

Parameter

Type

Required

Description

code

Text

Optional

Code of the human resource to perform the filter.

start

Integer

Optional

Number of the record from which you want to start the query. All queries are limited to 100 records, when there are more than that number this parameter must be used for pagination.

limit

Integer

Optional

Number of records to be returned by the query (Maximum 100 - Default value)

Output parameters

Parameter

Type

Location (id_type_item = 1)

name

Text

Name

description_work_shifts

Text

Working Hours

full_name

Text

Full Name

custom_fields_groups_description

Text

Name of the group of custom fields associated with the human resource

code

Text

Human Resources Code

first_name

Text

Name

last_name

Text

Last name

email

Text

E-mail address

active

Boolean

True if the human resource is active and false otherwise.

creation_date

Text

Date of creation

address

Text

Address

city

Text

City

state

Text

State/Department/Region

zip_code

Text

Zip Code

country

Text

Country

latitude

Text

Latitude

longitud

Text

Longitude

telephone

Text

Main telephone

telephone_2

Text

Secondary phone

sms

Text

SMS Phone

asset_location_description

Text

Located in or is part of

hourly_rates_description

Text

Ordinary hour value

groups_1_description

Text

Ranking 1

groups_2_description

Text

Classification 2

only_request

Boolean

True if the user is a request-only user, false otherwise

account_active

Boolean

True if the user account is active, false otherwise

Example

Petition: (GET)https://app.fracttal.com/api/personnel/234004476

{
  "success": true,
  "message": "200",
  "data": [
    {
      "name": "ADOLFO RICARDO NANCUAN  GUTIERREZ",
      "description_work_shifts": "MECANICO DE TALLER",
      "full_name": "ADOLFO RICARDO NANCUAN  GUTIERREZ",
      "custom_fields_groups_description": "ELECTROMECANICOS",
      "code": "234004476",
      "first_name": "ADOLFO RICARDO",
      "last_name": "NANCUAN  GUTIERREZ",
      "email": "[email protected]",
      "saved_configuration_table": false,
      "active": true,
      "creation_date": "2015-09-21",
      "address": "Calle A Maipo",
      "city": "Buin",
      "state": "Santiago Metropolitan",
      "zip_code": "",
      "country": "Chile",
      "latitude": "-33.760882000869174",
      "longitud": "-70.7958984375",
      "telephone": "62137996",
      "telephone_2": null,
      "sms": null,
      "asset_location_description": "\/\/ ",
      "hourly_rates_description": "TECNICO PIONEER",
      "groups_1_description": "SUPERVISOR MANTENCION",
      "groups_2_description": "TIEMPO COMPLETO",
      "account_item_description": "\/\/ ",
      "account_email": "[email protected]",
      "only_request": false,
      "groups_permissions_description": "DEMO",
      "account_active": true,
      "belongs": null
    }
  ],
  "total": 1
}

Test It

Test It

Language