2.0info: 1.28.1 mon_monitoramento description: Serviço de monitoramento x-senior-domain: erp_mon x-senior-domain-path: erp_mon x-senior-service-path: mon_monitoramento 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/erp_monsecurityDefinitions: APIKeyHeader: type: apiKey in: header name: Authorizationsecurity: – APIKeyHeader: [] – application/json – application/jsonpaths: /mon_monitoramento/queries/getLoginErpXtOverview: post: description: Retorna uma Visão Geral com contadores de clientes e usuários dos últimos 2 meses tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – customersG5 – customersFacelift – customersFaceliftTenant – customersCef – customersCefTenant – usersG5 – usersFacelift – usersFaceliftTenant – usersCef – usersCefTenant properties: customersG5: type: integer format: int64 description: Total clientes G5 customersFacelift: type: integer format: int64 description: Total clientes Facelift customersFaceliftTenant: type: integer format: int64 description: Total clientes Facelift com Tenant customersCef: type: integer format: int64 description: Total clientes utilizando CEF customersCefTenant: type: integer format: int64 description: Total clientes utilizando CEF com Tenant usersG5: type: integer format: int64 description: Total de Usuários G5 usersFacelift: type: integer format: int64 description: Total de Usuários Facelift usersFaceliftTenant: type: integer format: int64 description: Total de Usuários Facelift com Tenant usersCef: type: integer format: int64 description: Total de Usuários utilizando CEF usersCefTenant: type: integer format: int64 description: Total Usuários utilizando CEF com Tenant 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna uma Visão Geral com contadores de clientes e usuários dos últimos 2 meses tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – customersG5 – customersFacelift – customersFaceliftTenant – customersCef – customersCefTenant – usersG5 – usersFacelift – usersFaceliftTenant – usersCef – usersCefTenant properties: customersG5: type: integer format: int64 description: Total clientes G5 customersFacelift: type: integer format: int64 description: Total clientes Facelift customersFaceliftTenant: type: integer format: int64 description: Total clientes Facelift com Tenant customersCef: type: integer format: int64 description: Total clientes utilizando CEF customersCefTenant: type: integer format: int64 description: Total clientes utilizando CEF com Tenant usersG5: type: integer format: int64 description: Total de Usuários G5 usersFacelift: type: integer format: int64 description: Total de Usuários Facelift usersFaceliftTenant: type: integer format: int64 description: Total de Usuários Facelift com Tenant usersCef: type: integer format: int64 description: Total de Usuários utilizando CEF usersCefTenant: type: integer format: int64 description: Total Usuários utilizando CEF com Tenant 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /mon_monitoramento/queries/getLoginErpXtRegistros: post: description: Retorna uma Visão Geral com contadores de clientes e usuários dentre um período tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – startDate – finalDate properties: startDate: type: string format: date description: Intervalo inicial de registros. Limite de 60 dias? finalDate: type: string format: date description: Intervalo final de registros percentage: type: boolean description: Converte os valores para percentual default: false responses: 200: description: Ok schema: type: object required: – dates – customersG5 – customersFacelift – customersFaceliftTenant – customersCef – customersCefTenant – usersG5 – usersFacelift – usersFaceliftTenant – usersCef – usersCefTenant properties: dates: type: array items: type: string format: date minimum: 1 description: Datas de registro customersG5: type: array items: type: number format: double minimum: 1 description: Registros clientes G5 customersFacelift: type: array items: type: number format: double minimum: 1 description: Registros clientes Facelift customersFaceliftTenant: type: array items: type: number format: double minimum: 1 description: Registros clientes Facelift com Tenant customersCef: type: array items: type: number format: double minimum: 1 description: Registros clientes CEF customersCefTenant: type: array items: type: number format: double minimum: 1 description: Registros clientes CEF com Tenant usersG5: type: array items: type: number format: double minimum: 1 description: Registros de Usuários G5 usersFacelift: type: array items: type: number format: double minimum: 1 description: Registros de Usuários Facelift usersFaceliftTenant: type: array items: type: number format: double minimum: 1 description: Registros de Usuários Facelift com Tenant usersCef: type: array items: type: number format: double minimum: 1 description: Registros de Usuários CEF usersCefTenant: type: array items: type: number format: double minimum: 1 description: Registros de Usuários CEF com Tenant 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna uma Visão Geral com contadores de clientes e usuários dentre um período tags: – Queries x-senior-visibility: PRIVATE parameters: – name: startDate description: Intervalo inicial de registros. Limite de 60 dias? in: query required: true type: string format: date – name: finalDate description: Intervalo final de registros in: query required: true type: string format: date – name: percentage description: Converte os valores para percentual in: query type: boolean responses: 200: description: Ok schema: type: object required: – dates – customersG5 – customersFacelift – customersFaceliftTenant – customersCef – customersCefTenant – usersG5 – usersFacelift – usersFaceliftTenant – usersCef – usersCefTenant properties: dates: type: array items: type: string format: date minimum: 1 description: Datas de registro customersG5: type: array items: type: number format: double minimum: 1 description: Registros clientes G5 customersFacelift: type: array items: type: number format: double minimum: 1 description: Registros clientes Facelift customersFaceliftTenant: type: array items: type: number format: double minimum: 1 description: Registros clientes Facelift com Tenant customersCef: type: array items: type: number format: double minimum: 1 description: Registros clientes CEF customersCefTenant: type: array items: type: number format: double minimum: 1 description: Registros clientes CEF com Tenant usersG5: type: array items: type: number format: double minimum: 1 description: Registros de Usuários G5 usersFacelift: type: array items: type: number format: double minimum: 1 description: Registros de Usuários Facelift usersFaceliftTenant: type: array items: type: number format: double minimum: 1 description: Registros de Usuários Facelift com Tenant usersCef: type: array items: type: number format: double minimum: 1 description: Registros de Usuários CEF usersCefTenant: type: array items: type: number format: double minimum: 1 description: Registros de Usuários CEF com Tenant 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /mon_monitoramento/queries/getTenantsWithXTActive: post: description: Traz a listagem de tenants distintos com login utilizados com login XT tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: startDate: type: string format: date description: Data de inicio para o filtro endDate: type: string format: date description: Data de fim para o filtro responses: 200: description: Ok schema: type: object required: – records – totalRecords properties: records: type: array items: type: string minimum: 1 description: Lista de Registros de Login totalRecords: type: integer format: int64 description: Total de Registros Encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Traz a listagem de tenants distintos com login utilizados com login XT tags: – Queries x-senior-visibility: PRIVATE parameters: – name: startDate description: Data de inicio para o filtro in: query type: string format: date – name: endDate description: Data de fim para o filtro in: query type: string format: date responses: 200: description: Ok schema: type: object required: – records – totalRecords properties: records: type: array items: type: string minimum: 1 description: Lista de Registros de Login totalRecords: type: integer format: int64 description: Total de Registros Encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /mon_monitoramento/queries/pesquisarSituacaoTenants: post: description: Retorna os tenants e o status dos integradores conforme os filtros passados tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: tenant: type: string maxLength: 100 description: Nome do tenant servico: type: object allOf: – #/definitions/recServicosInput description: Serviço e Status do Serviço itService: type: boolean description: Retorna somente tenants ITService default: false logErro: type: boolean description: Retorna logs de erro default: true responses: 200: description: Ok schema: type: object required: – tenants properties: tenants: type: array items: type: object allOf: – #/definitions/recTenant minimum: 1 description: Lista de tenants com seus status inativos: type: integer format: int64 description: Quantidade de Tenants Inativos ativos: type: integer format: int64 description: Quantidade de Tenants Ativos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /mon_monitoramento/queries/pesquisarTenantsMonitorados: post: description: Pesquisar Tenants Monitorados tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – tenants properties: tenants: type: array items: type: string minimum: 1 description: Tenants que estão sendo monitorados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Pesquisar Tenants Monitorados tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – tenants properties: tenants: type: array items: type: string minimum: 1 description: Tenants que estão sendo monitorados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /mon_monitoramento/queries/pesquisarUtilizacaoSolucoes: post: description: Retorna a utilizacao das solucoes Senior tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: dominio: type: string description: Dominio solucao: type: string description: Solucao schema: type: string description: Schema dataBase: type: string format: date description: Data base da pesquisa responses: 200: description: Ok schema: type: object required: – solucoes properties: solucoes: type: array items: type: object allOf: – #/definitions/recUtilizacaoSolucoes minimum: 1 description: Lista de Solucoes com a sua utilizacao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna a utilizacao das solucoes Senior tags: – Queries x-senior-visibility: PRIVATE parameters: – name: dominio description: Dominio in: query type: string – name: solucao description: Solucao in: query type: string – name: schema description: Schema in: query type: string – name: dataBase description: Data base da pesquisa in: query type: string format: date responses: 200: description: Ok schema: type: object required: – solucoes properties: solucoes: type: array items: type: object allOf: – #/definitions/recUtilizacaoSolucoes minimum: 1 description: Lista de Solucoes com a sua utilizacao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /mon_monitoramento/queries/searchTenantsLogin: post: description: Retorna os tenants com login registrados tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – offset – limit properties: clientCode: type: integer format: int64 description: Client Code fantasia: type: string description: Fantasia loginType: type: string allOf: – #/definitions/enumLoginType description: Tipo de login type: string description: Versão G5 offset: type: integer format: int64 description: Offset limit: type: integer format: int64 description: Limit sort: type: object allOf: – #/definitions/recListaOrdenacao description: Ordenação responses: 200: description: Ok schema: type: object required: – records – totalRecords properties: records: type: array items: type: object allOf: – #/definitions/recRegistrosLogin minimum: 1 description: Lista de Registros de Login totalRecords: type: integer format: int64 description: Total de Registros Encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /mon_monitoramento/queries/searchTenantsLoginDetail: post: description: Retorna os tenants com os logins registrados – Detalhe tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – offset – limit properties: clientCode: type: integer format: int64 description: Client Code offset: type: integer format: int64 description: Offset limit: type: integer format: int64 description: Limit sort: type: object allOf: – #/definitions/recListaOrdenacao description: Ordenação responses: 200: description: Ok schema: type: object required: – records – totalRecords properties: records: type: array items: type: object allOf: – #/definitions/recRegistrosLoginDetail minimum: 1 description: Lista de Registros de Login Detalhado totalRecords: type: integer format: int64 description: Total de Registros Encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /mon_monitoramento/queries/pesquisarErrosReplicacaoBifrost: post: description: Retorna os dados de Erros de Replicação do Bifrost. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – dataInclusao – paginacao properties: schema: type: string maxLength: 75 description: Schema dataInclusao: type: string format: date description: Data de Inclusão do Registro paginacao: type: object allOf: – #/definitions/recPaginacao description: Paginação responses: 200: description: Ok schema: type: object required: – registros – totalErros – totalRecords properties: registros: type: array items: type: object allOf: – #/definitions/recErrosReplicacaoBifrost minimum: 1 description: Lista com os Registros totalErros: type: integer format: int64 description: Count – Total de Erros totalRecords: type: integer format: int64 description: Total de Registros Encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /mon_monitoramento/queries/pesquisarEmailsMonitoramento: post: description: Pesquisar os emails cadastrados por tenant para receber os avisos quando algum dos serviços monitorados estiver apresentando problema tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – tenants properties: tenants: type: array items: type: string minimum: 1 description: Filtro pelos tenants responses: 200: description: Ok schema: type: object required: – dados properties: dados: type: array items: type: object allOf: – #/definitions/recEmailsPorTenant minimum: 1 description: Retorno os emails cadastrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /mon_monitoramento/queries/pesquisarSituacaoTour: post: description: Pesquisar Tenants e Situação do Tour tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: tenant: type: string description: Filtro pelos tenants dominio: type: string description: Domínio solucao: type: string description: Solução progresso: type: string allOf: – #/definitions/enumProgresso description: Progresso dataInicio: type: string format: date description: Data Inicio dataFim: type: string format: date description: Data Fim responses: 200: description: Ok schema: type: object required: – tours properties: tours: type: array items: type: object allOf: – #/definitions/recMonitoramentoTour minimum: 1 description: Retorno com os tenants e situação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Pesquisar Tenants e Situação do Tour tags: – Queries x-senior-visibility: PRIVATE parameters: – name: tenant description: Filtro pelos tenants in: query type: string – name: dominio description: Domínio in: query type: string – name: solucao description: Solução in: query type: string – name: progresso description: Progresso in: query type: string allOf: – #/definitions/enumProgresso – name: dataInicio description: Data Inicio in: query type: string format: date – name: dataFim description: Data Fim in: query type: string format: date responses: 200: description: Ok schema: type: object required: – tours properties: tours: type: array items: type: object allOf: – #/definitions/recMonitoramentoTour minimum: 1 description: Retorno com os tenants e situação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /mon_monitoramento/queries/isTourDone: post: description: Verifica se o usuário da mensagem já realizou determinado tour tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – dominio – solucao properties: dominio: type: string description: Domínio solucao: type: string description: Solução responses: 200: description: Ok schema: type: object required: – isTourDone properties: isTourDone: type: boolean description: Retorno se o tour foi feito ou não lastStep: type: integer format: int64 description: Última Step que o usuário parou do Tour 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Verifica se o usuário da mensagem já realizou determinado tour tags: – Queries x-senior-visibility: PRIVATE parameters: – name: dominio description: Domínio in: query required: true type: string – name: solucao description: Solução in: query required: true type: string responses: 200: description: Ok schema: type: object required: – isTourDone properties: isTourDone: type: boolean description: Retorno se o tour foi feito ou não lastStep: type: integer format: int64 description: Última Step que o usuário parou do Tour 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /mon_monitoramento/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 /mon_monitoramento/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 /mon_monitoramento/actions/gravarTenant: post: description: Action para cadastrar/alterar um Tenant na Tabela Monitoramento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – tenant – tipoTenant – etlUsuario – erpUsuario – servicoLogistica properties: tenant: type: string maxLength: 60 description: Tenant tipoTenant: type: string allOf: – #/definitions/enumTipoTenant description: Tipo do Tenant etlUsuario: type: string maxLength: 60 description: ETL Usuário erpUsuario: type: string maxLength: 60 description: ERP Service Usuario formaMonitoramento: type: string allOf: – #/definitions/enumFormaMonitoramento description: Forma de Monitoramento tempoMonitoramento: type: number format: double description: Tempo Monitoramento proximaChamada: type: string format: date-time description: Data da Próxima Chamada ultimaChamada: type: string format: date-time description: Data Última Chamada statusAtual: type: string allOf: – #/definitions/enumAtivoInativo description: Status Atual monitoramentoAtivo: type: string allOf: – #/definitions/enumAtivoInativo description: Status Monitoramento falhasEmail: type: integer format: int64 description: Quantidade de falhas para disparar o e-mail servicoLogistica: type: boolean description: Flag para controlar se será criado Serviço para Logística isFromIdentificarTenantsCargaInicial: type: boolean description: Flag para controlar se será um tenant vindo do IdentificarTenantsCargaInicial responses: 200: description: Ok schema: type: object required: – tenantCriado properties: tenantCriado: type: boolean description: Confirmação tenant criado. 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /mon_monitoramento/actions/incluirEmailsMonitoramento: post: description: Incluir emails para receber os avisos quando algum dos serviços monitorados estiver apresentando problema tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – emails properties: emails: type: array items: type: object allOf: – #/definitions/recEmailMonitoramentoBase minimum: 1 description: Email que irá ser cadastrado para receber os avisos responses: 200: description: Ok schema: type: object required: – emailsCadastrados properties: emailsCadastrados: type: array items: type: object allOf: – #/definitions/recEmailMonitoramentoBase minimum: 1 description: Retorno os emails cadastrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /mon_monitoramento/actions/excluirEmailsMonitoramento: post: description: Excluir emails que recebem os avisos quando algum dos serviços monitorados estiver apresentando problema tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – emails properties: emails: type: array items: type: object allOf: – #/definitions/recEmailMonitoramentoBase minimum: 1 description: Emails que serão excluídos do recebimento dos avisos responses: 200: description: Ok schema: type: object required: – emailsExcluidos properties: emailsExcluidos: type: array items: type: object allOf: – #/definitions/recEmailMonitoramentoBase minimum: 1 description: Retorno dos emails excluídos mensagemErro: type: array items: type: string description: Mensagem de Erro 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /mon_monitoramento/actions/registrarInformacaoBaseG5: post: description: Registrar informações da G5 tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – rotina – texto properties: rotina: type: string maxLength: 30 description: Identificar único da rotina que está sendo registradas as informações clienteCodigo: type: integer format: int64 description: Código do Cliente baseG5Origem: type: string allOf: – #/definitions/enumTipoTenant description: Opcional – Origem da base (homologação ou produção) – Quando não informado será considerado produção texto: type: string format: byte description: Informação que deverá ser grava em um campo texto/json responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /mon_monitoramento/signals/identificarTenantsCargaInicial: post: description: Atualiza na tabela monitoramento os tenants com carga inicial realizada tags: – Signals parameters: – name: input in: body required: true schema: type: object responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /mon_monitoramento/signals/realizarMonitoramentoServicos: post: description: Realiza o Monitoramento dos Serviços Configurados/Cadastrados tags: – Signals parameters: – name: input in: body required: true schema: type: object responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /mon_monitoramento/signals/identificarUtilizacaoSolucoes: post: description: Realiza pesquisa com contagem de utilizacao de cada solucao por schema tags: – Signals parameters: – name: input in: body required: true schema: type: object properties: dataInicio: type: string format: date description: Data Inicio do Select responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /mon_monitoramento/signals/identificarErrosReplicacaoBifrost: post: description: Realiza pesquisa na tabela bifrsot_sync_pendency retornando os erros de replicação tags: – Signals parameters: – name: input in: body required: true schema: type: object responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /mon_monitoramento/signals/identificarUtilizacaoCamadaGestao: post: description: Identifica se o tenant que for enviado utiliza a Camada Gestão tags: – Signals parameters: – name: input in: body required: true schema: type: object responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /mon_monitoramento/signals/registraLoginErpXt: post: description: Cadastra no banco todo tenant que faz login na SeniorXT tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – loginType – user properties: clientCode: type: integer format: int64 description: Código do Cliente tenant: type: string maxLength: 100 description: Tenant loginType: type: string allOf: – #/definitions/enumLoginType description: Tipo de login type: string maxLength: 20 description: Versão da G5 user: type: string maxLength: 50 description: Usuário responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /mon_monitoramento/signals/processarFilaEtl: post: description: Processa chamadas para ETL tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – tenant – usuario properties: tenant: type: string description: Nome do tenant usuario: type: string description: Usuário da ETL responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /mon_monitoramento/signals/processarFilaErpService: post: description: Processa chamadas para ERP Service tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – tenant properties: tenant: type: string description: Nome do tenant responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /mon_monitoramento/signals/processarFilaEtlLogistica: post: description: Processa chamadas para o ETL Logistica tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – tenant properties: tenant: type: string description: Tenant responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /mon_monitoramento/signals/processarFilaDmlLogistica: post: description: Processa chamadas para DML Logistica tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – tenant properties: tenant: type: string description: Nome do tenant responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /mon_monitoramento/signals/registrarTour: post: description: Registra informações sobre a realização do Tour tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – dominio – solucao – progresso properties: dominio: type: string maxLength: 15 description: Domínio solucao: type: string maxLength: 20 description: Solução progresso: type: string allOf: – #/definitions/enumProgresso description: Progresso step: type: integer format: int64 description: Step do Tour responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericErrordefinitions: enumLoginType: description: Tipo de login que está sendo efetuado type: string enum: – G5 – FACELIFT – FACELIFT_COM_TENANT – FACELIFT_OFFLINE – CEF – CEF_COM_TENANT enumTipoOrdenacao: description: Enum tipo de ordenar type: string enum: – Asc – Desc enumTipoTenant: description: Enum tipo usuário Tenant type: string enum: – HOMOLOGACAO – PRODUCAO enumFormaMonitoramento: description: Enum forma de monitoramento type: string enum: – ERPSERVICE – ERPETL – LOGISTICA_ETL – LOGISTICA_DML enumAtivoInativo: description: Enum Ativo – Inativo type: string enum: – INATIVO – ATIVO enumProgresso: description: Progressos do Tour type: string enum: – INICIO – FIM userNotificationKind: description: User notification kind. type: string enum: – Operational – Management – News userNotificationPriority: description: User notification priority. type: string enum: – Error – Alert – None eventEmailFormat: description: Format of the email type: string enum: – HTML – PLAIN_TEXT recTenant: description: Record dos tenants type: object required: – tenant – servicos properties: tenant: type: string maxLength: 100 description: Nome do tenant servicos: type: array items: type: object allOf: – #/definitions/recServicos minimum: 1 description: Serviços vinculados ao Tenant recServicos: description: Record dos Servicos type: object required: – servico – statusAtual – proximaChamada – monitoramentoChamadas properties: servico: type: string allOf: – #/definitions/enumFormaMonitoramento description: Serviço statusAtual: type: string allOf: – #/definitions/enumAtivoInativo description: Status Atual do Serviço proximaChamada: type: string format: date-time description: Data da Próxima chamada monitoramentoChamadas: type: object allOf: – #/definitions/recMonitoramentoChamadas description: Record Monitoramento Chamadas recMonitoramentoChamadas: description: Record Monitoramento Chamadas type: object required: – mensagemErro – causaErro – dataChamada properties: mensagemErro: type: string description: Mensagem de Erro causaErro: type: string description: Causa do Erro dataChamada: type: string format: date-time description: Data da Chamada dataResposta: type: string format: date-time description: Data da Resposta recServicosInput: description: Record da Primitiva PesquisarSituacaoTenants type: object required: – tipoServico properties: tipoServico: type: string allOf: – #/definitions/enumFormaMonitoramento description: Tipo Serviço status: type: string allOf: – #/definitions/enumAtivoInativo description: Status do Serviço recUtilizacaoSolucoes: description: Record da Utilizacao das Solucoes type: object required: – dominio – solucao – totalRegistros – schema – dataBase properties: dominio: type: string description: Dominio solucao: type: string description: Solucao totalRegistros: type: integer format: int64 description: Total Registros schema: type: string description: Schema dataBase: type: string format: date description: Data Base recRegistrosLogin: description: Record Registros Login type: object required: – clientCode – fantasia – countG5 – countFacelift – countFaceliftTenant – countCef – countCefTenant properties: clientCode: type: integer format: int64 description: Código do cliente fantasia: type: string description: Fantasia countG5: type: integer format: int64 description: Total de Acessos utilizando a G5 countFacelift: type: integer format: int64 description: Total de Acessos utilizando Facelift countFaceliftTenant: type: integer format: int64 description: Total de Acessos utilizando Facelift c/ Tenant countCef: type: integer format: int64 description: Total de Acessos utilizando CEF countCefTenant: type: integer format: int64 description: Total de Acessos utilizando CEF c/ Tenant recRegistrosLoginDetail: description: Record de Registros de Login Detail type: object required: – clientCode – fantasia – versionG5 – tenant – loginType – userQuantity – lastAccess properties: clientCode: type: integer format: int64 description: Client Code fantasia: type: string description: Fantasia versionG5: type: string description: Versão da G5 tenant: type: string description: Tenant loginType: type: string allOf: – #/definitions/enumLoginType description: Tipo de Login userQuantity: type: integer format: int64 description: Quantidade de Usuários lastAccess: type: string format: date description: Data do Último Acesso recRegistrosLoginDatas: description: Record Registros Login Datas type: object required: – username – dataAcesso properties: username: type: string description: Usuário dataAcesso: type: string format: date description: Data Acesso recErrosReplicacaoBifrost: description: Record Erros de Replicação Bifrost type: object required: – schema – totalRegistros – dataBase properties: schema: type: string description: Schema totalRegistros: type: integer format: int64 description: Número de erros do schema dataBase: type: string format: date description: Data de Inclusão recEmailMonitoramentoBase: description: Record emails de monitoramento base type: object required: – tenant – email properties: tenant: type: string description: Tenant email: type: string description: Email recEmailsPorTenant: description: Record para output da primitiva PesquisarEmailsMonitoramento type: object required: – tenant – emails – totalEmails properties: tenant: type: string description: Tenant emails: type: array items: type: string minimum: 1 description: Email totalEmails: type: integer format: int64 description: Total de e-mails registrados no tenant recMonitoramentoTour: description: Record para Monitoramento tour type: object required: – dominio – solucoes properties: dominio: type: string description: Domínio solucoes: type: array items: type: object allOf: – #/definitions/recSolucaoTour minimum: 1 description: Soluções recSolucaoTour: description: Record para Solução do Tour type: object required: – solucao – situacao properties: solucao: type: string description: Solução situacao: type: array items: type: object allOf: – #/definitions/recSituacaoTour minimum: 1 description: Situação Tour recSituacaoTour: description: Record para Situação Tour type: object required: – tenant – progresso – dataCadastro – usuario properties: tenant: type: string description: Tenant progresso: type: string allOf: – #/definitions/enumProgresso description: Progresso Atual step: type: integer format: int64 description: Step do Tour dataCadastro: type: string format: date description: Data Cadastro usuario: type: string description: Usuário recListaOrdenacao: description: Ordenação type: object required: – campo – ordenacao properties: campo: type: string description: Campo de ordenação ordenacao: type: string allOf: – #/definitions/enumTipoOrdenacao description: Forma de ordenar recPaginacao: description: Record Paginacao Input type: object required: – pagina – numeroRegistrosPagina – listaOrdenacao properties: pagina: type: integer format: int64 description: Página numeroRegistrosPagina: type: integer format: int64 description: Qnt de Registros por Página listaOrdenacao: type: array items: type: object allOf: – #/definitions/recListaOrdenacao minimum: 1 description: Forma de Ordenação checkDTO: description: Record declarado apenas para não gerar a implementação da primitiva HealthCheck type: object 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. 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 description: A symbolic code identifying the category of the reason of the error. enum: – BAD_REQUEST – UNAUTHORIZED – PAYMENT_REQUIRED – FORBIDDEN – OBJECT_NOT_FOUND – REQUEST_TIMEOUT – GONE – UNPROCESSABLE – INTERNAL_ERROR – NOT_IMPLEMENTED – SERVICE_UNAVAILABLE – INSUFFICIENT_STORAGE