Skip to main content
POST
/
funcionarios
Criar funcionários
curl --request POST \
  --url https://api-hml.ponto-on.com/funcionarios \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cargo": "Desenvolvedor Junior",
  "cpf": "123.123.123-20",
  "dataNascimento": "14/05/1996",
  "email": "teste@funcionario.com",
  "empresaId": 2,
  "escalaTrabalhoId": 1,
  "nome": "Leticia Ferreira de Lima",
  "password": "123456789",
  "telefone": "31996745309"
}
'
{
  "cargo": "Desenvolvedor Junior",
  "cpf": "123.123.123-20",
  "dataNascimento": "14/05/1996",
  "email": "teste@funcionario.com",
  "empresaId": 2,
  "escalaTrabalhoId": 1,
  "nome": "Leticia Ferreira de Lima",
  "password": "alsdkjalksjdo@8123iasjdoaisjdoi",
  "telefone": "31996745309"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
cargo
string
Example:

"Desenvolvedor Junior"

cpf
string
Example:

"123.123.123-20"

dataNascimento
string
Example:

"14/05/1996"

email
string
Example:

"teste@funcionario.com"

empresaId
number
Example:

2

escalaTrabalhoId
number
Example:

1

nome
string
Example:

"Leticia Ferreira de Lima"

password
string
Example:

"123456789"

telefone
string
Example:

"31996745309"

Response

200 - application/json

Criar funcionários

cargo
string
Example:

"Desenvolvedor Junior"

cpf
string
Example:

"123.123.123-20"

dataNascimento
string
Example:

"14/05/1996"

email
string
Example:

"teste@funcionario.com"

empresaId
number
Example:

2

escalaTrabalhoId
number
Example:

1

nome
string
Example:

"Leticia Ferreira de Lima"

password
string
Example:

"alsdkjalksjdo@8123iasjdoaisjdoi"

telefone
string
Example:

"31996745309"