HCM Cadastros
Criar uma nova requisição de férias
Changed onEste endpoint permite o registro de uma nova requisição de férias de um funcionário. O processo é realizado em duas etapas internas: validação dos campos e período aquisitivo, seguida do lançamento da solicitação.
Versão mínima do módulo pessoal: 5.106.0
post/v1/pessoal/funcionarios/requisicoes-ferias
Request
- Base URLhttps://api.sankhya.com.br
- URLhttps://api.sankhya.com.br/v1/pessoal/funcionarios/requisicoes-ferias
- AuthAPI key in header Authorization
Request body
Example request
{
"codFunc": 100,
"codEmp": 1,
"periodoAquisitivo": {
"dataInicioAquisitivo": "01/03/2024",
"dataFimAquisitivo": "01/03/2025"
},
"ferias": {
"dataInicioGozo": "01/07/2024",
"numeroDias": 30,
"abonoPecuniario": 10
}
}Response
Requisição de Férias criada com sucesso.
Example response
{
"codigoSolicitacao": 42
}Changes
- breaking
the
response's property type changed fromstringtoobjectfor status - warning
removed the optional property
from the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- breaking