API Endpoints
Fracttal →

Update a human resource

Through this API you can update an existing human resource in Fracttal. To perform this update the human resource must have the code field filled in.

Input parameters

ParameterTypeRequiredDescription
first_nameTextRequiredNames of human resources
last_nameTextOptionalLast name of human resources
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

Example

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

{
	"address":"Holanda 2378",
	"email":"[email protected]",
	"zip_code":"7500000",
        "id_hourly_rate":47
}

Test It

Test It

Language