2.0info: 3.3.1 hierarchy x-senior-domain: hcm x-senior-domain-path: hcm x-senior-service-path: hierarchy contact: name: Senior X Platform url: https://dev.senior.com.br email: seniorx-dev@senior.com.brhost: platform.senior.com.br /t/senior.com.br/bridge/1.0/rest/hcmsecurityDefinitions: APIKeyHeader: type: apiKey in: header name: Authorizationsecurity: – APIKeyHeader: [] – application/json – application/jsonpaths: /hierarchy/queries/healthcheck: post: description: HealthCheck Plataforma tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/heathcheckDTO description: Status de retorno checks: type: object allOf: – #/definitions/checkDTO description: Checks executados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: HealthCheck Plataforma tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/heathcheckDTO description: Status de retorno checks: type: object allOf: – #/definitions/checkDTO description: Checks executados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getCurrentUserPositions: post: description: Traz uma lista com todas as posições do colaborador atual tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/simplePositionDTO minimum: 1 description: Posições do usuário atual 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Traz uma lista com todas as posições do colaborador atual tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/simplePositionDTO minimum: 1 description: Posições do usuário atual 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getAgentXPositionFilters: post: description: Traz os filtros de hierarquia do colaborador atual tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – positions – companyId properties: positions: type: array items: type: object allOf: – #/definitions/simplePositionDTO minimum: 1 description: Posições do usuário atual companyId: type: string description: ID da empresa utilizada para buscar as posições do usuário atual 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Traz os filtros de hierarquia do colaborador atual tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – positions – companyId properties: positions: type: array items: type: object allOf: – #/definitions/simplePositionDTO minimum: 1 description: Posições do usuário atual companyId: type: string description: ID da empresa utilizada para buscar as posições do usuário atual 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/isAllowedToAccessSensitiveInformationOfEmployee: post: description: Pode acessar informações sensíveis de um colaborador tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – employeeId properties: employeeId: type: string description: Identificador do colaborador substitutedEmployeeId: type: string description: Identificador do substituto resource: type: string description: Recurso responses: 200: description: Ok schema: type: object required: – isAllowed properties: isAllowed: type: boolean description: Permissão de acesso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Pode acessar informações sensíveis de um colaborador tags: – Queries x-senior-visibility: PRIVATE parameters: – name: employeeId description: Identificador do colaborador in: query required: true type: string – name: substitutedEmployeeId description: Identificador do substituto in: query type: string – name: resource description: Recurso in: query type: string responses: 200: description: Ok schema: type: object required: – isAllowed properties: isAllowed: type: boolean description: Permissão de acesso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/isAllowedToAccessSensitiveInformationOfPerson: post: description: Pode acessar informações sensíveis de uma pessoa tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – personId properties: personId: type: string description: Identificador da pessoa responses: 200: description: Ok schema: type: object required: – isAllowed properties: isAllowed: type: boolean description: Permissão de acesso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Pode acessar informações sensíveis de uma pessoa tags: – Queries x-senior-visibility: PRIVATE parameters: – name: personId description: Identificador da pessoa in: query required: true type: string responses: 200: description: Ok schema: type: object required: – isAllowed properties: isAllowed: type: boolean description: Permissão de acesso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getAvailableProducts: post: description: Retorna os produtos que possuem agentes tags: – Queries x-senior-visibility: PUBLIC responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: string allOf: – #/definitions/productFilter minimum: 1 description: Lista contendo todos produtos disponíveis 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna os produtos que possuem agentes tags: – Queries x-senior-visibility: PUBLIC responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: string allOf: – #/definitions/productFilter minimum: 1 description: Lista contendo todos produtos disponíveis 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getFilterData: post: description: Busca os filtros do usuário atual tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – product properties: product: type: string allOf: – #/definitions/productFilter description: Produto para o qual será buscado os filtros responses: 200: description: Ok schema: type: object required: – positions – filterGroups properties: positions: type: array items: type: object allOf: – #/definitions/simplePositionDTO minimum: 1 description: Posições do usuário atual filterGroups: type: array items: type: object allOf: – #/definitions/filterGroup minimum: 1 description: Filtros de abrangência do usuário 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca os filtros do usuário atual tags: – Queries x-senior-visibility: PUBLIC parameters: – name: product description: Produto para o qual será buscado os filtros in: query required: true type: string allOf: – #/definitions/productFilter responses: 200: description: Ok schema: type: object required: – positions – filterGroups properties: positions: type: array items: type: object allOf: – #/definitions/simplePositionDTO minimum: 1 description: Posições do usuário atual filterGroups: type: array items: type: object allOf: – #/definitions/filterGroup minimum: 1 description: Filtros de abrangência do usuário 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/searchDescendentsLeaders: post: description: Retorna a lista de liderados que são gestores tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – activeEmployeeId properties: activeEmployeeId: type: string description: Identificador único do colaborador logado no sistema page: type: integer format: int64 description: Página a ser buscada size: type: integer format: int64 description: Tamanho da página q: type: string description: Termo para filtrar responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/generalFilterResultInfo minimum: 1 description: Resultado da busca 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna a lista de liderados que são gestores tags: – Queries x-senior-visibility: PRIVATE parameters: – name: activeEmployeeId description: Identificador único do colaborador logado no sistema in: query required: true type: string – name: page description: Página a ser buscada in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 – name: q description: Termo para filtrar in: query type: string responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/generalFilterResultInfo minimum: 1 description: Resultado da busca 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/searchDescendents: post: description: Retorna a lista de liderados tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – activeEmployeeId properties: activeEmployeeId: type: string description: Identificador único do colaborador logado no sistema descendants: type: string allOf: – #/definitions/descendentsType description: Tipo de liderado leaders: type: array items: type: string description: Ids dos líderes dos colaboradores page: type: integer format: int64 description: Página a ser buscada size: type: integer format: int64 description: Tamanho da página q: type: string description: Termo para filtrar responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/generalFilterResultInfo minimum: 1 description: Resultado da busca 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/isCurrentUserManager: post: description: Retorna se o usuário atual é um gestor de acordo com a hierarquia atual tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – isManager properties: isManager: type: boolean description: TRUE caso o usuário seja gestor, FALSE caso contrário 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna se o usuário atual é um gestor de acordo com a hierarquia atual tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – isManager properties: isManager: type: boolean description: TRUE caso o usuário seja gestor, FALSE caso contrário 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getSuperiorHierarchyItems: post: description: Busca as posições superiores da hierarquia e seus ocupantes tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – employeeId properties: employeeId: type: string description: Colaborador leadersType: type: string allOf: – #/definitions/leadersType description: Tipo de líder(se null retorna todos) responses: 200: description: Ok schema: type: object required: – superiorHierarchyItens properties: superiorHierarchyItens: type: array items: type: object allOf: – #/definitions/newHierarchyItemCardDTO minimum: 1 description: Posições superiores do colaborador 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca as posições superiores da hierarquia e seus ocupantes tags: – Queries x-senior-visibility: PRIVATE parameters: – name: employeeId description: Colaborador in: query required: true type: string – name: leadersType description: Tipo de líder(se null retorna todos) in: query type: string allOf: – #/definitions/leadersType responses: 200: description: Ok schema: type: object required: – superiorHierarchyItens properties: superiorHierarchyItens: type: array items: type: object allOf: – #/definitions/newHierarchyItemCardDTO minimum: 1 description: Posições superiores do colaborador 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/searchHierarchyItem: post: description: Realiza uma pesquisa de HierarchyItemDTO com base nos parâmetros de consulta fornecidos. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – q – hierarchyId properties: q: type: string description: string de consulta a ser usada para corresponder a registros de HierarchyItemDTO hierarchyId: type: string description: O identificador da hierarquia a ser usado na pesquisa responses: 200: description: Ok schema: type: object required: – hierarchyItems properties: hierarchyItems: type: array items: type: object allOf: – #/definitions/hierarchyItemDTO minimum: 1 description: Lista de HierarchyItemDTO correspondentes à consulta 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Realiza uma pesquisa de HierarchyItemDTO com base nos parâmetros de consulta fornecidos. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: q description: string de consulta a ser usada para corresponder a registros de HierarchyItemDTO in: query required: true type: string – name: hierarchyId description: O identificador da hierarquia a ser usado na pesquisa in: query required: true type: string responses: 200: description: Ok schema: type: object required: – hierarchyItems properties: hierarchyItems: type: array items: type: object allOf: – #/definitions/hierarchyItemDTO minimum: 1 description: Lista de HierarchyItemDTO correspondentes à consulta 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getLeadersOfPerson: post: description: Retorna os Líderes da pessoa de acordo com a hierarquia atual tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – personId properties: personId: type: string description: Identificador da pessoa responses: 200: description: Ok schema: type: object required: – leaderPersonIds properties: leaderPersonIds: type: array items: type: string minimum: 1 description: Lista de pessoas ocupantes dos postos superiores 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna os Líderes da pessoa de acordo com a hierarquia atual tags: – Queries x-senior-visibility: PRIVATE parameters: – name: personId description: Identificador da pessoa in: query required: true type: string responses: 200: description: Ok schema: type: object required: – leaderPersonIds properties: leaderPersonIds: type: array items: type: string minimum: 1 description: Lista de pessoas ocupantes dos postos superiores 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getEmployeeByPersonAndLeader: post: description: Retorna o colaborador de acordo com o identificador da pessoa e do líder tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – personId – leaderPersonId properties: personId: type: string description: Identificador da pessoa leaderPersonId: type: string description: Identificador do líder (person) responses: 200: description: Ok schema: type: object properties: employeeId: type: string description: Colaborador 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna o colaborador de acordo com o identificador da pessoa e do líder tags: – Queries x-senior-visibility: PRIVATE parameters: – name: personId description: Identificador da pessoa in: query required: true type: string – name: leaderPersonId description: Identificador do líder (person) in: query required: true type: string responses: 200: description: Ok schema: type: object properties: employeeId: type: string description: Colaborador 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getPairsAndSuperiorHierarchyItems: post: description: Busca itens da hierarquia associada ao coloaborador do contexto atual ou ao item de hierarquia passado por parâmetro tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – nhHierarchyId properties: nhHierarchyId: type: string description: Hierarquia hierarchyItemId: type: string description: Item da hierarquia responses: 200: description: Ok schema: type: object required: – hierarchyItems properties: hierarchyItems: type: array items: type: object allOf: – #/definitions/newHierarchyItemCardDTO minimum: 1 description: Itens da hierarquia relacionados ao item buscado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca itens da hierarquia associada ao coloaborador do contexto atual ou ao item de hierarquia passado por parâmetro tags: – Queries x-senior-visibility: PRIVATE parameters: – name: nhHierarchyId description: Hierarquia in: query required: true type: string – name: hierarchyItemId description: Item da hierarquia in: query type: string responses: 200: description: Ok schema: type: object required: – hierarchyItems properties: hierarchyItems: type: array items: type: object allOf: – #/definitions/newHierarchyItemCardDTO minimum: 1 description: Itens da hierarquia relacionados ao item buscado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getChildrenHierarchyItems: post: description: API utilizada para montar a árvore da tela de hierarquia, começando pela posição passada por parâmetro e subindo os nós da árvore até a sua raíz tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – nhHierarchyId – parentHierarchyItem properties: nhHierarchyId: type: string description: Hierarquia parentHierarchyItem: type: string description: Item da hierarquia responses: 200: description: Ok schema: type: object required: – hierarchyItems properties: hierarchyItems: type: array items: type: object allOf: – #/definitions/newHierarchyItemCardDTO minimum: 1 description: Itens da hierarquia relacionados ao item buscado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: API utilizada para montar a árvore da tela de hierarquia, começando pela posição passada por parâmetro e subindo os nós da árvore até a sua raíz tags: – Queries x-senior-visibility: PRIVATE parameters: – name: nhHierarchyId description: Hierarquia in: query required: true type: string – name: parentHierarchyItem description: Item da hierarquia in: query required: true type: string responses: 200: description: Ok schema: type: object required: – hierarchyItems properties: hierarchyItems: type: array items: type: object allOf: – #/definitions/newHierarchyItemCardDTO minimum: 1 description: Itens da hierarquia relacionados ao item buscado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getWorkstationGroupPriorityEmployee: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – workstationGroups properties: workstationGroups: type: array items: type: object allOf: – #/definitions/WorkstationGroupKey minimum: 1 description: Postos de trabalho (chaves XT) responses: 200: description: Ok schema: type: object required: – workstationGroupPriorityEmployee properties: workstationGroupPriorityEmployee: type: array items: type: object allOf: – #/definitions/WorkstationGroupPriorityEmployeeDTO minimum: 1 description: Lista de postos de trabalho com seu colaborador prioritário 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getAllHierarquiesByEmployee: post: description: tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – activeEmployeeId – hierarchies properties: activeEmployeeId: type: string description: Identificador do colaborador logado no sistema hierarchies: type: array items: type: object allOf: – #/definitions/nhHierarchy minimum: 1 description: Lista de hierarquias do colaborador 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – activeEmployeeId – hierarchies properties: activeEmployeeId: type: string description: Identificador do colaborador logado no sistema hierarchies: type: array items: type: object allOf: – #/definitions/nhHierarchy minimum: 1 description: Lista de hierarquias do colaborador 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/searchDescendentsWorkstationGroupMultiHierarchy: post: description: Retorna todos os postos de trabalho da multi-hierarquia de acordo com filtro e com posto de trabalho definido no filtro. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object allOf: – #/definitions/generalFilterEntryInfo responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/workstationGroupResultInfo minimum: 1 description: Postos dos subordinados diretos/indiretos. 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/searchDescendentsJobPositionsMultiHierarchy: post: description: Retorna a lista de cargos que na multi-hierarquia estão abaixo do posto de trabalho (principal ou múltiplo) informado nos filtros da consulta. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object allOf: – #/definitions/generalFilterEntryInfo responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/jobPositionResultInfo minimum: 1 description: Cargos dos subordinados diretos/indiretos do posto informado nos filtros. 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/searchDescendentsWorkshiftsMultiHierarchy: post: description: Retorna a lista de escalas que na multi-hierarquia estão abaixo do posto de trabalho (principal ou múltiplo) informado nos filtros da consulta. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object allOf: – #/definitions/generalFilterEntryInfo responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/workshiftResultInfo minimum: 1 description: Escalas dos subordinados diretos/indiretos do posto informado nos filtros. 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/searchBranchesOfficeMultiHierarchy: post: description: Retorna as filiais tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object allOf: – #/definitions/generalFilterEntryInfo responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/companyResultInfo minimum: 1 description: Resultado da busca 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/searchDescendentsCostcenterMultiHierarchy: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object allOf: – #/definitions/generalFilterEntryInfo responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/generalFilterResultInfo minimum: 1 description: Resultado da busca 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/searchDescendantsDepartmentsMultiHierarchy: post: description: Retorna a lista de locais filtrando por empresa a partir das estruturas da multi hierarquia tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object allOf: – #/definitions/generalFilterEntryInfo responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/generalFilterResultInfo minimum: 1 description: Resultado da busca 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/searchCompanyMultiHierarchy: post: description: Busca as informações de empresas clientes para configuração tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object allOf: – #/definitions/generalFilterEntryInfo responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/companyResultInfo minimum: 1 description: Resultado da busca 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/listEmployeeContractsOfCurrentUserMultiHierarchy: post: description: Retorna o contrato de colaborador na data de referência informada na requisição tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – referenceDate properties: referenceDate: type: string format: date description: Data de referência da pesquisa. activeEmployeeId: type: string description: Id do contrato ativo no HCM. responses: 200: description: Ok schema: type: object properties: employee: type: array items: type: object allOf: – #/definitions/employeeSummaryDTO description: Contrato de colaborador referente ao ID informado por parâmetro de entrada. 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna o contrato de colaborador na data de referência informada na requisição tags: – Queries x-senior-visibility: PRIVATE parameters: – name: referenceDate description: Data de referência da pesquisa. in: query required: true type: string format: date – name: activeEmployeeId description: Id do contrato ativo no HCM. in: query type: string responses: 200: description: Ok schema: type: object properties: employee: type: array items: type: object allOf: – #/definitions/employeeSummaryDTO description: Contrato de colaborador referente ao ID informado por parâmetro de entrada. 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getWorkstationGroupSubordinates: post: description: Retorna os ids dos postos subordinados dos postos informados. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: workstationGroupIds: type: array items: type: string description: Identificadores dos postos de trabalho. companyId: type: string description: Considera apenas a hierarquia ativa dessa empresa quando informado. onlyDirects: type: boolean description: Considerar apenas liderados diretos default: true onlyLeaders: type: boolean description: Considerar apenas gestores default: false subordinateWorkstations: type: array items: type: string description: Lista de postos subordinados a serem considerados na consulta responses: 200: description: Ok schema: type: object required: – workstationGroupIds properties: workstationGroupIds: type: array items: type: string minimum: 1 description: Postos dos subordinados. 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getActiveHistoricalWorkstationsDetailsByEmployee: post: description: Retorna algumas informações dos históricos de postos de trabalho ativos do colaborador. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – employeeId properties: employeeId: type: string description: Identificador do colaborador. responses: 200: description: Ok schema: type: object required: – historicalWorkstationDetails properties: historicalWorkstationDetails: type: object allOf: – #/definitions/activeHistoricalWorkstationsDTO description: Informações dos históricos de postos de trabalho ativos do colaborador. 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna algumas informações dos históricos de postos de trabalho ativos do colaborador. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: employeeId description: Identificador do colaborador. in: query required: true type: string responses: 200: description: Ok schema: type: object required: – historicalWorkstationDetails properties: historicalWorkstationDetails: type: object allOf: – #/definitions/activeHistoricalWorkstationsDTO description: Informações dos históricos de postos de trabalho ativos do colaborador. 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/searchEmployeesToBeReplacedMultiHierarchy: post: description: Retorna os colaboradores que podem ser substituídos, tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – workstationGroupId properties: keywords: type: string description: Busca por palavras-chave workstationGroupId: type: string description: Identificador do grupo de postos considerado na hierarquia. page: type: integer format: int64 description: Página a ser retornada default: 0 size: type: integer format: int64 description: Quantidade de registros por página default: 10 sort: type: integer format: int64 description: Ordenação default: 1 fromVacancy: type: boolean description: Indica se a requisição vem da tela de vagas default: false responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/generalEmployeeInfo minimum: 1 description: Lista de todos os colaboradores que possuem o nome de acordo com a à expressão informada. 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna os colaboradores que podem ser substituídos, tags: – Queries x-senior-visibility: PRIVATE parameters: – name: keywords description: Busca por palavras-chave in: query type: string – name: workstationGroupId description: Identificador do grupo de postos considerado na hierarquia. in: query required: true type: string – name: page description: Página a ser retornada in: query type: integer format: int64 – name: size description: Quantidade de registros por página in: query type: integer format: int64 – name: sort description: Ordenação in: query type: integer format: int64 – name: fromVacancy description: Indica se a requisição vem da tela de vagas in: query type: boolean responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/generalEmployeeInfo minimum: 1 description: Lista de todos os colaboradores que possuem o nome de acordo com a à expressão informada. 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getParentNhHierarchyItemByChildren: post: description: Busca o item na hierarquia do gestor de um colaborador tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – employeeId properties: employeeId: type: string description: Id do colaborador responses: 200: description: Ok schema: type: object properties: hierarchyItem: type: object allOf: – #/definitions/nhHierarchyItemBasicInfo description: Item da hierarquia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca o item na hierarquia do gestor de um colaborador tags: – Queries x-senior-visibility: PRIVATE parameters: – name: employeeId description: Id do colaborador in: query required: true type: string responses: 200: description: Ok schema: type: object properties: hierarchyItem: type: object allOf: – #/definitions/nhHierarchyItemBasicInfo description: Item da hierarquia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getNhHierarchyItem: post: description: Busca o item na hierarquia do colaborador tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – employeeId properties: employeeId: type: string description: Id do colaborador responses: 200: description: Ok schema: type: object properties: hierarchyItem: type: object allOf: – #/definitions/nhHierarchyItemBasicInfo description: Item da hierarquia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca o item na hierarquia do colaborador tags: – Queries x-senior-visibility: PRIVATE parameters: – name: employeeId description: Id do colaborador in: query required: true type: string responses: 200: description: Ok schema: type: object properties: hierarchyItem: type: object allOf: – #/definitions/nhHierarchyItemBasicInfo description: Item da hierarquia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getNhHierarchyItems: post: description: Busca os itens na hierarquia do colaborador tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – employeeId properties: employeeId: type: string description: Id do colaborador responses: 200: description: Ok schema: type: object required: – hierarchyItems – found properties: hierarchyItems: type: array items: type: object allOf: – #/definitions/nhHierarchyItemBasicInfo minimum: 1 description: Itens da hierarquia found: type: integer format: int64 description: Quantidade de registros encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca os itens na hierarquia do colaborador tags: – Queries x-senior-visibility: PRIVATE parameters: – name: employeeId description: Id do colaborador in: query required: true type: string responses: 200: description: Ok schema: type: object required: – hierarchyItems – found properties: hierarchyItems: type: array items: type: object allOf: – #/definitions/nhHierarchyItemBasicInfo minimum: 1 description: Itens da hierarquia found: type: integer format: int64 description: Quantidade de registros encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getNhHierarchyItemByWorkstationGroupId: post: description: Busca o item na hierarquia do colaborador pelo id do posto de trabalho tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – workstationGroupId properties: workstationGroupId: type: string description: Id do posto de trabalho responses: 200: description: Ok schema: type: object properties: hierarchyItem: type: object allOf: – #/definitions/nhHierarchyItemBasicInfo description: Item da hierarquia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca o item na hierarquia do colaborador pelo id do posto de trabalho tags: – Queries x-senior-visibility: PRIVATE parameters: – name: workstationGroupId description: Id do posto de trabalho in: query required: true type: string responses: 200: description: Ok schema: type: object properties: hierarchyItem: type: object allOf: – #/definitions/nhHierarchyItemBasicInfo description: Item da hierarquia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getDescendantsNhHierarchyItemsByParent: post: description: Busca os itens na hierarquia dos liderados de um ou mais gestores tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – employeeIds – searchDescendantType properties: employeeIds: type: array items: type: string minimum: 1 description: Ids dos gestores searchDescendantType: type: string allOf: – #/definitions/searchDescendantType description: Tipo de busca dos descendentes na hierarquia responses: 200: description: Ok schema: type: object required: – hierarchyItems – found properties: hierarchyItems: type: array items: type: object allOf: – #/definitions/nhHierarchyItemBasicInfo minimum: 1 description: Lista do itens da hierarquia found: type: integer format: int64 description: Quantidade de registros encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getNhHierarchyItemTreeLevels: post: description: Busca a lista dos niveis da arvore da hierarquia tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – companyId properties: companyId: type: string description: Id da empresa (headquarter) responses: 200: description: Ok schema: type: object required: – treeLevels – found properties: treeLevels: type: array items: type: integer format: int64 minimum: 1 description: Lista dos niveis da arvore da hierarquia found: type: integer format: int64 description: Quantidade de registros encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca a lista dos niveis da arvore da hierarquia tags: – Queries x-senior-visibility: PRIVATE parameters: – name: companyId description: Id da empresa (headquarter) in: query required: true type: string responses: 200: description: Ok schema: type: object required: – treeLevels – found properties: treeLevels: type: array items: type: integer format: int64 minimum: 1 description: Lista dos niveis da arvore da hierarquia found: type: integer format: int64 description: Quantidade de registros encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getDescendantsItemsFromSameHierarchySide: post: description: Busca os itens na hierarquia dos liderados do mesmo lado da hierarquia a partir do id do colaborador *liderado* tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – employeeId – searchDescendantType properties: employeeId: type: string description: Id do colaborador liderado searchDescendantType: type: string allOf: – #/definitions/searchDescendantType description: Tipo de busca dos descendentes na hierarquia mainHistory: type: boolean description: Verificador do posto principal, múltiplo ou todos responses: 200: description: Ok schema: type: object required: – hierarchyItems – found properties: hierarchyItems: type: array items: type: object allOf: – #/definitions/nhHierarchyItemBasicInfo minimum: 1 description: Lista do itens da hierarquia found: type: integer format: int64 description: Quantidade de registros encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca os itens na hierarquia dos liderados do mesmo lado da hierarquia a partir do id do colaborador *liderado* tags: – Queries x-senior-visibility: PRIVATE parameters: – name: employeeId description: Id do colaborador liderado in: query required: true type: string – name: searchDescendantType description: Tipo de busca dos descendentes na hierarquia in: query required: true type: string allOf: – #/definitions/searchDescendantType – name: mainHistory description: Verificador do posto principal, múltiplo ou todos in: query type: boolean responses: 200: description: Ok schema: type: object required: – hierarchyItems – found properties: hierarchyItems: type: array items: type: object allOf: – #/definitions/nhHierarchyItemBasicInfo minimum: 1 description: Lista do itens da hierarquia found: type: integer format: int64 description: Quantidade de registros encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getFirstOccupiedLeaderNhHierarchyItem: post: description: Busca o primeiro item do lider que está ocupado na hierarquia através do id do colaborador tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – employeeId properties: employeeId: type: string description: Id do colaborador responses: 200: description: Ok schema: type: object properties: hierarchyItem: type: object allOf: – #/definitions/nhHierarchyItemBasicInfo description: Item da hierarquia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca o primeiro item do lider que está ocupado na hierarquia através do id do colaborador tags: – Queries x-senior-visibility: PRIVATE parameters: – name: employeeId description: Id do colaborador in: query required: true type: string responses: 200: description: Ok schema: type: object properties: hierarchyItem: type: object allOf: – #/definitions/nhHierarchyItemBasicInfo description: Item da hierarquia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getParentNhHierarchyItemByWorkstationGroupId: post: description: Busca o item na hierarquia do gestor de um colaborador através do id do posto de trabalho tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – workstationGroupId properties: workstationGroupId: type: string description: Id posto de trabalho responses: 200: description: Ok schema: type: object properties: hierarchyItem: type: object allOf: – #/definitions/nhHierarchyItemBasicInfo description: Item da hierarquia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca o item na hierarquia do gestor de um colaborador através do id do posto de trabalho tags: – Queries x-senior-visibility: PRIVATE parameters: – name: workstationGroupId description: Id posto de trabalho in: query required: true type: string responses: 200: description: Ok schema: type: object properties: hierarchyItem: type: object allOf: – #/definitions/nhHierarchyItemBasicInfo description: Item da hierarquia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getAllParentNhHierarchyItems: post: description: Busca todos os itens na hierarquia que representam as posições dos lideres tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: page: type: integer format: int64 description: Página a ser buscada default: 0 size: type: integer format: int64 description: Tamanho da página default: 10 filterName: type: string description: Filtro por nome responses: 200: description: Ok schema: type: object required: – hierarchyItems – found properties: hierarchyItems: type: array items: type: object allOf: – #/definitions/nhHierarchyItemBasicInfo minimum: 1 description: Lista do itens da hierarquia found: type: integer format: int64 description: Quantidade de registros encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca todos os itens na hierarquia que representam as posições dos lideres tags: – Queries x-senior-visibility: PRIVATE parameters: – name: page description: Página a ser buscada in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 – name: filterName description: Filtro por nome in: query type: string responses: 200: description: Ok schema: type: object required: – hierarchyItems – found properties: hierarchyItems: type: array items: type: object allOf: – #/definitions/nhHierarchyItemBasicInfo minimum: 1 description: Lista do itens da hierarquia found: type: integer format: int64 description: Quantidade de registros encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getFirstOccupiedLeaderNhHierarchyItemByWorkstationGroupId: post: description: Busca o primeiro item na hierarquia do lider encontrado através do id do posto de trabalho tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – workstationGroupId properties: workstationGroupId: type: string description: Id do posto de trabalho responses: 200: description: Ok schema: type: object properties: hierarchyItem: type: object allOf: – #/definitions/nhHierarchyItemBasicInfo description: Item da hierarquia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca o primeiro item na hierarquia do lider encontrado através do id do posto de trabalho tags: – Queries x-senior-visibility: PRIVATE parameters: – name: workstationGroupId description: Id do posto de trabalho in: query required: true type: string responses: 200: description: Ok schema: type: object properties: hierarchyItem: type: object allOf: – #/definitions/nhHierarchyItemBasicInfo description: Item da hierarquia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getAllDescendantsOnlyLeadersNhHierarchyItemsByParent: post: description: Busca todos os liderados (que são lideres) abaixo do lider informado tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – employeeId properties: employeeId: type: string description: Id do lider responses: 200: description: Ok schema: type: object required: – hierarchyItems – found properties: hierarchyItems: type: array items: type: object allOf: – #/definitions/nhHierarchyItemBasicInfo minimum: 1 description: Lista do itens da hierarquia found: type: integer format: int64 description: Quantidade de registros encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca todos os liderados (que são lideres) abaixo do lider informado tags: – Queries x-senior-visibility: PRIVATE parameters: – name: employeeId description: Id do lider in: query required: true type: string responses: 200: description: Ok schema: type: object required: – hierarchyItems – found properties: hierarchyItems: type: array items: type: object allOf: – #/definitions/nhHierarchyItemBasicInfo minimum: 1 description: Lista do itens da hierarquia found: type: integer format: int64 description: Quantidade de registros encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/listLeaderNhHierarchyItems: post: description: Lista os itens das revisões vigentes das hierarquias que possuem liderados diretos ativos, incluindo postos vagos. Liderado direto é o colaborador com um posto vigente (atuação principal ou adicional) em um item filho imediato, na hierarquia vigente da empresa dele. Retorna um item por ocupante ativo do posto (atuação principal ou adicional), na ordem de prioridade dos ocupantes, e um item sem ocupante quando o posto está vago. Considera sempre a data atual e não depende do usuário logado. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: page: type: integer format: int64 description: Página a ser buscada minimum: 0 default: 0 size: type: integer format: int64 description: Tamanho da página minimum: 1 maximum: 500 default: 100 responses: 200: description: Ok schema: type: object required: – items – hasMore properties: items: type: array items: type: object allOf: – #/definitions/leaderNhHierarchyItemDTO minimum: 1 description: Itens da hierarquia com liderados diretos hasMore: type: boolean description: Indica se existem mais páginas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Lista os itens das revisões vigentes das hierarquias que possuem liderados diretos ativos, incluindo postos vagos. Liderado direto é o colaborador com um posto vigente (atuação principal ou adicional) em um item filho imediato, na hierarquia vigente da empresa dele. Retorna um item por ocupante ativo do posto (atuação principal ou adicional), na ordem de prioridade dos ocupantes, e um item sem ocupante quando o posto está vago. Considera sempre a data atual e não depende do usuário logado. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: page description: Página a ser buscada in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – items – hasMore properties: items: type: array items: type: object allOf: – #/definitions/leaderNhHierarchyItemDTO minimum: 1 description: Itens da hierarquia com liderados diretos hasMore: type: boolean description: Indica se existem mais páginas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getAllWorkstationGroupIdsInHierarchy: post: description: Busca todos os postos de trabalho vinculados a hierarquia tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – companyId properties: companyId: type: string description: Id da empresa matriz mainHistory: type: boolean description: Postos principais, múltiplos ou todos page: type: integer format: int64 description: Página a ser buscada default: 0 size: type: integer format: int64 description: Tamanho da página default: 10 responses: 200: description: Ok schema: type: object required: – workstationGroupIds – found properties: workstationGroupIds: type: array items: type: string minimum: 1 description: Lista de ids dos postos de trabalho found: type: integer format: int64 description: Quantidade de registros encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca todos os postos de trabalho vinculados a hierarquia tags: – Queries x-senior-visibility: PRIVATE parameters: – name: companyId description: Id da empresa matriz in: query required: true type: string – name: mainHistory description: Postos principais, múltiplos ou todos in: query type: boolean – name: page description: Página a ser buscada in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – workstationGroupIds – found properties: workstationGroupIds: type: array items: type: string minimum: 1 description: Lista de ids dos postos de trabalho found: type: integer format: int64 description: Quantidade de registros encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/verifyIfEmployeeBelongsToTheWorkstationGroup: post: description: Verifica se o empregado especificado pertence ao grupo de posto de trabalho indicado como um de seus ocupantes ativos. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – employeeId – workstationGroupId properties: employeeId: type: string description: Identificador do empregado workstationGroupId: type: string description: Identificador do grupo de posto de trabalho responses: 200: description: Ok schema: type: object required: – result properties: result: type: boolean description: Se o empregado é um dos ocupantes do grupo de posto de trabalho informado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Verifica se o empregado especificado pertence ao grupo de posto de trabalho indicado como um de seus ocupantes ativos. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: employeeId description: Identificador do empregado in: query required: true type: string – name: workstationGroupId description: Identificador do grupo de posto de trabalho in: query required: true type: string responses: 200: description: Ok schema: type: object required: – result properties: result: type: boolean description: Se o empregado é um dos ocupantes do grupo de posto de trabalho informado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/searchEmployeesMultiHierarchy: post: description: Endpoint de busca dos colaboradores baseado no nome completo dos mesmos. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: origin: type: string description: Indica a origem da chamada de API.\nUtilizado para validar se o usuário possui as permissões:\n- todos os substituídos para o recurso Vagas\n- todos os substituídos para o recurso Requisição de Pessoal. q: type: string description: Expressão a ser encontrada. referenceDate: type: string format: date description: Data de referência da pesquisa. Caso não for informado, será assumido por default a data atual. leaderId: type: string description: Id do colaborador lider. staffRequisitionId: type: string description: ID da requisição de pessoal para referência da pesquisa (Será verificado se o colaborador está sendo referenciado em alguma outra requisição em aberto como o colaborador a ser substituído). vacancyId: type: string description: ID da vaga para referência da pesquisa (Será verificado se o colaborador está sendo referenciado em alguma outra vaga em aberto como o colaborador a ser substituído). showDismissedEmployees: type: boolean description: Define se será mostrado os colaboradores que foram demitidos. jobPositionId: type: string description: ID do cargo dos colaboradores. Será utilizado para filtrar os colaboradores que ocupam esse cargo, se o parâmetro Colaborador substituído considera o mesmo cargo da requisição de pessoal/vaga estiver habilitado. isManagers: type: boolean description: Possibilita filtrar somente colaboradores que são gestores (default false). responses: 200: description: Ok schema: type: object properties: employees: type: array items: type: object allOf: – #/definitions/employeeSummaryDTO description: Lista de colaboradores que possuem o nome completo de acordo com a expressão informada. multipleWorkstationGroupsWithPriorityEmployee: type: array items: type: object allOf: – #/definitions/multipleWorkstationGroupDTO description: Postos múltiplos de todos os colaboradores consultados com a informação do ocupante principal (colaborador prioritário). 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Endpoint de busca dos colaboradores baseado no nome completo dos mesmos. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: origin description: Indica a origem da chamada de API.\nUtilizado para validar se o usuário possui as permissões:\n- todos os substituídos para o recurso Vagas\n- todos os substituídos para o recurso Requisição de Pessoal. in: query type: string – name: q description: Expressão a ser encontrada. in: query type: string – name: referenceDate description: Data de referência da pesquisa. Caso não for informado, será assumido por default a data atual. in: query type: string format: date – name: leaderId description: Id do colaborador lider. in: query type: string – name: staffRequisitionId description: ID da requisição de pessoal para referência da pesquisa (Será verificado se o colaborador está sendo referenciado em alguma outra requisição em aberto como o colaborador a ser substituído). in: query type: string – name: vacancyId description: ID da vaga para referência da pesquisa (Será verificado se o colaborador está sendo referenciado em alguma outra vaga em aberto como o colaborador a ser substituído). in: query type: string – name: showDismissedEmployees description: Define se será mostrado os colaboradores que foram demitidos. in: query type: boolean – name: jobPositionId description: ID do cargo dos colaboradores. Será utilizado para filtrar os colaboradores que ocupam esse cargo, se o parâmetro Colaborador substituído considera o mesmo cargo da requisição de pessoal/vaga estiver habilitado. in: query type: string – name: isManagers description: Possibilita filtrar somente colaboradores que são gestores (default false). in: query type: boolean responses: 200: description: Ok schema: type: object properties: employees: type: array items: type: object allOf: – #/definitions/employeeSummaryDTO description: Lista de colaboradores que possuem o nome completo de acordo com a expressão informada. multipleWorkstationGroupsWithPriorityEmployee: type: array items: type: object allOf: – #/definitions/multipleWorkstationGroupDTO description: Postos múltiplos de todos os colaboradores consultados com a informação do ocupante principal (colaborador prioritário). 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/isParentRelationshipBetweenPersonAndEmployee: post: description: Verifica se existe relação de liderança entre uma pessoa (gestor) e um colaborador (liderado). tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – personManagerId – subordinateEmployeeId properties: personManagerId: type: string description: Identificador da pessoa do gestor subordinateEmployeeId: type: string description: Identificador do colaborador liderado responses: 200: description: Ok schema: type: object required: – isParentRelationship properties: isParentRelationship: type: boolean description: Se existe relação de liderança entre a pessoa e o colaborador informados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Verifica se existe relação de liderança entre uma pessoa (gestor) e um colaborador (liderado). tags: – Queries x-senior-visibility: PRIVATE parameters: – name: personManagerId description: Identificador da pessoa do gestor in: query required: true type: string – name: subordinateEmployeeId description: Identificador do colaborador liderado in: query required: true type: string responses: 200: description: Ok schema: type: object required: – isParentRelationship properties: isParentRelationship: type: boolean description: Se existe relação de liderança entre a pessoa e o colaborador informados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/isParentRelationshipBetweenEmployeesAndEmployee: post: description: Verifica se existe relação de liderança entre uma lista de colaboradores (gestores) e um colaborador (liderado). tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – employeeManagerIds – subordinateEmployeeId properties: employeeManagerIds: type: array items: type: string minimum: 1 description: Lista de identificadores de colaborador dos gestores subordinateEmployeeId: type: string description: Identificador do colaborador liderado responses: 200: description: Ok schema: type: object required: – isParentRelationship properties: isParentRelationship: type: boolean description: Se existe relação de liderança entre os colaboradores informados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/isParentRelationshipBetweenPersonAndPerson: post: description: Verifica se existe relação de liderança entre duas pessoas. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – personManagerId – subordinatePersonId properties: personManagerId: type: string description: Identificador da pessoa do gestor subordinatePersonId: type: string description: Identificador da pessoa do liderado responses: 200: description: Ok schema: type: object required: – isParentRelationship properties: isParentRelationship: type: boolean description: Se existe relação de liderança entre as pessoas informadas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Verifica se existe relação de liderança entre duas pessoas. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: personManagerId description: Identificador da pessoa do gestor in: query required: true type: string – name: subordinatePersonId description: Identificador da pessoa do liderado in: query required: true type: string responses: 200: description: Ok schema: type: object required: – isParentRelationship properties: isParentRelationship: type: boolean description: Se existe relação de liderança entre as pessoas informadas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/hasPositionInHierarchy: post: description: Verifica se o colaborador informado possui algum item na hierarquia associado tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – employeeId properties: employeeId: type: string description: Identificador do colaborador responses: 200: description: Ok schema: type: object required: – hasPositionInHierarchy properties: hasPositionInHierarchy: type: boolean description: Se o colaborador possui uma posição na hierarquia atual 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Verifica se o colaborador informado possui algum item na hierarquia associado tags: – Queries x-senior-visibility: PRIVATE parameters: – name: employeeId description: Identificador do colaborador in: query required: true type: string responses: 200: description: Ok schema: type: object required: – hasPositionInHierarchy properties: hasPositionInHierarchy: type: boolean description: Se o colaborador possui uma posição na hierarquia atual 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getWorkstationGroupSubordinatesToActiveEmployee: post: description: Retorna os postos de trabalhos subordinados a um usuário tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: considerEmployer: type: boolean description: Indica se a empresa empregadora do colaborador associado ao usuário deve ser considera na busca default: true onlyDirects: type: boolean description: Considera apenas liderados diretos default: true onlyLeaders: type: boolean description: Considera apenas gestores default: false returnThemselves: type: boolean description: Considera se deve retornar o próprio posto do colaborador na busca default: false responses: 200: description: Ok schema: type: object required: – workstationGroupIds properties: workstationGroupIds: type: array items: type: string minimum: 1 description: Postos de trabalhos subornidados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna os postos de trabalhos subordinados a um usuário tags: – Queries x-senior-visibility: PRIVATE parameters: – name: considerEmployer description: Indica se a empresa empregadora do colaborador associado ao usuário deve ser considera na busca in: query type: boolean – name: onlyDirects description: Considera apenas liderados diretos in: query type: boolean – name: onlyLeaders description: Considera apenas gestores in: query type: boolean – name: returnThemselves description: Considera se deve retornar o próprio posto do colaborador na busca in: query type: boolean responses: 200: description: Ok schema: type: object required: – workstationGroupIds properties: workstationGroupIds: type: array items: type: string minimum: 1 description: Postos de trabalhos subornidados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getRelatedEmployeesOfEmployee: post: description: Retorna os liderados de um colaborador, a partir do tipo informado. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – activeEmployeeId properties: activeEmployeeId: type: string description: Identificador do colaborador gestor page: type: integer format: int64 description: Página minimum: 0 default: 0 size: type: integer format: int64 description: Tamanho da página minimum: 1 maximum: 100 default: 24 q: type: string description: Termo para filtrar responses: 200: description: Ok schema: type: object required: – directDescendants – indirectDescendants – peers – parents – hasMore properties: directDescendants: type: array items: type: string minimum: 1 description: Lista de IDs dos liderados diretos indirectDescendants: type: array items: type: string minimum: 1 description: Lista de IDs dos liderados indiretos peers: type: array items: type: string minimum: 1 description: Lista de IDs dos colegas de mesmo nível parents: type: array items: type: string minimum: 1 description: Lista de IDs dos líderes hasMore: type: boolean description: Indica se ainda há mais registros 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna os liderados de um colaborador, a partir do tipo informado. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: activeEmployeeId description: Identificador do colaborador gestor in: query required: true type: string – name: page description: Página in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 – name: q description: Termo para filtrar in: query type: string responses: 200: description: Ok schema: type: object required: – directDescendants – indirectDescendants – peers – parents – hasMore properties: directDescendants: type: array items: type: string minimum: 1 description: Lista de IDs dos liderados diretos indirectDescendants: type: array items: type: string minimum: 1 description: Lista de IDs dos liderados indiretos peers: type: array items: type: string minimum: 1 description: Lista de IDs dos colegas de mesmo nível parents: type: array items: type: string minimum: 1 description: Lista de IDs dos líderes hasMore: type: boolean description: Indica se ainda há mais registros 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/leadersOfEmployees: post: description: Busca os líderes de uma lista de colaboradores tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – employeeIds properties: employeeIds: type: array items: type: string minimum: 1 description: Lista de IDs dos colaboradores responses: 200: description: Ok schema: type: object required: – employees properties: employees: type: array items: type: object allOf: – #/definitions/employeeAndLeadersDTO minimum: 1 description: Lista dos colaboradores com seus respectivos líderes 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getActivePersons: post: description: Buscar todos as pessoas de colaboradores ativos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: page: type: integer format: int64 description: Página a ser buscada default: 0 size: type: integer format: int64 description: Tamanho da página default: 10 responses: 200: description: Ok schema: type: object required: – totalPages – totalElements – activePersons properties: totalPages: type: integer format: int64 description: Total de páginas totalElements: type: integer format: int64 description: Total de registros encontrados activePersons: type: array items: type: object allOf: – #/definitions/activePersons minimum: 1 description: Pessoas dos colaboradores ativos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Buscar todos as pessoas de colaboradores ativos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: page description: Página a ser buscada in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – totalPages – totalElements – activePersons properties: totalPages: type: integer format: int64 description: Total de páginas totalElements: type: integer format: int64 description: Total de registros encontrados activePersons: type: array items: type: object allOf: – #/definitions/activePersons minimum: 1 description: Pessoas dos colaboradores ativos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getCurrentUserActivePerson: post: description: Busca a pessoa ativa associada ao usuário atual tags: – Queries x-senior-visibility: PUBLIC responses: 200: description: Ok schema: type: object properties: activePerson: type: object allOf: – #/definitions/activePersons description: Pessoa ativa do usuário atual 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca a pessoa ativa associada ao usuário atual tags: – Queries x-senior-visibility: PUBLIC responses: 200: description: Ok schema: type: object properties: activePerson: type: object allOf: – #/definitions/activePersons description: Pessoa ativa do usuário atual 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getPersonAndLeaderInfo: post: description: Busca as informações de n pessoas e seus líderes a partir do id da pessoa tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – personIds properties: personIds: type: array items: type: string minimum: 1 description: responses: 200: description: Ok schema: type: object required: – personsInfo properties: personsInfo: type: array items: type: object allOf: – #/definitions/personBaseInfo minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getMetadata: post: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: metadataFormat: type: string description: responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: metadataFormat description: in: query type: string responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportMeta: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportNhHierarchy: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportNhCompanyHierarchy: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportWorkstationGroupStructure: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportNhHierarchyType: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportNhHierarchyRevision: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportNhHierarchyItem: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportWorkstationGroup: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportWorkstationGroupProfile: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportHierarchy: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportHierarchyItem: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportCompanyHierarchy: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportWorkstation: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportHistoricalWorkstation: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportActingType: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportCompany: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportEmployee: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportEmployeeEmail: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportEmploymentRelationship: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportCostcenter: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportJobPositionStructure: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportJobPosition: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportCompanyJobPositionStructure: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportHistoricalJobPosition: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportPerson: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportAttachment: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportPriorityWorkstationGroupOccupants: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportTenantSetting: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportVacancy: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportStaffRequisition: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportDepartment: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportOrganizationalchartitem: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportOrganizationalchart: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportFeatureControl: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/exportUserAccount: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/queries/getDependencies: post: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/savePriorityWorkstationGroupOccupants: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – workstationGroupId – priorityWorkstationGroupOccupants properties: workstationGroupId: type: string description: Id do posto de trabalho priorityWorkstationGroupOccupants: type: array items: type: object allOf: – #/definitions/priorityWorkstationGroupOccupantsNoWorkstationGroupDTO minimum: 1 description: Lista de prioridades dos ocupantes do posto responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/processPersonPhotoBatch: post: description: Processa as fotos das pessoas dos colaboradores informados. tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – personIds properties: personIds: type: array items: type: string minimum: 1 description: Identificadores das pessoas dos colaboradores. responses: 200: description: Ok schema: type: object required: – images properties: images: type: string format: byte description: Arquivo zip com as imagens processadas. 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/odata: post: description: tags: – Actions x-senior-visibility: PRIVATE responses: 204: description: No response 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importMeta: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importNhHierarchy: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importNhCompanyHierarchy: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importWorkstationGroupStructure: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importNhHierarchyType: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importNhHierarchyRevision: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importNhHierarchyItem: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importWorkstationGroup: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importWorkstationGroupProfile: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importHierarchy: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importHierarchyItem: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importCompanyHierarchy: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importWorkstation: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importHistoricalWorkstation: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importActingType: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importCompany: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importEmployee: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importEmployeeEmail: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importEmploymentRelationship: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importCostcenter: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importJobPositionStructure: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importJobPosition: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importCompanyJobPositionStructure: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importHistoricalJobPosition: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importPerson: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importAttachment: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importPriorityWorkstationGroupOccupants: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importTenantSetting: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importVacancy: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importStaffRequisition: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importDepartment: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importOrganizationalchartitem: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importOrganizationalchart: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importFeatureControl: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/actions/importUserAccount: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/events/importMetaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportMetaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importNhHierarchyEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportNhHierarchyEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importNhCompanyHierarchyEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportNhCompanyHierarchyEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importWorkstationGroupStructureEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportWorkstationGroupStructureEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importNhHierarchyTypeEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportNhHierarchyTypeEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importNhHierarchyRevisionEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportNhHierarchyRevisionEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importNhHierarchyItemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportNhHierarchyItemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importWorkstationGroupEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportWorkstationGroupEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importWorkstationGroupProfileEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportWorkstationGroupProfileEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importHierarchyEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportHierarchyEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importHierarchyItemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportHierarchyItemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importCompanyHierarchyEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportCompanyHierarchyEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importWorkstationEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportWorkstationEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importHistoricalWorkstationEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportHistoricalWorkstationEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importActingTypeEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportActingTypeEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importCompanyEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportCompanyEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importEmployeeEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportEmployeeEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importEmployeeEmailEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportEmployeeEmailEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importEmploymentRelationshipEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportEmploymentRelationshipEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importCostcenterEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportCostcenterEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importJobPositionStructureEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportJobPositionStructureEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importJobPositionEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportJobPositionEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importCompanyJobPositionStructureEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportCompanyJobPositionStructureEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importHistoricalJobPositionEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportHistoricalJobPositionEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importPersonEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportPersonEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importAttachmentEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportAttachmentEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importPriorityWorkstationGroupOccupantsEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportPriorityWorkstationGroupOccupantsEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importTenantSettingEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportTenantSettingEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importVacancyEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportVacancyEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importStaffRequisitionEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportStaffRequisitionEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importDepartmentEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportDepartmentEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importOrganizationalchartitemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportOrganizationalchartitemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importOrganizationalchartEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportOrganizationalchartEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importFeatureControlEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportFeatureControlEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/importUserAccountEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/events/exportUserAccountEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /hierarchy/entities/meta: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/meta responses: 200: description: The created resource schema: #/definitions/meta 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/meta responses: 200: description: The created resource schema: #/definitions/meta 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/meta 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/meta/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/editMeta responses: 200: description: Ok schema: #/definitions/editMeta 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/meta responses: 200: description: Ok schema: #/definitions/meta 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/meta 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/meta/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/meta responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/nhHierarchy: get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/nhHierarchy 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/workstationGroupStructure: get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/workstationGroupStructure 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/nhHierarchyType: get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/nhHierarchyType 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/nhHierarchyRevision: get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/nhHierarchyRevision 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/nhHierarchyItem: get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/nhHierarchyItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/workstationGroup: get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/workstationGroup 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/hierarchy: get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/hierarchy 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/hierarchyItem: get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/hierarchyItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/companyHierarchy: get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/companyHierarchy 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/workstation: get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/workstation 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/historicalWorkstation: get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/historicalWorkstation 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/actingType: get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/actingType 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/company: get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/company 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/employee: get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/employee 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/employeeEmail: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/employeeEmail responses: 200: description: The created resource schema: #/definitions/employeeEmail 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/employeeEmail responses: 200: description: The created resource schema: #/definitions/employeeEmail 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/employeeEmail 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/employeeEmail/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/editEmployeeEmail responses: 200: description: Ok schema: #/definitions/editEmployeeEmail 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/employeeEmail responses: 200: description: Ok schema: #/definitions/employeeEmail 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/employeeEmail 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/employeeEmail/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/employeeEmail responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/costcenter: post: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/costcenter responses: 200: description: The created resource schema: #/definitions/costcenter 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/costcenter responses: 200: description: The created resource schema: #/definitions/costcenter 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/costcenter 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/costcenter/{id}: put: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/editCostcenter responses: 200: description: Ok schema: #/definitions/editCostcenter 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/costcenter responses: 200: description: Ok schema: #/definitions/costcenter 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/costcenter 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/costcenter/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/costcenter responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/jobPositionStructure: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/jobPositionStructure responses: 200: description: The created resource schema: #/definitions/jobPositionStructure 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/jobPositionStructure responses: 200: description: The created resource schema: #/definitions/jobPositionStructure 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/jobPositionStructure 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/jobPositionStructure/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/editJobPositionStructure responses: 200: description: Ok schema: #/definitions/editJobPositionStructure 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/jobPositionStructure responses: 200: description: Ok schema: #/definitions/jobPositionStructure 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/jobPositionStructure 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/jobPositionStructure/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/jobPositionStructure responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/jobPosition: get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/jobPosition 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/companyJobPositionStructure: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/companyJobPositionStructure responses: 200: description: The created resource schema: #/definitions/companyJobPositionStructure 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/companyJobPositionStructure responses: 200: description: The created resource schema: #/definitions/companyJobPositionStructure 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/companyJobPositionStructure 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/companyJobPositionStructure/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/editCompanyJobPositionStructure responses: 200: description: Ok schema: #/definitions/editCompanyJobPositionStructure 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/companyJobPositionStructure responses: 200: description: Ok schema: #/definitions/companyJobPositionStructure 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/companyJobPositionStructure 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/companyJobPositionStructure/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/companyJobPositionStructure responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/historicalJobPosition: get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/historicalJobPosition 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/person: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/person 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/attachment: get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/attachment 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/priorityWorkstationGroupOccupants: post: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/priorityWorkstationGroupOccupants responses: 200: description: The created resource schema: #/definitions/priorityWorkstationGroupOccupants 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/priorityWorkstationGroupOccupants responses: 200: description: The created resource schema: #/definitions/priorityWorkstationGroupOccupants 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/priorityWorkstationGroupOccupants 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/priorityWorkstationGroupOccupants/{id}: put: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/editPriorityWorkstationGroupOccupants responses: 200: description: Ok schema: #/definitions/editPriorityWorkstationGroupOccupants 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/priorityWorkstationGroupOccupants responses: 200: description: Ok schema: #/definitions/priorityWorkstationGroupOccupants 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/priorityWorkstationGroupOccupants 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/priorityWorkstationGroupOccupants/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/priorityWorkstationGroupOccupants responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/vacancy: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/vacancy responses: 200: description: The created resource schema: #/definitions/vacancy 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/vacancy responses: 200: description: The created resource schema: #/definitions/vacancy 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/vacancy 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/vacancy/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/editVacancy responses: 200: description: Ok schema: #/definitions/editVacancy 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/vacancy responses: 200: description: Ok schema: #/definitions/vacancy 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/vacancy 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/vacancy/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/vacancy responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/staffRequisition: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/staffRequisition responses: 200: description: The created resource schema: #/definitions/staffRequisition 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/staffRequisition responses: 200: description: The created resource schema: #/definitions/staffRequisition 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/staffRequisition 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/staffRequisition/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/editStaffRequisition responses: 200: description: Ok schema: #/definitions/editStaffRequisition 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/staffRequisition responses: 200: description: Ok schema: #/definitions/staffRequisition 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/staffRequisition 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/staffRequisition/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/staffRequisition responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/department: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/department responses: 200: description: The created resource schema: #/definitions/department 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/department responses: 200: description: The created resource schema: #/definitions/department 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/department 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/department/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/editDepartment responses: 200: description: Ok schema: #/definitions/editDepartment 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/department responses: 200: description: Ok schema: #/definitions/department 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/department 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/department/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/department responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/organizationalchartitem: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/organizationalchartitem responses: 200: description: The created resource schema: #/definitions/organizationalchartitem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/organizationalchartitem responses: 200: description: The created resource schema: #/definitions/organizationalchartitem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/organizationalchartitem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/organizationalchartitem/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/editOrganizationalchartitem responses: 200: description: Ok schema: #/definitions/editOrganizationalchartitem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/organizationalchartitem responses: 200: description: Ok schema: #/definitions/organizationalchartitem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/organizationalchartitem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/organizationalchartitem/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/organizationalchartitem responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/organizationalchart: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/organizationalchart responses: 200: description: The created resource schema: #/definitions/organizationalchart 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/organizationalchart responses: 200: description: The created resource schema: #/definitions/organizationalchart 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/organizationalchart 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/organizationalchart/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/editOrganizationalchart responses: 200: description: Ok schema: #/definitions/editOrganizationalchart 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/organizationalchart responses: 200: description: Ok schema: #/definitions/organizationalchart 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/organizationalchart 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /hierarchy/entities/organizationalchart/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/organizationalchart responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError definitions: heathcheckDTO: type: string enum: – UP – DOWN description: Status do healthcheck: * `UP` – Saudável * `DOWN` – Ruim productFilter: type: string enum: – ONBOARDING description: Produto em que serão buscados os dados de abrangência: * `ONBOARDING` – Onboarding descendentsType: type: string enum: – ALL – DIRECT description: Tipos de liderados: * `ALL` – Todos * `DIRECT` – Diretos leadersType: type: string enum: – ALL – IMMEDIATE – MEDIATE description: Tipos de lideres: * `ALL` – Todos * `IMMEDIATE` – líderes imediatos * `MEDIATE` – líderes imediatos + líderes mediatos(imediato do líder imediato) actingTypeFilter: type: string enum: – MAIN – SECONDARY – BOTH description: Filtro de tipo de atuação: * `MAIN` – Apenas atuação principal * `SECONDARY` – Apenas atuação adicional * `BOTH` – Ambas contractType: type: string enum: – EMPLOYEE – SUBSTITUTION description: Tipo de contrato do colaborador: * `EMPLOYEE` – Colaborador * `SUBSTITUTION` – Substitution hierarchyStatus: type: string enum: – PROCESSING – WAITINGINTEGRATION – INTEGRATED – ERROR – DEPRECATED description: Status da hierarquia: * `PROCESSING` – Em processamento * `WAITINGINTEGRATION` – Aguardando integração * `INTEGRATED` – Integrado * `ERROR` – Erro na integração * `DEPRECATED` – Deprecada processTypeDto: type: string enum: – STAFF_INCREASE – REPLACEMENT description: Tipos de processos de um workflow para requisição de vaga no Recrutamento: * `STAFF_INCREASE` – Requisição de Pessoal – Aumento de quadro. * `REPLACEMENT` – Requisição de Pessoal – Substituição. searchDescendantType: type: string enum: – ALL – DIRECT – NONE description: Tipo de busca dos descendentes na hierarquia: * `ALL` – Todos os descendentes * `DIRECT` – Descendentes diretos * `NONE` – Nenhum userNotificationKind: type: string enum: – Operational – Management – News description: User notification kind.: * `Operational` – Operational * `Management` – Management * `News` – News userNotificationPriority: type: string enum: – Error – Alert – None description: User notification priority.: * `Error` – Error * `Alert` – Alert * `None` – None eventEmailFormat: type: string enum: – HTML – PLAIN_TEXT description: Format of the email: * `HTML` – Html * `PLAIN_TEXT` – Plain Text fieldType: type: string enum: – BINARY – BOOLEAN – DATE – DATETIME – LOCALDATETIME – DOUBLE – ENUM – INTEGER – MONEY – STRING – TIME description: FieldType: * `BINARY` – Binary * `BOOLEAN` – Boolean * `DATE` – Date * `DATETIME` – Datetime * `LOCALDATETIME` – Localdatetime * `DOUBLE` – Double * `ENUM` – Enum * `INTEGER` – Integer * `MONEY` – Money * `STRING` – String * `TIME` – Time fileFormat: type: string enum: – CSV – FLAT – JSON – XML description: FileFormat: * `CSV` – Csv * `FLAT` – Flat * `JSON` – Json * `XML` – Xml hookFunction: type: string enum: – BEFORE_PARSE – BEFORE_CONVERSION – ON_ERROR – VALIDATE description: HookFunction: * `BEFORE_PARSE` – Before parse * `BEFORE_CONVERSION` – Before conversion * `ON_ERROR` – On error * `VALIDATE` – Validate eventType: type: string enum: – CHUNK – DOWNLOAD – ERROR – FINISH – START description: EventType: * `CHUNK` – Chunk * `DOWNLOAD` – Download * `ERROR` – Error * `FINISH` – Finish * `START` – Start errorStrategy: type: string enum: – CALL_SCRIPT – IGNORE – STOP description: ErrorStrategy: * `CALL_SCRIPT` – Call script * `IGNORE` – Ignore * `STOP` – Stop status: type: string enum: – DONE – DONE_WITH_ERRORS – DOWNLOADING – ERROR – NOT_STARTED – RUNNING description: Status: * `DONE` – Done * `DONE_WITH_ERRORS` – Done with errors * `DOWNLOADING` – Downloading * `ERROR` – Error * `NOT_STARTED` – Not started * `RUNNING` – Running errorType: type: string enum: – CONVERT_ERROR – SERVICE_ERROR description: ErrorType: * `CONVERT_ERROR` – Convert error * `SERVICE_ERROR` – Service error personBaseInfo: description: DTO de informações base de uma Person type: object required: – personId – registerNumbers – code – fullname – jobPositions – companyBranches properties: personId: type: string description: Identificador da pessoa registerNumbers: type: array items: type: integer format: int64 minimum: 1 description: Números de matrícula vinculadas a pessoa code: type: string description: Código da pessoa na G5 fullname: type: string description: Nome completo da pessoa jobPositions: type: array items: type: string minimum: 1 description: Cargos vinculados a pessoa companyBranches: type: array items: type: object allOf: – #/definitions/companyBaseInfo minimum: 1 description: Empresas(filiais) vinculadas a pessoa leaders: type: array items: type: object allOf: – #/definitions/leaderBaseInfo description: Gestores da pessoa leaderBaseInfo: description: DTO de informações base de um gestor type: object required: – leaderPersonId – code – fullname – emails properties: leaderPersonId: type: string description: Identificador da pessoa code: type: string description: Código da pessoa na G5 fullname: type: string description: Nome completo do gestor emails: type: array items: type: string minimum: 1 description: Emails corporativos do gestor companyBaseInfo: description: DTO de informações base de uma empresa type: object required: – code – name properties: code: type: integer format: int64 description: Código da empresa name: type: string description: Nome da empresa activePersons: description: Retorno dos dados das pessoas dos colaboradores ativos type: object required: – id – name – externalId properties: id: type: string description: Id da pessoa name: type: string description: Nome completo da pessoa usernames: type: array items: type: string description: Usuário da pessoa externalId: type: string description: Identificador externo da pessoa simplePositionDTO: description: Representa uma posição do colaborador type: object required: – main – position properties: main: type: boolean description: Se o posto é de atuação principal position: type: string description: Valor da posição do colaborador checkDTO: description: Retorno status usados de retorno type: object required: – name – status properties: name: type: string description: Nome do status status: type: string allOf: – #/definitions/heathcheckDTO description: Status platformSubstitutionDTO: description: DTO para receber o response da API da plataforma que retorna as substituições type: object required: – resource – userNames properties: resource: type: string description: Recurso da plataforma userNames: type: array items: type: string minimum: 1 description: Nomes de usuário filterDefinitionDTO: description: DTO que representa as informações das abrangências. Utilizado para fitlrar dados nos agentes type: object required: – columnName – filterValue properties: columnName: type: string description: Nome da coluna no arquivo parquet filterValue: type: string description: Valor da abrangência filterGroup: description: DTO que representa um grupo de filtros de abrangência. Utilizado para fitlrar dados nos agentes type: object required: – filters properties: filters: type: array items: type: object allOf: – #/definitions/filterDefinitionDTO minimum: 1 description: Filtros de um grupo employeeContractDTO: description: DTO para armazenar os dados do contrato do colaborador type: object required: – employeeId – jobPositionName – name – contractType – clientCode properties: employeeId: type: string description: Id do colaborador jobPositionName: type: string description: Nome do cargo do colaborador name: type: string description: Nome do colaborador contractType: type: string allOf: – #/definitions/contractType description: Tipo do contrato clientCode: type: string description: Código do cliente generalFilterEntryInfo: description: DTO genérico de entrada para os dados do filtro type: object required: – activeEmployeeId properties: activeEmployeeId: type: string description: Identificador único do colaborador logado no sistema employeeId: type: string description: Identificador único do colaborador a ser considerado na consulta workstationGroupId: type: string description: Identificador do posto a ser considerado na consulta company: type: string description: Identificador único da empresa page: type: integer format: int64 description: Página a ser buscada default: 0 size: type: integer format: int64 description: Tamanho da página minimum: 0 maximum: 1000 default: 10 referenceDate: type: string format: date description: Data de referência para filtrar q: type: string description: Termo para filtrar originService: type: string description: Serviço de origem da request isUncoupled: type: boolean description: Indica se a requisição é da versão desacoplada default: false isLimited: type: boolean description: Indica se os dados selecionáveis estão limitados aos dados hierárquicos default: true entityFilters: type: array items: type: object allOf: – #/definitions/entityFilterDTO description: Filtros de abrangência do usuário entityFilterDTO: description: DTO com as abrangências do filtro de entidade type: object required: – name – values properties: name: type: string description: Nome do filtro da entidade values: type: array items: type: string minimum: 1 description: Valores configurados na abrangência do filtro generalFilterResultInfo: description: DTO genérico para o retorno dos dados do filtro discriminator: _discriminator type: object required: – name – code – id – metaId – idAux – metaIdAux – _discriminator properties: name: type: string description: nome do objeto code: type: string description: código do objeto id: type: string description: Id do objeto metaId: type: string description: Id do objeto na G5 idAux: type: string description: Id do objeto auxiliar metaIdAux: type: string description: Id do objeto na G5 auxiliar _discriminator: type: string description: workstationGroupResultInfo: description: Retorno da busca de postos allOf: – #/definitions/generalFilterResultInfo – type: object required: – workstationGroupStructureId properties: workstationGroupStructureId: type: string description: Estrutura do posto de trabalho jobPositionResultInfo: description: Busca de cargos. allOf: – #/definitions/generalFilterResultInfo – type: object required: – jobPositionStructureId properties: jobPositionStructureId: type: string description: Identificador da estrutura do cargo workshiftResultInfo: description: Retorno da busca de escalas de trabalho allOf: – #/definitions/generalFilterResultInfo – type: object required: – shift properties: shift: type: integer format: int64 description: Turno superiorHierarchyItemDTO: description: type: object required: – hierarchyItemId – parentItemId – workstationGroupDTO – treeLevel – occupants properties: hierarchyItemId: type: string description: Item da hierarquia parentItemId: type: string description: Item superior da posição workstationGroupDTO: type: object allOf: – #/definitions/workstationGroupDTO description: Posto de trabalho da posição treeLevel: type: integer format: int64 description: Nível da posição occupants: type: array items: type: object allOf: – #/definitions/positionOccupantDTO minimum: 1 description: Ocupantes da posição priorityWorkstationGroupOccupantsNoWorkstationGroupDTO: description: type: object required: – employeeId – sequence properties: employeeId: type: string description: Id do colaborador sequence: type: integer format: int64 description: Sequência workstationGroupDTO: description: discriminator: _discriminator type: object required: – id – name – workstationGroupCode – workstationGroupStructureCode – _discriminator properties: id: type: string description: Identificador name: type: string description: Nome do posto workstationGroupCode: type: string description: Código do posto workstationGroupStructureCode: type: integer format: int64 description: Código da estrutura de postos _discriminator: type: string description: multipleWorkstationGroupDTO: description: allOf: – #/definitions/workstationGroupDTO – type: object required: – priorityEmployeeId properties: priorityEmployeeId: type: string description: Identificador do ocupante principal do posto múltiplo positionOccupantDTO: description: type: object required: – personId – employeeId – employeeRegisterNumber – personName – photoLink – jobPositionName – workstationGroupDateWhen – userName – employeePriority properties: personId: type: string description: Identificador da pessoa employeeId: type: string description: Identificador do colaborador employeeRegisterNumber: type: integer format: int64 description: Matrícula do colaborador personName: type: string description: Nome da pessoa photoLink: type: string description: Link da imagem da foto da pessoa jobPositionName: type: string description: Nome do cargo workstationGroupDateWhen: type: string format: date description: Data inicial do posto atual do colaborador userName: type: string description: Login do usuário employeePriority: type: integer format: int64 description: Prioridade do ocupante na posição hierarchyItemDTO: description: DTO principal para comunicação do posto de um colaborador type: object required: – hierarchyItemId – workstationGroupName – jobPositionName – personName – photoLink – personId properties: hierarchyItemId: type: string description: Identificador do item de hierarquia workstationGroupName: type: string description: Nome do posto jobPositionName: type: string description: Nome do cargo personName: type: string description: Nome da pessoa photoLink: type: string description: Link da foto do colaborador personId: type: string description: Identificador da pessoa newHierarchyItemCardDTO: description: type: object required: – hierarchyItemId – hierarchyItemParentId – workstationGroup – treeLevel – occupants – hasChildren – totalSubordinates – directSubordinates properties: hierarchyItemId: type: string description: Id deste ítem de hierarquia hierarchyItemParentId: type: string description: Id da posição superior workstationGroup: type: object allOf: – #/definitions/workstationGroupDTO description: Posto de trabalho associado a este ítem de hierarquia treeLevel: type: integer format: int64 description: Nível do ítem na hierarquia occupants: type: array items: type: object allOf: – #/definitions/newHierarchyItemCardOccupantDTO minimum: 1 description: Ocupantes do posto hasChildren: type: boolean description: Indica se o item possui filhos totalSubordinates: type: integer format: int64 description: Total de subordinados directSubordinates: type: integer format: int64 description: Subordinados diretos isChildren: type: boolean description: Indica se o item é filho do colaborador logado newHierarchyItemCardOccupantDTO: description: type: object required: – personId – employeeId – employeeRegisterNumber – personName – photoLink – jobPositionName – historicalJobPositionDateWhen – workstationGroupDateWhen – username – occupantPriority properties: personId: type: string description: Id da pessoa employeeId: type: string description: Id do colaborador employeeRegisterNumber: type: integer format: int64 description: Matrícula do colaborador personName: type: string description: Nome da pessoa photoLink: type: string description: Link da imagem da foto da pessoa jobPositionName: type: string description: Nome do cargo historicalJobPositionDateWhen: type: string format: date description: Data inicial do cargo atual do colaborador workstationGroupDateWhen: type: string format: date description: Data inicial do posto atual do colaborador username: type: string description: Utilizado para gerar o link para o perfil da pessoa occupantPriority: type: integer format: int64 description: Prioridade do colaborador para montagem da hierarquia padrão occupantDTO: description: type: object required: – position – person – employeeId – employeeRegisterNumber – jobPositionName – historicalJobPositionDateWhen – workstationGroupDateWhen – occupantPriority – hasChildren properties: position: type: object allOf: – #/definitions/positionDTO description: person: type: object allOf: – #/definitions/personDTO description: employeeId: type: string description: employeeRegisterNumber: type: integer format: int64 description: jobPositionName: type: string description: historicalJobPositionDateWhen: type: string format: date description: workstationGroupDateWhen: type: string format: date description: occupantPriority: type: integer format: int64 description: hasChildren: type: boolean description: isChildren: type: boolean description: positionDTO: description: type: object required: – hierarchyItemId – parentItemId – workstationGroup – treeLevel – hierarchyPosition properties: hierarchyItemId: type: string description: parentItemId: type: string description: workstationGroup: type: object allOf: – #/definitions/workstationGroupDTO description: treeLevel: type: integer format: int64 description: hierarchyPosition: type: string description: personDTO: description: type: object required: – personId – fullName – username – attachment properties: personId: type: string description: fullName: type: string description: username: type: string description: attachment: type: string description: WorkstationGroupKey: description: Chaves de um posto de trabalho do XT type: object required: – workstationGroupStructureCode – workstationGroupCode properties: workstationGroupStructureCode: type: integer format: int64 description: Código da estrutura de postos workstationGroupCode: type: string description: Código do posto de trabalho WorkstationGroupPriorityEmployeeDTO: description: Colaborador prioritário de um posto type: object required: – workstationGroupStructureCode – workstationGroupCode – companyNumber – employeeType – employeeRegisterNumber properties: workstationGroupStructureCode: type: integer format: int64 description: Código da estrutura de postos workstationGroupCode: type: string description: Código do posto de trabalho companyNumber: type: integer format: int64 description: Empresa do colabordor prioritário employeeType: type: integer format: int64 description: Tipo do colabordor prioritário employeeRegisterNumber: type: integer format: int64 description: Matrícula do colabordor prioritário companyResultInfo: description: Resultado de busca de empresa ou filial allOf: – #/definitions/generalFilterResultInfo – type: object required: – tradingName properties: tradingName: type: string description: Nome fantasia employeeSummaryDTO: description: Informações compostas do colaborador. type: object required: – hasPositionInTheHierarchy properties: employee: type: object allOf: – #/definitions/employeeDTO description: Informações básicas do colaborador. mainWorkstationGroupId: type: string description: Identificador único do Posto de atuação principal do colaborador mainWorkstationGroupName: type: string description: Nome do Posto de atuação principal do colaborador. multipleWorkstationGroups: type: array items: type: object allOf: – #/definitions/workstationGroupDTO description: Lista com o(s) posto(s) de atuação adicional do colaborador jobPositionName: type: string description: Nome do cargo do colaborador. companyName: type: string description: Nome da empresa em que o colaborador trabalha. hasPositionInTheHierarchy: type: boolean description: Verifica se o colaborador possui uma posição na hierarquia atual. employeeDTO: description: Colaborador. type: object required: – code properties: id: type: string description: Identificador único da entidade. code: type: integer format: int64 description: Código do colaborador. person: type: object allOf: – #/definitions/person description: Pessoa a qual o contrato de colaborador referência dimissalDate: type: string format: date description: Data de demissão do colaborador (Se for o caso). activeHistoricalWorkstationsDTO: description: DTO para retorno de detalhes dos históricos de postos de trabalho ativos do colaborador type: object required: – companyId – workstationGroupIds properties: companyId: type: string description: Identificador da empresa do colaborador workstationGroupIds: type: array items: type: string minimum: 1 description: Identificadores dos postos de trabalho generalEmployeeInfo: description: DTO para retorno de informações de colaboradores allOf: – #/definitions/generalFilterResultInfo – type: object properties: workstationLeaveDate: type: string format: date description: nome do objeto isDescendant: type: boolean description: Indica se o employee está/esteve abaixo do workstation da busca jobPositionId: type: string description: Identificador do cargo do funcionário employerId: type: string description: Identificador do empregador do empregado personId: type: string description: Identificador da pessoa ligada ao empregado leaderNhHierarchyItemDTO: description: Item da hierarquia com liderados diretos e o seu ocupante type: object required: – nhHierarchyId – nhHierarchyItemId – directSubordinatesCount – workstationGroup – domainFilter properties: nhHierarchyId: type: string description: Id da hierarquia nhHierarchyItemId: type: string description: Id do item da hierarquia directSubordinatesCount: type: integer format: int64 description: Quantidade de liderados diretos ativos: colaboradores com um posto vigente (atuação principal ou adicional) em um item filho imediato, na hierarquia vigente da empresa deles workstationGroup: type: object allOf: – #/definitions/leaderNhHierarchyItemWorkstationGroupDTO description: Posto de trabalho do item employee: type: object allOf: – #/definitions/leaderNhHierarchyItemEmployeeDTO description: Colaborador ocupante. Nulo quando o posto está vago jobPosition: type: object allOf: – #/definitions/leaderNhHierarchyItemJobPositionDTO description: Cargo do colaborador ocupante. Nulo quando o posto está vago domainFilter: type: object allOf: – #/definitions/leaderNhHierarchyItemDomainFilterDTO description: Abrangência. Do colaborador quando ocupado, do posto quando vago leaderNhHierarchyItemWorkstationGroupDTO: description: Posto de trabalho de um item da hierarquia com liderados diretos type: object required: – id – name properties: id: type: string description: Id do posto de trabalho name: type: string description: Nome do posto de trabalho leaderNhHierarchyItemEmployeeDTO: description: Colaborador ocupante de um item da hierarquia com liderados diretos type: object required: – id – personId properties: id: type: string description: Id do colaborador personId: type: string description: Id da pessoa name: type: string description: Nome do colaborador photo: type: object allOf: – #/definitions/leaderNhHierarchyItemPhotoDTO description: Foto do colaborador. Nula quando o colaborador não possui foto mainHistory: type: boolean description: Indica se o colaborador está no posto por atuação principal leaderNhHierarchyItemPhotoDTO: description: Dados do anexo da foto do colaborador, para que o chamador gere o link do arquivo type: object required: – attachmentId – name – fileKey properties: attachmentId: type: string description: Id do anexo da foto name: type: string description: Nome do arquivo da foto fileKey: type: string description: Chave do arquivo no armazenamento, no formato {schema do tenant}/attachment/{attachmentId}/{name} leaderNhHierarchyItemJobPositionDTO: description: Cargo do colaborador ocupante de um item da hierarquia com liderados diretos type: object required: – id properties: id: type: string description: Id do cargo code: type: string description: Código do cargo name: type: string description: Nome do cargo leaderNhHierarchyItemDomainFilterDTO: description: Códigos de abrangência de um item da hierarquia com liderados diretos type: object properties: companyCode: type: integer format: int64 description: Código da empresa branchCode: type: integer format: int64 description: Código da filial costCenterCode: type: string description: Código do centro de custo departmentCode: type: string description: Código do departamento nhHierarchyItemBasicInfo: description: Infos básicas do item da hierarquia type: object required: – id – revisionId – workstationGroupId – hierarchyPosition – treeLevel properties: id: type: string description: Id do item da hierarquia revisionId: type: string description: Id da revisão workstationGroupId: type: string description: Id do posto de trabalho hierarchyPosition: type: string description: Posição hierárquica treeLevel: type: integer format: int64 description: Nível da árvore parentPosition: type: string description: Posição pai createdDate: type: string format: date-time description: Data de criação lastModifiedDate: type: string format: date-time description: Data de modificação externalId: type: string description: Id externo employeeAndLeadersDTO: description: DTO para retorno dos líderes de um colaborador type: object required: – employeeId – employeeName – leaders properties: employeeId: type: string description: Identificador do colaborador employeeName: type: string description: Nome do colaborador leaders: type: array items: type: object allOf: – #/definitions/leaderOfEmployeeDTO minimum: 1 description: Lista dos líderes do colaborador com sua respectiva prioridade leaderOfEmployeeDTO: description: DTO para retorno dos líderes de um colaborador e sua respectiva prioridade type: object required: – leaderId – leaderName – leaderPrioritySequence properties: leaderId: type: string description: Identificador (employeeId) do líder leaderName: type: string description: Nome do líder leaderPrioritySequence: type: integer format: int64 description: Sequência de prioridade do líder no posto de trabalho meta: description: Tabela de registro das integrações com a G5 type: object required: – id – metaGroup – metaKey – metaValue properties: id: type: string description: Identificador único metaGroup: type: string description: Grupo metaKey: type: string description: Chave metaValue: type: string description: Valor editMeta: type: object required: – id allOf: – #/definitions/meta nhHierarchy: description: Hierarquia Beta type: object required: – workstationGroupStructure – hierarchyType – createdDate – lastModifiedDate – externalId properties: id: type: string maxLength: 32 description: Id da hierarquia workstationGroupStructure: type: object allOf: – #/definitions/workstationGroupStructure description: Estrutura de postos hierarchyType: type: object allOf: – #/definitions/nhHierarchyType description: Tipo de hierarquia createdDate: type: string format: date-time description: Data de criação lastModifiedDate: type: string format: date-time description: Última data de modificação externalId: type: string description: Id externo nhCompanyHierarchy: description: Hierarquia da empresa com Nova Hierarquia type: object required: – company – hierarchy – startDate properties: id: type: string maxLength: 32 description: Id da hierarquia company: type: object allOf: – #/definitions/company description: Empresa hierarchy: type: object allOf: – #/definitions/nhHierarchy description: Hierarquia startDate: type: string format: date description: Data de início workstationGroupStructure: description: Estrutura de postos type: object required: – name – code properties: id: type: string maxLength: 32 description: Id da estrutura name: type: string description: Nome da estrutura de postos code: type: integer format: int64 description: Código da estrutura de posto de trabalho – ESTPOS nhHierarchyType: description: Tipo de hierarquia beta type: object required: – code – description – createdDate – lastModifiedDate – externalId properties: id: type: string maxLength: 32 description: Id da hierarquia code: type: integer format: int64 description: Código do tipo de hierarquia description: type: string maxLength: 255 description: Nome do tipo de hierarquia observation: type: string description: Observações createdDate: type: string format: date-time description: Data de criação lastModifiedDate: type: string format: date-time description: Última data de modificação externalId: type: string description: Id externo nhHierarchyRevision: description: Revisão da hierarquia beta type: object required: – hierarchy – startDate – endDate – createdDate – lastModifiedDate – externalId properties: id: type: string maxLength: 32 description: Id da revisão hierarchy: type: object allOf: – #/definitions/nhHierarchy description: Hierarquia beta startDate: type: string format: date description: Data de início endDate: type: string format: date description: Data de fim observation: type: string description: Observações createdDate: type: string format: date-time description: Data de criação lastModifiedDate: type: string format: date-time description: Última data de modificação externalId: type: string description: Id externo nhHierarchyItem: description: Itens da hierarquia beta type: object required: – hierarchyRevision – workstationGroup – hierarchicalPosition – treeLevel – children – externalId – createdDate – lastModifiedDate properties: id: type: string maxLength: 32 description: Id do item hierarchyRevision: type: object allOf: – #/definitions/nhHierarchyRevision description: Id da revisão workstationGroup: type: object allOf: – #/definitions/workstationGroup description: Grupo de postos hierarchicalPosition: type: string description: Posição hierárquica treeLevel: type: integer format: int64 description: Nível da árvore parentPosition: type: object allOf: – #/definitions/nhHierarchyItem description: Pai do item children: type: array items: type: object allOf: – #/definitions/nhHierarchyItem minimum: 1 description: Filhos do item externalId: type: string description: Id externo createdDate: type: string format: date-time description: Data de criação lastModifiedDate: type: string format: date-time description: Data de modificação workstationGroup: description: Posto de trabalho type: object required: – name – workstationGroupStructure – code – creationDate – expirationDate properties: id: type: string maxLength: 32 description: Id do grupo de postos name: type: string maxLength: 255 description: Nome do grupo de postos workstationGroupStructure: type: object allOf: – #/definitions/workstationGroupStructure description: Grupo da estrutura de postos workstationGroupProfile: type: object allOf: – #/definitions/workstationGroupProfile description: Perfil do posto de trabalho headoffice: type: object allOf: – #/definitions/company description: Empresa branchoffice: type: object allOf: – #/definitions/company description: Filial costcenter: type: object allOf: – #/definitions/costcenter description: Centro de custo jobpositions: type: array items: type: object allOf: – #/definitions/jobPosition description: Cargos do posto code: type: string maxLength: 32 description: Código do grupo de postos creationDate: type: string format: date description: Data de criação do posto expirationDate: type: string format: date description: Data de expiração do posto department: type: object allOf: – #/definitions/department description: Local do Workstation Group workstationGroupProfile: description: Perfil do posto de trabalho type: object required: – workstationGroupType properties: id: type: string maxLength: 32 description: Id do grupo de postos workstationGroupType: type: integer format: int64 description: Tipo do posto de trabalho hierarchy: description: Hierarquia padrão type: object required: – description – name – lastUpdate – externalId properties: id: type: string maxLength: 32 description: Id da hierarquia description: type: string maxLength: 255 description: Descrição da hierarquia name: type: string maxLength: 255 description: Nome da hierarquia lastUpdate: type: string format: date-time description: Data da última modificação externalId: type: string description: Id externo hierarchyItem: description: Item da hierarquia padrão type: object required: – hierarchy – workstation – position properties: id: type: string maxLength: 32 description: Id do item hierarchy: type: object allOf: – #/definitions/hierarchy description: Hierarquia workstation: type: object allOf: – #/definitions/workstation description: Posto de trabalho parent: type: object allOf: – #/definitions/hierarchyItem description: Pai do item position: type: string maxLength: 500 description: Posição hierárquica companyHierarchy: description: Hierarquia da empresa type: object required: – company – hierarchy – startDate properties: id: type: string maxLength: 32 description: Id da hierarquia company: type: object allOf: – #/definitions/company description: Empresa hierarchy: type: object allOf: – #/definitions/hierarchy description: Hierarquia startDate: type: string format: date description: Data de início workstation: description: Histórico do posto de trabalho type: object required: – company – occupant – workstationGroup properties: id: type: string maxLength: 32 description: Id do posto company: type: object allOf: – #/definitions/company description: Empresa occupant: type: object allOf: – #/definitions/employee description: Ocupante do posto workstationGroup: type: object allOf: – #/definitions/workstationGroup description: Grupo do posto historicalWorkstation: description: Histórico de posto type: object required: – dateWhen – employee – workstationGroup – actingType – endDate properties: id: type: string maxLength: 32 description: Id do histórico dateWhen: type: string format: date description: Data de início employee: type: object allOf: – #/definitions/employee description: Colaborador workstationGroup: type: object allOf: – #/definitions/workstationGroup description: Posto actingType: type: object allOf: – #/definitions/actingType description: Tipo de atuação endDate: type: string format: date description: Término do posto actingType: description: Tipo de atuação type: object required: – code – description – mainHistory properties: id: type: string maxLength: 32 description: Id do tipo de atuação code: type: integer format: int64 description: Código description: type: string maxLength: 40 description: Descrição do tipo de atuação mainHistory: type: boolean description: Histórico principal company: description: Empresa type: object required: – companyName – tradingName – code properties: id: type: string maxLength: 32 description: Id da empresa companyName: type: string maxLength: 255 description: Nome da empresa tradingName: type: string maxLength: 40 description: Nome fantasia code: type: integer format: int64 description: Código da empresa headquarter: type: object allOf: – #/definitions/company description: Matriz employee: description: Colaborador type: object required: – employer – hireDate – jobPosition – person – companyNumber – registerNumber – employeeType – department – employmentRelationship properties: id: type: string maxLength: 32 description: Id do colaborador employer: type: object allOf: – #/definitions/company description: Empresa hireDate: type: string format: date description: Data de contratação jobPosition: type: object allOf: – #/definitions/jobPosition description: Cargo person: type: object allOf: – #/definitions/person description: Pessoa dismissalDate: type: string format: date description: Data de demissão companyNumber: type: integer format: int64 description: Número da empresa registerNumber: type: integer format: int64 description: Número de matrícula employeeType: type: integer format: int64 description: Tipo de colaborador costcenter: type: object allOf: – #/definitions/costcenter description: centro de Custos department: type: object allOf: – #/definitions/department description: Local employmentRelationship: type: object allOf: – #/definitions/employmentRelationship description: vinculo empresarial employeeEmail: description: Email corporativo do Colaborador type: object properties: id: type: string maxLength: 32 description: Identificador único do aviso employee: type: object allOf: – #/definitions/employee description: Colaborador email: type: string description: Email Corporativo editEmployeeEmail: type: object required: – id allOf: – #/definitions/employeeEmail employmentRelationship: description: Vínculo trabalhista type: object properties: id: type: string description: Identificador único da entidade. code: type: integer format: int64 description: Código da g5 do vínculo name: type: string description: Nome do vínculo costcenter: description: Centro de custo type: object required: – id properties: id: type: string description: Identificador único do centro de custo company: type: string description: Empresa name: type: string description: Nome do centro de custo code: type: string description: Código do centro de custo expirationDate: type: string format: date description: Data de extinção do centro de custo creationDate: type: string format: date description: Data de criação do centro de custo editCostcenter: type: object required: – id allOf: – #/definitions/costcenter jobPositionStructure: description: Estrutura de cargos type: object required: – id – name properties: id: type: string description: Identificador único da estrutura name: type: string description: Nome da estrutura de cargos editJobPositionStructure: type: object required: – id allOf: – #/definitions/jobPositionStructure jobPosition: description: Cargo type: object required: – name – code properties: id: type: string maxLength: 32 description: Id do cargo name: type: string maxLength: 255 description: Nome do cargo code: type: string maxLength: 32 description: Código do cargo jobPositionStructure: type: object allOf: – #/definitions/jobPositionStructure description: Identificador da estrutura a qual esta entidade está associada expirationDate: type: string format: date description: Data de expiração do cargo creationDate: type: string format: date description: Data de criação do cargo companyJobPositionStructure: description: Ligação de uma estrutura de cargos com uma empresa type: object required: – id – company – jobPositionStructure – startdate properties: id: type: string description: Identificador único da estrutura company: type: object allOf: – #/definitions/company description: Empresa da estrutura jobPositionStructure: type: object allOf: – #/definitions/jobPositionStructure description: Estrutura de cargo que está relacionada à empresa startdate: type: string format: date description: Data em que a estrutura de cargo entrou em vigor na empresa editCompanyJobPositionStructure: type: object required: – id allOf: – #/definitions/companyJobPositionStructure historicalJobPosition: description: Histórico de cargo type: object required: – dateWhen – employee – jobPosition properties: id: type: string maxLength: 32 description: Id do histórico dateWhen: type: string format: date description: Data de início employee: type: object allOf: – #/definitions/employee description: Colaborador jobPosition: type: object allOf: – #/definitions/jobPosition description: Cargo endDate: type: string format: date description: Data de término person: description: Pessoa type: object required: – firstName – middleName – lastName – fullName – username – attachment – thumbnailattachment properties: id: type: string maxLength: 32 description: Id da pessoa firstName: type: string description: Primeiro nome middleName: type: string description: Nome do meio lastName: type: string description: Último nome fullName: type: string description: Nome da pessoa username: type: string description: Usuário attachment: type: string description: Foto de perfil da pessoa thumbnailattachment: type: string description: Link da miniatura da foto. code: type: string description: Código da pessoa na G5 attachment: description: Anexos type: object required: – name properties: id: type: string maxLength: 32 description: Id do anexo name: type: string description: Nome do anexo priorityWorkstationGroupOccupants: description: Prioridade dos ocupantes do posto type: object required: – workstationGroup – employee – sequence properties: id: type: string format: uuid description: Id da prioridade workstationGroup: type: object allOf: – #/definitions/workstationGroup description: Posto de trabalho employee: type: object allOf: – #/definitions/employee description: Colaborador sequence: type: integer format: int64 description: Sequência editPriorityWorkstationGroupOccupants: type: object required: – id allOf: – #/definitions/priorityWorkstationGroupOccupants tenantSetting: description: type: object required: – id – restrictEmployeeByCompany properties: id: type: string description: Identificador restrictEmployeeByCompany: type: boolean description: Restringe colaborador por empresa vacancy: description: Vaga de emprego. type: object required: – requester properties: id: type: string description: Identificador único da entidade. requester: type: object allOf: – #/definitions/employee description: Solicitante da vaga. company: type: object allOf: – #/definitions/company description: Empresa workstationgroup: type: object allOf: – #/definitions/workstationGroup description: Representa o posto de trabalho. jobposition: type: object allOf: – #/definitions/jobPosition description: Cargo da vaga. costcenter: type: object allOf: – #/definitions/costcenter description: Centro de custo createdat: type: string format: date description: Data de Criação department: type: object allOf: – #/definitions/department description: Departamento editVacancy: type: object required: – id allOf: – #/definitions/vacancy staffRequisition: description: Requisição de pessoal. type: object required: – requester properties: id: type: string description: Identificador único da entidade. requester: type: object allOf: – #/definitions/employee description: Solicitante da vaga. company: type: object allOf: – #/definitions/company description: Empresa workstationgroup: type: object allOf: – #/definitions/workstationGroup description: Posto de trabalho. jobposition: type: object allOf: – #/definitions/jobPosition description: Cargo da vaga. costcenter: type: object allOf: – #/definitions/costcenter description: Centro de custo createdat: type: string format: date description: Data de Criação department: type: object allOf: – #/definitions/department description: Departamento editStaffRequisition: type: object required: – id allOf: – #/definitions/staffRequisition department: description: Local do posto de trabalho type: object required: – id properties: id: type: string description: Identificador único do local code: type: string description: Código do local name: type: string description: Nome do local creationdate: type: string format: date description: Data de criação do departamento expirationdate: type: string format: date description: Data de expiração do departamento editDepartment: type: object required: – id allOf: – #/definitions/department organizationalchartitem: description: Locais do organograma type: object required: – id – name – departament – organizationalchart properties: id: type: string description: Identificador único do item name: type: string description: Nome do local no organograma departament: type: object allOf: – #/definitions/department description: Local do nível do organograma organizationalchart: type: object allOf: – #/definitions/organizationalchart description: Organograma ao qual o local pertence editOrganizationalchartitem: type: object required: – id allOf: – #/definitions/organizationalchartitem organizationalchart: description: Organograma da empresa type: object required: – id – description – name – companyId properties: id: type: string description: Identificador único do organograma description: type: string description: Descrição do organograma name: type: string description: Nome do organograma companyId: type: object allOf: – #/definitions/company description: Empresa editOrganizationalchart: type: object required: – id allOf: – #/definitions/organizationalchart featureControl: description: Funcionalidade controlada type: object required: – featureName – active properties: id: type: string maxLength: 32 description: Id da funcionalidade featureName: type: string maxLength: 255 description: Nome da funcionalidade active: type: boolean description: Indica se a funcionalidade está ativa ou não userAccount: description: Ligação entre os usuários da G7 e o colaborador/pessoa type: object properties: id: type: string maxLength: 32 description: Identificador username: type: string description: Nome de usuário na G7 person: type: object allOf: – #/definitions/person description: Pessoa ligada ao usuário employee: type: object allOf: – #/definitions/employee description: Colaborador ligado ao usuário notifyUserEventPayload: description: Represents a regular user event notification payload discriminator: _discriminator type: object required: – notificationKind – notificationPriority – notificationSubject – notificationContent – sourceDomain – sourceService – destinationUser – _discriminator properties: notificationClass: type: string description: Class of notification notificationOrigin: type: string description: Origin of notification. Free text. Optional. notificationKind: type: string allOf: – #/definitions/userNotificationKind description: Notification kind. notificationPriority: type: string allOf: – #/definitions/userNotificationPriority description: Notification priority. notificationSubject: type: string description: Notification subject. notificationContent: type: string description: Notification content. sourceDomain: type: string description: Domain that generates the notification. sourceService: type: string description: Service that generates the notification. destinationUser: type: string description: Username of the destination user. link: type: string description: Notification link _discriminator: type: string description: emailNotifyUserEventPayload: description: Represents an email notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – from properties: from: type: string description: Email sender address sendTo: type: array items: type: string description: Additional recipients to send the email to format: type: string allOf: – #/definitions/eventEmailFormat description: Email format pushNotifyUserEventPayload: description: Represents a push notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – applicationId properties: applicationId: type: string description: Apple/Google application id blobReference: description: Default blob reference type. Every service defines its own. type: object required: – targetObjectId properties: domainName: type: string description: The domain the blob belongs to. serviceName: type: string description: The service the blob belongs to. targetObjectId: type: string description: The basic id of the blob. targetCopyId: type: string description: The id of the blob copy. basicErrorPayload: description: Default error payload type. Every service defines its own. type: object properties: message: type: string description: The user-facing error message, if any. errorCode: type: string description: The program-accessible (and service-specific) error code. importError: description: type: object required: – errorType – lineNumber – bean – message – exceptionClass properties: errorType: type: string allOf: – #/definitions/errorType description: lineNumber: type: integer format: int64 description: bean: type: string description: message: type: string description: exceptionClass: type: string description: fielddto: description: type: object required: – id – name – fieldType properties: id: type: integer format: int64 description: name: type: string description: fieldType: type: string allOf: – #/definitions/fieldType description: start: type: integer format: int64 description: size: type: integer format: int64 description: maskPattern: type: string description: hookdto: description: type: object required: – hookFunction – script properties: hookFunction: type: string allOf: – #/definitions/hookFunction description: script: type: string description: layoutdto: description: type: object required: – id – description – fileFormat – errorStrategy – skipLines – fields properties: id: type: integer format: int64 description: description: type: string description: fileFormat: type: string allOf: – #/definitions/fileFormat description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: delimiter: type: string description: skipLines: type: integer format: int64 description: fields: type: array items: type: object allOf: – #/definitions/fielddto minimum: 1 description: hooks: type: array items: type: object allOf: – #/definitions/hookdto description: importReport: description: type: object required: – id – startTime – endTime – uri – beanClass – serviceClass – layout – sucessCount – errorsCount – filteredCount – skippedCount properties: id: type: string description: startTime: type: string format: date-time description: endTime: type: string format: date-time description: uri: type: string description: beanClass: type: string description: serviceClass: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: sucessCount: type: integer format: int64 description: errorsCount: type: integer format: int64 description: filteredCount: type: integer format: int64 description: skippedCount: type: integer format: int64 description: importErrors: type: array items: type: object allOf: – #/definitions/importError description: exportEventStatus: description: type: object required: – importerId – eventType – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: recordCount: type: integer format: int64 description: importEventStatus: description: type: object required: – importerId – eventType – status – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: status: type: string allOf: – #/definitions/status description: errorMessage: type: string description: recordCount: type: integer format: int64 description: importReport: type: object allOf: – #/definitions/importReport description: exportConfig: description: type: object required: – uri – layout – async – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: errorStrategy: type: string description: importConfig: description: type: object required: – uri – layout – async – batchSize – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: batchSize: type: integer format: int64 description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: dependency: description: Represents a service dependency type: object required: – domain – service – version properties: domain: type: string description: Domain of the dependency service service: type: string description: Name of the dependency service type: string description: Version of the dependency service genericError: properties: message: type: string description: Messaging describing the error. reason: type: string enum: – BAD_REQUEST – UNAUTHORIZED – PAYMENT_REQUIRED – FORBIDDEN – OBJECT_NOT_FOUND – REQUEST_TIMEOUT – GONE – UNPROCESSABLE – INTERNAL_ERROR – NOT_IMPLEMENTED – SERVICE_UNAVAILABLE – INSUFFICIENT_STORAGE description: A symbolic code identifying the category of the reason of the error: * `BAD_REQUEST` – Bad Request * `UNAUTHORIZED` – Unauthorized * `PAYMENT_REQUIRED` – Payment Required * `OBJECT_NOT_FOUND` – Object Not Found * `REQUEST_TIMEOUT` – Request Timeout * `GONE` – Gone * `UNPROCESSABLE` – Unprocessable * `INTERNAL_ERROR` – Internal Error * `NOT_IMPLEMENTED` – Not Implemented * `SERVICE_UNAVAILABLE` – Service Unavailable * `INSUFFICIENT_STORAGE` – Insufficient Storage