2.0info: 1.3.2 multi_surveys_hcm_employee description: Serviço de Employee para o Multi Surveys, responsável por fornecer os dados dos colaboradores e empresas para o multi-pesquisas. x-senior-domain: hcm x-senior-domain-path: hcm x-senior-service-path: multi_surveys_hcm_employee contact: name: Senior X Platform url: https://dev.senior.com.br email: seniorx-dev@senior.com.brhost: api.senior.com.br /hcm/multi_surveys_hcm_employeesecurityDefinitions: bearerAuth: type: apiKey in: header name: Authorization – application/json – application/jsonparameters: clientId: name: client_id type: string in: header required: true description: Identificação da aplicação cadastrada no portal do desenvolvedor (api.xplatform.com.br)paths: /listEmployees: post: description: Api de consulta de colaboradores para o multi-pesquisas. x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – size – page properties: size: type: integer description: tamanho da página page: type: integer description: página a ser consultada employeeId: type: string description: filtro de id do colaborador employeeIds: type: array items: type: string description: filtro de colaboradores companyId: type: string description: filtro de empresa do colaborador dismissalPeriodStart: type: string description: Periodo de demissão – início dismissalPeriodEnd: type: string description: Periodo de demissão – fim personId: type: string description: filtro de id da pessoa responses: 200: description: Ok schema: type: object required: – totalElements – totalPages – contents properties: totalElements: type: integer description: Indica quantos registros foram encontrados totalPages: type: integer description: Indica o número de páginas da consulta (incluindo a atual) contents: #/definitions/employeeResponse default: description: Error response schema: #/definitions/genericError get: description: Api de consulta de colaboradores para o multi-pesquisas. x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – size – page properties: size: type: integer description: tamanho da página page: type: integer description: página a ser consultada employeeId: type: string description: filtro de id do colaborador employeeIds: type: array items: type: string description: filtro de colaboradores companyId: type: string description: filtro de empresa do colaborador dismissalPeriodStart: type: string description: Periodo de demissão – início dismissalPeriodEnd: type: string description: Periodo de demissão – fim personId: type: string description: filtro de id da pessoa responses: 200: description: Ok schema: type: object required: – totalElements – totalPages – contents properties: totalElements: type: integer description: Indica quantos registros foram encontrados totalPages: type: integer description: Indica o número de páginas da consulta (incluindo a atual) contents: #/definitions/employeeResponse default: description: Error response schema: #/definitions/genericErrordefinitions: contractType: type: string enum: – EMPLOYEE – MANAGER – FARM_WORKER – RETIRED – TRAINEE – APRENDIZ – FIXED_DUE_DATE – RETIRED_MANAGER – PUBLIC_AGENT – TEACHER – COOPERATIVE_WORKER – DOMESTIC_WORKER – TEACHER_FIXED_DUE_DATE – THIRD_PARTY employeeType: type: string enum: – EMPLOYEE – THIRDPARTY – PARTNER employmentRelationshipType: type: string enum: – EMPREGADO_GERAL – EMPREGADO_TRABALHADOR_RURAL_POR_PEQUENO_PRAZO_DA_LEI_11_718_2008 – EMPREGADO_APRENDIZ – EMPREGADO_DOMESTICO – EMPREGADO_CONTRATO_A_TERMO_FIRMADO_NOS_TERMOS_DA_LEI_9601_98 – TRABALHADOR_TEMPORARIO_CONTRATO_NOS_TERMOS_DA_LEI_6019_74 – EMPREGADO_CONTRATO_DE_TRABALHO_VERDE_E_AMARELO_SEM_ACORDO_PARA_ANTECIPACAO_MENSAL_DA_MULTA_RESCISORIA_DO_FGTS – EMPREGADO_CONTRATO_DE_TRABALHO_VERDE_E_AMARELO_COM_ACORDO_PARA_ANTECIPACAO_MENSAL_DA_MULTA_RESCISORIA_DO_FGTS – EMPREGADO_CONTRATO_DE_TRABALHO_INTERMITENTE – TRABALHADOR_AVULSO_PORTUARIO – TRABALHADOR_AVULSO_NAO_PORTUARIO – SERVIDOR_PUBLICO_TITULAR_DE_CARGO_EFETIVO_MAGISTRADO_MINISTRO_DE_TRIBUNAL_DE_CONTAS_CONSELHEIRO_DE_TRIBUNAL_CONTAS_E_MEMBRO_DO_MINISTERIO_PUBLICO – SERVIDOR_PUBLICO_OCUPANTE_DE_CARGO_EXCLUSIVO_EM_COMISSAO – EXERCENTE_DE_MANDATO_ELETIVO – SERVIDOR_PUBLICO_EXERCENTE_DE_MANDATO_ELETIVO_INCLUSIVE_COM_EXERCICIO_DE_CARGO_EM_COMISSAO – SERVIDOR_PUBLICO_INDICADO_PARA_CONSELHO_OU_ORGAO_REPRESENTATIVO_NA_CONDICAO_DE_REPRESENTANTE_DO_GOVERNO_ORGAO_OU_ENTIDADE_DA_ADMINISTRACAO_PUBLICA – SERVIDOR_PUBLICO_CONTRATADO_POR_TEMPO_DETERMINADO_SUJEITO_A_REGIME_ADMINISTRATIVO_ESPECIAL_DEFINIDO_EM_LEI_PROPRIA – MILITAR – CONSCRITO – AGENTE_PUBLICO_OUTROS – SERVIDOR_PUBLICO_EVENTUAL – MINISTROS_JUIZES_PROCURADORES_PROMOTORES_OU_OFICIAIS_DE_JUSTICA_A_DISPOSICAO_DA_JUSTICA_ELEITORAL – AUXILIAR_LOCAL – SERVIDOR_PUBLICO_EXERCENTE_DE_ATIVIDADE_DE_INSTRUTORIA_CAPACITACAO_TREINAMENTO_CURSO_OU_CONCURSO_OU_CONVOCADO_PARA_PARECERES_TECNICOS_OU_DEPOIMENTOS – DIRIGENTE_SINDICAL_INFORMACAO_PRESTADA_PELO_SINDICATO – TRABALHADOR_CEDIDO_EXERCICIO_EM_OUTRO_ORGAO_JUIZ_AUXILIAR_INFORMACAO_PRESTADA_PELO_CESSIONARIO_DESTINO – CONTRIBUINTE_INDIVIDUAL_AUTONOMO_EM_GERAL_EXCETO_SE_ENQUADRADO_EM_UMA_DAS_DEMAIS_CATEGORIAS_DE_CONTRIBUINTE_INDIVIDUAL – CONTRIBUINTE_INDIVIDUAL_TRANSPORTADOR_AUTONOMO_DE_PASSAGEIROS – CONTRIBUINTE_INDIVIDUAL_TRANSPORTADOR_AUTONOMO_DE_CARGA – CONTRIBUINTE_INDIVIDUAL_DIRETOR_NAO_EMPREGADO_COM_FGTS – CONTRIBUINTE_INDIVIDUAL_DIRETOR_NAO_EMPREGADO_SEM_FGTS – CONTRIBUINTE_INDIVIDUAL_EMPRESARIOS_SOCIOS_E_MEMBRO_DE_CONSELHO_DE_ADMINISTRACAO_OU_FISCAL – CONTRIBUINTE_INDIVIDUAL_COOPERADO_QUE_PRESTA_SERVICOS_A_EMPRESA_POR_INTERMEDIO_DE_COOPERATIVA_DE_TRABALHO – CONTRIBUINTE_INDIVIDUAL_TRANSPORTADOR_COOPERADO_QUE_PRESTA_SERVICOS_POR_INTERMEDIO_DE_COOPERATIVA_DE_TRABALHO – CONTRIBUINTE_INDIVIDUAL_COOPERADO_FILIADO_A_COOPERATIVA_DE_PRODUCAO – CONTRIBUINTE_INDIVIDUAL_MICRO_EMPREENDEDOR_INDIVIDUAL – CONTRIBUINTE_INDIVIDUAL_MAGISTRADO_CLASSISTA_TEMPORARIO_DA_JUSTICA_DO_TRABALHO_OU_DA_JUSTICA_ELEITORAL_QUE_SEJA_APOSENTADO_DE_QUALQUER_REGIME_PREVIDENCIARIO – CONTRIBUINTE_INDIVIDUAL_ASSOCIADO_ELEITO_PARA_DIRECAO_DE_COOPERATIVA_ASSOCIACAO_OU_ENTIDADE_DE_CLASSE_DE_QUALQUER_NATUREZA_OU_FINALIDADE_BEM_COMO_O_SINDICO_OU_ADM_DESDE_QUE_RECEBAM_REMUNERACAO – CONTRIBUINTE_INDIVIDUAL_MEMBRO_DE_CONSELHO_TUTELAR_NOS_TERMOS_DA_LEI_N_8_069_DE_13_DE_JULHO_DE_1990 – MINISTRO_DE_CONFISSAO_RELIGIOSA_OU_MEMBRO_DE_VIDA_CONSAGRADA_DE_CONGREGACAO_OU_DE_ORDEM_RELIGIOSA – ESTAGIARIO – MEDICO_RESIDENTE – BOLSISTA_NOS_TERMOS_DA_LEI_8958_1994 – PARTICIPANTE_DE_CURSO_DE_FORMACAO_COMO_ETAPA_DE_CONCURSO_PUBLICO_SEM_VINCULO_DE_EMPREGO_ESTATUTARIO – ATLETA_NAO_PROFISSIONAL_EM_FORMACAO_QUE_RECEBA_BOLSA – BENEFICIARIO_ENTE_PUBLICO – BENEFICIARIO_ENTE_PUBLICO_SOMENTE_CADASTRO_BENEFICIO – DEMITIDO_COM_DATA_ANTERIOR_A_SUCESSAO_CATEGORIA_EXCLUSIVA_SENIOR – NAO_SE_APLICA phoneContactType: type: string enum: – PERSONAL – PROFESSIONAL – MOBILE – BUSINESS_FAX – PERSONAL_FAX – OTHER employeeResponse: type: object required: – contractType – hireDate – dismissalDate – employeeType – employmentrelationshiptype – jobPosition – department – costCenter – workShift – workstation properties: id: type: string description: ID do Colaborador contractType: #/definitions/contractType hireDate: type: string description: Data de admissão format: date dismissalDate: type: string description: Data de demissão format: date employeeType: #/definitions/employeeType registerNumber: type: integer description: Número da matrícula na G5 (numcad) employmentrelationshiptype: #/definitions/employmentRelationshipType jobPosition: #/definitions/jobPositionRecord department: #/definitions/departmentRecord costCenter: #/definitions/costCenterRecord workShift: #/definitions/workShiftRecord employer: type: string description: Empregador person: #/definitions/personRecord phoneContact: type: array items: #/definitions/phoneContactRecord description: Contato telefônico emails: type: array items: #/definitions/employeeEmailRecord description: Emails vinculado ao colaborador workstation: #/definitions/workstationRecord managerId: type: string description: ID do gestor direto jobPositionRecord: type: object required: – codcar properties: id: type: string description: ID do Cargo name: type: string description: Nome do cargo codcar: type: string description: Código do Cargo departmentRecord: type: object properties: id: type: string description: ID Departamento tableCode: type: integer description: Tabela de organograma position: type: string description: Posição code: type: string description: Código G5 do departamento/local (codloc) name: type: string description: Nome do departamento creationDate: type: string description: Data de criação format: date expirationDate: type: string description: Data de expiração format: date historicExpirationDate: type: string description: Histórico data de expiração format: date costCenterRecord: type: object required: – codccu properties: id: type: string description: ID da entidade name: type: string description: Nome do centro de custo codccu: type: string description: Código do centro de custo descriptionCode: type: string description: Descrição do código creationDate: type: string description: Data de criação format: date expirationDate: type: string description: Data de expiração format: date company: type: string description: Empresa workShiftRecord: type: object required: – name – codesc – workload properties: id: type: string description: ID do turno name: type: string description: Descrição do turno codesc: type: integer description: Código do turno workload: type: integer description: Carga horária do turno (em min/mês) personRecord: type: object required: – firstname – lastname – socialName – nickname – fullName properties: id: type: string description: ID da Pessoa firstname: type: string description: Primeiro nome da pessoa middlename: type: string description: Segundo nome da pessoa lastname: type: string description: Último nome da pessoa (Sobrenome) socialName: type: string description: Nome social nickname: type: string description: Apelido da pessoa fullName: type: string description: Nome completo birthday: type: string description: Data de nascimento da pessoa format: date cpf: type: string description: CPF (Cadastro de Pessoas Físicas) da pessoa phoneContactRecord: type: object required: – carrier – countryCode – localCode – number – extention – phoneContactType properties: id: type: string description: ID do telefone de contato carrier: type: string description: Operador countryCode: type: integer description: Código do País localCode: type: integer description: DDD number: type: string description: Número extention: type: string description: extensão phoneContactType: #/definitions/phoneContactType employeeEmailRecord: type: object required: – id – email properties: id: type: string description: ID do email email: type: string description: E-mail da pessoal vinculada workstationRecord: type: object required: – id – workstationGroup properties: id: type: string description: ID da entidade workstationGroup: #/definitions/workstationGroupRecord hierarchyItem: #/definitions/hierarchyItemRecord workstationGroupRecord: type: object required: – id – postra properties: id: type: string description: ID da entidade name: type: string description: Nome do grupo de trabalho postra: type: string description: Código do posto de Trabalho hierarchyItemRecord: type: object required: – id – parent properties: id: type: string description: ID do item parent: #/definitions/hierarchyItemRecord genericError: properties: message: type: string description: Messaging describing the error. reason: type: string description: A symbolic code identifying the category of the reason of the error. enum: – BAD_REQUEST – UNAUTHORIZED – PAYMENT_REQUIRED – FORBIDDEN – OBJECT_NOT_FOUND – REQUEST_TIMEOUT – GONE – UNPROCESSABLE – INTERNAL_ERROR – NOT_IMPLEMENTED – SERVICE_UNAVAILABLE – INSUFFICIENT_STORAGE