erp_man

eng_engenharia

62 views 22/10/2018 13/05/2021 integrador 0

2.0info: 4.12.0 eng_engenharia x-senior-domain: erp_man x-senior-domain-path: erp_man x-senior-service-path: eng_engenharia 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_mansecurityDefinitions: APIKeyHeader: type: apiKey in: header name: Authorizationsecurity: – APIKeyHeader: [] – application/json – application/jsonpaths: /eng_engenharia/queries/pesquisarEmpresa: post: description: Pesquisa de empresa para campos de seleção de empresa/filial tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – paginacao properties: filtro: type: string description: permite filtro pelo código, nome ou fantasia empresaId: type: integer format: int64 description: se informado retorna registro da empresa codigo: type: string description: Filtrar pelo código nome: type: string description: Filtrar pelo Nome fantasia: type: string description: Filtrar pela Fantasia paginacao: type: object allOf: – #/definitions/recPaginacao description: paginacao de entrada responses: 200: description: Ok schema: type: object required: – empresas – paginacaoRetorno properties: empresas: type: array items: type: object allOf: – #/definitions/recEmpresa minimum: 1 description: empresas encontradas paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: paginacao saída 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarEmpresaFiltro: post: description: Pesquisa de empresas com filtro para componente empresa/filial primeNG tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – pagina properties: texto: type: string description: Filtro de pesquisa pagina: type: object allOf: – #/definitions/recPagina description: Controlador de página responses: 200: description: Ok schema: type: object required: – empresas properties: empresas: type: array items: type: object allOf: – #/definitions/recEmpresa minimum: 1 description: Lista de empresas encontradas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/buscarIdsEmpresaFiltro: post: description: Retorna a lista de Ids das empresas para o componente empresa/filial primeNG tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object required: – empresaIds properties: empresaIds: type: array items: type: integer format: int64 minimum: 1 description: Lista de Ids das empresas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna a lista de Ids das empresas para o componente empresa/filial primeNG tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – empresaIds properties: empresaIds: type: array items: type: integer format: int64 minimum: 1 description: Lista de Ids das empresas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarFilial: post: description: Pesquisa de filial para campos de seleção de empresa/filial tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaId – paginacao properties: empresaId: type: integer format: int64 description: identificador único da empresa filtro: type: string description: permite filtro pelo código, nome ou fantasia codigo: type: string description: Filtrar pelo código nome: type: string description: Filtrar pelo Nome fantasia: type: string description: Filtrar pela Fantasia filialId: type: integer format: int64 description: se informado retorna registro da filial paginacao: type: object allOf: – #/definitions/recPaginacao description: paginacao de entrada responses: 200: description: Ok schema: type: object required: – filiais – paginacaoRetorno properties: filiais: type: array items: type: object allOf: – #/definitions/recFilial minimum: 1 description: filiais encontradas paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: paginacao saída 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarFilialFiltro: post: description: Pesquisa de filiais com filtro para componente empresa/filial primeNG tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – todas – pagina properties: empresaId: type: integer format: int64 description: Código da empresa texto: type: string description: Caso nada seja passado nesse parâmtro, todas as filiais serão retornadas, respeitando a paginação e os campos todas: type: boolean description: Flag indicando se a busca por filiais deve considerar todas as empresas somente: type: array items: type: integer format: int64 description: Caso todas == false, devem ser informadas as empresas selecionadas para buscar suas filiais. Nesse caso o campo exceto é ignorado exceto: type: array items: type: integer format: int64 description: Caso todas == true, as filiais de todas as empresas devem ser consideradas na busca pagina: type: object allOf: – #/definitions/recPagina description: Controlador de página responses: 200: description: Ok schema: type: object required: – empresas properties: empresas: type: array items: type: object allOf: – #/definitions/recEmpresaComFiliais minimum: 1 description: Lista de empresas com as filiais 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/buscarIdsFilialFiltro: post: description: Retorna a lista de Ids das filiais para o componente empresa/filial primeNG tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaIds properties: empresaIds: type: array items: type: integer format: int64 minimum: 1 description: Lista de Ids das empresas responses: 200: description: Ok schema: type: object required: – filialIds properties: filialIds: type: array items: type: integer format: int64 minimum: 1 description: Lista de Ids das filiais 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna a lista de Ids das filiais para o componente empresa/filial primeNG tags: – Queries x-senior-visibility: PRIVATE parameters: – name: empresaIds description: Lista de Ids das empresas in: query required: true type: array items: type: integer format: int64 minimum: 1 responses: 200: description: Ok schema: type: object required: – filialIds properties: filialIds: type: array items: type: integer format: int64 minimum: 1 description: Lista de Ids das filiais 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarSkuRoteiroEstagioId: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuId – versaoId – roteiroId – filialCodigo – estagioId – sequenciaId properties: skuId: type: integer format: int64 description: versaoId: type: integer format: int64 description: roteiroId: type: integer format: int64 description: filialCodigo: type: integer format: int64 description: estagioId: type: integer format: int64 description: sequenciaId: type: integer format: int64 description: responses: 200: description: Ok schema: type: object required: – skuRoteiroEstagioId properties: skuRoteiroEstagioId: type: integer format: int64 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: skuId description: in: query required: true type: integer format: int64 – name: versaoId description: in: query required: true type: integer format: int64 – name: roteiroId description: in: query required: true type: integer format: int64 – name: filialCodigo description: in: query required: true type: integer format: int64 – name: estagioId description: in: query required: true type: integer format: int64 – name: sequenciaId description: in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – skuRoteiroEstagioId properties: skuRoteiroEstagioId: type: integer format: int64 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarSkuRoteiroOrdemProducao: post: description: Retorna lista de roteiros associados ao sku em situação diferente de inativo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuId – versaoId – paginacao properties: skuId: type: integer format: int64 description: versaoId: type: integer format: int64 description: paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – skuRoteiros properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: skuRoteiros: type: array items: type: object allOf: – #/definitions/recSkuRoteiro minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarSkuOrdemProducao: post: description: Retorna lista de sku usar para as interfaces de programação de ordem de produção retorna lista de SKUs ativos, liberadas e do tipo de reposição produzido tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo properties: empresaCodigo: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: filtro: type: string description: opcional – permite filtrar por código ou descrição familiaId: type: integer format: int64 description: componenteId: type: integer format: int64 description: paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – skus properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: skus: type: array items: type: object allOf: – #/definitions/recSku minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarFamilia: post: description: Retorna a lista de famílias tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo properties: empresaCodigo: type: integer format: int64 description: Codigo da Empresa filtro: type: string description: permite filtro pelos campos de código ou descrição tipoReposicao: type: string allOf: – #/definitions/enumTipoReposicao description: Tipo de reposição codigo: type: string description: Filtrar pelo código apenas se o campo filtro não for informado descricao: type: string description: Filtrar pela descricao apenas se o campo filtro não for informado paginacao: type: object allOf: – #/definitions/recPaginacao description: Paginacao responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – familias properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: Paginacao Retorno familias: type: array items: type: object allOf: – #/definitions/recFamilia minimum: 1 description: Registros Encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarFamiliaProduzidos: post: description: Pesquisa apenas por famílias com o tipo de reposição produzido tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo – paginacao properties: empresaCodigo: type: integer format: int64 description: filtro: type: string description: permite filtro pelos campos de código ou descrição paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – familias properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: familias: type: array items: type: object allOf: – #/definitions/recFamilia minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarSkuAdicionarQualidade: post: description: Retorna a lista de skus por filtro de qualidade tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo – tipoQualidade properties: empresaCodigo: type: integer format: int64 description: skuId: type: integer format: int64 description: versaoId: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: familiaId: type: integer format: int64 description: componenteId: type: integer format: int64 description: tipoQualidade: type: string allOf: – #/definitions/enumTipoQualidade description: paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – sku properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: sku: type: array items: type: object allOf: – #/definitions/recSku minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarCentroRecurso: post: description: Retorna a lista de centros de recursos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo – paginacao properties: empresaCodigo: type: integer format: int64 description: tipoRecurso: type: string allOf: – #/definitions/enumTipoRecurso description: filtro: type: string description: paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – centrosRecurso properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: centrosRecurso: type: array items: type: object allOf: – #/definitions/recCentroRecurso minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarEstagio: post: description: Retorna a lista de estágios tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo properties: empresaCodigo: type: integer format: int64 description: filtro: type: string description: Permite filtro pelos campos de código ou descrição paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – estagio properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: estagio: type: array items: type: object allOf: – #/definitions/recEstagio minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarEstagioAdicionarRoteiro: post: description: Retorna a lista de estágios ativos para adição no roteiro tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo properties: empresaCodigo: type: integer format: int64 description: filtro: type: string description: Permite filtro pelos campos de código ou descrição paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – estagio properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: estagio: type: array items: type: object allOf: – #/definitions/recEstagio minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarEspecificacaoProduto: post: description: Retorna a lista de especificações de produto tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo properties: empresaCodigo: type: integer format: int64 description: filtro: type: string description: Permite filtro pelos campos de código ou descrição paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – especificacaoProduto properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: especificacaoProduto: type: array items: type: object allOf: – #/definitions/recEspecificacaoProduto minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarRoteiro: post: description: Retorna a lista de roteiros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo properties: empresaCodigo: type: integer format: int64 description: código da empresa do roteiro filtro: type: string description: permite filtro pelos campos de código ou descrição paginacao: type: object allOf: – #/definitions/recPaginacao description: paginação ativo: type: boolean description: indica se o roteiro está ativo ou não, se o parâmetro não for informado, irá retornar todos os ativos e inativos responses: 200: description: Ok schema: type: object required: – roteiro – paginacaoRetorno properties: roteiro: type: array items: type: object allOf: – #/definitions/recRoteiro minimum: 1 description: roteiros encontrados conforme os parâmetros de entrada paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: paginção 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarRecurso: post: description: Retorna a lista recursos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo – paginacao properties: empresaCodigo: type: integer format: int64 description: Código da Empresa tipoRecurso: type: string allOf: – #/definitions/enumTipoRecurso description: Tipo de Recurso filtro: type: string description: Filtrar por Código ou Descrição filialCodigo: type: integer format: int64 description: Código da Filial centroRecursoId: type: integer format: int64 description: Identificador Único do Centro de Recurso processoIndustrialCodigo: type: string description: Código do Processo Industrial ativo: type: boolean description: Ativo default: true paginacao: type: object allOf: – #/definitions/recPaginacao description: Paginação responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – recursos properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: Paginação Retorno recursos: type: array items: type: object allOf: – #/definitions/recRecurso minimum: 1 description: Recursos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarCentroCusto: post: description: Retorna lista de centros de custo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo properties: empresaCodigo: type: integer format: int64 description: tipoRecurso: type: string allOf: – #/definitions/enumTipoRecurso description: ao informar o tipo de recurso, valida o tipo de centro de custo vinculado filtro: type: string description: permite filtro pelos campos de código ou descrição paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – centroCusto properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: centroCusto: type: array items: type: object allOf: – #/definitions/recCentroCusto minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarVersao: post: description: Retorna lista de versões do sku tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuId – versaoAtual – paginacao properties: skuId: type: integer format: int64 description: versaoAtual: type: boolean description: indica se retorna apenas a versão atual do sku paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – versao properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: versao: type: array items: type: object allOf: – #/definitions/recVersao minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarVersaoSimples: post: description: Retorna o registro de uma única versão tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: integer format: int64 description: id da vers?o responses: 200: description: Ok schema: type: object required: – versao properties: versao: type: object allOf: – #/definitions/recVersao description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna o registro de uma única versão tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id description: id da vers?o in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – versao properties: versao: type: object allOf: – #/definitions/recVersao description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarProcessoIndustrial: post: description: Retorna lista de processo industrial tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo properties: empresaCodigo: type: integer format: int64 description: Código da empresa filtro: type: string description: Permite filtro pelos campos de código ou descrição estagioId: type: integer format: int64 description: Id do estágio paginacao: type: object allOf: – #/definitions/recPaginacao description: Dados de paginação responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – processoIndustrial properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: Retorno dos dados de paginação processoIndustrial: type: array items: type: object allOf: – #/definitions/recProcessoIndustrial minimum: 1 description: Lista de processos industriais 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarInformacaoTecnica: post: description: Retorna lista de informações técnicas usar para listar registros no formulário de cadastro de informação técnica, lista apenas formulários tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo properties: empresaCodigo: type: integer format: int64 description: conexao: type: string allOf: – #/definitions/enumConexaoInformacaoTecnica description: Filtrar os formulários associados por tipo filtro: type: string description: paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – infoTecnica properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: infoTecnica: type: array items: type: object allOf: – #/definitions/recInfoTecnica minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarInformacaoTecnicaFormulario: post: description: Retorna lista de campos/valores que fazem parte do formulário de informação técnica lista contem: relação de campos/valores, opções de resposta para cada campo, anexos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – infoTecnicaId properties: infoTecnicaId: type: integer format: int64 description: responses: 200: description: Ok schema: type: object required: – infoTecnica properties: infoTecnica: type: object allOf: – #/definitions/recInfoTecnica description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna lista de campos/valores que fazem parte do formulário de informação técnica lista contem: relação de campos/valores, opções de resposta para cada campo, anexos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: infoTecnicaId description: in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – infoTecnica properties: infoTecnica: type: object allOf: – #/definitions/recInfoTecnica description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarInformacaoTecnicaConexao: post: description: Retorna lista de informações técnicas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – conexao – referenciaId properties: conexao: type: string allOf: – #/definitions/enumConexaoInformacaoTecnica description: indica tabela da ligação referenciaId: type: integer format: int64 description: id do registro de referencia, pode ser familia.id, sku.id, etc. filtro: type: string description: pesquisa pela descrição da informação técnica paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – infoTecnica properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: infoTecnica: type: array items: type: object allOf: – #/definitions/recInfoTecnicaConexao minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarSku: post: description: Retorna lista de SKU, usar em todas as interfaces onde é necessário identificar qual SKU deverá ser alterado tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo properties: empresaCodigo: type: integer format: int64 description: Código da Empresa codigo: type: string description: Código do SKU descricao: type: string description: Descrição codigoDescricao: type: string description: Campo usado para buscar por codigo ou descricao familiaId: type: integer format: int64 description: Identificador Único da Família componenteId: type: integer format: int64 description: Identificador Único do Componente tipoProduto: type: string allOf: – #/definitions/enumTipoProduto description: Tipo de Produto tiposProdutoDesconsiderar: type: array items: type: string allOf: – #/definitions/enumTipoProduto description: Tipos de produto que serão desconsiderados na pesquisa tipoQualidade: type: string allOf: – #/definitions/enumTipoQualidade description: Tipo da Qualidade situacao: type: string allOf: – #/definitions/enumSituacaoSkuCompl description: Situação paginacao: type: object allOf: – #/definitions/recPaginacao description: Paginação responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – sku properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: Paginação Retorno sku: type: array items: type: object allOf: – #/definitions/recSku minimum: 1 description: Lista de SKUs 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/buscarSkuConsumoEquivalentes: post: description: Buscar SKUs equivalentes vinculados ao consumo tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – skuRoteiroEstagioConsumoIds – paginacao properties: skuRoteiroEstagioConsumoIds: type: array items: type: integer format: int64 minimum: 1 description: Lista – Identificador único do consumo paginacao: type: object allOf: – #/definitions/recPaginacao description: Dados de paginação responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – skuEquivalentes properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: Dados de retorno da paginação skuEquivalentes: type: array items: type: object allOf: – #/definitions/recSkuEquivalente minimum: 1 description: Lista – SKUs equivalentes 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarSkuEngenharia: post: description: Retorna lista de sku usar para as interfaces da engenharia de produto e processo retorna lista de SKUs do tipo de resposição = produzido tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo – paginacao properties: empresaCodigo: type: integer format: int64 description: Código de empresa codigo: type: string description: Código do SKU descricao: type: string description: Descrição do SKU familiaId: type: integer format: int64 description: Identificador único da família componenteId: type: integer format: int64 description: Identificador único do componente tipoProduto: type: string allOf: – #/definitions/enumTipoProduto description: Tipo de produto do SKU tipoQualidade: type: string allOf: – #/definitions/enumTipoQualidade description: Tipo de qualidade do SKU paginacao: type: object allOf: – #/definitions/recPaginacao description: Dados de paginação responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – sku properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: Dados de paginaçao de retorno sku: type: array items: type: object allOf: – #/definitions/recSkuReduzido minimum: 1 description: Lista de SKUs 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarSkuAdicionarEstrutura: post: description: Retorna lista de SKU, usar para a interface da engenharia de produto retorna lista de SKUs de acordo com o tipo do componente tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuOrigemId – versaoId properties: skuOrigemId: type: integer format: int64 description: versaoId: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: familiaId: type: integer format: int64 description: componenteId: type: integer format: int64 description: tipoQualidade: type: string allOf: – #/definitions/enumTipoQualidade description: paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – sku properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: sku: type: array items: type: object allOf: – #/definitions/recSku minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarSkuVersao: post: description: Retorna registro do SKU de acordo com a versão tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id – versaoId properties: id: type: integer format: int64 description: id do sku versaoId: type: integer format: int64 description: responses: 200: description: Ok schema: type: object required: – sku properties: sku: type: object allOf: – #/definitions/recSkuVersao description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna registro do SKU de acordo com a versão tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id description: id do sku in: query required: true type: integer format: int64 – name: versaoId description: in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – sku properties: sku: type: object allOf: – #/definitions/recSkuVersao description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarSkuMedidas: post: description: Retorna lista de medidas do SKU: medida principal e secundária tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuId – versaoId properties: skuId: type: integer format: int64 description: versaoId: type: integer format: int64 description: responses: 200: description: Ok schema: type: object required: – skuMedida properties: skuMedida: type: array items: type: object allOf: – #/definitions/recSkuMedida minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna lista de medidas do SKU: medida principal e secundária tags: – Queries x-senior-visibility: PRIVATE parameters: – name: skuId description: in: query required: true type: integer format: int64 – name: versaoId description: in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – skuMedida properties: skuMedida: type: array items: type: object allOf: – #/definitions/recSkuMedida minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarSkuAdicionarRefugo: post: description: Retorna lista de refugo do SKU tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo properties: empresaCodigo: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: familiaId: type: integer format: int64 description: componenteId: type: integer format: int64 description: paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – sku properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: sku: type: array items: type: object allOf: – #/definitions/recSku minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarSkuCustosMateriais: post: description: Pesquisa os custos de materiais utilizados no processo produtivo de um SKU manufaturado que possua uma engenharia liberada tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: empresaCodigos: type: array items: type: integer format: int64 description: Lista de códigos da empresa do SKU empresaIds: type: array items: type: integer format: int64 description: Lista de identificadores únicos da empresa do SKU filialCodigos: type: array items: type: integer format: int64 description: Lista de códigos da filial. Quando informado, serão filtrados somente os SKUs que possuam engenharia para a filial informada filialIds: type: array items: type: integer format: int64 description: Lista de identificadores únicos da filial. Quando informado, serão filtrados somente os SKUs que possuam engenharia para a filial informada skuCodigos: type: array items: type: string description: Lista de códigos do SKU skuIds: type: array items: type: integer format: int64 description: Lista de identificadores únicos do SKU familiaCodigos: type: array items: type: string description: Lista de códigos da família. Quando informado, serão filtrados somentes os SKUs da família informada familiaIds: type: array items: type: integer format: int64 description: Lista de identificadores únicos da família. Quando informado, serão filtrados somentes os SKUs da família informada paginacao: type: object allOf: – #/definitions/recPaginacao description: Controle de paginação responses: 200: description: Ok schema: type: object required: – skuCustoMateriais – paginacaoRetorno properties: skuCustoMateriais: type: array items: type: object allOf: – #/definitions/recSkuCustoMateriais minimum: 1 description: SKUs com os respectivos custos de materias conforme a engenharia paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: Paginação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarUnidadeMedida: post: description: Retorna lista de unidade de medida tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: filtro: type: string description: permite filtrar pelo código ou descrição paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – unidadeMedida properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: unidadeMedida: type: array items: type: object allOf: – #/definitions/recUnidadeMedida minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarComponente: post: description: Retorna lista de componentes tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo properties: empresaCodigo: type: integer format: int64 description: tipoComponente: type: string allOf: – #/definitions/enumTipoComponente description: codigo: type: string description: descricao: type: string description: paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – componentes properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: componentes: type: array items: type: object allOf: – #/definitions/recComponente minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarComponenteAdicao: post: description: Retorna lista de componentes para adição na estrutura de acordo com o tipo do componente de origem tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo properties: empresaCodigo: type: integer format: int64 description: componenteOrigemId: type: integer format: int64 description: tipoComponente: type: string allOf: – #/definitions/enumTipoComponente description: codigo: type: string description: descricao: type: string description: paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – componente properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: componente: type: array items: type: object allOf: – #/definitions/recComponente minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarComponenteEstrutura: post: description: Retorna lista da estrutura do componente tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – componenteOrigemId properties: componenteOrigemId: type: integer format: int64 description: responses: 200: description: Ok schema: type: object required: – componenteEstrutura properties: componenteEstrutura: type: array items: type: object allOf: – #/definitions/recEstruturaComponente minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna lista da estrutura do componente tags: – Queries x-senior-visibility: PRIVATE parameters: – name: componenteOrigemId description: in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – componenteEstrutura properties: componenteEstrutura: type: array items: type: object allOf: – #/definitions/recEstruturaComponente minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarPessoa: post: description: Retorna lista pessoas, podendo ser empresa, filial ou fornecedor tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo – tipoPessoa properties: empresaCodigo: type: integer format: int64 description: tipoPessoa: type: string allOf: – #/definitions/enumTipoPessoa description: filtro: type: string description: pesquisa pelo código, nome ou fantasia paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – pessoas properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: pessoas: type: array items: type: object allOf: – #/definitions/recPessoa minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarEstruturaComposicao: post: description: Retorna lista da estrutura de composicao, componente e legenda do SKU tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuId – versaoId properties: skuId: type: integer format: int64 description: versaoId: type: integer format: int64 description: responses: 200: description: Ok schema: type: object required: – skuEstruturaComponente properties: skuEstruturaComponente: type: array items: type: object allOf: – #/definitions/recEstruturaComponenteSku minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna lista da estrutura de composicao, componente e legenda do SKU tags: – Queries x-senior-visibility: PRIVATE parameters: – name: skuId description: in: query required: true type: integer format: int64 – name: versaoId description: in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – skuEstruturaComponente properties: skuEstruturaComponente: type: array items: type: object allOf: – #/definitions/recEstruturaComponenteSku minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarSkuRoteiro: post: description: Retorna lista de roteiros associados ao SKU tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuId – versaoId properties: skuId: type: integer format: int64 description: Id do SKU ao qual o roteiro está vinculado versaoId: type: integer format: int64 description: Versão do SKU filtro: type: string description: Permite filtro pelo codigo ou descrição do roteiro situacao: type: array items: type: string allOf: – #/definitions/enumSituacaoRoteiro description: Lista de enumSituacaoRoteiro, caso não informada irá trazer todos os roteiros(principal, ativo e inativo) paginacao: type: object allOf: – #/definitions/recPaginacao description: Paginação da consulta responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – skuRoteiros properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: Paginação da consulta skuRoteiros: type: array items: type: object allOf: – #/definitions/recSkuRoteiro minimum: 1 description: Lista de roteiros vinculados ao SKU/Versão 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarSkuRoteiroEstagio: post: description: Pesquisa a relação de estágios do roteiro do SKU tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuRoteiroId – versaoId properties: skuRoteiroId: type: integer format: int64 description: versaoId: type: integer format: int64 description: responses: 200: description: Ok schema: type: object required: – skuRoteiroEstagio properties: skuRoteiroEstagio: type: array items: type: object allOf: – #/definitions/recSkuRoteiroEstagio minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Pesquisa a relação de estágios do roteiro do SKU tags: – Queries x-senior-visibility: PRIVATE parameters: – name: skuRoteiroId description: in: query required: true type: integer format: int64 – name: versaoId description: in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – skuRoteiroEstagio properties: skuRoteiroEstagio: type: array items: type: object allOf: – #/definitions/recSkuRoteiroEstagio minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarEstruturaComposicaoSaldoMaterial: post: description: Retorna lista da estrutura de composição do SKU e saldo disponível para informar os consumos de matéria-prima do estágio do roteiro tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuRoteiroEstagioId – skuId – roteiroId – estagioId – versaoId properties: skuRoteiroEstagioId: type: integer format: int64 description: skuId: type: integer format: int64 description: roteiroId: type: integer format: int64 description: estagioId: type: integer format: int64 description: versaoId: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: familiaId: type: integer format: int64 description: componenteId: type: integer format: int64 description: tipoProduto: type: string allOf: – #/definitions/enumTipoProduto description: tipoQualidade: type: string allOf: – #/definitions/enumTipoQualidade description: paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – skuEstruturaComponenteSaldoMaterial properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: skuEstruturaComponenteSaldoMaterial: type: array items: type: object allOf: – #/definitions/recEstruturaComponenteSaldoMaterial minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarSkuRoteiroEstagioConsumoMaterial: post: description: Retorna lista de consumos de matéria-prima do estágio do roteiro tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuRoteiroEstagioId – skuId – roteiroId – estagioId – versaoId – paginacao properties: skuRoteiroEstagioId: type: integer format: int64 description: skuId: type: integer format: int64 description: roteiroId: type: integer format: int64 description: estagioId: type: integer format: int64 description: versaoId: type: integer format: int64 description: paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – consumo – paginacaoRetorno properties: consumo: type: array items: type: object allOf: – #/definitions/recSkuRoteiroEstagioConsumoMaterial minimum: 1 description: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/buscarSkuEquivalentes: post: description: Buscar SKUs equivalentes tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – paginacao properties: skuIds: type: array items: type: integer format: int64 description: (Opcional) Lista – Identificador único do SKU empresaCodigo: type: integer format: int64 description: (Opcional) Código da empresa codigosSku: type: array items: type: string description: (Opcional) Lista – Código do SKU paginacao: type: object allOf: – #/definitions/recPaginacao description: Dados da paginação responses: 200: description: Ok schema: type: object required: – skuEquivalentes – paginacaoRetorno properties: skuEquivalentes: type: array items: type: object allOf: – #/definitions/recSkuEquivalente minimum: 1 description: Lista de SKUs equivalentes paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: Dados de retorno da paginação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarSkuRoteiroEstagioProcesso: post: description: Retorna lista de processos do estágio do roteiro tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuRoteiroEstagioId – versaoId properties: skuRoteiroEstagioId: type: integer format: int64 description: versaoId: type: integer format: int64 description: responses: 200: description: Ok schema: type: object required: – skuRoteiroEstagioProcesso properties: skuRoteiroEstagioProcesso: type: array items: type: object allOf: – #/definitions/recSkuRoteiroEstagioProcesso minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna lista de processos do estágio do roteiro tags: – Queries x-senior-visibility: PRIVATE parameters: – name: skuRoteiroEstagioId description: in: query required: true type: integer format: int64 – name: versaoId description: in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – skuRoteiroEstagioProcesso properties: skuRoteiroEstagioProcesso: type: array items: type: object allOf: – #/definitions/recSkuRoteiroEstagioProcesso minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarSkuAdicionarSubProdutoProcesso: post: description: Retorna lista de subprodutos para adicionar um processo industrial na relacao SkuRoteiroEstagio tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuRoteiroEstagioId – processoIndustrialId – versaoId – empresaCodigo – paginacao properties: skuRoteiroEstagioId: type: integer format: int64 description: processoIndustrialId: type: integer format: int64 description: versaoId: type: integer format: int64 description: empresaCodigo: type: integer format: int64 description: filtro: type: string description: filtro familiaId: type: integer format: int64 description: familia para filtro componenteId: type: integer format: int64 description: componente para filtro tipoQualidade: type: string allOf: – #/definitions/enumTipoQualidade description: paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – sku properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: sku: type: array items: type: object allOf: – #/definitions/recSku minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarSubProdutosProcesso: post: description: Retorna lista de subprodutos para um processo industrial na relação SkuRoteiroEstagio tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuRoteiroEstagioId – processoIndustrialId properties: skuRoteiroEstagioId: type: integer format: int64 description: processoIndustrialId: type: integer format: int64 description: paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – subProdutos properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: subProdutos: type: array items: type: object allOf: – #/definitions/recSkuRoteiroEstagioSubProduto minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarRecursosProcesso: post: description: Retorna lista de recursos para um processo industrial na relação SkuRoteiroEstagio tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuRoteiroEstagioId – processoIndustrialId – paginacao properties: skuRoteiroEstagioId: type: integer format: int64 description: processoIndustrialId: type: integer format: int64 description: centroRecursoIds: type: array items: type: integer format: int64 description: paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – recursos properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: recursos: type: array items: type: object allOf: – #/definitions/recSkuRoteiroEstagioRecurso minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarPerdasVariacaoProcesso: post: description: Retorna lista de pol?ticas por varia??o de volume para um processo industrial tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuRoteiroEstagioId – processoIndustrialId properties: skuRoteiroEstagioId: type: integer format: int64 description: processoIndustrialId: type: integer format: int64 description: paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – perdas – paginacaoRetorno properties: perdas: type: array items: type: object allOf: – #/definitions/recSkuPerdaVariacaoVolume minimum: 1 description: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarProcessoIndustrialAdicionarEstagioRoteiro: post: description: Retorna a lista de processos industriais para um determinado estágio vinculado ao roteiro do SKU desconsidera os processos já associados tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuRoteiroEstagioId properties: skuRoteiroEstagioId: type: integer format: int64 description: filtro: type: string description: paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – processoIndustrial properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: processoIndustrial: type: array items: type: object allOf: – #/definitions/recProcessoIndustrial minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarRecursoProcessoIndustrial: post: description: Retorna a lista de recursos ativos para um determinado processo industrial considera ep e filial tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processoIndustrialId – filialCodigo properties: processoIndustrialId: type: integer format: int64 description: filialCodigo: type: integer format: int64 description: especificacaoProdutoId: type: integer format: int64 description: responses: 200: description: Ok schema: type: object required: – recurso properties: recurso: type: array items: type: object allOf: – #/definitions/recRecurso minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna a lista de recursos ativos para um determinado processo industrial considera ep e filial tags: – Queries x-senior-visibility: PRIVATE parameters: – name: processoIndustrialId description: in: query required: true type: integer format: int64 – name: filialCodigo description: in: query required: true type: integer format: int64 – name: especificacaoProdutoId description: in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – recurso properties: recurso: type: array items: type: object allOf: – #/definitions/recRecurso minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarRecursoAdicionarProcessoIndustrial: post: description: Retorna a lista de recursos ativos para ADICIONAR em um determinado processo industrial considera o tipo de recurso e tipo de operação do PI tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo properties: empresaCodigo: type: integer format: int64 description: processoIndustrialId: type: integer format: int64 description: tipoRecurso: type: string allOf: – #/definitions/enumTipoRecurso description: codigo: type: string description: descricao: type: string description: filialCodigo: type: integer format: int64 description: centroRecursoId: type: integer format: int64 description: paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – recurso properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: recurso: type: array items: type: object allOf: – #/definitions/recRecurso minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarCentroRecursoPerdaVolume: post: description: Retorna a lista de centros de recursos para cálculo das perdas por variação de volume no processo considera recursos associados ao processo industrial tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuRoteiroEstagioId – processoIndustrialId – filialCodigo properties: skuRoteiroEstagioId: type: integer format: int64 description: processoIndustrialId: type: integer format: int64 description: filialCodigo: type: integer format: int64 description: especificacaoProdutoId: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – centroRecursos properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: centroRecursos: type: array items: type: object allOf: – #/definitions/recCentroRecurso minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarLigacaoComponente: post: description: Retorna lista de vínculos do componente a consulta pode ser realizada consultando pelo componente ou pelo SKU de ligação um dos campos deve ser obrigatoriamente informado tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: componenteId: type: integer format: int64 description: skuId: type: integer format: int64 description: paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – estruturaComposicao properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: estruturaComposicao: type: array items: type: object allOf: – #/definitions/recEstruturaComposicao minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarRecursoAdicionarProcessoRoteiro: post: description: Retorna lista de recursos para adicionar em um processo industrial na relação SkuRoteiroEstagio considera o EP do SKU, caso o SKU e PI controlam EP tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuRoteiroEstagioId – processoIndustrialId properties: skuRoteiroEstagioId: type: integer format: int64 description: Identificador do SKURoteiroEstagio processoIndustrialId: type: integer format: int64 description: Identificador do ProcessoIndustrial codigo: type: string description: Código do recurso descricao: type: string description: Descrição do recurso paginacao: type: object allOf: – #/definitions/recPaginacao description: Controlador de paginação responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – recursos properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: Retorno da paginação recursos: type: array items: type: object allOf: – #/definitions/recRecurso minimum: 1 description: Lista de recursos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarCentroRecursoAdicionarProcessoRoteiro: post: description: Retorna lista de centro de recursos para adicionar o recursos (facilitador) em um processo industrial na relação SkuRoteiroEstagio considera o EP do SKU, caso o SKU e PI controlam EP tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuRoteiroEstagioId – processoIndustrialId properties: skuRoteiroEstagioId: type: integer format: int64 description: processoIndustrialId: type: integer format: int64 description: filtro: type: string description: paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – centroRecursos properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: centroRecursos: type: array items: type: object allOf: – #/definitions/recCentroRecurso minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/pesquisarLayout: post: description: Retorna a lista de layouts para impressão conforme filtro tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo properties: empresaCodigo: type: integer format: int64 description: Empresa código filtro: type: string description: permite filtro pelo campo descricao paginacao: type: object allOf: – #/definitions/recPaginacao description: responses: 200: description: Ok schema: type: object required: – paginacaoRetorno – layouts properties: paginacaoRetorno: type: object allOf: – #/definitions/recPaginacaoRetorno description: layouts: type: array items: type: object allOf: – #/definitions/recLayout minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/healthcheck: post: description: Query para o SRE 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ço 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 o SRE 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ço 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 /eng_engenharia/queries/buscarMascarasSku: post: description: Busca máscaras de codificação de SKU conforme família de produtos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – codigoEmpresa – codigoFamilia properties: codigoEmpresa: type: integer format: int64 description: Código da empresa codigoFamilia: type: string description: Código da família de produtos responses: 200: description: Ok schema: type: object properties: mascaras: type: array items: type: object allOf: – #/definitions/recMascaraSku description: Relação de máscaras de SKU aplicáveis à família 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca máscaras de codificação de SKU conforme família de produtos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: codigoEmpresa description: Código da empresa in: query required: true type: integer format: int64 – name: codigoFamilia description: Código da família de produtos in: query required: true type: string responses: 200: description: Ok schema: type: object properties: mascaras: type: array items: type: object allOf: – #/definitions/recMascaraSku description: Relação de máscaras de SKU aplicáveis à família 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/queries/buscarComponentesMascaraSku: post: description: Busca componentes de máscara de codificação de SKU tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – codigoEmpresa – codigoMascaraSku – paginacao properties: codigoEmpresa: type: integer format: int64 description: Código da empresa codigoMascaraSku: type: string description: Código da máscara de SKU filtro: type: string description: Filtro de pesquisa por código ou descrição paginacao: type: object allOf: – #/definitions/recPaginacao description: Dados para paginação responses: 200: description: Ok schema: type: object required: – totalRegistros properties: componentes: type: array items: type: object allOf: – #/definitions/mascaraSkuComponente description: Componentes da máscara de SKU totalRegistros: type: integer format: int64 description: Quantidade total de registros 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/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 /eng_engenharia/queries/getDependencies: post: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PUBLIC 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: PUBLIC 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 /eng_engenharia/actions/montarCodigoSku: post: description: Retorna o código do sku conforme formato definido na família. tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo – familiaCodigo properties: empresaCodigo: type: integer format: int64 description: Código da empresa familiaCodigo: type: string description: Código da família responses: 200: description: Ok schema: type: object required: – codigoMontadoSku properties: codigoMontadoSku: type: string description: Código do sku montado a partir do formato definido na família 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/gerarSku: post: description: Gera SKU a partir de uma máscara tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – codigoEmpresa – codigoFamilia properties: codigoEmpresa: type: integer format: int64 description: Código da empresa codigoFamilia: type: string description: Família do produto itens: type: array items: type: object allOf: – #/definitions/recItensGeracaoSku description: Itens para geração de SKU responses: 200: description: Ok schema: type: object required: – codigoSku – descricao properties: codigoSku: type: string description: sku gerado descricao: type: string description: descrição do produto gerada 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/adicionarSkuEquivalentes: post: description: Adicionar SKUs equivalentes tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – skuEquivalentes properties: skuEquivalentes: type: array items: type: object allOf: – #/definitions/recAdicionarSkuEquivalente minimum: 1 description: Lista – Dados do SKU equivalente responses: 200: description: Ok schema: type: object required: – skuEquivalentes properties: skuEquivalentes: type: array items: type: object allOf: – #/definitions/recSkuEquivalente minimum: 1 description: SKU equivalente 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/removerSkuEquivalentes: post: description: Excluir SKUs equivalentes tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – ids properties: ids: type: array items: type: string minimum: 1 description: Lista – Identificador único do SKU equivalente responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/adicionarSkuRoteiroEstagioConsumoEquivalentes: post: description: Adicionar SKUs equivalentes ao consumo tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – skuEquivalentes properties: skuEquivalentes: type: array items: type: object allOf: – #/definitions/recAdicionarConsumoSkuEquivalente minimum: 1 description: Lista – SKU(s) equivalente(s) ao SKU de consumo responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/removerSkuRoteiroEstagioConsumoEquivalentes: post: description: Remover SKUs equivalentes ligados ao consumo tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – skuRoteiroEstagioConsumoId properties: skuRoteiroEstagioConsumoId: type: integer format: int64 description: Identificador único do consumo – Quando for informado somente atributo serão removidos todos os SKUs equivalente deste SKU de consumo skuEquivalenteIds: type: array items: type: string description: Lista – Identificador único do SKU equivalente ao SKU de consumo responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/calcularNecessidades: post: description: Calcula as necessidades tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuCodigo – empresaCodigo – quantidade properties: skuCodigo: type: string description: Código do SKU empresaCodigo: type: integer format: int64 description: Código da empresa quantidade: type: string description: Quantidade a ser calculada responses: 200: description: Ok schema: type: object required: – necessidade properties: necessidade: type: array items: type: object allOf: – #/definitions/recNecessidade minimum: 1 description: Necessidades calculadas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/recalcularNecessidades: post: description: Recalcula as necessidades tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuCodigo – empresaCodigo – quantidade properties: skuCodigo: type: string description: Código do SKU empresaCodigo: type: integer format: int64 description: Código da empresa quantidade: type: string description: Quantidade a ser recalculada sequenciaVersao: type: integer format: int64 description: Opcional, sequência da versão a ser utilizada para recálculo, se não for informado, será considerada a seqüência atual responses: 200: description: Ok schema: type: object required: – necessidades properties: necessidades: type: array items: type: object allOf: – #/definitions/recNecessidade minimum: 1 description: Necessidades recalculadas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/duplicarRecurso: post: description: Permite duplicar um recurso cadastrado tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – recursoId – codigo – descricao properties: recursoId: type: integer format: int64 description: id do recurso que será duplicado codigo: type: string description: código para o novo recurso descricao: type: string description: descrição para o novo recurso responses: 200: description: Ok schema: type: object required: – recurso properties: recurso: type: object allOf: – #/definitions/recRecurso description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/alterarVersao: post: description: Atualiza registro da versão do SKU permite atualizar descrição, observação e situação da versão tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – versao properties: versao: type: object allOf: – #/definitions/recVersao description: responses: 200: description: Ok schema: type: object required: – versao properties: versao: type: object allOf: – #/definitions/recVersao description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/novaVersao: post: description: Gera uma nova versão para o SKU em questão tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuId – descricao – versaoId properties: skuId: type: integer format: int64 description: descricao: type: string description: versaoId: type: integer format: int64 description: id da versão anterior do Sku observacao: type: string description: responses: 200: description: Ok schema: type: object required: – versao properties: versao: type: object allOf: – #/definitions/recVersao description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/incluirInformacaoTecnica: post: description: Insere formulário da informação técnica, incluindo relação de campos/valores, opções de campos/valores e anexos tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – infoTecnica properties: infoTecnica: type: object allOf: – #/definitions/recInfoTecnica description: formulário da informa??o t?cnica responses: 200: description: Ok schema: type: object required: – infoTecnica properties: infoTecnica: type: object allOf: – #/definitions/recInfoTecnica description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/alterarInformacaoTecnica: post: description: Grava alterações do formulário da informação técnica, incluindo relação de campos e opções de campos tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – infoTecnica properties: infoTecnica: type: object allOf: – #/definitions/recInfoTecnica description: formul?rio da informa??o t?cnica responses: 200: description: Ok schema: type: object required: – infoTecnica properties: infoTecnica: type: object allOf: – #/definitions/recInfoTecnica description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/gravarAssociacaoInformacaoTecnica: post: description: Grava informação técnica de acordo com o tipo de conexão ao indicar o formulário de referência, o sistema cria um novo registro de informação técnica (e copia a relação de campo/valor e opções) vinculada ao registro da tabela tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – infoTecnicaIdReferencia – conexao – referenciaId properties: infoTecnicaIdReferencia: type: integer format: int64 description: informação técnica que será copiada conexao: type: string allOf: – #/definitions/enumConexaoInformacaoTecnica description: indica para qual tabela será realizada a ligação referenciaId: type: integer format: int64 description: id do registro da tabela que será realizada a ligação, por exemplo a FAMILIA ou SKU, etc. responses: 200: description: Ok schema: type: object required: – infoTecnica properties: infoTecnica: type: object allOf: – #/definitions/recInfoTecnica description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/excluirInformacaoTecnica: post: description: Exclui o registro da informação técnica de acordo com o tipo de conexão tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – infoTecnicaId properties: infoTecnicaId: type: integer format: int64 description: id da informação técnica que será excluída responses: 200: description: Ok schema: type: object required: – dummy properties: dummy: type: boolean description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/bloquearEstruturaComposicao: post: description: Bloqueia/desbloqueia um item/sequência da estrutura de composição tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuEstruturaComposicaoId – ativo properties: skuEstruturaComposicaoId: type: integer format: int64 description: ativo: type: boolean description: responses: 200: description: Ok schema: type: object required: – estruturaComposicao properties: estruturaComposicao: type: object allOf: – #/definitions/recEstruturaComposicao description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/adicionarComponenteNovoSku: post: description: Adição de componente na estrutura de composição: novo SKU tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuIdOrigem – versaoId – codigo – descricao – tipoProduto – tipoReposicao – familia – componente – unidadeMedidaEstoque properties: skuIdOrigem: type: integer format: int64 description: id do sku de origem (sku pai) versaoId: type: integer format: int64 description: codigo: type: string description: codigo para o novo sku descricao: type: string description: descri??o para o novo sku tipoProduto: type: string allOf: – #/definitions/enumTipoProduto description: tipo de produto para o novo sku tipoReposicao: type: string allOf: – #/definitions/enumTipoReposicao description: tipo de reposicao para o novo sku familia: type: object allOf: – #/definitions/recFamilia description: familia para o novo sku componente: type: object allOf: – #/definitions/recComponente description: componente para o novo sku unidadeMedidaEstoque: type: object allOf: – #/definitions/recUnidadeMedida description: unidade de medida de estoque para o novo sku unidadeMedidaProducao: type: object allOf: – #/definitions/recUnidadeMedida description: unidade de medida de produ??o para o novo sku unidadeMedidaCompras: type: object allOf: – #/definitions/recUnidadeMedida description: unidade de medida de compras para o novo sku responses: 200: description: Ok schema: type: object required: – estruturaComposicao properties: estruturaComposicao: type: object allOf: – #/definitions/recEstruturaComposicao description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/adicionarComponenteDuplicaSku: post: description: Adição de componente na estrutura de composição: duplicar SKU sistema duplica o cadastro do SKU de referência e adiciona o novo item na estrutura de composição tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuIdOrigem – versaoId – skuIdReferencia – codigo – descricao – tipoProduto – familia – unidadeMedidaEstoque properties: skuIdOrigem: type: integer format: int64 description: id do sku de origem (sku pai) versaoId: type: integer format: int64 description: skuIdReferencia: type: integer format: int64 description: id do sku que ser? duplicado codigo: type: string description: codigo para o novo sku descricao: type: string description: descri??o para o novo sku tipoProduto: type: string allOf: – #/definitions/enumTipoProduto description: tipo de produto para o novo sku familia: type: object allOf: – #/definitions/recFamilia description: familia para o novo sku unidadeMedidaEstoque: type: object allOf: – #/definitions/recUnidadeMedida description: unidade de medida de estoque para o novo sku unidadeMedidaProducao: type: object allOf: – #/definitions/recUnidadeMedida description: unidade de medida de produ??o para o novo sku unidadeMedidaCompras: type: object allOf: – #/definitions/recUnidadeMedida description: unidade de medida de compras para o novo sku responses: 200: description: Ok schema: type: object required: – estruturaComposicao properties: estruturaComposicao: type: object allOf: – #/definitions/recEstruturaComposicao description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/adicionarComponentePesquisaSku: post: description: Adição de componente na estrutura de composição: pesquisa SKU tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – componentePesquisaSku properties: componentePesquisaSku: type: array items: type: object allOf: – #/definitions/recComponentePesquisaSku minimum: 1 description: componente para estrutura da composição responses: 200: description: Ok schema: type: object required: – estruturaComposicao properties: estruturaComposicao: type: object allOf: – #/definitions/recEstruturaComposicao description: detalhes da estrutura de composição 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/alterarComponentePesquisaSku: post: description: Alteração de componente na estrutura de composição: pesquisa SKU tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuEstruturaComposicaoId – skuId properties: skuEstruturaComposicaoId: type: integer format: int64 description: id estrutura de composi??o skuId: type: integer format: int64 description: id do sku para alterar na estrutura versaoId: type: integer format: int64 description: Versão ID componenteId: type: integer format: int64 description: Id componente estrutura responses: 200: description: Ok schema: type: object required: – estruturaComposicao properties: estruturaComposicao: type: object allOf: – #/definitions/recEstruturaComposicao description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/alterarSequenciaSkuRoteiroEstagioConsumoMaterial: post: description: Altera sequencia de consumo de materiais para um determinado estágio do roteiro tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuId – roteiroId – estagioId – versaoId – consumoId properties: skuId: type: integer format: int64 description: roteiroId: type: integer format: int64 description: estagioId: type: integer format: int64 description: versaoId: type: integer format: int64 description: consumoId: type: array items: type: integer format: int64 minimum: 1 description: lista de SkuRoteiroEstagioConsumoMaterial responses: 200: description: Ok schema: type: object required: – dummy properties: dummy: type: boolean description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/excluirSkuRoteiroEstagioConsumoMaterial: post: description: Permite excluir um ou mais registros de consumo de material associado ao estagio do roteiro do SKU. Quando não é informado nenhuma lista de consumos, todos os registros são excluídos tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: skuRoteiroEstagioIds: type: array items: type: integer format: int64 description: ids do estágio vinculado ao roteiro do sku skuRoteiroEstagioConsumoIds: type: array items: type: integer format: int64 description: ids dos consumos do estágios responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/alterarSequenciaSkuRoteiroEstagioProcesso: post: description: Altera sequencia dos procecessos industriais para um determinado estágio do roteiro tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuRoteiroEstagioId – versaoId – processoId properties: skuRoteiroEstagioId: type: integer format: int64 description: versaoId: type: integer format: int64 description: processoId: type: array items: type: integer format: int64 minimum: 1 description: lista de SkuRoteiroEstagioProcesso responses: 200: description: Ok schema: type: object required: – dummy properties: dummy: type: boolean description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/adicionarSkuRoteiroEstagioRecurso: post: description: Permite incluir recursos para um processo industrial utilize centro de recurso para associar todos os recursos que fazem parte do mesmo centro de recurso utilize uma lista de recursos para associar múltiplos registros através de seleção manual tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuRoteiroEstagioId – processoIndustrialId – versaoId properties: skuRoteiroEstagioId: type: integer format: int64 description: processoIndustrialId: type: integer format: int64 description: versaoId: type: integer format: int64 description: centroRecurso: type: object allOf: – #/definitions/recCentroRecurso description: recursos: type: array items: type: integer format: int64 description: responses: 200: description: Ok schema: type: object required: – dummy properties: dummy: type: boolean description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/alterarSkuRoteiroEstagioRecurso: post: description: Permite alterar dados de carga e tempo para um recurso replicar a alteração para todos os recursos associados ao processo industrial e que fazem parte do mesmo centro de recurso tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id – skuRoteiroEstagioId – processoIndustrialId – versaoId – recurso – cargaMaxima – cargaMinima – tempoSetup – tempoCargaDescarga – tempoProcesso – tempoTransferencia properties: id: type: integer format: int64 description: skuRoteiroEstagioId: type: integer format: int64 description: processoIndustrialId: type: integer format: int64 description: versaoId: type: integer format: int64 description: recurso: type: object allOf: – #/definitions/recRecurso description: cargaMaxima: type: number format: double description: cargaMinima: type: number format: double description: tempoSetup: type: number format: double description: tempoCargaDescarga: type: number format: double description: tempoProcesso: type: number format: double description: tempoTransferencia: type: number format: double description: observacao: type: string description: responses: 200: description: Ok schema: type: object required: – dummy properties: dummy: type: boolean description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/aplicarEngenhariaCadastroRoteiro: post: description: Aplicar as definições dos estágios do roteiro do SKU(engenharia de processo) no cadastro de Roteiro tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuRoteiroId properties: skuRoteiroId: type: integer format: int64 description: Identificador único do roteiro do SKU responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/validarSkuVersao: post: description: permite validar versao/sku e toda sua estrutura tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – versaoId properties: versaoId: type: integer format: int64 description: responses: 200: description: Ok schema: type: object required: – log properties: log: type: array items: type: string minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/excluirSubprodutosEstagio: post: description: @deprecated – utilizar a primitiva excluirSubprodutosProcesso – Realiza a exclusão de subproduto(s) vinculado(s) a engenharia de processo, conforme parâmetros de entrada informados tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuRoteiroEstagioId properties: skuRoteiroEstagioId: type: integer format: int64 description: Identificador único do estágio do roteiro do sku skuSubprodutoIds: type: array items: type: integer format: int64 description: Lista de identificador único do subproduto – (Opcional – quando não informado irá excluir todos os subprodutos independente do processo industrial ao qual está vinculado) responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/excluirSubprodutosProcesso: post: description: Realiza a exclusão de subproduto(s) vinculado(s) ao processo industrial associado de um estágio, conforme parâmetros de entrada informados tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuRoteiroEstagioProcessoId properties: skuRoteiroEstagioProcessoId: type: integer format: int64 description: Identificador único do processo industrial associado ao estágio do roteiro do sku skuSubprodutoIds: type: array items: type: integer format: int64 description: Lista de identificador único do subproduto – (Opcional – quando não informado irá excluir todos os subprodutos do processo industrial informado no parâmetro skuRoteiroEstagioProcessoId) responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/simularOrdemProducao: post: description: Simular ordens de produção tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuId – versaoId – skuRoteiroId – quantidade properties: skuId: type: integer format: int64 description: versaoId: type: integer format: int64 description: skuRoteiroId: type: integer format: int64 description: quantidade: type: string description: minimum: 0 maximum: 999999999 responses: 200: description: Ok schema: type: object required: – simulacao properties: simulacao: type: object allOf: – #/definitions/recSimulacao description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/gerarOrdemProducao: post: description: Gerar ordens de produção tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuId – versaoId – skuRoteiroId – quantidade properties: skuId: type: integer format: int64 description: versaoId: type: integer format: int64 description: skuRoteiroId: type: integer format: int64 description: quantidade: type: string description: minimum: 0 maximum: 999999999 tipo: type: string allOf: – #/definitions/enumTipoOrdemProducao description: responses: 200: description: Ok schema: type: object required: – ordens properties: ordens: type: array items: type: object allOf: – #/definitions/recOrdemProducao minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/calcularConsumoEstagio: post: description: Calcular consumos do estágio tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuId – versaoId – roteiroId – estagioId – filialId – quantidade properties: skuId: type: integer format: int64 description: Identificador único do SKU versaoId: type: integer format: int64 description: Identificador único da Versão roteiroId: type: integer format: int64 description: Identificador único do Roteiro estagioId: type: integer format: int64 description: Identificador único do Estágio filialId: type: integer format: int64 description: Identificador único da Filial quantidade: type: string description: Quantidade apontada responses: 200: description: Ok schema: type: object required: – consumos properties: consumos: type: array items: type: object allOf: – #/definitions/recConsumo minimum: 1 description: Lista com os consumos calculados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/atualizarSequenciaSKURoteiroEstagio: post: description: Atualizar a sequência dos estágios do roteiro do SKU tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuRoteiroId – skuRoteiroEstagioSequencias properties: skuRoteiroId: type: integer format: int64 description: Identificador único do roteiro do SKU skuRoteiroEstagioSequencias: type: array items: type: object allOf: – #/definitions/recSkuRoteiroEstagioSequencia minimum: 1 description: Dados das sequências dos estágios do roteiro do SKU responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/requestUpload: post: description: Requisição para realizar upload de arquivo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo – fileName properties: empresaCodigo: type: integer format: int64 description: empresa que realiza a requisição fileName: type: string description: nome do arquivo que deseja realizar upload responses: 200: description: Ok schema: type: object required: – fileUuid – locationUri properties: fileUuid: type: string description: id único do arquivo locationUri: type: string description: url temporária para upload 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/getFileMetadata: post: description: Requisição para capturar dados do arquivo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo – fileUuid properties: empresaCodigo: type: integer format: int64 description: empresa que realiza a requisi??o fileUuid: type: string description: id ?nico do arquivo responses: 200: description: Ok schema: type: object required: – fileMetadata properties: fileMetadata: type: object allOf: – #/definitions/recFileMetadata description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/requestDownload: post: description: Requisição para realizar download de arquivo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo – fileUuid properties: empresaCodigo: type: integer format: int64 description: empresa que realiza a requisi??o fileUuid: type: string description: id ?nico do arquivo responses: 200: description: Ok schema: type: object required: – fileUuid – locationUri properties: fileUuid: type: string description: id ?nico do arquivo locationUri: type: string description: url definitiva 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/isDownloadAvailable: post: description: Requisição para verificar se o arquivo já está disponível para download tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaCodigo – fileUuid – locationUri properties: empresaCodigo: type: integer format: int64 description: empresa que realiza a requisi??o fileUuid: type: string description: id ?nico do arquivo locationUri: type: string description: url tempor?ria responses: 200: description: Ok schema: type: object required: – fileUuid – available properties: fileUuid: type: string description: id ?nico do arquivo available: type: boolean description: arquivo dispon?vel 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/incluirSKURoteiroEstagioConsumoMaterial: post: description: Associar um consumo de material da engenharia de produto ao estágio da engenharia de processo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – roteiroEstagioConsumoMateriais properties: roteiroEstagioConsumoMateriais: type: array items: type: object allOf: – #/definitions/recSkuRoteiroEstagioConsumoMaterialAssociar minimum: 1 description: SKUs dos materiais de consumo do estágio responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/confirmarExclusaoSKU: post: description: Confirmar e efetivar a exclusão do SKU tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuId properties: skuId: type: integer format: int64 description: Identificador único do SKU responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/migrateSchema: post: description: Realiza a migração do schema do banco de dados tags: – Actions x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/actions/forceMigrateSchema: post: description: Executa o migrateSchema já removendo o tenant atual do cache da migração do schema do banco de dados, sem necessidade de reiniciar o serviço tags: – Actions x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/signals/integrarFamilia: post: description: Integração de familia tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – primitivaResposta properties: primitivaResposta: type: string description: primitiva para integrar a familia responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /eng_engenharia/signals/cargaInicialFamilia: post: description: Carga inicial de familia tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – id – codigoEmpresa – codigo – descricao – tipoReposicao – controlaLote – controlaSerie properties: id: type: integer format: int64 description: id da familia codigoEmpresa: type: integer format: int64 description: código da empresa do sku codigo: type: string description: código do sku descricao: type: string description: descrição do sku tipoReposicao: type: string allOf: – #/definitions/enumTipoReposicao description: tipo de reposição controlaLote: type: boolean description: controla lote controlaSerie: type: boolean description: controla série responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entFamilia: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entFamilia responses: 200: description: The created resource schema: #/definitions/entFamilia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entFamilia responses: 200: description: The created resource schema: #/definitions/entFamilia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entFamilia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entFamilia/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entFamilia responses: 200: description: Ok schema: #/definitions/entFamilia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entFamilia responses: 200: description: Ok schema: #/definitions/entFamilia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entFamilia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entFamilia/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/entFamilia responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entCentroRecurso: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entCentroRecurso responses: 200: description: The created resource schema: #/definitions/entCentroRecurso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entCentroRecurso responses: 200: description: The created resource schema: #/definitions/entCentroRecurso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entCentroRecurso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entCentroRecurso/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entCentroRecurso responses: 200: description: Ok schema: #/definitions/entCentroRecurso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entCentroRecurso responses: 200: description: Ok schema: #/definitions/entCentroRecurso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entCentroRecurso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entCentroRecurso/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/entCentroRecurso responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entEstagio: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entEstagio responses: 200: description: The created resource schema: #/definitions/entEstagio 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entEstagio responses: 200: description: The created resource schema: #/definitions/entEstagio 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entEstagio 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entEstagio/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entEstagio responses: 200: description: Ok schema: #/definitions/entEstagio 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entEstagio responses: 200: description: Ok schema: #/definitions/entEstagio 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entEstagio 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entEstagio/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/entEstagio responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entEspecificacaoProduto: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entEspecificacaoProduto responses: 200: description: The created resource schema: #/definitions/entEspecificacaoProduto 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entEspecificacaoProduto responses: 200: description: The created resource schema: #/definitions/entEspecificacaoProduto 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entEspecificacaoProduto 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entEspecificacaoProduto/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entEspecificacaoProduto responses: 200: description: Ok schema: #/definitions/entEspecificacaoProduto 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entEspecificacaoProduto responses: 200: description: Ok schema: #/definitions/entEspecificacaoProduto 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entEspecificacaoProduto 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entEspecificacaoProduto/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/entEspecificacaoProduto responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entRoteiro: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entRoteiro responses: 200: description: The created resource schema: #/definitions/entRoteiro 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entRoteiro responses: 200: description: The created resource schema: #/definitions/entRoteiro 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entRoteiro 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entRoteiro/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entRoteiro responses: 200: description: Ok schema: #/definitions/entRoteiro 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entRoteiro responses: 200: description: Ok schema: #/definitions/entRoteiro 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entRoteiro 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entRoteiro/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/entRoteiro responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entRecurso: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entRecurso responses: 200: description: The created resource schema: #/definitions/entRecurso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entRecurso responses: 200: description: The created resource schema: #/definitions/entRecurso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entRecurso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entRecurso/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entRecurso responses: 200: description: Ok schema: #/definitions/entRecurso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entRecurso responses: 200: description: Ok schema: #/definitions/entRecurso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entRecurso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entRecurso/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/entRecurso responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entProcessoIndustrial: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entProcessoIndustrial responses: 200: description: The created resource schema: #/definitions/entProcessoIndustrial 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entProcessoIndustrial responses: 200: description: The created resource schema: #/definitions/entProcessoIndustrial 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entProcessoIndustrial 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entProcessoIndustrial/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entProcessoIndustrial responses: 200: description: Ok schema: #/definitions/entProcessoIndustrial 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entProcessoIndustrial responses: 200: description: Ok schema: #/definitions/entProcessoIndustrial 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entProcessoIndustrial 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entProcessoIndustrial/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/entProcessoIndustrial responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSku: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entSku responses: 200: description: The created resource schema: #/definitions/entSku 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entSku responses: 200: description: The created resource schema: #/definitions/entSku 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entSku 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSku/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entSku responses: 200: description: Ok schema: #/definitions/entSku 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entSku responses: 200: description: Ok schema: #/definitions/entSku 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entSku 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSku/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/entSku responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuMedida: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entSkuMedida responses: 200: description: The created resource schema: #/definitions/entSkuMedida 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entSkuMedida responses: 200: description: The created resource schema: #/definitions/entSkuMedida 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entSkuMedida 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuMedida/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entSkuMedida responses: 200: description: Ok schema: #/definitions/entSkuMedida 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entSkuMedida responses: 200: description: Ok schema: #/definitions/entSkuMedida 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entSkuMedida 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuMedida/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/entSkuMedida responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuEstruturaComposicao: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entSkuEstruturaComposicao responses: 200: description: The created resource schema: #/definitions/entSkuEstruturaComposicao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entSkuEstruturaComposicao responses: 200: description: The created resource schema: #/definitions/entSkuEstruturaComposicao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entSkuEstruturaComposicao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuEstruturaComposicao/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entSkuEstruturaComposicao responses: 200: description: Ok schema: #/definitions/entSkuEstruturaComposicao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entSkuEstruturaComposicao responses: 200: description: Ok schema: #/definitions/entSkuEstruturaComposicao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entSkuEstruturaComposicao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuEstruturaComposicao/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/entSkuEstruturaComposicao responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuRoteiro: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entSkuRoteiro responses: 200: description: The created resource schema: #/definitions/entSkuRoteiro 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entSkuRoteiro responses: 200: description: The created resource schema: #/definitions/entSkuRoteiro 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entSkuRoteiro 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuRoteiro/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entSkuRoteiro responses: 200: description: Ok schema: #/definitions/entSkuRoteiro 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entSkuRoteiro responses: 200: description: Ok schema: #/definitions/entSkuRoteiro 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entSkuRoteiro 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuRoteiro/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/entSkuRoteiro responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuRoteiroEstagio: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entSkuRoteiroEstagio responses: 200: description: The created resource schema: #/definitions/entSkuRoteiroEstagio 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entSkuRoteiroEstagio responses: 200: description: The created resource schema: #/definitions/entSkuRoteiroEstagio 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entSkuRoteiroEstagio 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuRoteiroEstagio/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entSkuRoteiroEstagio responses: 200: description: Ok schema: #/definitions/entSkuRoteiroEstagio 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entSkuRoteiroEstagio responses: 200: description: Ok schema: #/definitions/entSkuRoteiroEstagio 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entSkuRoteiroEstagio 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuRoteiroEstagio/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/entSkuRoteiroEstagio responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuRoteiroEstagioConsumoMaterial: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entSkuRoteiroEstagioConsumoMaterial responses: 200: description: The created resource schema: #/definitions/entSkuRoteiroEstagioConsumoMaterial 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entSkuRoteiroEstagioConsumoMaterial responses: 200: description: The created resource schema: #/definitions/entSkuRoteiroEstagioConsumoMaterial 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entSkuRoteiroEstagioConsumoMaterial 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuRoteiroEstagioConsumoMaterial/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entSkuRoteiroEstagioConsumoMaterial responses: 200: description: Ok schema: #/definitions/entSkuRoteiroEstagioConsumoMaterial 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entSkuRoteiroEstagioConsumoMaterial responses: 200: description: Ok schema: #/definitions/entSkuRoteiroEstagioConsumoMaterial 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entSkuRoteiroEstagioConsumoMaterial 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuRoteiroEstagioConsumoMaterial/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/entSkuRoteiroEstagioConsumoMaterial responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuRoteiroEstagioProcesso: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entSkuRoteiroEstagioProcesso responses: 200: description: The created resource schema: #/definitions/entSkuRoteiroEstagioProcesso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entSkuRoteiroEstagioProcesso responses: 200: description: The created resource schema: #/definitions/entSkuRoteiroEstagioProcesso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entSkuRoteiroEstagioProcesso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuRoteiroEstagioProcesso/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entSkuRoteiroEstagioProcesso responses: 200: description: Ok schema: #/definitions/entSkuRoteiroEstagioProcesso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entSkuRoteiroEstagioProcesso responses: 200: description: Ok schema: #/definitions/entSkuRoteiroEstagioProcesso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entSkuRoteiroEstagioProcesso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuRoteiroEstagioProcesso/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/entSkuRoteiroEstagioProcesso responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuRoteiroEstagioSubProduto: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entSkuRoteiroEstagioSubProduto responses: 200: description: The created resource schema: #/definitions/entSkuRoteiroEstagioSubProduto 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entSkuRoteiroEstagioSubProduto responses: 200: description: The created resource schema: #/definitions/entSkuRoteiroEstagioSubProduto 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entSkuRoteiroEstagioSubProduto 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuRoteiroEstagioSubProduto/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entSkuRoteiroEstagioSubProduto responses: 200: description: Ok schema: #/definitions/entSkuRoteiroEstagioSubProduto 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entSkuRoteiroEstagioSubProduto responses: 200: description: Ok schema: #/definitions/entSkuRoteiroEstagioSubProduto 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entSkuRoteiroEstagioSubProduto 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuRoteiroEstagioSubProduto/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/entSkuRoteiroEstagioSubProduto responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuRoteiroEstagioRecurso: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entSkuRoteiroEstagioRecurso responses: 200: description: The created resource schema: #/definitions/entSkuRoteiroEstagioRecurso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entSkuRoteiroEstagioRecurso responses: 200: description: The created resource schema: #/definitions/entSkuRoteiroEstagioRecurso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entSkuRoteiroEstagioRecurso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuRoteiroEstagioRecurso/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entSkuRoteiroEstagioRecurso responses: 200: description: Ok schema: #/definitions/entSkuRoteiroEstagioRecurso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entSkuRoteiroEstagioRecurso responses: 200: description: Ok schema: #/definitions/entSkuRoteiroEstagioRecurso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entSkuRoteiroEstagioRecurso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuRoteiroEstagioRecurso/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/entSkuRoteiroEstagioRecurso responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuPerdaVariacaoVolume: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entSkuPerdaVariacaoVolume responses: 200: description: The created resource schema: #/definitions/entSkuPerdaVariacaoVolume 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entSkuPerdaVariacaoVolume responses: 200: description: The created resource schema: #/definitions/entSkuPerdaVariacaoVolume 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entSkuPerdaVariacaoVolume 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuPerdaVariacaoVolume/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entSkuPerdaVariacaoVolume responses: 200: description: Ok schema: #/definitions/entSkuPerdaVariacaoVolume 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entSkuPerdaVariacaoVolume responses: 200: description: Ok schema: #/definitions/entSkuPerdaVariacaoVolume 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entSkuPerdaVariacaoVolume 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entSkuPerdaVariacaoVolume/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/entSkuPerdaVariacaoVolume responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entComponente: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entComponente responses: 200: description: The created resource schema: #/definitions/entComponente 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entComponente responses: 200: description: The created resource schema: #/definitions/entComponente 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entComponente 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entComponente/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entComponente responses: 200: description: Ok schema: #/definitions/entComponente 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entComponente responses: 200: description: Ok schema: #/definitions/entComponente 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entComponente 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /eng_engenharia/entities/entComponente/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/entComponente responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError definitions: enumTipoOrdenacao: description: type: string enum: – Asc – Desc enumInativoAtivo: description: type: string enum: – Inativo – Ativo enumTipoComposicao: description: type: string enum: – Alfanumerico – Numerico – SequenciaFixa enumTipoRecurso: description: type: string enum: – Equipamento – Celula – Terceiro enumTipoCentroCusto: description: type: string enum: – ProdutivoOperacionalIndireto – ProdutivoOperacionalDireto – Administrativo – Comercial – Financeiro enumTipoComponente: description: type: string enum: – Agrupador – Interface – Simples – MateriaPrima enumTipoConexaoInformacaoTecnica: description: type: string enum: – Recurso – InstrucaoTrabalho – EspecificacaoProcesso – IdentificacaoTecnicaSKU – Procedimentos – SuporteOutrasAreas enumTipoValorInformacaoTecnica: description: type: string enum: – NumericoIntervaloFixo – NumericoIntervaloPercentual – NumericoValorAbsoluto – Observacao – Binario – Booleano – Enumerado enumConexaoInformacaoTecnica: description: type: string enum: – CentroRecurso – Familia – Estagio – ProcessoIndustrial – Sku – SkuRoteiroEstagio enumTipoPessoa: description: type: string enum: – Empresa – Filial – Fornecedor – Cliente enumTipoUnidadeTempoRecurso: description: type: string enum: – Horas – Minutos – Segundos – Dias enumTipoUnidadeTempoCentroCusto: description: type: string enum: – Horas – Minutos – Segundos – Dias – NaoSeAplica enumTipoCalculoTempoRecurso: description: type: string enum: – TempoFixo – TempoFrequencial – TempoProporcional enumTipoConsumoEstagio: description: type: string enum: – ReceitaQuimica – MassasCompactada – Mistura – EstruturaConectadaEMontagem – Geral – NaoControla enumTipoProduto: description: type: string enum: – NaoClassificado – Mercadoria – MateriaPrima – Intermediario – Embalagem – Manufaturado – EmFabricacao – SubProduto – UsoConsumo – AtivoImobilizado – Servico – OutrosInsumos – Outros enumSituacaoLegendaSKU: description: type: string enum: – ValidacaoNaoRealizada – FilhosPendentes – RoteiroNaoDefinido – ProcessosPendentes – ConsumoDivergenteDoFluxo – EngenhariaOk – RecursosPendentes enumTipoReposicao: description: type: string enum: – Produzido – Comprado – Servico enumTipoQualidade: description: type: string enum: – Normal – Refugo – SegundaQualidade – TerceiraQualidade enumTipoFatorConversaoUnidadeMedida: description: type: string enum: – Multiplicacao – Divisao enumSituacaoSkuCompl: description: type: string enum: – Inativo – Ativo – Bloqueado enumTipoFatorEstruturaComposicao: description: type: string enum: – Proporcional – Frequencial – Percentual – Fixo enumTipoFornecimento: description: type: string enum: – Proprio – Cliente – Terceiros enumSituacaoLegendaEstruturaComposicao: description: type: string enum: – ValidacaoNaoRealizada – SemLigacaoComponente – ConsumoNaoAvaliado – PosicaoDesenhoPendente – EngenhariaOk enumTipoMedida: description: type: string enum: – Principal – Secundaria enumTipoConsumoSkuRoteiroEstagio: description: type: string enum: – MateriaPrima – Consumivel enumTipoMovimento: description: Tipo de movimento do consumo type: string enum: – Automatico – Manual enumTipoFatorSubProduto: description: type: string enum: – PercentualQuantidadeMateriaPrima – QuantidadeFixa – PercentualQuantidadeProduto enumSituacaoRoteiro: description: type: string enum: – Inativo – Principal – Alternativo enumTipoMovimentoConsumo: description: Tipo de movimento dos consumos do roteiro type: string enum: – Automatico – Manual – Personalizado enumSituacaoVersao: description: type: string enum: – Transitoria – Aprovada – Liberada – Substituida enumTipoFatorPerda: description: type: string enum: – QuantidadeFixa – Percentual enumTipoOrdemProducao: description: type: string enum: – Normal – Reprocesso enumSituacaoOrdemProducao: description: type: string enum: – Programada – Liberada – Iniciada – Finalizada – Cancelada – Parada enumTipoControleValidade: description: type: string enum: – Desativa – Livre – Obriga upDown: description: Up or down type: string enum: – UP – DOWN enumFatorUtilizacao: description: Fator de utilização type: string enum: – Proporcional – Frequencial – Percentual – Fixo enumTipoLayout: description: Tipo de Layout type: string enum: – Usuario – Interface – Agente 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 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 recListaOrdenacao: description: type: object required: – campo – ordenacao properties: campo: type: string description: ordenacao: type: string allOf: – #/definitions/enumTipoOrdenacao description: recPaginacao: description: type: object required: – pagina – numeroRegistrosPagina – listaOrdenacao properties: pagina: type: integer format: int64 description: numeroRegistrosPagina: type: integer format: int64 description: listaOrdenacao: type: array items: type: object allOf: – #/definitions/recListaOrdenacao minimum: 1 description: recPaginacaoRetorno: description: type: object required: – pagina – numeroRegistrosPagina – registrosEncontrados properties: pagina: type: integer format: int64 description: numeroRegistrosPagina: type: integer format: int64 description: registrosEncontrados: type: integer format: int64 description: recPagina: description: Registro para paginação de registros no componente empresa-filial type: object required: – offset – limit properties: offset: type: integer format: int64 description: Página atual limit: type: integer format: int64 description: Limite de registros a serem trazidos recNecessidade: description: type: object required: – id – sku – sequencia – quantidade properties: id: type: integer format: int64 description: sku: type: object allOf: – #/definitions/recSkuNecessidade description: sequencia: type: integer format: int64 description: quantidade: type: string description: necessidadeIdOrigem: type: integer format: int64 description: mascaraSkuComponente: description: Componentes de máscaras de produtos type: object required: – mascara – codigo – sequencia – descricao – abreviatura – situacao properties: mascara: type: object allOf: – #/definitions/mascaraSku description: Ligação com o cadastro de máscara codigo: type: string maxLength: 14 description: Código do componente sequencia: type: integer format: int64 description: Sequência do componente na máscara minimum: 0 maximum: 999999999 descricao: type: string maxLength: 50 description: Descrição do componente abreviatura: type: string maxLength: 20 description: Abreviatura do componente agrupamento: type: integer format: int64 description: Código do agrupamento para produto minimum: 0 maximum: 9999 situacao: type: string allOf: – #/definitions/enumInativoAtivo description: Situação do componente mascaraSku: description: Máscara de produto type: object required: – codigoEmpresa – codigo – descricao – abreviatura – utilizaComponentes – tipoComposicao – situacao properties: codigoEmpresa: type: integer format: int64 description: Código da Empresa codigo: type: string maxLength: 8 description: Código da máscara de produtos descricao: type: string maxLength: 50 description: Descrição da máscara abreviatura: type: string maxLength: 20 description: Abreviatura da máscara quantidadePosicoes: type: integer format: int64 description: Quantidade de posições (algarismos ou caracteres) que podem compor a máscara minimum: 0 maximum: 14 utilizaComponentes: type: boolean description: Indicativo se utiliza componentes tipoComposicao: type: string allOf: – #/definitions/enumTipoComposicao description: Tipo de composição da máscara valorIncremento: type: integer format: int64 description: Valor do incremento para máscaras numéricas que não utilizam componentes minimum: 0 maximum: 9999 ultimaSequencia: type: integer format: int64 description: Última sequência gerada minimum: 0 maximum: 999999999 situacao: type: string allOf: – #/definitions/enumInativoAtivo description: Situação do registro recSkuNecessidade: description: type: object required: – id – codigo – descricao – descricaoComplementar – empresaCodigo – tipoProduto – tipoReposicao – tipoQualidade – situacao properties: id: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: descricaoComplementar: type: string description: empresaCodigo: type: integer format: int64 description: tipoProduto: type: string allOf: – #/definitions/enumTipoProduto description: tipoReposicao: type: string allOf: – #/definitions/enumTipoReposicao description: tipoQualidade: type: string allOf: – #/definitions/enumTipoQualidade description: unidadeMedidaEstoque: type: object allOf: – #/definitions/recUnidadeMedida description: situacao: type: string allOf: – #/definitions/enumSituacaoSkuCompl description: versaoSequencia: type: integer format: int64 description: recPessoa: description: type: object required: – id – codigo – nome – fantasia – tipo properties: id: type: integer format: int64 description: codigo: type: integer format: int64 description: nome: type: string description: fantasia: type: string description: tipo: type: string allOf: – #/definitions/enumTipoPessoa description: pessoaOrigem: type: object allOf: – #/definitions/recPessoa description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recPessoaBase: description: Informações básicas da pessoa (empresa, filial, fornecedor ou cliente) type: object required: – id – codigo – nome – fantasia – tipo properties: id: type: integer format: int64 description: identificador único codigo: type: integer format: int64 description: código de identificação nome: type: string description: nome fantasia: type: string description: fantasia tipo: type: string allOf: – #/definitions/enumTipoPessoa description: tipo de pessoa (empresa, filial, fornecedor ou cliente) recEmpresa: description: Dados da empresa type: object required: – id – codigo – nome – fantasia properties: id: type: integer format: int64 description: Identificador único codigo: type: integer format: int64 description: Código da empresa nome: type: string maxLength: 100 description: Nome da empresa fantasia: type: string maxLength: 50 description: Nome fantasia da empresa recEmpresaComFiliais: description: Empresa com filial para o componente empresa-filial (primeNG) type: object required: – id – codigo – nome – filiais properties: id: type: integer format: int64 description: Identificador único codigo: type: string description: Código da empresa nome: type: string description: Nome da empresa filiais: type: array items: type: object allOf: – #/definitions/recFilialFiltro minimum: 1 description: Lista de filiais recFilial: description: Dados da filial type: object required: – empresa – id – codigo – nome – fantasia properties: empresa: type: object allOf: – #/definitions/recEmpresa description: Empresa associada à filial id: type: integer format: int64 description: Identificador único codigo: type: integer format: int64 description: Código da filial nome: type: string maxLength: 100 description: Nome da filial fantasia: type: string maxLength: 50 description: Nome fantasia da filial recFilialFiltro: description: Filial para o componente empresa-filial (primeNG) type: object required: – id – nome – codigo properties: id: type: integer format: int64 description: Identificador único nome: type: string description: Nome da filial codigo: type: string description: Código da filial recItensGeracaoSku: description: Definição de máscara para geração de SKU type: object required: – codigoMascara properties: codigoMascara: type: string description: Código da máscara valor: type: string description: Código do componente ou valor da máscara. Obrigatório quando a máscara utilizar componente ou quando a máscara for alfanumérica recFamilia: description: Família type: object required: – id – codigo – descricao – empresaCodigo – tipoReposicao – controlaLote – controlaSerie – montaCodigoSku properties: id: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: empresaCodigo: type: integer format: int64 description: tipoReposicao: type: string allOf: – #/definitions/enumTipoReposicao description: controlaLote: type: boolean description: controlaSerie: type: boolean description: controlaValidade: type: string allOf: – #/definitions/enumTipoControleValidade description: montaCodigoSku: type: boolean description: posicaoSku: type: integer format: int64 description: Quantidade de posições do código do SKU dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recCentroRecurso: description: type: object required: – id – codigo – descricao – empresaCodigo – centroCusto – tipoRecurso – controlaCarga properties: id: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: empresaCodigo: type: integer format: int64 description: centroCusto: type: object allOf: – #/definitions/recCentroCusto description: tipoRecurso: type: string allOf: – #/definitions/enumTipoRecurso description: tipoUnidadeTempo: type: string allOf: – #/definitions/enumTipoUnidadeTempoRecurso description: tipo de unidade de tempo: para recurso de terceiro n?o controla tipoCalculoTempo: type: string allOf: – #/definitions/enumTipoCalculoTempoRecurso description: tipo de c?lculo de tempo: para recurso de terceiro n?o controla controlaCarga: type: boolean description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recCalendarioFabril: description: type: object required: – id – centroRecurso – data – percentualOcupacao – tempoDisponivel properties: id: type: integer format: int64 description: centroRecurso: type: object allOf: – #/definitions/recCentroRecurso description: data: type: string format: date description: percentualOcupacao: type: number format: double description: tempoDisponivel: type: integer format: int64 description: tempo dispon?vel em minutor dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recEstagio: description: type: object required: – id – codigo – descricao – ativo – empresaCodigo properties: id: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: ativo: type: boolean description: empresaCodigo: type: integer format: int64 description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recEspecificacaoProduto: description: type: object required: – id – codigo – descricao – empresaCodigo properties: id: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: empresaCodigo: type: integer format: int64 description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recRoteiro: description: type: object required: – id – codigo – descricao – ativo – empresaCodigo properties: id: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: ativo: type: boolean description: empresaCodigo: type: integer format: int64 description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recRoteiroEstagio: description: type: object required: – estagio – sequencia – controlaProgramacao – controlaConfirmacao – controlaInicioEstagio – controlaConsumo – tipoConsumo – controlaSupervisaoConsumo – controlaAbastecimento – geraEstoque – geraSubProduto – imprimeIdentificacao – imprimeFichaTecnica properties: id: type: integer format: int64 description: roteiroId: type: integer format: int64 description: estagio: type: object allOf: – #/definitions/recEstagio description: sequencia: type: integer format: int64 description: controlaProgramacao: type: boolean description: controlaConfirmacao: type: boolean description: controlaInicioEstagio: type: boolean description: controlaConsumo: type: boolean description: tipoConsumo: type: string allOf: – #/definitions/enumTipoConsumoEstagio description: controlaSupervisaoConsumo: type: boolean description: controlaAbastecimento: type: boolean description: controlaTerceiro: type: boolean description: default: false geraEstoque: type: boolean description: geraSubProduto: type: boolean description: imprimeIdentificacao: type: boolean description: imprimeFichaTecnica: type: boolean description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recRecurso: description: type: object required: – id – codigo – descricao – centroRecurso – empresaCodigo – cargaMaxima – cargaMinima – tempoSetup – tempoCargaDescarga – tempoProcesso – tempoTransferencia – ativo properties: id: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: centroRecurso: type: object allOf: – #/definitions/recCentroRecurso description: empresaCodigo: type: integer format: int64 description: filial: type: object allOf: – #/definitions/recPessoa description: fornecedor: type: object allOf: – #/definitions/recPessoa description: centroCusto: type: object allOf: – #/definitions/recCentroCusto description: cargaMaxima: type: number format: double description: cargaMinima: type: number format: double description: tempoSetup: type: number format: double description: tempoCargaDescarga: type: number format: double description: tempoProcesso: type: number format: double description: tempoTransferencia: type: number format: double description: ativo: type: boolean description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recCentroCusto: description: type: object required: – codigo – descricao – abreviacao – tipoCentroCusto – tipoUnidadeTempo – empresaCodigo properties: id: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: abreviacao: type: string description: tipoCentroCusto: type: string allOf: – #/definitions/enumTipoCentroCusto description: tipoUnidadeTempo: type: string allOf: – #/definitions/enumTipoUnidadeTempoCentroCusto description: empresaCodigo: type: integer format: int64 description: centroCustoOrigemId: type: integer format: int64 description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recVersao: description: Record referente a versão do SKU type: object required: – id – skuId – sequencia – descricao – situacao – dataGeracao – usuarioGeracao – dataAlteracao – usuarioAlteracao properties: id: type: integer format: int64 description: Identificador único na engenharia da versão do SKU empresaCodigo: type: integer format: int64 description: Código da empresa do SKU skuId: type: integer format: int64 description: skuCodigo: type: string description: Código do SKU da versão sequencia: type: integer format: int64 description: descricao: type: string description: situacao: type: string allOf: – #/definitions/enumSituacaoVersao description: situacaoLegenda: type: string allOf: – #/definitions/enumSituacaoLegendaSKU description: observacao: type: string description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAprovacao: type: string format: date-time description: usuarioAprovacao: type: string description: dataLiberacao: type: string format: date-time description: usuarioLiberacao: type: string description: recProcessoIndustrial: description: type: object required: – id – codigo – descricao – ativo – estagio – empresaCodigo – controlaEP – imprimeFichaTecnica – controlaRecursosSimultaneos properties: id: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: ativo: type: boolean description: estagio: type: object allOf: – #/definitions/recEstagio description: empresaCodigo: type: integer format: int64 description: controlaEP: type: boolean description: imprimeFichaTecnica: type: boolean description: controlaRecursosSimultaneos: type: boolean description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recProcessoIndustrialRecurso: description: type: object required: – recurso properties: id: type: integer format: int64 description: processoIndustrialId: type: integer format: int64 description: recurso: type: object allOf: – #/definitions/recRecurso description: especificacoesProdutos: type: array items: type: object allOf: – #/definitions/recEspecificacaoProduto description: recInfoTecnica: description: type: object required: – descricao – tipoConexao – empresaCodigo properties: id: type: integer format: int64 description: descricao: type: string description: tipoConexao: type: string allOf: – #/definitions/enumTipoConexaoInformacaoTecnica description: empresaCodigo: type: integer format: int64 description: valores: type: array items: type: object allOf: – #/definitions/recInfoTecnicaValor description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recInfoTecnicaConexao: description: type: object required: – descricao – tipoConexao – conexao – empresaCodigo properties: id: type: integer format: int64 description: descricao: type: string description: tipoConexao: type: string allOf: – #/definitions/enumTipoConexaoInformacaoTecnica description: conexao: type: string allOf: – #/definitions/enumConexaoInformacaoTecnica description: empresaCodigo: type: integer format: int64 description: valores: type: array items: type: object allOf: – #/definitions/recInfoTecnicaValor description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recInfoTecnicaValor: description: type: object required: – rotulo – valorTipo – opcional properties: id: type: integer format: int64 description: infoTecnicaId: type: integer format: int64 description: rotulo: type: string description: valor: type: string description: valorTipo: type: string allOf: – #/definitions/enumTipoValorInformacaoTecnica description: intervaloInicial: type: number format: double description: intervaloFinal: type: number format: double description: valorOpcoes: type: array items: type: object allOf: – #/definitions/recInfoTecnicaValorOpcao description: valorAnexos: type: array items: type: object allOf: – #/definitions/recInfoTecnicaValorAnexo description: opcional: type: boolean description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recInfoTecnicaValorOpcao: description: type: object required: – descricao properties: id: type: integer format: int64 description: infoTecnicaValorId: type: integer format: int64 description: sequencia: type: integer format: int64 description: descricao: type: string description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recInfoTecnicaValorAnexo: description: type: object required: – descricao – arquivo properties: id: type: integer format: int64 description: infoTecnicaValorId: type: integer format: int64 description: descricao: type: string description: arquivo: type: string description: file UUID dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recSku: description: type: object required: – id – codigo – descricao – empresaCodigo – versaoId – familia – tipoProduto – tipoReposicao – situacao properties: id: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: empresaCodigo: type: integer format: int64 description: versaoId: type: integer format: int64 description: versão atual do sku familia: type: object allOf: – #/definitions/recFamilia description: componente: type: object allOf: – #/definitions/recComponente description: tipoProduto: type: string allOf: – #/definitions/enumTipoProduto description: tipoReposicao: type: string allOf: – #/definitions/enumTipoReposicao description: unidadeMedidaEstoque: type: object allOf: – #/definitions/recUnidadeMedida description: unidadeMedidaProducao: type: object allOf: – #/definitions/recUnidadeMedida description: unidadeMedidaCompras: type: object allOf: – #/definitions/recUnidadeMedida description: Unidade medida de compras situacao: type: string allOf: – #/definitions/enumSituacaoSkuCompl description: recSkuBase: description: Informações básicas do SKU type: object required: – empresa – id – codigo – descricao – unidadeMedidaEstoque properties: empresa: type: object allOf: – #/definitions/recPessoaBase description: empresa a qual o SKU pertence id: type: integer format: int64 description: identificador único codigo: type: string description: código de identificação descricao: type: string description: descrição unidadeMedidaEstoque: type: object allOf: – #/definitions/recUnidadeMedidaBase description: unidade medida de estoque recSkuCustoMateriais: description: Registro de retorno do SKU com os respectivos custos de materiais conforme engenharia type: object required: – filial – sku – custosMateriais – custoTotal properties: filial: type: object allOf: – #/definitions/recPessoaBase description: informações da filial conforme a engenharia do SKU sku: type: object allOf: – #/definitions/recSkuBase description: informações do SKU manufaturado custosMateriais: type: array items: type: object allOf: – #/definitions/recCustoComponenteEstrutura minimum: 1 description: custo dos materiais do SKU manufaturado conforme engenharia da filial custoTotal: type: string description: custo final do SKU manufaturado recAdicionarSkuEquivalente: description: Dados para adicionar SKUs equivalentes type: object required: – skuId – skuEquivalenteIds properties: skuId: type: integer format: int64 description: Identificador único do SKU skuEquivalenteIds: type: array items: type: integer format: int64 minimum: 1 description: Lista – Identificador único do SKU equivalente recSkuEquivalente: description: Dados do SKU equivalente type: object required: – id – sku – skuEquivalente properties: id: type: string maxLength: 32 description: Identificador único do registro sku: type: object allOf: – #/definitions/recSkuReduzido description: Dados do SKU skuEquivalente: type: object allOf: – #/definitions/recSkuReduzido description: Dados do SKU equivalente recAdicionarConsumoSkuEquivalente: description: Dados para adicionar o SKU equivalente ao SKU de consumo type: object required: – skuRoteiroEstagioConsumoId – skuEquivalenteIds properties: skuRoteiroEstagioConsumoId: type: integer format: int64 description: Identificador único do consumo skuEquivalenteIds: type: array items: type: integer format: int64 minimum: 1 description: Lista – Identificador único do SKU equivalente recSkuVersao: description: type: object required: – id – codigo – sequencia – descricao – empresaCodigo – versaoId – familia – tipoProduto – situacaoLegenda – skuComplemento – dataGeracao – usuarioGeracao – dataAlteracao – usuarioAlteracao properties: id: type: integer format: int64 description: codigo: type: string description: sequencia: type: integer format: int64 description: codigoSKUAnterior: type: string description: descricao: type: string description: descricaoComplementar: type: string description: empresaCodigo: type: integer format: int64 description: versaoId: type: integer format: int64 description: familia: type: object allOf: – #/definitions/recFamilia description: tipoProduto: type: string allOf: – #/definitions/enumTipoProduto description: situacaoLegenda: type: string allOf: – #/definitions/enumSituacaoLegendaSKU description: situacao: type: string allOf: – #/definitions/enumSituacaoVersao description: skuComplemento: type: object allOf: – #/definitions/recSkuComplemento description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recSkuComplemento: description: type: object required: – tipoReposicao – tipoQualidade – controlaEspecificacaoProduto – unidadeMedidaEstoque – controlaPerdaQualidade – controlaPerdaVolume – controlaPerdaSetup – percentualPerdaQualidade – situacao properties: id: type: integer format: int64 description: skuId: type: integer format: int64 description: versaoId: type: integer format: int64 description: componente: type: object allOf: – #/definitions/recComponente description: tipoReposicao: type: string allOf: – #/definitions/enumTipoReposicao description: tipoQualidade: type: string allOf: – #/definitions/enumTipoQualidade description: controlaEspecificacaoProduto: type: boolean description: especificacaoProduto: type: object allOf: – #/definitions/recEspecificacaoProduto description: controlaValidade: type: string allOf: – #/definitions/enumTipoControleValidade description: diasCalcValidadeLote: type: integer format: int64 description: sku2aQualidade: type: object allOf: – #/definitions/recSku description: sku3aQualidade: type: object allOf: – #/definitions/recSku description: skuRefugo: type: object allOf: – #/definitions/recSku description: cor: type: string description: código hexadecimal da cor unidadeMedidaEstoque: type: object allOf: – #/definitions/recUnidadeMedida description: unidadeMedidaCompras: type: object allOf: – #/definitions/recUnidadeMedida description: unidadeMedidaProducao: type: object allOf: – #/definitions/recUnidadeMedida description: controlaPerdaQualidade: type: boolean description: controlaPerdaVolume: type: boolean description: controlaPerdaSetup: type: boolean description: percentualPerdaQualidade: type: number format: double description: situacao: type: string allOf: – #/definitions/enumSituacaoSkuCompl description: codigoBarrasEan13: type: string maxLength: 13 description: Opcional – Código de barras EAN-13 codigoBarrasLivre: type: string maxLength: 30 description: Opcional – Código de barras livre dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recSkuMedida: description: type: object required: – id – skuId – versaoId – descricao – unidadeMedida – tipoMedida properties: id: type: integer format: int64 description: skuId: type: integer format: int64 description: versaoId: type: integer format: int64 description: descricao: type: string description: unidadeMedida: type: object allOf: – #/definitions/recUnidadeMedida description: simbologia: type: string description: imagem que representa o s?mbolo da medida, file UUID tipoMedida: type: string allOf: – #/definitions/enumTipoMedida description: observacao: type: string description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recUnidadeMedida: description: type: object required: – id – codigo – descricao – quantidadeDecimais properties: id: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: quantidadeDecimais: type: integer format: int64 description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recComponente: description: type: object required: – id – codigo – descricao – tipoComponente – empresaCodigo properties: id: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: tipoComponente: type: string allOf: – #/definitions/enumTipoComponente description: empresaCodigo: type: integer format: int64 description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recEstruturaComponente: description: type: object required: – componente – sequencia properties: id: type: integer format: int64 description: componenteOrigemId: type: integer format: int64 description: componente: type: object allOf: – #/definitions/recComponente description: sequencia: type: integer format: int64 description: posicaoApelido: type: string description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recEstruturaComponenteSku: description: type: object required: – id – skuOrigemId – componente – sku – skuComplemento – sequencia – versaoId – situacaoLegendaEstrutura – situacaoLegendaSku – quantidade – loteFrequencial – fator – tipoFornecimento – ativo properties: id: type: integer format: int64 description: skuOrigemId: type: integer format: int64 description: componente: type: object allOf: – #/definitions/recComponente description: sku: type: object allOf: – #/definitions/recSku description: skuComplemento: type: object allOf: – #/definitions/recSkuComplemento description: sequencia: type: integer format: int64 description: versaoId: type: integer format: int64 description: situacaoLegendaEstrutura: type: string allOf: – #/definitions/enumSituacaoLegendaEstruturaComposicao description: situacaoLegendaSku: type: string allOf: – #/definitions/enumSituacaoLegendaSKU description: quantidade: type: string description: unidadeMedidaConversao: type: object allOf: – #/definitions/recUnidadeMedidaReduzido description: Unidade de medida conversão loteFrequencial: type: number format: double description: fator: type: string allOf: – #/definitions/enumTipoFatorEstruturaComposicao description: tipoFornecimento: type: string allOf: – #/definitions/enumTipoFornecimento description: ativo: type: boolean description: recCustoComponenteEstrutura: description: Registro com as informações dos custos dos materiais do SKU conforme engenharia e filial type: object required: – componente – sequencia – quantidade – fator – loteFrequencial – custo – custoTotal properties: componente: type: object allOf: – #/definitions/recSkuBase description: informações do componente utilizado na engenharia sequencia: type: integer format: int64 description: sequência do componente quantidade: type: string description: quantidade utilizada do componente no processo produtivo fator: type: string allOf: – #/definitions/enumTipoFatorEstruturaComposicao description: fator de consumo loteFrequencial: type: number format: double description: lote frequencial, quando o fator de consumo for lote frequencial custo: type: string description: custo do componente custoTotal: type: string description: custo total (quantidade x custo) recEstruturaComposicao: description: type: object required: – id – skuOrigem – componente – sequencia – versaoId – quantidade – loteFrequencial – fator – tipoFornecimento – situacaoLegendaEstrutura – ativo properties: id: type: integer format: int64 description: skuOrigem: type: object allOf: – #/definitions/recSku description: componente: type: object allOf: – #/definitions/recComponente description: sku: type: object allOf: – #/definitions/recSku description: sequencia: type: integer format: int64 description: versaoId: type: integer format: int64 description: quantidade: type: string description: loteFrequencial: type: number format: double description: fator: type: string allOf: – #/definitions/enumTipoFatorEstruturaComposicao description: tipoFornecimento: type: string allOf: – #/definitions/enumTipoFornecimento description: posicaoApelido: type: string description: situacaoLegendaEstrutura: type: string allOf: – #/definitions/enumSituacaoLegendaEstruturaComposicao description: ativo: type: boolean description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recSkuEmbalagem: description: type: object required: – id – skuOrigem – componente – sku – sequencia – versaoId – quantidade – loteFrequencial – fator – tipoFornecimento – ativo properties: id: type: integer format: int64 description: skuOrigem: type: object allOf: – #/definitions/recSku description: componente: type: object allOf: – #/definitions/recComponente description: sku: type: object allOf: – #/definitions/recSku description: sequencia: type: integer format: int64 description: versaoId: type: integer format: int64 description: quantidade: type: number format: double description: loteFrequencial: type: number format: double description: fator: type: string allOf: – #/definitions/enumTipoFatorEstruturaComposicao description: tipoFornecimento: type: string allOf: – #/definitions/enumTipoFornecimento description: ativo: type: boolean description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recSkuRoteiroEstagio: description: type: object required: – skuRoteiroId – versaoId – estagio – sequencia – controlaProgramacao – controlaConfirmacao – controlaInicioEstagio – controlaConsumo – tipoConsumo – controlaSupervisaoConsumo – controlaAbastecimento – geraEstoque – geraSubProduto – imprimeIdentificacao – imprimeFichaTecnica properties: id: type: integer format: int64 description: skuRoteiroId: type: integer format: int64 description: versaoId: type: integer format: int64 description: estagio: type: object allOf: – #/definitions/recEstagio description: sequencia: type: integer format: int64 description: controlaProgramacao: type: boolean description: controlaConfirmacao: type: boolean description: controlaInicioEstagio: type: boolean description: controlaConsumo: type: boolean description: tipoConsumo: type: string allOf: – #/definitions/enumTipoConsumoEstagio description: controlaSupervisaoConsumo: type: boolean description: controlaAbastecimento: type: boolean description: controlaTerceiro: type: boolean description: default: false geraEstoque: type: boolean description: geraSubProduto: type: boolean description: imprimeIdentificacao: type: boolean description: imprimeFichaTecnica: type: boolean description: skuProdutoProcesso: type: object allOf: – #/definitions/recSku description: layoutImpressao: type: object allOf: – #/definitions/recLayoutImpressao description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recSkuRoteiro: description: type: object required: – id – skuId – versaoId – roteiro – filial – situacao – tipoMovimentoConsumo properties: id: type: integer format: int64 description: skuId: type: integer format: int64 description: versaoId: type: integer format: int64 description: roteiro: type: object allOf: – #/definitions/recRoteiro description: filial: type: object allOf: – #/definitions/recPessoa description: situacao: type: string allOf: – #/definitions/enumSituacaoRoteiro description: tipoMovimentoConsumo: type: string allOf: – #/definitions/enumTipoMovimentoConsumo description: Tipo de movimento dos consumos dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recEstruturaComponenteSaldoMaterial: description: type: object required: – id – skuOrigemId – versaoId – componente – sku – sequencia – quantidade – loteFrequencial – fator – tipoFornecimento – saldoDisponivel properties: id: type: integer format: int64 description: skuOrigemId: type: integer format: int64 description: versaoId: type: integer format: int64 description: componente: type: object allOf: – #/definitions/recComponente description: sku: type: object allOf: – #/definitions/recSku description: sequencia: type: integer format: int64 description: quantidade: type: string description: loteFrequencial: type: number format: double description: fator: type: string allOf: – #/definitions/enumTipoFatorEstruturaComposicao description: tipoFornecimento: type: string allOf: – #/definitions/enumTipoFornecimento description: saldoDisponivel: type: string description: posicaoApelido: type: string description: recSkuRoteiroEstagioConsumoMaterialAssociar: description: Record para associação de SKU de consumo da engenharia de produto para engenharia de processo type: object required: – skuRoteiroEstagioId – skuEstruturaComposicaoId properties: skuRoteiroEstagioId: type: integer format: int64 description: Estagio da engenharia de processo skuEstruturaComposicaoId: type: integer format: int64 description: Estrutura de composição da engenharia de produto recSkuRoteiroEstagioConsumoMaterial: description: type: object required: – id – skuId – versaoId – roteiroId – estagioId – skuConsumo – skuRoteiroEstagioId – sequencia – quantidade – unidadeMedidaConversao – fator – tipoMovimento – perdaQualidade properties: id: type: integer format: int64 description: skuId: type: integer format: int64 description: versaoId: type: integer format: int64 description: roteiroId: type: integer format: int64 description: estagioId: type: integer format: int64 description: skuConsumo: type: object allOf: – #/definitions/recSkuReduzido description: skuRoteiroEstagioId: type: integer format: int64 description: sequencia: type: integer format: int64 description: quantidade: type: string description: unidadeMedidaConversao: type: object allOf: – #/definitions/recUnidadeMedidaReduzido description: Unidade de medida em que o consumo será utilizado fator: type: string allOf: – #/definitions/enumTipoFatorEstruturaComposicao description: tipoMovimento: type: string allOf: – #/definitions/enumTipoMovimento description: Tipo de movimento do consumo posicaoApelido: type: string description: perdaQualidade: type: number format: double description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recSkuRoteiroEstagioConsumiveis: description: type: object required: – id – skuId – versaoId – roteiroId – estagioId – skuConsumo – skuRoteiroEstagioId – tipoMovimento – quantidade properties: id: type: integer format: int64 description: skuId: type: integer format: int64 description: versaoId: type: integer format: int64 description: roteiroId: type: integer format: int64 description: estagioId: type: integer format: int64 description: skuConsumo: type: object allOf: – #/definitions/recSku description: skuRoteiroEstagioId: type: integer format: int64 description: tipoMovimento: type: string allOf: – #/definitions/enumTipoMovimento description: Tipo de movimento do consumo quantidade: type: string description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recSkuRoteiroEstagioProcesso: description: type: object required: – id – skuRoteiroEstagioId – versaoId – processoIndustrial – sequencia – perdaSetup – tipoFatorPerda properties: id: type: integer format: int64 description: skuRoteiroEstagioId: type: integer format: int64 description: versaoId: type: integer format: int64 description: processoIndustrial: type: object allOf: – #/definitions/recProcessoIndustrial description: sequencia: type: integer format: int64 description: perdaSetup: type: number format: double description: tipoFatorPerda: type: string allOf: – #/definitions/enumTipoFatorPerda description: skuServico: type: object allOf: – #/definitions/recSku description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recSkuRoteiroEstagioSubProduto: description: type: object required: – id – versaoId – skuRoteiroEstagioProcessoId – skuSubProduto – tipoFator – fator – roteiroId – estagioId – tipoMovimento properties: id: type: integer format: int64 description: versaoId: type: integer format: int64 description: skuRoteiroEstagioProcessoId: type: integer format: int64 description: skuSubProduto: type: object allOf: – #/definitions/recSku description: tipoFator: type: string allOf: – #/definitions/enumTipoFatorSubProduto description: fator: type: number format: double description: roteiroId: type: integer format: int64 description: estagioId: type: integer format: int64 description: tipoMovimento: type: string allOf: – #/definitions/enumTipoMovimento description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recSkuRoteiroEstagioRecurso: description: type: object required: – id – skuRoteiroEstagioId – processoIndustrialId – versaoId – recurso – loteFrequencial – cargaMaxima – cargaMinima – tempoSetup – tempoCargaDescarga – tempoProcesso – tempoTransferencia properties: id: type: integer format: int64 description: skuRoteiroEstagioId: type: integer format: int64 description: processoIndustrialId: type: integer format: int64 description: versaoId: type: integer format: int64 description: recurso: type: object allOf: – #/definitions/recRecurso description: loteFrequencial: type: number format: double description: cargaMaxima: type: number format: double description: cargaMinima: type: number format: double description: tempoSetup: type: number format: double description: tempoCargaDescarga: type: number format: double description: tempoProcesso: type: number format: double description: tempoTransferencia: type: number format: double description: observacao: type: string description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recSkuRoteiroEstagioSequencia: description: Dados da sequência do estágio do roteiro type: object required: – skuRoteiroEstagioId – sequencia properties: skuRoteiroEstagioId: type: integer format: int64 description: Identificador único do estágio no roteiro do SKU sequencia: type: integer format: int64 description: Sequência do estágio no roteiro do SKU recSkuPerdaVariacaoVolume: description: type: object required: – id – skuRoteiroEstagioId – processoIndustrialId – versaoId – centroRecurso – volumeMinimo – volumeMaximo – perda – tipoFatorPerda properties: id: type: integer format: int64 description: skuRoteiroEstagioId: type: integer format: int64 description: processoIndustrialId: type: integer format: int64 description: versaoId: type: integer format: int64 description: centroRecurso: type: object allOf: – #/definitions/recCentroRecurso description: volumeMinimo: type: number format: double description: volumeMaximo: type: number format: double description: perda: type: number format: double description: tipoFatorPerda: type: string allOf: – #/definitions/enumTipoFatorPerda description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recSimulacao: description: type: object required: – roteiro – filial – sku – versaoId – quantidadeSimulada – controlaCarga – cargaMinima – cargaMaxima – saldoAProgramar – quantidadeOrdensNecessarias – ordens – tempoProcessoTotal – terceirizacao – simulacaoValida – observacoes properties: roteiro: type: object allOf: – #/definitions/recRoteiro description: filial: type: object allOf: – #/definitions/recPessoa description: sku: type: object allOf: – #/definitions/recSku description: versaoId: type: integer format: int64 description: quantidadeSimulada: type: string description: controlaCarga: type: boolean description: cargaMinima: type: number format: double description: cargaMaxima: type: number format: double description: saldoAProgramar: type: string description: quantidadeOrdensNecessarias: type: integer format: int64 description: ordens: type: array items: type: object allOf: – #/definitions/recSimulacaoOrdemProducao minimum: 1 description: tempoProcessoTotal: type: number format: double description: terceirizacao: type: boolean description: simulacaoValida: type: boolean description: observacoes: type: array items: type: string minimum: 1 description: recSimulacaoOrdemProducao: description: type: object required: – quantidadeOrdensNecessarias – quantidade – tempoProcesso properties: quantidadeOrdensNecessarias: type: integer format: int64 description: quantidade: type: string description: tempoProcesso: type: number format: double description: recMascaraSku: description: Dados de uma máscara de produto type: object required: – id – codigo – descricao – abreviatura – quantidadePosicoes – utilizaComponentes – tipoComposicao – autoIncrementavel – situacao properties: id: type: string description: ID do registro codigo: type: string description: Código da máscara descricao: type: string description: Descrição da máscara abreviatura: type: string description: Abreviatura da máscara quantidadePosicoes: type: integer format: int64 description: Quantidade de algarismos/caracteres que podem compor a máscara utilizaComponentes: type: boolean description: Indicativo se a máscara utiliza componentes tipoComposicao: type: string allOf: – #/definitions/enumTipoComposicao description: Indicativo do tipo de composição da máscara autoIncrementavel: type: boolean description: Indicativo se a máscara é autoincrementável, isto é, se seu valor é sequencial ou não situacao: type: string allOf: – #/definitions/enumInativoAtivo description: Situação máscara sequenciaFixa: type: string maxLength: 10 description: Valor da sequência fixa selecionavelPeloUsuario: type: boolean description: Indicativo se permite informar/selecionar um valor recOrdemProducao: description: type: object required: – id – empresaCodigo – sku – versaoId – roteiro – filial – tipo – sequencia – quantidadeProgramada – tempoExecucaoProcesso – situacao – bloqueada – estagios properties: id: type: integer format: int64 description: empresaCodigo: type: integer format: int64 description: sku: type: object allOf: – #/definitions/recSku description: versaoId: type: integer format: int64 description: roteiro: type: object allOf: – #/definitions/recRoteiro description: filial: type: object allOf: – #/definitions/recPessoa description: tipo: type: string allOf: – #/definitions/enumTipoOrdemProducao description: sequencia: type: integer format: int64 description: quantidadeProgramada: type: string description: tempoExecucaoProcesso: type: number format: double description: situacao: type: string allOf: – #/definitions/enumSituacaoOrdemProducao description: bloqueada: type: boolean description: ordensNecessarias: type: integer format: int64 description: estagios: type: array items: type: object allOf: – #/definitions/recOrdemProducaoEstagio minimum: 1 description: recOrdemProducaoEstagio: description: type: object required: – id – sequencia – estagio – processoIndustrial – recurso – skuProcesso – quantidadeProgramada – quantidadeRealizada – controlaConfirmacao – controlaInicioEstagio – controlaConsumo – tipoConsumo – controlaSupervisaoConsumo – controlaAbastecimento – geraEstoque – geraSubProduto – imprimeIdentificacao – imprimeFichaTecnica properties: id: type: integer format: int64 description: sequencia: type: integer format: int64 description: estagio: type: object allOf: – #/definitions/recEstagio description: processoIndustrial: type: object allOf: – #/definitions/recProcessoIndustrial description: recurso: type: object allOf: – #/definitions/recRecurso description: skuProcesso: type: object allOf: – #/definitions/recSku description: quantidadeProgramada: type: string description: quantidadeRealizada: type: string description: controlaConfirmacao: type: boolean description: controlaInicioEstagio: type: boolean description: controlaConsumo: type: boolean description: tipoConsumo: type: string allOf: – #/definitions/enumTipoConsumoEstagio description: controlaSupervisaoConsumo: type: boolean description: controlaAbastecimento: type: boolean description: controlaTerceiro: type: boolean description: default: false geraEstoque: type: boolean description: geraSubProduto: type: boolean description: imprimeIdentificacao: type: boolean description: imprimeFichaTecnica: type: boolean description: skuServico: type: object allOf: – #/definitions/recSku description: consumos: type: array items: type: object allOf: – #/definitions/recOrdemProducaoConsumo description: subprodutos: type: array items: type: object allOf: – #/definitions/recOrdemProducaoSubproduto description: layoutImpressao: type: object allOf: – #/definitions/recLayoutImpressao description: recOrdemProducaoConsumo: description: Record Ordem Produção Consumo type: object required: – id – opEstagioId – sequencia – skuConsumo – tipoConsumo – tipoMovimento – quantidade – unidadeMedidaConversao – quantidadeRealizada properties: id: type: integer format: int64 description: Identificador opEstagioId: type: integer format: int64 description: Ordem Produção Estágio ID sequencia: type: integer format: int64 description: Sequência skuConsumo: type: object allOf: – #/definitions/recSku description: SKU Consumo skuEquivalentes: type: array items: type: object allOf: – #/definitions/recSkuReduzido description: IDs dos SKU Equivalente ao Sku Consumo tipoConsumo: type: string allOf: – #/definitions/enumTipoConsumoSkuRoteiroEstagio description: Tipo de Consumo tipoMovimento: type: string allOf: – #/definitions/enumTipoMovimento description: Tipo de movimento do consumo quantidade: type: string description: Quantidade unidadeMedidaConversao: type: object allOf: – #/definitions/recUnidadeMedidaReduzido description: Unidade de medida de conversão quantidadeRealizada: type: string description: Quantidade realizada fator: type: string allOf: – #/definitions/enumFatorUtilizacao description: Fator de Utilização quantidadeUtilizacao: type: string description: Quantidade Utilização loteFrequencial: type: number format: double description: Lote frequêncial recOrdemProducaoSubproduto: description: type: object required: – id – opEstagioId – skuSubproduto – tipoFator – fator – quantidade – tipoMovimento properties: id: type: integer format: int64 description: opEstagioId: type: integer format: int64 description: skuSubproduto: type: object allOf: – #/definitions/recSku description: tipoFator: type: string allOf: – #/definitions/enumTipoFatorSubProduto description: fator: type: number format: double description: quantidade: type: string description: tipoMovimento: type: string allOf: – #/definitions/enumTipoMovimento description: recConsumo: description: Dados do consumo type: object required: – sequencia – skuConsumo – tipoConsumo – tipoMovimento – quantidade – fatorUtilizacao properties: sequencia: type: integer format: int64 description: Sequência do consumo skuConsumo: type: object allOf: – #/definitions/recSku description: Dados do SKU de consumo tipoConsumo: type: string allOf: – #/definitions/enumTipoConsumoSkuRoteiroEstagio description: Tipo de consumo tipoMovimento: type: string allOf: – #/definitions/enumTipoMovimento description: Tipo de movimento do consumo quantidade: type: string description: Quantidade consumida fatorUtilizacao: type: string allOf: – #/definitions/enumFatorUtilizacao description: fator de utilização recComponentePesquisaSku: description: Componente para estrutura da composição type: object required: – skuIdOrigem – versaoId – skuId properties: skuIdOrigem: type: integer format: int64 description: id do sku de origem (sku pai) versaoId: type: integer format: int64 description: id da versão skuId: type: integer format: int64 description: sku da estrutura recLayoutImpressao: description: Layout impressão type: object properties: id: type: integer format: int64 description: id do registro de layout da impressão empresaCodigo: type: integer format: int64 description: codigo da empresa versao: type: integer format: int64 description: versão tipo: type: string allOf: – #/definitions/enumTipoLayout description: tipo impressoras: type: array items: type: object allOf: – #/definitions/recImpressora description: impressoras descricao: type: string description: descrição nomeArquivo: type: string description: nome do arquivo recImpressora: description: Impressora type: object properties: id: type: integer format: int64 description: id do registro de impressora empresaCodigo: type: integer format: int64 description: codigo da empresa filialCodigo: type: integer format: int64 description: codigo da filial alias: type: string description: alias nomeImpressora: type: string description: nome da impressora recLayout: description: type: object required: – descricao – empresa – versao – tipo – impressoras – arquivo – nomeArquivo properties: id: type: integer format: int64 description: descricao: type: string description: empresa: type: object allOf: – #/definitions/recPessoa description: versao: type: integer format: int64 description: tipo: type: string allOf: – #/definitions/enumTipoLayout description: impressoras: type: array items: type: object allOf: – #/definitions/recImpressora minimum: 1 description: arquivo: type: string description: nomeArquivo: type: string description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: recFileMetadata: description: Record usado no blob service type: object required: – fileUuid – name – size – type properties: fileUuid: type: string description: name: type: string description: size: type: integer format: int64 description: type: type: string description: recCargaInicialSKU: description: Registro de dados do SKU para carga inicial type: object required: – id – codigoEmpresa – codigo – descricao – codigoUnidadeMedida – tipo – situacao properties: id: type: integer format: int64 description: id do sku sequenciaVersao: type: integer format: int64 description: sequência da versão do sku codigoEmpresa: type: integer format: int64 description: código da empresa do sku codigo: type: string description: código do sku descricao: type: string description: descrição do sku descricaoVersao: type: string description: descrição da versão do sku descricaoComplementar: type: string description: descrição complementar do sku codigoUnidadeMedida: type: string description: código da unidade de medida do sku tipo: type: string allOf: – #/definitions/enumTipoProduto description: tipo do sku situacao: type: string allOf: – #/definitions/enumSituacaoSkuCompl description: situação do sku situacaoVersao: type: string allOf: – #/definitions/enumSituacaoVersao description: situação da versão do sku tipoReposicao: type: string allOf: – #/definitions/enumTipoReposicao description: tipo de reposicao do sku tipoQualidade: type: string allOf: – #/definitions/enumTipoQualidade description: tipo da qualidade do sku codigoFamilia: type: string description: código da familia do sku recComponenteReduzido: description: Registro correspondente ao componente. Versão mais otimizada. type: object required: – id – codigo – descricao properties: id: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: recUnidadeMedidaReduzido: description: Registro correspondente a unidade de medida. Versão mais otimizada. type: object required: – id – codigo – descricao – quantidadeDecimais properties: id: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: quantidadeDecimais: type: integer format: int64 description: recUnidadeMedidaBase: description: Informações básicas da unidade de medida type: object required: – id – codigo properties: id: type: integer format: int64 description: identificador único codigo: type: string description: código de identificação recFamiliaReduzido: description: Registro correspondente a família type: object required: – id – codigo – descricao – tipoReposicao properties: id: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: tipoReposicao: type: string allOf: – #/definitions/enumTipoReposicao description: recSkuReduzido: description: Registro que corresponde ao SKU. Versão mais otimizada. type: object required: – id – versaoId – codigo – descricao – familia – componente – tipoProduto – unidadeMedidaEstoque – unidadeMedidaProducao properties: id: type: integer format: int64 description: Id versaoId: type: integer format: int64 description: Versão ID codigo: type: string description: Código descricao: type: string description: Descrição familia: type: object allOf: – #/definitions/recFamiliaReduzido description: Família componente: type: object allOf: – #/definitions/recComponenteReduzido description: Componente tipoProduto: type: string allOf: – #/definitions/enumTipoProduto description: Tipo Produto unidadeMedidaEstoque: type: object allOf: – #/definitions/recUnidadeMedidaReduzido description: Unidade Medida Estoque unidadeMedidaProducao: type: object allOf: – #/definitions/recUnidadeMedidaReduzido description: Unidade Medida Produção entFamilia: description: Crud Familia type: object required: – codigo – descricao – empresaCodigo – tipoReposicao – controlaLote – controlaSerie – controlaValidade – montaCodigoSku properties: id: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: empresaCodigo: type: integer format: int64 description: tipoReposicao: type: string allOf: – #/definitions/enumTipoReposicao description: controlaLote: type: boolean description: controlaSerie: type: boolean description: controlaValidade: type: string allOf: – #/definitions/enumTipoControleValidade description: montaCodigoSku: type: boolean description: posicaoSku: type: integer format: int64 description: Quantidade de posições do código do SKU dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: entCentroRecurso: description: Crud Centro de Recurso type: object required: – codigo – descricao – empresaCodigo – tipoRecurso properties: id: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: empresaCodigo: type: integer format: int64 description: centroCusto: type: object allOf: – #/definitions/recCentroCusto description: tipoRecurso: type: string allOf: – #/definitions/enumTipoRecurso description: tipoUnidadeTempo: type: string allOf: – #/definitions/enumTipoUnidadeTempoRecurso description: tipo de unidade de tempo: para recurso de terceiro não controla tipoCalculoTempo: type: string allOf: – #/definitions/enumTipoCalculoTempoRecurso description: tipo de cálculo de tempo: para recurso de terceiro não controla controlaCarga: type: boolean description: observacao: type: string description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: entEstagio: description: Crud Estágio type: object required: – codigo – descricao – ativo – empresaCodigo properties: id: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: ativo: type: boolean description: empresaCodigo: type: integer format: int64 description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: entEspecificacaoProduto: description: Crud Especificação Produto type: object required: – codigo – descricao – empresaCodigo properties: id: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: empresaCodigo: type: integer format: int64 description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: entRoteiro: description: Crud Roteiro type: object required: – codigo – descricao – empresaCodigo – ativo properties: id: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: empresaCodigo: type: integer format: int64 description: ativo: type: boolean description: estagios: type: array items: type: object allOf: – #/definitions/recRoteiroEstagio description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: entRecurso: description: Crud Recurso type: object required: – codigo – descricao – centroRecurso – empresaCodigo – cargaMaxima – cargaMinima – tempoSetup – tempoCargaDescarga – tempoProcesso – tempoTransferencia – ativo properties: id: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: centroRecurso: type: object allOf: – #/definitions/recCentroRecurso description: empresaCodigo: type: integer format: int64 description: filial: type: object allOf: – #/definitions/recPessoa description: fornecedor: type: object allOf: – #/definitions/recPessoa description: centroCusto: type: object allOf: – #/definitions/recCentroCusto description: cargaMaxima: type: number format: double description: cargaMinima: type: number format: double description: tempoSetup: type: number format: double description: tempoCargaDescarga: type: number format: double description: tempoProcesso: type: number format: double description: tempoTransferencia: type: number format: double description: observacao: type: string description: ativo: type: boolean description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: entProcessoIndustrial: description: Crud Processo Industrial type: object required: – codigo – descricao – empresaCodigo – estagio – controlaEP – imprimeFichaTecnica – ativo – controlaRecursosSimultaneos properties: id: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: empresaCodigo: type: integer format: int64 description: estagio: type: object allOf: – #/definitions/recEstagio description: controlaEP: type: boolean description: imprimeFichaTecnica: type: boolean description: ativo: type: boolean description: controlaRecursosSimultaneos: type: boolean description: recursos: type: array items: type: object allOf: – #/definitions/recProcessoIndustrialRecurso description: lista de recursos associados ao processo industrial dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: entSku: description: Crud SKU type: object required: – codigo – descricao – empresaCodigo – familia – tipoProduto – skuComplemento properties: id: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: descricaoComplementar: type: string description: empresaCodigo: type: integer format: int64 description: versaoId: type: integer format: int64 description: versao atual do sku familia: type: object allOf: – #/definitions/recFamilia description: tipoProduto: type: string allOf: – #/definitions/enumTipoProduto description: skuComplemento: type: object allOf: – #/definitions/recSkuComplemento description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: entSkuMedida: description: Crud SKU + Medidas type: object required: – skuId – versaoId – descricao – unidadeMedida – tipoMedida properties: id: type: integer format: int64 description: skuId: type: integer format: int64 description: versaoId: type: integer format: int64 description: descricao: type: string description: unidadeMedida: type: object allOf: – #/definitions/recUnidadeMedida description: simbologia: type: string description: imagem que representa o símbolo da medida, file UUID tipoMedida: type: string allOf: – #/definitions/enumTipoMedida description: observacao: type: string description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: entSkuEstruturaComposicao: description: Engenharia de Produto + Composição type: object required: – skuOrigemId – componente – sequencia – versaoId – quantidade – loteFrequencial – fator – tipoFornecimento – situacaoLegendaEstrutura – ativo properties: id: type: integer format: int64 description: skuOrigemId: type: integer format: int64 description: componente: type: object allOf: – #/definitions/recComponente description: sku: type: object allOf: – #/definitions/recSku description: sequencia: type: integer format: int64 description: versaoId: type: integer format: int64 description: quantidade: type: string description: unidadeMedidaConversao: type: object allOf: – #/definitions/recUnidadeMedidaReduzido description: Unidade de medida de conversão do componente – Opcional(quando não informado irá assumir a unidade de medida de estoque do SKU) loteFrequencial: type: number format: double description: fator: type: string allOf: – #/definitions/enumTipoFatorEstruturaComposicao description: tipoFornecimento: type: string allOf: – #/definitions/enumTipoFornecimento description: posicaoApelido: type: string description: situacaoLegendaEstrutura: type: string allOf: – #/definitions/enumSituacaoLegendaEstruturaComposicao description: ativo: type: boolean description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: entSkuRoteiro: description: Engenharia de Processo + Roteiro + Estágios type: object required: – skuId – versaoId – roteiro – filial – situacao properties: id: type: integer format: int64 description: skuId: type: integer format: int64 description: versaoId: type: integer format: int64 description: roteiro: type: object allOf: – #/definitions/recRoteiro description: filial: type: object allOf: – #/definitions/recPessoa description: tipoMovimentoConsumo: type: string allOf: – #/definitions/enumTipoMovimentoConsumo description: Tipo de movimento dos consumos (obrigatório para update) situacao: type: string allOf: – #/definitions/enumSituacaoRoteiro description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: entSkuRoteiroEstagio: description: EngepesquisarLayout SkuRoteiroEstagio type: object required: – skuRoteiroId – versaoId – estagio – sequencia – controlaProgramacao – controlaConfirmacao – controlaInicioEstagio – controlaConsumo – tipoConsumo – controlaSupervisaoConsumo – controlaAbastecimento – geraEstoque – geraSubProduto – imprimeIdentificacao – imprimeFichaTecnica properties: id: type: integer format: int64 description: skuRoteiroId: type: integer format: int64 description: versaoId: type: integer format: int64 description: estagio: type: object allOf: – #/definitions/recEstagio description: sequencia: type: integer format: int64 description: controlaProgramacao: type: boolean description: controlaConfirmacao: type: boolean description: controlaInicioEstagio: type: boolean description: controlaConsumo: type: boolean description: tipoConsumo: type: string allOf: – #/definitions/enumTipoConsumoEstagio description: controlaSupervisaoConsumo: type: boolean description: controlaAbastecimento: type: boolean description: controlaTerceiro: type: boolean description: default: false geraEstoque: type: boolean description: geraSubProduto: type: boolean description: imprimeIdentificacao: type: boolean description: imprimeFichaTecnica: type: boolean description: skuProdutoProcesso: type: object allOf: – #/definitions/recSku description: layoutImpressao: type: object allOf: – #/definitions/recLayoutImpressao description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: entSkuRoteiroEstagioConsumoMaterial: description: Engenharia de Processo + Consumo Matéria Prima type: object required: – skuId – versaoId – roteiroId – estagioId – skuConsumo – skuRoteiroEstagioId – sequencia – quantidade – skuEstruturaComposicaoId – perdaQualidade – tipoMovimento properties: id: type: integer format: int64 description: skuId: type: integer format: int64 description: versaoId: type: integer format: int64 description: roteiroId: type: integer format: int64 description: estagioId: type: integer format: int64 description: skuConsumo: type: object allOf: – #/definitions/recSku description: skuRoteiroEstagioId: type: integer format: int64 description: sequencia: type: integer format: int64 description: quantidade: type: string description: unidadeMedidaConversao: type: object allOf: – #/definitions/recUnidadeMedidaReduzido description: Unidade de medida de conversão saldoDisponivel: type: string description: Saldo disponível do material para alteração de consumos skuEstruturaComposicaoId: type: integer format: int64 description: Id da estrutura de composição vinculada: indica a posição da estrutura perdaQualidade: type: number format: double description: maximum: 100 tipoMovimento: type: string allOf: – #/definitions/enumTipoMovimento description: Tipo de movimento do consumo dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: entSkuRoteiroEstagioProcesso: description: Engenharia de Processo + Processo Industrial do SkuRoteiroEstagio type: object required: – skuRoteiroEstagioId – versaoId – sequencia – processoIndustrial – perdaSetup – tipoFatorPerda properties: id: type: integer format: int64 description: skuRoteiroEstagioId: type: integer format: int64 description: versaoId: type: integer format: int64 description: sequencia: type: integer format: int64 description: processoIndustrial: type: object allOf: – #/definitions/recProcessoIndustrial description: perdaSetup: type: number format: double description: tipoFatorPerda: type: string allOf: – #/definitions/enumTipoFatorPerda description: skuServico: type: object allOf: – #/definitions/recSku description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: entSkuRoteiroEstagioSubProduto: description: Engenharia de Processo + Subprodutos do Processo do SkuRoteiroEstagio type: object required: – skuRoteiroEstagioProcessoId – versaoId – skuSubProduto – tipoFator – fator – tipoMovimento properties: id: type: integer format: int64 description: skuRoteiroEstagioProcessoId: type: integer format: int64 description: versaoId: type: integer format: int64 description: skuSubProduto: type: object allOf: – #/definitions/recSku description: tipoFator: type: string allOf: – #/definitions/enumTipoFatorSubProduto description: fator: type: number format: double description: tipoMovimento: type: string allOf: – #/definitions/enumTipoMovimento description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: entSkuRoteiroEstagioRecurso: description: Engenharia de Processo + Recursos do Processo do SkuRoteiroEstagio type: object required: – skuRoteiroEstagioId – processoIndustrialId – versaoId – recurso – loteFrequencial – cargaMaxima – cargaMinima – tempoSetup – tempoCargaDescarga – tempoProcesso – tempoTransferencia properties: id: type: integer format: int64 description: skuRoteiroEstagioId: type: integer format: int64 description: processoIndustrialId: type: integer format: int64 description: versaoId: type: integer format: int64 description: recurso: type: object allOf: – #/definitions/recRecurso description: loteFrequencial: type: number format: double description: cargaMaxima: type: number format: double description: cargaMinima: type: number format: double description: tempoSetup: type: number format: double description: tempoCargaDescarga: type: number format: double description: tempoProcesso: type: number format: double description: tempoTransferencia: type: number format: double description: observacao: type: string description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: entSkuPerdaVariacaoVolume: description: Engenharia de Processo + Perdas por variação de volume do processo type: object required: – skuRoteiroEstagioId – processoIndustrialId – versaoId – centroRecurso – volumeMinimo – volumeMaximo – perda – tipoFatorPerda properties: id: type: integer format: int64 description: skuRoteiroEstagioId: type: integer format: int64 description: processoIndustrialId: type: integer format: int64 description: versaoId: type: integer format: int64 description: centroRecurso: type: object allOf: – #/definitions/recCentroRecurso description: volumeMinimo: type: number format: double description: volumeMaximo: type: number format: double description: perda: type: number format: double description: tipoFatorPerda: type: string allOf: – #/definitions/enumTipoFatorPerda description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string description: entComponente: description: CRUD Componente type: object required: – codigo – descricao – tipoComponente – empresaCodigo properties: id: type: integer format: int64 description: codigo: type: string description: descricao: type: string description: tipoComponente: type: string allOf: – #/definitions/enumTipoComponente description: empresaCodigo: type: integer format: int64 description: estruturaComponente: type: array items: type: object allOf: – #/definitions/recEstruturaComponente description: dataGeracao: type: string format: date-time description: usuarioGeracao: type: string description: dataAlteracao: type: string format: date-time description: usuarioAlteracao: type: string 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. 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

Este artigo foi útil para você?

Leave A Comment