Through this API the inhouse personnel information can be consulted.
You can consult the list of your inhouse personnel or perform filtering by inhouse personnel code.
EndPoint
https://app.fracttal.com/api/personnel/:code
Method GET
Input Parameter
Parameter | Type of field | Required | Description |
code | text | Optional | Inhouse personnel code to perform the filter. |
start | Entire | Optional | Record number from which you want to start the consult. All consults are limited to 100 records, when there is more than that amount this parameter should be used for pagination. |
limit | Enter | Optional | Number of records that the consult will return (Maximum 100 – Value by default) |
Output Parameters
Parameter | Type of field | Description |
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 inhouse personnel |
code | Text | Inhouse personnel code |
first_name | Text | Name |
last_name | Text | Surname |
Text | ||
active | Boolean | True if the inhouse personnel is active and false otherwise./td> |
creation_date | Text | Creation date |
address | Text | Address |
city | Text | City |
state | Text | State/Department/Region |
zip_code | Text | Zip code |
country | Text | Country |
latitude | Text | Latitude |
longitud | Text | length |
telephone | Text | Main phone |
telephone_2 | Text | Secondary phone |
sms | Text | Phone SMS |
asset_location_description | Text | Located or is part of |
hourly_rates_description | Text | Ordinary hour value |
groups_1_description | Text | Classification 1 |
groups_2_description | Text | Classification 2 |
only_request | Boolean | True if the user is request only, false otherwise |
account_active | Boolean | True if the user account is active, false otherwise |
Example:
Petition: https://app.fracttal.com/api/personnel/234004476
Example Response:
{
"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
}