Criar uma nova requisição de admissão
Changed onEste endpoint permite o registro de uma nova requisição de admissão, incluindo informações detalhadas sobre o trabalhador, seu cargo, categoria, dados contratuais e cadastrais.
Versão mínima do módulo pessoal: 5.125.0
Request
- Base URLhttps://api.sankhya.com.br
- URLhttps://api.sankhya.com.br/v2/funcionarios/admissao
- AuthAPI key in header Authorization
Request body
Example request
{
"nome": "João Silva",
"cpf": "12345678900",
"estadoCivil": 1,
"possuiFilhos": true,
"identidadeGenero": "C",
"nivelEscolaridade": 9,
"nomeSocial": "Joana Oliveira",
"orientacaoSexual": "E",
"sexo": "M",
"racaEtnia": 2,
"observacaoDeficiencia": "Deficiência auditiva leve",
"urlFotoPerfil": "https://imgur.com/abcd",
"anexosCpf": [
{
"nome": "Documento - frente",
"url": "https://imgur.com/abcd"
}
],
"anexosAdmissao": [
{
"nome": "Documento - frente",
"url": "https://imgur.com/abcd"
}
],
"nascimento": {
"data": "01/11/1978",
"codigoUF": 1,
"codigoCidade": 15,
"nacionalidade": 10,
"nomeMae": "Maria Silva",
"nomePai": "José Silva"
},
"contato": {
"email": "funcionario@exemplo.com",
"emailCorporativo": "funcionario@empresa.com.br"
},
"endereco": {
"codigoEndereco": 40,
"complemento": "Apto 101",
"codigoBairro": 54,
"codigoCidade": 15,
"codigoUF": 11,
"codigoPais": 31,
"anexos": [
{
"nome": "Conta de luz",
"url": "https://imgur.com/abcd"
}
]
},
"contrato": {
"codigoEmpresa": 1,
"codigoDepartamento": 100100,
"codigoCargo": 12,
"codigoFuncao": 9,
"codigoCargaHoraria": 1,
"codigoCategoria": 3,
"codigoCategoriaESocial": 2,
"codigoCidadeTrabalho": 56,
"horasSemanais": 40.5,
"mei": true,
"percentualAdiantamento": 10.5,
"percentualInsalubridade": 20,
"percentualPericulosidade": 30,
"regimePrevidencia": 1,
"regimeJornadaTrabalho": 1,
"regimeTrabalho": 1,
"codigoLocalTrabalho": 12,
"sindicato": {
"codigo": 4,
"sindicalizado": true
},
"admissao": {
"tipo": "S",
"indicativo": 1,
"data": "01/11/2024"
},
"remuneracao": {
"tipo": 1,
"base": 2500,
"salarioBase": 3000,
"tipoSalario": 1
},
"fgts": {
"dataOpcao": "01/11/2024",
"optante": true,
"tabelaOcorrencia": "00",
"tabelaCategoria": "00"
},
"periodoExperiencia": {
"dataVencimento1": "05/10/2021",
"dataVencimento2": "25/11/2021"
},
"dataTerminoContrato": "01/12/2026",
"dataAso": "05/10/2021"
},
"documentos": {
"pis": {
"dataCadastro": "05/11/2024"
},
"cnh": {
"categoria": "B",
"dataEmissao": "01/11/2024",
"uf": 11,
"vencimento": "01/06/2025",
"orgao": "Detran-SP",
"dataPrimeira": "15/06/2024",
"anexos": [
{
"nome": "CNH - frente",
"url": "https://imgur.com/abcd"
}
]
},
"rg": {
"data": "01/11/2024",
"orgaoEmissor": "SSP-SP",
"uf": 11,
"anexos": [
{
"nome": "RG - frente",
"url": "https://imgur.com/abcd"
}
]
},
"ctps": {
"digital": true,
"numero": 1234567,
"codigoUF": 11,
"data": "03/11/2024"
},
"tituloEleitoral": {
"anexos": [
{
"nome": "Título de Eleitor - Frente",
"url": "https://imgur.com/abcd"
}
]
},
"passaporte": {
"numero": "AB1234567",
"dataEmissao": "01/11/2024",
"dataValidade": "01/11/2028",
"emissor": "Polícia Federal"
}
},
"trabalhadorEstrangeiro": {
"classificacao": 2,
"prazoResidencia": 1,
"dataChegadaPais": "01/10/2024",
"rne": {
"dataVencimento": "01/11/2024",
"orgaoEmissor": "PF"
}
},
"informacoesBancarias": {
"codigoAgencia": "8739X",
"codigoBanco": 2,
"numeroConta": "8739X",
"tipoConta": "S",
"anexos": [
{
"nome": "Conta Bancária"
}
]
},
"convenios": {
"possuiConvenioMedico": true,
"possuiSeguroVida": true,
"possuiValeAlimentacaoRefeicao": true
},
"observacao": "Colaborador irá atuar no atendimento ao cliente.",
"deficiencias": [
{
"tipo": 2
}
],
"dependentes": [
{
"pessoal": {
"nome": "Joaquim da Silva",
"cpf": "12345678901",
"sexo": "M",
"convenio": true,
"idadeEscolar": true,
"racaEtnia": 20,
"anexosCpf": [
{
"nome": "Documento - frente",
"url": "https://imgur.com/abcd"
}
]
},
"nascimento": {
"data": "01/12/2000",
"nacionalidade": 10,
"naturalidade": 15,
"nomeMae": "Maria Silva",
"anexosRg": [
{
"nome": "Documento - frente",
"url": "https://imgur.com/abcd"
}
]
},
"dependencia": {
"grauParentesco": 1,
"dependenteIRRF": true,
"dataInicioDependencia": "05/06/2019",
"dataFimDependencia": "12/02/2024",
"motivoInicio": 10,
"motivoFim": 50,
"dataLimiteIRRF": "26/09/2028",
"descricaoDependencia": "Observação dependência"
},
"pensao": {
"tipo": "L",
"codigoParceiro": 25,
"percentual": 5.5,
"valor": 2000,
"percentualRepassePensionista": 100,
"percentualHomologNet": 15,
"percentualHomologNetFGTS": 15,
"anexosOficioPensao": [
{
"nome": "Documento - frente",
"url": "https://imgur.com/abcd"
}
]
},
"salarioFamilia": {
"dataLimite": "26/09/2028"
},
"auxilioCreche": {
"receber": true,
"temAtestado": true,
"dataLimite": "11/04/2026"
}
}
],
"camposAdicionais": [
{
"nomeCampo": "AD_APELIDO"
}
],
"statusRequisicao": "Aprovado",
"aprovacaoRequisicao": {
"gerarCodigoFuncionarioAutomatico": true,
"codigoFuncionario": 1001,
"gerarMatriculaAutomatica": true,
"matricula": 500123
}
}Response
Requisição de Admissão criada com sucesso.
Example response
{
"codigoRequisicao": 13
}Changes
- breaking
removed the enum value
0.00of the request property/// - breaking
removed the enum value
02of the request property/ - breaking
removed the enum value
2.00of the request property/// - breaking
removed the enum value
4.00of the request property/// - breaking
removed the enum value
6.00of the request property/// - breaking
removed the enum value
8.00of the request property// - breaking
removed the enum value
8.00of the request property/// - breaking
removed the enum value
9.00of the request property/// - breaking
removed the enum value
9.00of the request property - breaking
the
/request property type changed fromintegertostring - breaking
the
response's property type changed fromstringtoobjectfor status - warning
removed the optional property
from the response with the status - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
- info
added the new
08enum value to the request property// - info
added the new
10.00enum value to the request property/// - info
added the new
2enum value to the request property/ - info
added the new
20.00enum value to the request property/// - info
added the new
30.00enum value to the request property/// - info
added the new
40.00enum value to the request property/// - info
added the new
50.00enum value to the request property/// - info
added the new
60.00enum value to the request property/// - 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