API Endpoints
Fracttal →

Create a human resource

Using this API you can create a human resource.

Input parameters

ParameterTypeRequiredDescription
first_nameTextRequiredNames of human resources
last_nameTextOptionalLast name of human resources
codeTextOptionalHuman Resources Code.
emailTextOptionalE-mail address
activeTextOptionalResource enabled. Send true or false
code_asset_locationTextOptionalCode of the asset in which the human resource will be located.
group_1TextOptionalDescription of classification 1
group_2TextOptionalDescription of classification 2
addressTextOptionalAddress
cityTextOptionalCity
stateTextOptionalState
zip_codeTextOptionalArea code
countryTextOptionalCountry
latitudeTextOptionalLatitude
longitudTextOptionalLonguitude
telephoneTextOptionalPhone
telephone_2TextOptionalPhone 2.
smsTextOptionalSms
id_hourly_rateIntegerOptionalId of the hourly rate (Do not send if description_hourly_rate field is sent)
description_hourly_rateTextOptionalOrdinary time description (Do not send if id_hourly_rate field is sent)

Output parameters

ParameterTypeDescription
successBooleanTrue if the insert was successful or false otherwise
messageText200 if successful
dataTextJson with inserted item
totalNumberNumber of inserted records (always 1)

Example

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

{
	"first_name":"Fracttal SPA",
	"last_name":"Software de Gestión de activos y  mantenimiento",
	"code":"fracttal_recurso_humano",
	"address":"San Pio X",
	"country":"Chile",
	"email":"[email protected]",
	"active": "true",
	"city":"Providencia",
	"state": "Region Metropolitana",
	"telephone_1":"555-555-55",
        "id_hourly_rate":47
}

Test It

Test It

Language