2.0info: 1.9.3 Análise de anomalias description: Análise de anomalias na classificação de grãos x-senior-domain: AGRO x-senior-domain-path: agro x-senior-service-path: anomaly_classification 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/agrosecurityDefinitions: APIKeyHeader: type: apiKey in: header name: Authorizationsecurity: – APIKeyHeader: [] – application/json – application/jsonpaths: /anomaly_classification/queries/healthcheck: post: description: Query para verificar a disponibilidade do serviço tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/upDown description: Status geral do serviços checks: type: array items: type: object allOf: – #/definitions/checkData minimum: 1 description: Verificações para assegurar o status 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Query para verificar a disponibilidade do serviço tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/upDown description: Status geral do serviços checks: type: array items: type: object allOf: – #/definitions/checkData minimum: 1 description: Verificações para assegurar o status 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/queries/minMaxDates: post: description: Retorna primeira e última data disponíveis tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – from properties: from: type: string allOf: – #/definitions/searchOrigin description: Origem da consulta fileImport: type: string description: Arquivo de importação filterAnalyzed: type: string description: Filtro analisado pela IA responses: 200: description: Ok schema: type: object required: – minDate – maxDate properties: minDate: type: string format: date description: Primeira data disponível maxDate: type: string format: date description: Última data disponível 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/queries/listFilesImport: post: description: Retorna os arquivos de importação disponíveis com status done tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: searchTerm: type: string description: valor a ser filtrado page: type: integer format: int64 description: paginação default: 0 rows: type: integer format: int64 description: quantidade por página default: 10 responses: 200: description: Ok schema: type: object required: – totalElements properties: data: type: array items: type: object allOf: – #/definitions/defaultDataLookup description: Lista dos arquivos disponíveis totalElements: type: integer format: int64 description: Quantidade de registros retornados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna os arquivos de importação disponíveis com status done tags: – Queries x-senior-visibility: PRIVATE parameters: – name: searchTerm description: valor a ser filtrado in: query type: string – name: page description: paginação in: query type: integer format: int64 – name: rows description: quantidade por página in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – totalElements properties: data: type: array items: type: object allOf: – #/definitions/defaultDataLookup description: Lista dos arquivos disponíveis totalElements: type: integer format: int64 description: Quantidade de registros retornados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/queries/listCultures: post: description: Retorna as culturas disponíveis para seleção tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – fileImport properties: fileImport: type: string description: Arquivo de importação searchTerm: type: string description: valor a ser filtrado page: type: integer format: int64 description: paginação default: 0 rows: type: integer format: int64 description: quantidade por página default: 10 responses: 200: description: Ok schema: type: object required: – totalElements properties: data: type: array items: type: object allOf: – #/definitions/defaultDataLookup description: Lista das culturas possíveis totalElements: type: integer format: int64 description: Quantidade de registros retornados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna as culturas disponíveis para seleção tags: – Queries x-senior-visibility: PRIVATE parameters: – name: fileImport description: Arquivo de importação in: query required: true type: string – name: searchTerm description: valor a ser filtrado in: query type: string – name: page description: paginação in: query type: integer format: int64 – name: rows description: quantidade por página in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – totalElements properties: data: type: array items: type: object allOf: – #/definitions/defaultDataLookup description: Lista das culturas possíveis totalElements: type: integer format: int64 description: Quantidade de registros retornados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/queries/listClassifications: post: description: Retorna os itens de classificação disponíveis para seleção tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – from properties: from: type: string allOf: – #/definitions/searchOrigin description: Origem do filtro fileImport: type: string description: Arquivo de importação filterAnalyzed: type: string description: Filtro analizado searchTerm: type: string description: valor a ser filtrado page: type: integer format: int64 description: paginação default: 0 rows: type: integer format: int64 description: quantidade por página default: 10 responses: 200: description: Ok schema: type: object required: – totalElements properties: data: type: array items: type: object allOf: – #/definitions/defaultDataLookup description: Lista das culturas possíveis totalElements: type: integer format: int64 description: Quantidade de registros retornados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/queries/listProducers: post: description: Retorna os produtores disponíveis para seleção tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – from properties: from: type: string allOf: – #/definitions/searchOrigin description: Origem da consulta fileImport: type: string description: Arquivo de importação filterAnalyzed: type: string description: Filtro analizado searchTerm: type: string description: valor a ser filtrado page: type: integer format: int64 description: paginação default: 0 rows: type: integer format: int64 description: quantidade por página default: 10 responses: 200: description: Ok schema: type: object required: – totalElements properties: data: type: array items: type: object allOf: – #/definitions/defaultDataLookup description: Lista das culturas possíveis totalElements: type: integer format: int64 description: Quantidade de registros retornados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/queries/listSubsidiaries: post: description: Retorna as filiais disponíveis para seleção tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – from properties: from: type: string allOf: – #/definitions/searchOrigin description: Origem da consulta fileImport: type: string description: Arquivo de importação filterAnalyzed: type: string description: Filtro analizado searchTerm: type: string description: valor a ser filtrado page: type: integer format: int64 description: paginação default: 0 rows: type: integer format: int64 description: quantidade por página default: 10 responses: 200: description: Ok schema: type: object required: – totalElements properties: data: type: array items: type: object allOf: – #/definitions/defaultDataLookup description: Lista das culturas possíveis totalElements: type: integer format: int64 description: Quantidade de registros retornados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/queries/listHarvests: post: description: Retorna as safras disponíveis para seleção tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – from properties: from: type: string allOf: – #/definitions/searchOrigin description: Origem da consulta fileImport: type: string description: Arquivo de importação filterAnalyzed: type: string description: Filtro analizado searchTerm: type: string description: valor a ser filtrado page: type: integer format: int64 description: paginação default: 0 rows: type: integer format: int64 description: quantidade por página default: 10 responses: 200: description: Ok schema: type: object required: – totalElements properties: data: type: array items: type: object allOf: – #/definitions/defaultDataLookup description: Lista das culturas possíveis totalElements: type: integer format: int64 description: Quantidade de registros retornados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/queries/listFamilies: post: description: Retorna as famílias disponíveis para seleção tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – from properties: from: type: string allOf: – #/definitions/searchOrigin description: Origem da consulta fileImport: type: string description: Arquivo de importação filterAnalyzed: type: string description: Filtro analizado searchTerm: type: string description: valor a ser filtrado page: type: integer format: int64 description: paginação default: 0 rows: type: integer format: int64 description: quantidade por página default: 10 responses: 200: description: Ok schema: type: object required: – totalElements properties: data: type: array items: type: object allOf: – #/definitions/defaultDataLookup description: Lista das famílias possíveis totalElements: type: integer format: int64 description: Quantidade de registros retornados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/queries/listAnalyzedFilters: post: description: Retorna os filtros já analisados e disponíveis para seleção tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: searchTerm: type: string description: valor a ser filtrado page: type: integer format: int64 description: paginação default: 0 rows: type: integer format: int64 description: quantidade por página default: 10 responses: 200: description: Ok schema: type: object required: – totalElements properties: data: type: array items: type: object allOf: – #/definitions/savedFilterLookup description: Lista das análises totalElements: type: integer format: int64 description: Quantidade de registros retornados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna os filtros já analisados e disponíveis para seleção tags: – Queries x-senior-visibility: PRIVATE parameters: – name: searchTerm description: valor a ser filtrado in: query type: string – name: page description: paginação in: query type: integer format: int64 – name: rows description: quantidade por página in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – totalElements properties: data: type: array items: type: object allOf: – #/definitions/savedFilterLookup description: Lista das análises totalElements: type: integer format: int64 description: Quantidade de registros retornados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/queries/recordsWeighing: post: description: Retornar quantidade de registros de pesagem tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object required: – count properties: count: type: array items: type: object allOf: – #/definitions/countRecordsWeighing minimum: 1 description: Quantidade de registros de pesagem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retornar quantidade de registros de pesagem tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – count properties: count: type: array items: type: object allOf: – #/definitions/countRecordsWeighing minimum: 1 description: Quantidade de registros de pesagem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/queries/historicalClassificationsComparisonNegative: post: description: Dataset de API para a comparação histórico de análise de anomalias negativas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: savedFilter: type: array items: type: string description: Filtros da análise startPeriodAnalyzed: type: array items: type: string format: date description: Período inicial endPeriodAnalyzed: type: array items: type: string format: date description: Período final harvestAnalyzed: type: array items: type: string description: Safra familyAnalyzed: type: array items: type: string description: Familia do produto classificationAnalyzed: type: array items: type: string description: Item de classificação producerAnalyzed: type: array items: type: string description: Produtor subsidiaryAnalyzed: type: array items: type: string description: Filial responses: 200: description: Ok schema: type: object required: – projectionAnalytics properties: projectionAnalytics: type: array items: type: object allOf: – #/definitions/dataProjectionHistoricalComparison minimum: 1 description: Retorno padrão para analytics de comparação do histórico de análise de anomalias 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Dataset de API para a comparação histórico de análise de anomalias negativas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: savedFilter description: Filtros da análise in: query type: array items: type: string – name: startPeriodAnalyzed description: Período inicial in: query type: array items: type: string format: date – name: endPeriodAnalyzed description: Período final in: query type: array items: type: string format: date – name: harvestAnalyzed description: Safra in: query type: array items: type: string – name: familyAnalyzed description: Familia do produto in: query type: array items: type: string – name: classificationAnalyzed description: Item de classificação in: query type: array items: type: string – name: producerAnalyzed description: Produtor in: query type: array items: type: string – name: subsidiaryAnalyzed description: Filial in: query type: array items: type: string responses: 200: description: Ok schema: type: object required: – projectionAnalytics properties: projectionAnalytics: type: array items: type: object allOf: – #/definitions/dataProjectionHistoricalComparison minimum: 1 description: Retorno padrão para analytics de comparação do histórico de análise de anomalias 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/queries/historicalClassificationsComparisonPositive: post: description: Dataset de API para a comparação histórico de análise de anomalias positivas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: savedFilter: type: array items: type: string description: Filtros da análise startPeriodAnalyzed: type: array items: type: string format: date description: Período inicial endPeriodAnalyzed: type: array items: type: string format: date description: Período final harvestAnalyzed: type: array items: type: string description: Safra familyAnalyzed: type: array items: type: string description: Familia do produto classificationAnalyzed: type: array items: type: string description: Item de classificação producerAnalyzed: type: array items: type: string description: Produtor subsidiaryAnalyzed: type: array items: type: string description: Filial responses: 200: description: Ok schema: type: object required: – projectionAnalytics properties: projectionAnalytics: type: array items: type: object allOf: – #/definitions/dataProjectionHistoricalComparison minimum: 1 description: Retorno padrão para analytics de comparação do histórico de análise de anomalias 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Dataset de API para a comparação histórico de análise de anomalias positivas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: savedFilter description: Filtros da análise in: query type: array items: type: string – name: startPeriodAnalyzed description: Período inicial in: query type: array items: type: string format: date – name: endPeriodAnalyzed description: Período final in: query type: array items: type: string format: date – name: harvestAnalyzed description: Safra in: query type: array items: type: string – name: familyAnalyzed description: Familia do produto in: query type: array items: type: string – name: classificationAnalyzed description: Item de classificação in: query type: array items: type: string – name: producerAnalyzed description: Produtor in: query type: array items: type: string – name: subsidiaryAnalyzed description: Filial in: query type: array items: type: string responses: 200: description: Ok schema: type: object required: – projectionAnalytics properties: projectionAnalytics: type: array items: type: object allOf: – #/definitions/dataProjectionHistoricalComparison minimum: 1 description: Retorno padrão para analytics de comparação do histórico de análise de anomalias 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/queries/listingClassificationsComparison: post: description: Dataset de API para a listagem de comparação do histórico de análise de anomalias tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: savedFilter: type: array items: type: string description: Filtros da análise startPeriodAnalyzed: type: array items: type: string format: date description: Período inicial endPeriodAnalyzed: type: array items: type: string format: date description: Período final harvestAnalyzed: type: array items: type: string description: Safra familyAnalyzed: type: array items: type: string description: Familia do produto classificationAnalyzed: type: array items: type: string description: Item de classificação producerAnalyzed: type: array items: type: string description: Produtor subsidiaryAnalyzed: type: array items: type: string description: Filial responses: 200: description: Ok schema: type: object required: – projectionAnalytics properties: projectionAnalytics: type: array items: type: object allOf: – #/definitions/dataProjectionListingClassifications minimum: 1 description: Retorno padrão para analytics de listagem de comparação do histórico de análise de anomalias 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Dataset de API para a listagem de comparação do histórico de análise de anomalias tags: – Queries x-senior-visibility: PRIVATE parameters: – name: savedFilter description: Filtros da análise in: query type: array items: type: string – name: startPeriodAnalyzed description: Período inicial in: query type: array items: type: string format: date – name: endPeriodAnalyzed description: Período final in: query type: array items: type: string format: date – name: harvestAnalyzed description: Safra in: query type: array items: type: string – name: familyAnalyzed description: Familia do produto in: query type: array items: type: string – name: classificationAnalyzed description: Item de classificação in: query type: array items: type: string – name: producerAnalyzed description: Produtor in: query type: array items: type: string – name: subsidiaryAnalyzed description: Filial in: query type: array items: type: string responses: 200: description: Ok schema: type: object required: – projectionAnalytics properties: projectionAnalytics: type: array items: type: object allOf: – #/definitions/dataProjectionListingClassifications minimum: 1 description: Retorno padrão para analytics de listagem de comparação do histórico de análise de anomalias 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/queries/heatMapClassificationsComparisonNegative: post: description: Dataset de API para o map de calor de comparação do histórico de análise de anomalias negativas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: savedFilter: type: array items: type: string description: Filtros da análise startPeriodAnalyzed: type: array items: type: string format: date description: Período inicial endPeriodAnalyzed: type: array items: type: string format: date description: Período final harvestAnalyzed: type: array items: type: string description: Safra familyAnalyzed: type: array items: type: string description: Familia do produto classificationAnalyzed: type: array items: type: string description: Item de classificação producerAnalyzed: type: array items: type: string description: Produtor subsidiaryAnalyzed: type: array items: type: string description: Filial responses: 200: description: Ok schema: type: object required: – projectionAnalytics properties: projectionAnalytics: type: array items: type: object allOf: – #/definitions/dataProjectionHeatMapComparison minimum: 1 description: Retorno padrão para analytics de map de calor de comparação do histórico de análise de anomalias 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Dataset de API para o map de calor de comparação do histórico de análise de anomalias negativas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: savedFilter description: Filtros da análise in: query type: array items: type: string – name: startPeriodAnalyzed description: Período inicial in: query type: array items: type: string format: date – name: endPeriodAnalyzed description: Período final in: query type: array items: type: string format: date – name: harvestAnalyzed description: Safra in: query type: array items: type: string – name: familyAnalyzed description: Familia do produto in: query type: array items: type: string – name: classificationAnalyzed description: Item de classificação in: query type: array items: type: string – name: producerAnalyzed description: Produtor in: query type: array items: type: string – name: subsidiaryAnalyzed description: Filial in: query type: array items: type: string responses: 200: description: Ok schema: type: object required: – projectionAnalytics properties: projectionAnalytics: type: array items: type: object allOf: – #/definitions/dataProjectionHeatMapComparison minimum: 1 description: Retorno padrão para analytics de map de calor de comparação do histórico de análise de anomalias 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/queries/heatMapClassificationsComparisonPositive: post: description: Dataset de API para o map de calor de comparação do histórico de análise de anomalias positivas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: savedFilter: type: array items: type: string description: Filtros da análise startPeriodAnalyzed: type: array items: type: string format: date description: Período inicial endPeriodAnalyzed: type: array items: type: string format: date description: Período final harvestAnalyzed: type: array items: type: string description: Safra familyAnalyzed: type: array items: type: string description: Familia do produto classificationAnalyzed: type: array items: type: string description: Item de classificação producerAnalyzed: type: array items: type: string description: Produtor subsidiaryAnalyzed: type: array items: type: string description: Filial responses: 200: description: Ok schema: type: object required: – projectionAnalytics properties: projectionAnalytics: type: array items: type: object allOf: – #/definitions/dataProjectionHeatMapComparison minimum: 1 description: Retorno padrão para analytics de map de calor de comparação do histórico de análise de anomalias 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Dataset de API para o map de calor de comparação do histórico de análise de anomalias positivas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: savedFilter description: Filtros da análise in: query type: array items: type: string – name: startPeriodAnalyzed description: Período inicial in: query type: array items: type: string format: date – name: endPeriodAnalyzed description: Período final in: query type: array items: type: string format: date – name: harvestAnalyzed description: Safra in: query type: array items: type: string – name: familyAnalyzed description: Familia do produto in: query type: array items: type: string – name: classificationAnalyzed description: Item de classificação in: query type: array items: type: string – name: producerAnalyzed description: Produtor in: query type: array items: type: string – name: subsidiaryAnalyzed description: Filial in: query type: array items: type: string responses: 200: description: Ok schema: type: object required: – projectionAnalytics properties: projectionAnalytics: type: array items: type: object allOf: – #/definitions/dataProjectionHeatMapComparison minimum: 1 description: Retorno padrão para analytics de map de calor de comparação do histórico de análise de anomalias 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/queries/heatMapClassifierAbove: post: description: Dataset de API para o map de calor de classificadores acima da média tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: savedFilter: type: array items: type: string description: Filtros da análise startPeriodAnalyzed: type: array items: type: string format: date description: Período inicial endPeriodAnalyzed: type: array items: type: string format: date description: Período final harvestAnalyzed: type: array items: type: string description: Safra familyAnalyzed: type: array items: type: string description: Familia do produto classificationAnalyzed: type: array items: type: string description: Item de classificação producerAnalyzed: type: array items: type: string description: Produtor subsidiaryAnalyzed: type: array items: type: string description: Filial responses: 200: description: Ok schema: type: object required: – projectionAnalytics properties: projectionAnalytics: type: array items: type: object allOf: – #/definitions/dataProjectionHeatMapClassifier minimum: 1 description: Retorno padrão para analytics de map de calor de classificadores acima da média 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Dataset de API para o map de calor de classificadores acima da média tags: – Queries x-senior-visibility: PRIVATE parameters: – name: savedFilter description: Filtros da análise in: query type: array items: type: string – name: startPeriodAnalyzed description: Período inicial in: query type: array items: type: string format: date – name: endPeriodAnalyzed description: Período final in: query type: array items: type: string format: date – name: harvestAnalyzed description: Safra in: query type: array items: type: string – name: familyAnalyzed description: Familia do produto in: query type: array items: type: string – name: classificationAnalyzed description: Item de classificação in: query type: array items: type: string – name: producerAnalyzed description: Produtor in: query type: array items: type: string – name: subsidiaryAnalyzed description: Filial in: query type: array items: type: string responses: 200: description: Ok schema: type: object required: – projectionAnalytics properties: projectionAnalytics: type: array items: type: object allOf: – #/definitions/dataProjectionHeatMapClassifier minimum: 1 description: Retorno padrão para analytics de map de calor de classificadores acima da média 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/queries/heatMapClassifierBelow: post: description: Dataset de API para o map de calor de classificadores abaixo da média tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: savedFilter: type: array items: type: string description: Filtros da análise startPeriodAnalyzed: type: array items: type: string format: date description: Período inicial endPeriodAnalyzed: type: array items: type: string format: date description: Período final harvestAnalyzed: type: array items: type: string description: Safra familyAnalyzed: type: array items: type: string description: Familia do produto classificationAnalyzed: type: array items: type: string description: Item de classificação producerAnalyzed: type: array items: type: string description: Produtor subsidiaryAnalyzed: type: array items: type: string description: Filial responses: 200: description: Ok schema: type: object required: – projectionAnalytics properties: projectionAnalytics: type: array items: type: object allOf: – #/definitions/dataProjectionHeatMapClassifier minimum: 1 description: Retorno padrão para analytics de map de calor de classificadores abaixo da média 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Dataset de API para o map de calor de classificadores abaixo da média tags: – Queries x-senior-visibility: PRIVATE parameters: – name: savedFilter description: Filtros da análise in: query type: array items: type: string – name: startPeriodAnalyzed description: Período inicial in: query type: array items: type: string format: date – name: endPeriodAnalyzed description: Período final in: query type: array items: type: string format: date – name: harvestAnalyzed description: Safra in: query type: array items: type: string – name: familyAnalyzed description: Familia do produto in: query type: array items: type: string – name: classificationAnalyzed description: Item de classificação in: query type: array items: type: string – name: producerAnalyzed description: Produtor in: query type: array items: type: string – name: subsidiaryAnalyzed description: Filial in: query type: array items: type: string responses: 200: description: Ok schema: type: object required: – projectionAnalytics properties: projectionAnalytics: type: array items: type: object allOf: – #/definitions/dataProjectionHeatMapClassifier minimum: 1 description: Retorno padrão para analytics de map de calor de classificadores abaixo da média 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/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 /anomaly_classification/queries/exportFileImport: 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 /anomaly_classification/queries/exportWeighing: 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 /anomaly_classification/queries/exportSavedFilter: 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 /anomaly_classification/queries/exportFileAnalyzed: 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 /anomaly_classification/queries/exportClassificationAnalyzed: 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 /anomaly_classification/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 /anomaly_classification/actions/clearStructures: post: description: Remove todas as estruturas de dados, menos os tipos explicitamente marcados como false tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: analytics: type: boolean description: Remover analytics default: true page: type: boolean description: Remover páginas default: true landingPage: type: boolean description: Remover landing pages default: true responses: 200: description: Ok schema: type: object required: – analyticsCount – pageCount – landingPageCount properties: analyticsCount: type: integer format: int64 description: Analytics removidos pageCount: type: integer format: int64 description: Páginas removidas landingPageCount: type: integer format: int64 description: Landing pages removidas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/actions/saveAndCreateFileBucket: post: description: Salva e cria arquivo no bucket tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – fileName properties: fileName: type: string description: Nome do arquivo que será importado responses: 200: description: Ok schema: type: object required: – id – URI – version properties: id: type: string description: Id URI: type: string description: Endereço URL para realizar o upload do arquivo type: string description: Versão do arquivo criado no repositório 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/actions/commitFile: post: description: Persiste arquivo no bucket tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id – fileName – version properties: id: type: string description: Id fileName: type: string description: Nome do arquivo que foi importado type: string description: Versão do arquivo que foi importado responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/actions/getUriFileAnalyzed: post: description: Salva e cria arquivo analisado no bucket tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – fileName – tenant – secretKey properties: fileName: type: string description: Nome do arquivo analisado que será importado tenant: type: string description: Nome do tenant secretKey: type: string description: Chave de Segurança responses: 200: description: Ok schema: type: object required: – id – URI – version properties: id: type: string description: Id URI: type: string description: Endereço URL para realizar o upload do arquivo analisado type: string description: Versão do arquivo criado no repositório default: description: Error response schema: #/definitions/genericError /anomaly_classification/actions/commitFileAnalyzed: post: description: Persiste arquivo analisado no bucket tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id – fileName – version – tenant – savedFilter – secretKey properties: id: type: string description: Id fileName: type: string description: Nome do arquivo que foi analisado type: string description: Versão do arquivo que foi analisado tenant: type: string description: Nome do tenant savedFilter: type: string description: Filtros da análise secretKey: type: string description: Chave de Segurança responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /anomaly_classification/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 /anomaly_classification/actions/importFileImport: 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 /anomaly_classification/actions/importWeighing: 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 /anomaly_classification/actions/importSavedFilter: 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 /anomaly_classification/actions/importFileAnalyzed: 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 /anomaly_classification/actions/importClassificationAnalyzed: 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 /anomaly_classification/signals/saveWeighingAndClassification: post: description: Salva pesagens e classificações\n### Resources\n- res://senior.com.br/agro/agro-anomaly-classification/signals/saveWeighingAndClassification tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: Id responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /anomaly_classification/events/importFileImportEvent: 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 /anomaly_classification/events/exportFileImportEvent: 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 /anomaly_classification/events/importWeighingEvent: 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 /anomaly_classification/events/exportWeighingEvent: 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 /anomaly_classification/events/importSavedFilterEvent: 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 /anomaly_classification/events/exportSavedFilterEvent: 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 /anomaly_classification/events/importFileAnalyzedEvent: 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 /anomaly_classification/events/exportFileAnalyzedEvent: 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 /anomaly_classification/events/importClassificationAnalyzedEvent: 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 /anomaly_classification/events/exportClassificationAnalyzedEvent: 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 /anomaly_classification/entities/fileImport: 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/fileImport responses: 200: description: The created resource schema: #/definitions/fileImport 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/fileImport responses: 200: description: The created resource schema: #/definitions/fileImport 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: array items: #/definitions/fileImport 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/entities/fileImport/{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/fileImport responses: 200: description: Ok schema: #/definitions/fileImport 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/fileImport responses: 200: description: Ok schema: #/definitions/fileImport 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/fileImport 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 /anomaly_classification/entities/fileImport/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/fileImport responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/entities/weighing: 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/weighing responses: 200: description: The created resource schema: #/definitions/weighing 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/weighing responses: 200: description: The created resource schema: #/definitions/weighing 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: array items: #/definitions/weighing 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/entities/weighing/{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/weighing responses: 200: description: Ok schema: #/definitions/weighing 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/weighing responses: 200: description: Ok schema: #/definitions/weighing 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/weighing 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 /anomaly_classification/entities/weighing/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/weighing responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/entities/savedFilter: 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/savedFilter responses: 200: description: The created resource schema: #/definitions/savedFilter 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/savedFilter responses: 200: description: The created resource schema: #/definitions/savedFilter 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: array items: #/definitions/savedFilter 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/entities/savedFilter/{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/savedFilter responses: 200: description: Ok schema: #/definitions/savedFilter 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/savedFilter responses: 200: description: Ok schema: #/definitions/savedFilter 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/savedFilter 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 /anomaly_classification/entities/savedFilter/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/savedFilter responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/entities/fileAnalyzed: 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/fileAnalyzed responses: 200: description: The created resource schema: #/definitions/fileAnalyzed 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/fileAnalyzed responses: 200: description: The created resource schema: #/definitions/fileAnalyzed 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: array items: #/definitions/fileAnalyzed 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/entities/fileAnalyzed/{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/fileAnalyzed responses: 200: description: Ok schema: #/definitions/fileAnalyzed 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/fileAnalyzed responses: 200: description: Ok schema: #/definitions/fileAnalyzed 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/fileAnalyzed 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 /anomaly_classification/entities/fileAnalyzed/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/fileAnalyzed responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/entities/classificationAnalyzed: 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/classificationAnalyzed responses: 200: description: The created resource schema: #/definitions/classificationAnalyzed 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/classificationAnalyzed responses: 200: description: The created resource schema: #/definitions/classificationAnalyzed 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: array items: #/definitions/classificationAnalyzed 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /anomaly_classification/entities/classificationAnalyzed/{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/classificationAnalyzed responses: 200: description: Ok schema: #/definitions/classificationAnalyzed 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/classificationAnalyzed responses: 200: description: Ok schema: #/definitions/classificationAnalyzed 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/classificationAnalyzed 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 /anomaly_classification/entities/classificationAnalyzed/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/classificationAnalyzed responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericErrordefinitions: upDown: description: Up or down type: string enum: – UP – DOWN searchOrigin: description: Origem da consulta type: string enum: – FROM_FILE – FROM_FILTER statusImport: description: Status da importação das informações type: string enum: – IN_PROGRESS – DONE – ERROR – INACTIVE statusAnalysis: description: Status da análise type: string enum: – NEGATIVE_ANOMALY – BELOW_AVERAGE – REGULAR – ABOVE_AVERAGE – POSITIVE_ANOMALY 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 fieldType: description: type: string enum: – BINARY – BOOLEAN – DATE – DATETIME – LOCALDATETIME – DOUBLE – ENUM – INTEGER – MONEY – STRING – TIME fileFormat: description: type: string enum: – CSV – FLAT – JSON – XML hookFunction: description: type: string enum: – BEFORE_PARSE – BEFORE_CONVERSION – ON_ERROR – VALIDATE eventType: description: type: string enum: – CHUNK – DOWNLOAD – ERROR – FINISH – START errorStrategy: description: type: string enum: – CALL_SCRIPT – IGNORE – STOP status: description: type: string enum: – DONE – DONE_WITH_ERRORS – DOWNLOADING – ERROR – NOT_STARTED – RUNNING errorType: description: type: string enum: – CONVERT_ERROR – SERVICE_ERROR checkData: description: Dados do healthcheck type: object required: – name – status properties: name: type: string description: Nome do healthcheck status: type: string allOf: – #/definitions/upDown description: Status do healthcheck defaultDataLookup: description: Retorno padrão para lookup de dados type: object required: – id – description properties: id: type: string description: Id description: type: string description: Descrição savedFilterLookup: description: Retorno para o lookup de análises type: object required: – id – description – importFileName – product – startDate – endDate – itemOfClassification – subsidiary – family – supplier – harvest – filters properties: id: type: string description: Id description: type: string description: Descrição importFileName: type: string description: Nome do Arquivo importado product: type: string description: Produto startDate: type: string description: Período início endDate: type: string description: Período fim itemOfClassification: type: string description: Item de classificação subsidiary: type: string description: Filial family: type: string description: Família supplier: type: string description: Fornecedor harvest: type: string description: Safra filters: type: string description: Filtros dataHistoricalClassificationsComparison: description: type: object required: – itemOfClassification – evaluation – totalizer properties: itemOfClassification: type: string description: Item de classificação evaluation: type: string allOf: – #/definitions/statusAnalysis description: Análise da anomalia totalizer: type: integer format: int64 description: Totalizador de anomalias dataProjectionHistoricalComparison: description: Retorno dos dataset de API de comparação histórico de análise de anomalias type: object required: – classificationItem – analysis properties: classificationItem: type: string description: Valores da coluna itens de classificação analysis: type: integer format: int64 description: Valores da série negativa/positiva dataProjectionListingClassifications: description: Retorno do dataset de listagem dos valores análisados de anomalias nas classificações type: object required: – ticketNumber – subsidiary – producer – classificationItem – calculatedPercentage – classifierUser – analysis properties: ticketNumber: type: integer format: int64 description: Número do ticket subsidiary: type: string description: Filial producer: type: string description: Produtor classificationItem: type: string description: Item de classificação calculatedPercentage: type: number format: double description: Percentual de classificação classifierUser: type: string description: Usuário classificador analysis: type: string description: Resultado da análise dataProjectionHeatMapComparison: description: Retorno do dataset de map de calor dos valores análisados de anomalias nas classificações negativas type: object required: – subsidiary – classificationItem – valueAnalysis properties: subsidiary: type: string description: Filial classificationItem: type: string description: Item de classificação valueAnalysis: type: integer format: int64 description: Quantidade de analises negativas dataProjectionHeatMapClassifier: description: Retorno do dataset de map de calor dos valores análisados de anomalias por classificadores type: object required: – classifierUser – classificationItem – analysis properties: classifierUser: type: string description: Usuário Classificador classificationItem: type: string description: Item de classificação analysis: type: integer format: int64 description: Resultado da análise countRecordsWeighing: description: Registro contador de pesagens type: object required: – count – status properties: count: type: integer format: int64 description: status: type: string allOf: – #/definitions/statusImport description: fileImport: description: Detalhes da importação de arquivos de classificação type: object required: – fileName – status properties: id: type: string format: uuid description: Id fileName: type: string description: Nome do arquivo linesWeighing: type: integer format: int64 description: Quantidade de linhas de Pesagem linesClassification: type: integer format: int64 description: Quantidade de linhas de Classificação status: type: string allOf: – #/definitions/statusImport description: status da importação URI: type: string maxLength: 1000 description: URI do arquivo createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: weighing: description: Pesagem type: object required: – fileImport properties: id: type: string format: uuid description: Id weighingKey: type: string maxLength: 100 description: Chave da Pesagem company: type: string description: Empresa subsidiary: type: string description: Filial inputDate: type: string format: date description: Data de entrada inputSequence: type: integer format: int64 description: Sequencia de entrada inputResponsibleUser: type: string description: Usuário responsável pela entrada inputTime: type: string description: Hora da entrada licensePlate: type: string description: Placa do veículo supplier: type: string description: Fornecedor driver: type: string description: Motorista product: type: string description: Produto family: type: string maxLength: 100 description: Família harvest: type: string maxLength: 100 description: Safra cityOfOrigin: type: string maxLength: 100 description: Cidade de origem stateOfOrigin: type: string maxLength: 2 description: Estado de origem derivation: type: string description: Derivação deposit: type: string maxLength: 100 description: Depósito variety: type: string maxLength: 100 description: Variedade inputWeight: type: number format: double description: Peso entrada outputWeight: type: number format: double description: Peso saída classifierUser: type: string description: Usuário classificador outputUser: type: string description: Usuário saída outputDate: type: string format: date description: Data de saída outputTime: type: string description: Hora de saída ticketNumber: type: integer format: int64 description: Número ticket fileImport: type: object allOf: – #/definitions/fileImport description: Importação itemOfClassification: type: string maxLength: 100 description: Item de classificação calculatedPercentage: type: number format: double description: Percentual calculado discountPercentage: type: number format: double description: Percentual de desconto discountAmount: type: number format: double description: Quantidade de desconto generationUser: type: string description: Usuário da geração generationDate: type: string format: date description: Data da geração generationTime: type: string description: Hora da geração updateUser: type: string description: Usuário da atualização updateDate: type: string format: date description: Data da atualização updateTime: type: string description: Hora da atualização discountBaseQuantity: type: number format: double description: Quantidade base de desconto sampleWeight: type: number format: double description: Peso de amostra createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: savedFilter: description: Filtros de análise salvos type: object required: – filterName – filters – available properties: id: type: string format: uuid description: Id filterName: type: string description: Nome do filtro filters: type: string description: Filtros aplicados fileImport: type: object allOf: – #/definitions/fileImport description: Arquivo de importação available: type: boolean description: Filtro disponível createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: fileAnalyzed: description: Arquivo analisado type: object required: – fileName properties: id: type: string format: uuid description: Id fileName: type: string description: Nome do arquivo URI: type: string maxLength: 1000 description: URI do arquivo savedFilter: type: object allOf: – #/definitions/savedFilter description: Filtros da análise createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: classificationAnalyzed: description: Classificações analisadas pela IA type: object required: – fileAnalyzed properties: id: type: string format: uuid description: Id fileAnalyzed: type: object allOf: – #/definitions/fileAnalyzed description: Arquivo analisado weighingKey: type: string maxLength: 100 description: Chave da Pesagem company: type: string description: Empresa subsidiary: type: string description: Filial inputDate: type: string format: date description: Data de entrada inputSequence: type: integer format: int64 description: Sequencia de entrada inputResponsibleUser: type: string description: Usuário responsável pela entrada inputTime: type: string description: Hora da entrada licensePlate: type: string description: Placa do veículo supplier: type: string description: Fornecedor driver: type: string description: Motorista product: type: string description: Produto family: type: string maxLength: 100 description: Família harvest: type: string maxLength: 100 description: Safra cityOfOrigin: type: string maxLength: 100 description: Cidade de origem stateOfOrigin: type: string maxLength: 2 description: Estado de origem derivation: type: string description: Derivação deposit: type: string maxLength: 100 description: Depósito variety: type: string maxLength: 100 description: Variedade inputWeight: type: number format: double description: Peso entrada outputWeight: type: number format: double description: Peso saída classifierUser: type: string description: Usuário classificador outputUser: type: string description: Usuário saída outputDate: type: string format: date description: Data de saída outputTime: type: string description: Hora de saída ticketNumber: type: integer format: int64 description: Número ticket itemOfClassification: type: string maxLength: 100 description: Item de classificação calculatedPercentage: type: number format: double description: Percentual calculado discountPercentage: type: number format: double description: Percentual de desconto discountAmount: type: number format: double description: Quantidade de desconto generationUser: type: string description: Usuário da geração generationDate: type: string format: date description: Data da geração generationTime: type: string description: Hora da geração updateUser: type: string description: Usuário da atualização updateDate: type: string format: date description: Data da atualização updateTime: type: string description: Hora da atualização discountBaseQuantity: type: number format: double description: Quantidade base de desconto sampleWeight: type: number format: double description: Peso de amostra latitude: type: number format: double description: latitude longitude: type: number format: double description: longitude evaluation: type: string allOf: – #/definitions/statusAnalysis description: status da avaliação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: 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 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