2.0info: 1.31.1 Processos description: Chão de fábrica – Processos x-senior-domain: Gestão industrial x-senior-domain-path: erp_man x-senior-service-path: process 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: /process/queries/healthcheck: post: description: Consulta 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: Consulta 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 /process/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 /process/queries/exportPessoa: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportSku: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportSkuComplemento: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportSkuRoteiro: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportRoteiro: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportVersao: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportUnidadeMedida: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportOrdemProducao: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportOrdemProducaoOrigem: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportFamilia: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportSkuRoteiroEstagio: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportEstagio: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportSkuRoteiroEstagioRecurso: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportSkuRoteiroEstagioProcesso: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportSkuRoteiroEstagioSubProduto: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportRecurso: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportCentroCusto: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportCentroRecurso: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportProcessoIndustrial: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportOrdemProducaoEstagio: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportOrdemProducaoEstagioConsumo: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportOrdemProducaoEstagioConsumoReserva: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportOrdemProducaoEstagioConsumoEquivalente: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportOrdemProducaoEstagioSubproduto: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportSKURoteiroEstagioConsumoMaterial: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportSKURoteiroEstagioConsumoEquivalente: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportConfiguracao: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportSkuMrp: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportCentroRecursoTurno: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportTurno: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportCalendarioProducao: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportCalendarioProducaoData: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportParametro: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportSkuParametro: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportSkuParametroPcpGrupo: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportOrdemProducaoVinculo: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportOrdemProducaoMrpDocumento: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportTipoProcesso: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/exportTipoOrdem: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/queries/getDependencies: post: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/generateProductionOrder: post: description: Gerar ordem de produção\n### Resources\n- res://senior.com.br/erp_man/pcp_programacaocontrole/programacaocontrole – Processar tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – skuCode – amount properties: companyId: type: integer format: int64 description: Identificador único da empresa que será gerada a ordem de produção – Necessário informar quando o id da filial não for informado companyCode: type: integer format: int64 description: Código da empresa – Necessário quando o id da filial e o id da empresa não forem informados branchId: type: integer format: int64 description: Identificador único da filial que será gerada a ordem de produção branchCode: type: integer format: int64 description: Código da filial que será gerada a ordem de produção skuCode: type: string description: Código do SKU para o qual será gerada a ordem de produção skuScriptId: type: integer format: int64 description: Opcional – Identificador único do roteiro que será utilizado para a geração da ordem de produção, caso não informado será utilizado o principal da filial amount: type: string description: Quantidade do SKU a ser produzida expectedStartDate: type: string format: date-time description: Opcional – Data início prevista para ordem de produção, também será utilizado para calcular o fim previsto da ordem expectedEndDate: type: string format: date-time description: Opcional – Data fim prevista para ordem de produção, também será utilizado para calcular o início previsto da ordem expectedDeliveryDate: type: string format: date-time description: Opcional – Data entrega prevista de entrega, também será utilizado para calcular o início e fim previsto da ordem situation: type: string allOf: – #/definitions/enumSituacaoOrdemProducao description: Opcional – Situação da ordem de produção na sua geração, poderá passar Planejada, Firme ou Aberta origin: type: string allOf: – #/definitions/enumOrigemOrdemProducao description: Opcional – Origem da Ordem de produção, quando não informado será considerada como externa documents: type: array items: type: string description: Opcional – Necessário informar quando a origem for do tipo DemandasErpx responses: 200: description: Ok schema: type: object required: – order properties: order: type: object allOf: – #/definitions/recGenerateProductionOrder description: Ordem de produção gerada 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/simulateProductionOrder: post: description: Simular a geração de uma ordem de produção tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – skuCode – amount properties: companyId: type: integer format: int64 description: Identificador único da empresa que será gerada a ordem de produção – Necessário informar quando o id da filial não for informado companyCode: type: integer format: int64 description: Código da empresa – Necessário quando o id da filial e o id da empresa não forem informados branchId: type: integer format: int64 description: Identificador único da filial que será gerada a ordem de produção branchCode: type: integer format: int64 description: Código da filial que será gerada a ordem de produção skuCode: type: string description: Código do SKU para o qual será gerada a ordem de produção skuScriptId: type: integer format: int64 description: Identificador único do roteiro que será utilizado para a simulação das ordens de produção amount: type: string description: Quantidade do SKU a ser simulada expectedstartDate: type: string format: date-time description: Data de início prevista para as ordens de produção expectedEndDate: type: string format: date-time description: Data de fim prevista as ordens de produção situation: type: string allOf: – #/definitions/enumSituacaoOrdemProducao description: Situação da ordem de produção na sua geração, poderá passar Planejada ou Firme responses: 200: description: Ok schema: type: object required: – simulation properties: simulation: type: object allOf: – #/definitions/recSimulation description: Simulação gerada 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/pendingProductionOrderAction: post: description: Concluir a geração da ordem de produção tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: integer format: int64 description: Identificador único da ordem de produção responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/odata: post: description: tags: – Actions x-senior-visibility: PRIVATE responses: 204: description: No response 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importPessoa: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importSku: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importSkuComplemento: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importSkuRoteiro: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importRoteiro: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importVersao: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importUnidadeMedida: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importOrdemProducao: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importOrdemProducaoOrigem: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importFamilia: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importSkuRoteiroEstagio: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importEstagio: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importSkuRoteiroEstagioRecurso: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importSkuRoteiroEstagioProcesso: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importSkuRoteiroEstagioSubProduto: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importRecurso: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importCentroCusto: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importCentroRecurso: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importProcessoIndustrial: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importOrdemProducaoEstagio: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importOrdemProducaoEstagioConsumo: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importOrdemProducaoEstagioConsumoReserva: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importOrdemProducaoEstagioConsumoEquivalente: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importOrdemProducaoEstagioSubproduto: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importSKURoteiroEstagioConsumoMaterial: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importSKURoteiroEstagioConsumoEquivalente: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importConfiguracao: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importSkuMrp: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importCentroRecursoTurno: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importTurno: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importCalendarioProducao: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importCalendarioProducaoData: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importParametro: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importSkuParametro: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importSkuParametroPcpGrupo: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importOrdemProducaoVinculo: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importOrdemProducaoMrpDocumento: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importTipoProcesso: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/actions/importTipoOrdem: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /process/signals/signOrder: post: description: Firmar ordens\n### Resources\n- res://senior.com.br/erp_man/pcp_programacaocontrole/programacaocontrole – Processar tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – orderId properties: orderId: type: integer format: int64 description: Identificador único da ordem responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /process/signals/generateOrderReport: post: description: Relatório\n### Resources\n- res://senior.com.br/erp_man/pcp_programacaocontrole/programacaocontrole – Visualizar tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – orderIds properties: orderIds: type: array items: type: string minimum: 1 description: Lista de identificadores únicos da ordem withImages: type: boolean description: Indicativo se o relatório apresentará a imagem do produto e os desenhos técnicos default: false responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /process/events/productionOrderCompleteGeneration: post: description: Ordem de produção gerada x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: integer format: int64 description: Identificador único da ordem de produção responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/pendingProductionOrder: post: description: Concluir a geração da ordem de produção x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: integer format: int64 description: Identificador único da ordem de produção responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/changedOrderInternal: post: description: Alteração da situação da ordem x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – code properties: code: type: string description: Identificador único da ordem responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/changedOrderStageInternal: post: description: Alteração do estágio x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – orderStageId properties: orderStageId: type: integer format: int64 description: Identificador único do estágio da ordem responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/changedOrderStageConsumptionInternal: post: description: Alteração do consumo x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – orderStageConsumptionId properties: orderStageConsumptionId: type: integer format: int64 description: Identificador único do consumo do estágio responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importPessoaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportPessoaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importSkuEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportSkuEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importSkuComplementoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportSkuComplementoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importSkuRoteiroEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportSkuRoteiroEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importRoteiroEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportRoteiroEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importVersaoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportVersaoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importUnidadeMedidaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportUnidadeMedidaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importOrdemProducaoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportOrdemProducaoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importOrdemProducaoOrigemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportOrdemProducaoOrigemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importFamiliaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportFamiliaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importSkuRoteiroEstagioEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportSkuRoteiroEstagioEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importEstagioEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportEstagioEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importSkuRoteiroEstagioRecursoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportSkuRoteiroEstagioRecursoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importSkuRoteiroEstagioProcessoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportSkuRoteiroEstagioProcessoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importSkuRoteiroEstagioSubProdutoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportSkuRoteiroEstagioSubProdutoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importRecursoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportRecursoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importCentroCustoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportCentroCustoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importCentroRecursoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportCentroRecursoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importProcessoIndustrialEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportProcessoIndustrialEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importOrdemProducaoEstagioEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportOrdemProducaoEstagioEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importOrdemProducaoEstagioConsumoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportOrdemProducaoEstagioConsumoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importOrdemProducaoEstagioConsumoReservaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportOrdemProducaoEstagioConsumoReservaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importOrdemProducaoEstagioConsumoEquivalenteEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportOrdemProducaoEstagioConsumoEquivalenteEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importOrdemProducaoEstagioSubprodutoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportOrdemProducaoEstagioSubprodutoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importSKURoteiroEstagioConsumoMaterialEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportSKURoteiroEstagioConsumoMaterialEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importSKURoteiroEstagioConsumoEquivalenteEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportSKURoteiroEstagioConsumoEquivalenteEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importConfiguracaoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportConfiguracaoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importSkuMrpEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportSkuMrpEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importCentroRecursoTurnoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportCentroRecursoTurnoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importTurnoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportTurnoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importCalendarioProducaoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportCalendarioProducaoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importCalendarioProducaoDataEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportCalendarioProducaoDataEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importParametroEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportParametroEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importSkuParametroEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportSkuParametroEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importSkuParametroPcpGrupoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportSkuParametroPcpGrupoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importOrdemProducaoVinculoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportOrdemProducaoVinculoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importOrdemProducaoMrpDocumentoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportOrdemProducaoMrpDocumentoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importTipoProcessoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportTipoProcessoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/importTipoOrdemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /process/events/exportTipoOrdemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError definitions: upDown: description: Up or down type: string enum: – UP – DOWN enumTipoPessoa: description: Tipo pessoa type: string enum: – Empresa – Filial – Fornecedor – Cliente enumPessoaSituacao: description: Pessoa situação type: string enum: – Inativo – Ativo – Bloqueado enumSituacaoOrdemProducao: description: Situação da ordem de produção type: string enum: – Planejada – Simulada – Firme – Programada – Aberta – Cancelada – Pendente – Erro – Gerando – Finalizada – Iniciada – Liberada – Parada – Em_Finalizacao – Em_Cancelamento enumTipoMovimentoConsumo: description: Tipo de movimento dos consumos do roteiro type: string enum: – Automatico – Manual – Personalizado enumSKUSituacaoRoteiro: description: Tipo de Situação do Roteiro type: string enum: – Inativo – Principal – Alternativo enumSKUSituacao: description: Tipo de Situação do Roteiro type: string enum: – Inativo – Ativo – Bloqueado enumTipoQualidade: description: Tipo de Qualidade type: string enum: – Normal – Refugo – SegundaQualidade – TerceiraQualidade enumSituacaoLegendaSKU: description: Situação da Legenda do SKU type: string enum: – ValidacaoNaoRealizada – FilhosPendentes – RoteiroNaoDefinido – ProcessosPendentes – ConsumoDivergenteDoFluxo – EngenhariaOk – RecursosPendentes enumSituacaoVersao: description: Situação da Versão type: string enum: – Transitoria – Aprovada – Liberada – Substituida enumTipoReposicao: description: Tipo de Reposição type: string enum: – Produzido – Comprado – Servico enumTipoCentroCusto: description: Tipo centro de custo type: string enum: – ProdutivoOperacionalIndireto – ProdutivoOperacionalDireto – Administrativo – Comercial – Financeiro enumTipoRecurso: description: Tipo de recurso type: string enum: – Equipamento – Celula – Terceiro enumTipoUnidadeTempoRecurso: description: Tipo unidade de tempo recurso type: string enum: – Horas – Minutos – Segundos – Dias enumTipoCalculoTempoRecurso: description: Tipo de cálculo do tempo recurso type: string enum: – TempoFixo – TempoFrequencial – TempoProporcional enumSituacaoSkuCompl: description: Situação SKU Complemento type: string enum: – Inativo – Ativo – Bloqueado enumTipoControleValidade: description: Tipo controle validade type: string enum: – Desativa – Livre – Obriga enumOrigemOrdemProducao: description: Origem da ordem de produção type: string enum: – PCP – Normal – DemandasERPX – MRP – Externo enumTipoProduto: description: Tipo de produto type: string enum: – NaoClassificado – Mercadoria – MateriaPrima – Intermediario – Embalagem – Manufaturado – EmFabricacao – SubProduto – UsoConsumo – AtivoImobilizado – Servico – OutrosInsumos – Outros enumTipoUnidadeTempoCentroCusto: description: Tipo unidade de tempo centro de custo type: string enum: – Horas – Minutos – Segundos – Dias – NaoSeAplica enumSituacaoOrdemProducaoEstagio: description: Situação do estágio na ordem de produção type: string enum: – Simulado – Planejado – Firme – Aberto – Bloqueado – Programado enumTipoDatas: description: Tipo de Datas type: string enum: – NORMAL – FERIADO enumTipoConsumo: description: Tipo de consumo do estágio da O.P. type: string enum: – MateriaPrima – Consumivel enumTipoMovimento: description: Tipo de movimento do consumo type: string enum: – Automatico – Manual enumFatorUtilizacao: description: Fator de utilização type: string enum: – Proporcional – Frequencial – Percentual – Fixo enumTipoFatorSubProduto: description: Tipo de fator do Sub Produto type: string enum: – PercentualQuantidadeMateriaPrima – QuantidadeFixa – PercentualQuantidadeProduto enumOrigemReservaConsumo: description: Origem da reserva do consumo type: string enum: – LiberacaoOP – AtendimentoDemanda – Manual enumSituacaoDocumentoReserva: description: Enumerador para a situação do documento de reserva. type: string enum: – PendenteReserva – Reservada – PendenteCancelamento – Cancelada enumTipoGeracaoEtiqueta: description: Tipo de geração de etiqueta type: string enum: – Apontamento – GeracaoOP enumTipoCodigoBarraEtiqueta: description: Tipo de código de barras da etiqueta type: string enum: – NaoGera – Customizado – EAN13 – CodigoLivre enumSituacaoDemanda: description: Situação da Demanda type: string enum: – Gerada – EmCancelamento – Cancelada enumTipoLeadTimeProducao: description: Tipo do leadtime de produção type: string enum: – FIXO – VARIAVEL userNotificationKind: description: User notification kind. type: string enum: – Operational – Management – News userNotificationPriority: description: User notification priority. type: string enum: – Error – Alert – None eventEmailFormat: description: Format of the email type: string enum: – HTML – PLAIN_TEXT fieldType: description: type: string enum: – BINARY – BOOLEAN – DATE – DATETIME – LOCALDATETIME – DOUBLE – ENUM – INTEGER – MONEY – STRING – TIME fileFormat: description: type: string enum: – CSV – FLAT – JSON – XML hookFunction: description: type: string enum: – BEFORE_PARSE – BEFORE_CONVERSION – ON_ERROR – VALIDATE eventType: description: type: string enum: – CHUNK – DOWNLOAD – ERROR – FINISH – START errorStrategy: description: type: string enum: – CALL_SCRIPT – IGNORE – STOP status: description: type: string enum: – DONE – DONE_WITH_ERRORS – DOWNLOADING – ERROR – NOT_STARTED – RUNNING errorType: description: type: string enum: – CONVERT_ERROR – SERVICE_ERROR checkData: description: Dados do healthcheck type: object required: – name – status properties: name: type: string description: Nome do healthcheck status: type: string allOf: – #/definitions/upDown description: Status do healthcheck recGenerateProductionOrder: description: Informações da ordem de produção gerada type: object required: – id – code properties: id: type: integer format: int64 description: Identificador único da ordem de produção code: type: string description: Codigo/identificador único da ordem de produção recSimulation: description: Retorno da simulação de geração de ordem produção type: object required: – branch – sku – simulatedAmount – processTime – outsourcing – situation properties: script: type: object allOf: – #/definitions/recRoteiro description: Informações do roteiro utilizado para simulação branch: type: object allOf: – #/definitions/recPessoa description: Informações da filial utiliza na simulação sku: type: object allOf: – #/definitions/recSku description: Informações do SKU simulado simulatedAmount: type: string description: Quantidade simulada (quantidade informada na simulação + percentual de perda) processTime: type: number format: double description: Tempo de processo expectedStartDate: type: string format: date-time description: Data de início prevista para a ordem de produção expectedEndDate: type: string format: date-time description: Data de fim prevista para a ordem de produção outsourcing: type: boolean description: Indicativo se a ordem de produção tem terceirização situation: type: string allOf: – #/definitions/enumSituacaoOrdemProducao description: Situação da ordem de produção na sua geração recRoteiro: description: Roteiro type: object required: – id – codigo – descricao – empresaCodigo properties: id: type: integer format: int64 description: Identificador codigo: type: string description: Código descricao: type: string description: Descrição ativo: type: boolean description: Ativo empresaCodigo: type: integer format: int64 description: Código da empresa recPessoa: description: Pessoa type: object required: – id – codigo – nome – fantasia – tipo properties: id: type: integer format: int64 description: Identificador codigo: type: integer format: int64 description: Código nome: type: string description: Nome fantasia: type: string description: Fantasia tipo: type: string allOf: – #/definitions/enumTipoPessoa description: Tipo pessoaOrigem: type: object allOf: – #/definitions/recPessoa description: Origem da pessoa recSku: description: SKU type: object required: – id – codigo – descricao – empresaCodigo – versaoId – familia – tipoReposicao properties: id: type: integer format: int64 description: Identificador codigo: type: string description: Código descricao: type: string description: Descrição empresaCodigo: type: integer format: int64 description: Código da empresa versaoId: type: integer format: int64 description: versão atual do sku familia: type: object allOf: – #/definitions/recFamilia description: Família tipoReposicao: type: string allOf: – #/definitions/enumTipoReposicao description: Tipo de reposição unidadeMedidaEstoque: type: object allOf: – #/definitions/recUnidadeMedida description: Unidade medida estoque unidadeMedidaProducao: type: object allOf: – #/definitions/recUnidadeMedida description: Unidade medida produção unidadeMedidaCompras: type: object allOf: – #/definitions/recUnidadeMedida description: Unidade medida de compras recFamilia: description: Família type: object required: – id – codigo – descricao – tipoReposicao – controlaLote – controlaSerie – montaCodigoSku properties: id: type: integer format: int64 description: Identificador codigo: type: string description: Código descricao: type: string description: Descrição tipoReposicao: type: string allOf: – #/definitions/enumTipoReposicao description: Tipo de reposição controlaLote: type: boolean description: Controla lote controlaSerie: type: boolean description: Controla série controlaValidade: type: string allOf: – #/definitions/enumTipoControleValidade description: Controla validade montaCodigoSku: type: boolean description: Monta código SKU posicaoSku: type: integer format: int64 description: Quantidade de posições do código do SKU recUnidadeMedida: description: Unidade medida type: object required: – id – codigo – descricao – quantidadeDecimais properties: id: type: integer format: int64 description: Identificador codigo: type: string description: Código descricao: type: string description: Descrição quantidadeDecimais: type: integer format: int64 description: Quantidade de casas decimais pessoa: description: Pessoa (tabela meng_pessoa) type: object required: – codigo – nome – fantasia – tipo – situacao properties: id: type: integer format: int64 description: Identificador único da tabela codigo: type: integer format: int64 description: Código nome: type: string description: Nome fantasia: type: string description: Fantasia tipo: type: string allOf: – #/definitions/enumTipoPessoa description: Tipo pessoa pessoaOrigem: type: object allOf: – #/definitions/pessoa description: Pessoa origem situacao: type: string allOf: – #/definitions/enumPessoaSituacao description: Pessoa Situação erpxId: type: string format: uuid description: Erpx id excluido: type: boolean description: Excluído usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: sku: description: SKU (tabela meng_sku) type: object required: – codigo – descricao – pessoa – excluido properties: id: type: integer format: int64 description: Identificador único da tabela codigo: type: string description: Código descricao: type: string description: Descrição pessoa: type: object allOf: – #/definitions/pessoa description: Pessoa complementos: type: array items: type: object allOf: – #/definitions/skuComplemento description: SKU complemento erpxId: type: string format: uuid description: identificador do erpx familia: type: object allOf: – #/definitions/familia description: família excluido: type: string maxLength: 1 description: Indicativo se o SKU foi excluído usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: skuComplemento: description: SKU Complemento (tabela meng_sku_compl) type: object required: – tipoReposicao – unidadeMedidaEstoque – unidadeMedidaProducao – unidadeMedidaCompra – situacao properties: id: type: integer format: int64 description: Identificador único da tabela sku: type: object allOf: – #/definitions/sku description: SKU versao: type: object allOf: – #/definitions/versao description: Versão tipoReposicao: type: string allOf: – #/definitions/enumTipoReposicao description: Tipo Reposição unidadeMedidaEstoque: type: object allOf: – #/definitions/unidadeMedida description: Unidade de medida de estoque unidadeMedidaProducao: type: object allOf: – #/definitions/unidadeMedida description: Unidade de medida de Produção unidadeMedidaCompra: type: object allOf: – #/definitions/unidadeMedida description: Unidade de medida de compra situacao: type: string allOf: – #/definitions/enumSKUSituacao description: Situacao do SKU usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: editSkuComplemento: type: object required: – id allOf: – #/definitions/skuComplemento skuRoteiro: description: SKU Roteiro (tabela meng_sku_roteiro) type: object required: – sku – roteiro – pessoa – versao – tipoMovimentoConsumo – situacao properties: id: type: integer format: int64 description: Identificador único da tabela sku: type: object allOf: – #/definitions/sku description: SKU roteiro: type: object allOf: – #/definitions/roteiro description: Roteiro pessoa: type: object allOf: – #/definitions/pessoa description: Filial versao: type: object allOf: – #/definitions/versao description: Versão tipoMovimentoConsumo: type: string allOf: – #/definitions/enumTipoMovimentoConsumo description: Tipo do Movimento de Consumo situacao: type: string allOf: – #/definitions/enumSKUSituacaoRoteiro description: Situação do Roteiro percentualPerda: type: string description: Percentual de Perda skuRoteirosEstagio: type: array items: type: object allOf: – #/definitions/skuRoteiroEstagio description: Estágios dos roteiros usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: roteiro: description: Roteiro (tabela meng_roteiro) type: object required: – codigo – descricao – pessoa properties: id: type: integer format: int64 description: Identificador único da tabela codigo: type: string description: Código descricao: type: string description: Descrição pessoa: type: object allOf: – #/definitions/pessoa description: Empresa ativo: type: boolean description: Ativo usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: versao: description: Versão (tabela meng_versao) type: object required: – sku – sequencia – descricao – situacaoLegenda properties: id: type: integer format: int64 description: Identificador único da tabela sku: type: object allOf: – #/definitions/sku description: SKU sequencia: type: integer format: int64 description: Sequência descricao: type: string description: Descrição situacao: type: string allOf: – #/definitions/enumSituacaoVersao description: Situação Versão situacaoLegenda: type: string allOf: – #/definitions/enumSituacaoLegendaSKU description: Situação Legenda observacao: type: string description: Observação usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: unidadeMedida: description: Unidade de Medida (tabela meng_unidade_medida) type: object required: – codigo – descricao – quantidadeDecimais properties: id: type: integer format: int64 description: Identificador único da tabela codigo: type: string description: Código descricao: type: string description: Descrição quantidadeDecimais: type: integer format: int64 description: Quantidade decimais usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: ordemProducao: description: Ordem de Produção Resumida (tabela mpcp_op) type: object required: – codigo – sku – pessoa – sequencia – quantidadeProgramada – quantidadeRealizada – tempoExecucaoProcesso – tempoExecucaoReal – tempoParado – bloqueada – dataInicioPrevista – dataFimPrevista – dataPrevistaEntrega – usuarioAbertura – dataAbertura properties: id: type: integer format: int64 description: Identificador único da tabela codigo: type: string format: uuid description: Código sku: type: object allOf: – #/definitions/sku description: SKU versao: type: object allOf: – #/definitions/versao description: Versão roteiro: type: object allOf: – #/definitions/roteiro description: Roteiro pessoa: type: object allOf: – #/definitions/pessoa description: Filial sequencia: type: integer format: int64 description: Sequência quantidadeProgramada: type: string description: Quantidade programada quantidadeRealizada: type: string description: Quantidade realizada tempoExecucaoProcesso: type: integer format: int64 description: Tempo de execução do processo tempoExecucaoReal: type: integer format: int64 description: Tempo de execução real tempoParado: type: integer format: int64 description: Tempo parado situacao: type: string allOf: – #/definitions/enumSituacaoOrdemProducao description: Situação bloqueada: type: boolean description: Bloqueada dataInicioPrevista: type: string format: date-time description: Data de início prevista dataFimPrevista: type: string format: date-time description: Data de fim prevista dataPrevistaEntrega: type: string format: date-time description: Data de entrega prevista usuarioAbertura: type: string description: Usuário de Abertura dataAbertura: type: string format: date-time description: Data de Abertura observacao: type: string maxLength: 250 description: Observação urgente: type: boolean description: Urgente request: type: string description: Requisição recebida estagios: type: array items: type: object allOf: – #/definitions/ordemProducaoEstagio description: Estágios origens: type: array items: type: object allOf: – #/definitions/ordemProducaoOrigem description: Origens tipoOrdem: type: object allOf: – #/definitions/tipoOrdem description: Tipo de ordem usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: ordemProducaoOrigem: description: Ordem Produção Origem (tabela mpcp_op_origem) type: object required: – id – origem – codigoDocumento properties: id: type: string format: uuid description: Identificador único da tabela ordemProducao: type: object allOf: – #/definitions/ordemProducao description: Ordem de Produção origem: type: string allOf: – #/definitions/enumOrigemOrdemProducao description: Origem codigoDocumento: type: string description: Código do documento numeroPedido: type: integer format: int64 description: Número do pedido clienteErpxId: type: string format: uuid description: Identificador único do cliente editOrdemProducaoOrigem: type: object required: – id allOf: – #/definitions/ordemProducaoOrigem familia: description: Família (tabela meng_familia) type: object required: – codigo – descricao – tipoReposicao – controlaLote – controlaSerie – montaCodigoSku properties: id: type: integer format: int64 description: Identificador único da tabela erpxId: type: string format: uuid description: identificador do erpx codigo: type: string description: Código descricao: type: string description: Descrição tipoReposicao: type: string allOf: – #/definitions/enumTipoReposicao description: Tipo de reposição controlaLote: type: boolean description: Controla lote controlaSerie: type: boolean description: Controla série controlaValidade: type: string allOf: – #/definitions/enumTipoControleValidade description: Controla validade montaCodigoSku: type: boolean description: Monta código SKU posicaoSku: type: integer format: int64 description: Quantidade de posições do código do SKU usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: skuRoteiroEstagio: description: Roteiro (tabela meng_roteiro_estagio) type: object properties: id: type: integer format: int64 description: Identificador único da tabela skuRoteiro: type: object allOf: – #/definitions/skuRoteiro description: Roteiro estagio: type: object allOf: – #/definitions/estagio description: Estágio sequencia: type: integer format: int64 description: Sequência versao: type: object allOf: – #/definitions/versao description: Versão sku: type: object allOf: – #/definitions/sku description: Sku controlaProgramacao: type: boolean description: Controla programação controlaTerceiro: type: boolean description: Controlar terceiro controlaConfirmacao: type: boolean description: Controlar confirmação controlaInicioEstagio: type: boolean description: Controlar início estágio geraEstoque: type: boolean description: Gera Estoque skuRoteiroEstagiosRecurso: type: array items: type: object allOf: – #/definitions/skuRoteiroEstagioRecurso description: Estágios recursos skuRoteiroEstagiosProcesso: type: array items: type: object allOf: – #/definitions/skuRoteiroEstagioProcesso description: Estágios processos descricaoTecnica: type: string description: Descrição técnica do estágio usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: editSkuRoteiroEstagio: type: object required: – id allOf: – #/definitions/skuRoteiroEstagio estagio: description: Estágio (tabela meng_estagio) type: object required: – codigo – descricao – ativo – pessoa properties: id: type: integer format: int64 description: Identificador único da tabela codigo: type: string description: Código descricao: type: string description: Descrição ativo: type: boolean description: Ativo pessoa: type: object allOf: – #/definitions/pessoa description: Pessoa usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: skuRoteiroEstagioRecurso: description: Roteiro estágio recurso (tabela meng_sku_rot_estag_recu) type: object properties: id: type: integer format: int64 description: Identificador único da tabela skuRoteiroEstagio: type: object allOf: – #/definitions/skuRoteiroEstagio description: Roteiro estágio processoIndustrial: type: object allOf: – #/definitions/processoIndustrial description: Processo industrial recurso: type: object allOf: – #/definitions/recurso description: Recursos versao: type: object allOf: – #/definitions/versao description: Versão loteFrequencial: type: number format: double description: Lote frequencial tempoSetup: type: number format: double description: Tempo setup tempoCargaDescarga: type: number format: double description: Tempo carga descarga tempoProcesso: type: number format: double description: Tempo processo tempoTransferencia: type: number format: double description: Tempo transferencia observacao: type: string description: Observação usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: editSkuRoteiroEstagioRecurso: type: object required: – id allOf: – #/definitions/skuRoteiroEstagioRecurso skuRoteiroEstagioProcesso: description: Roteiro estágio processo (tabela meng_sku_rot_estag_proce) type: object properties: id: type: integer format: int64 description: Identificador único da tabela skuRoteiroEstagio: type: object allOf: – #/definitions/skuRoteiroEstagio description: Roteiro estágio processoIndustrial: type: object allOf: – #/definitions/processoIndustrial description: Processo industrial sequencia: type: integer format: int64 description: Sequência skuServico: type: object allOf: – #/definitions/sku description: SKU Serviço versao: type: object allOf: – #/definitions/versao description: Versão skuRoteiroEstagioSubProduto: type: array items: type: object allOf: – #/definitions/skuRoteiroEstagioSubProduto description: Sku Roteiro estágio subproduto usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: editSkuRoteiroEstagioProcesso: type: object required: – id allOf: – #/definitions/skuRoteiroEstagioProcesso skuRoteiroEstagioSubProduto: description: Roteiro estágio processo subproduto (tabela meng_sku_rot_estag_subpr) type: object required: – skuSubproduto – versao – tipoFator – fator – tipoMovimento properties: id: type: integer format: int64 description: Identificador único da tabela skuSubproduto: type: object allOf: – #/definitions/sku description: Sku versao: type: object allOf: – #/definitions/versao description: Versão tipoFator: type: string allOf: – #/definitions/enumTipoFatorSubProduto description: Tipo de fator do subproduto fator: type: number format: double description: Fator tipoMovimento: type: string allOf: – #/definitions/enumTipoMovimento description: Tipo de Movimento skuRoteiroEstagioProcesso: type: object allOf: – #/definitions/skuRoteiroEstagioProcesso description: Sku roteiro estágio sub produto usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: editSkuRoteiroEstagioSubProduto: type: object required: – id allOf: – #/definitions/skuRoteiroEstagioSubProduto recurso: description: Recurso (tabela meng_recurso) type: object required: – centroRecurso – centroCusto – pessoa – filial – fornecedor – codigo – descricao – tempoSetup – tempoCargaDescarga – tempoProcesso – tempoTransferencia – observacao – ativo properties: id: type: integer format: int64 description: Identificador único da tabela centroRecurso: type: object allOf: – #/definitions/centroRecurso description: Centro recurso centroCusto: type: object allOf: – #/definitions/centroCusto description: Centro custo pessoa: type: object allOf: – #/definitions/pessoa description: Pessoa filial: type: object allOf: – #/definitions/pessoa description: Filial fornecedor: type: object allOf: – #/definitions/pessoa description: Fornecedor codigo: type: string description: Código descricao: type: string description: Descrição tempoSetup: type: number format: double description: Tempo setup tempoCargaDescarga: type: number format: double description: Tempo carga descarga tempoProcesso: type: number format: double description: Tempo processo tempoTransferencia: type: number format: double description: Tempo transferencia observacao: type: string description: Observação ativo: type: boolean description: Ativo usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: centroCusto: description: Centro custo (tabela meng_centro_custo) type: object required: – codigo – descricao – abreviacao – pessoa – tipoCentroCusto – tipoUnidadeTempo properties: id: type: integer format: int64 description: Identificador codigo: type: string description: Código descricao: type: string description: Descrição abreviacao: type: string description: Abreviação pessoa: type: object allOf: – #/definitions/pessoa description: Pessoa tipoCentroCusto: type: string allOf: – #/definitions/enumTipoCentroCusto description: Tipo de centro de custo tipoUnidadeTempo: type: string allOf: – #/definitions/enumTipoUnidadeTempoCentroCusto description: Tipo de unidade de tempo do centro de custo centroCustoOrigemId: type: integer format: int64 description: Centro de custo origem ID usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: centroRecurso: description: Centro de recurso (tabela meng_centro_recurso) type: object required: – codigo – descricao – pessoa – centroCusto – tipoRecurso properties: id: type: integer format: int64 description: Identificador codigo: type: string description: Código descricao: type: string description: Descrição pessoa: type: object allOf: – #/definitions/pessoa description: pessoa centroCusto: type: object allOf: – #/definitions/centroCusto description: Centro custo tipoRecurso: type: string allOf: – #/definitions/enumTipoRecurso description: Tipo de recurso 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 usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: processoIndustrial: description: Processo industrial (tabela meng_processo_ind) type: object required: – codigo – descricao – pessoa – estagio – controlaEP – ativo – controlaRecursosSimultaneos properties: id: type: integer format: int64 description: Identificador único da tabela codigo: type: string description: Código descricao: type: string description: Descrição pessoa: type: object allOf: – #/definitions/pessoa description: Pessoa estagio: type: object allOf: – #/definitions/estagio description: Estágio controlaEP: type: boolean description: Controla EP ativo: type: boolean description: Ativo controlaRecursosSimultaneos: type: boolean description: Controla recursos simultaneos usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: ordemProducaoEstagio: description: Estágio da ordem de produção (tabela mpcp_op_estagio) type: object required: – estagio – sequencia – processoIndustrial – recurso – sku – quantidadeProgramada – quantidadeRealizada – quantidadeRefugo – controlaConfirmacao – controlaInicioEstagio – controlaTerceiro – geraEstoque – skuServico properties: id: type: integer format: int64 description: Identificador único da tabela ordemProducao: type: object allOf: – #/definitions/ordemProducao description: Ordem de Produção estagio: type: object allOf: – #/definitions/estagio description: Estágio sequencia: type: integer format: int64 description: Sequência processoIndustrial: type: object allOf: – #/definitions/processoIndustrial description: Processo Industrial recurso: type: object allOf: – #/definitions/recurso description: Recurso sku: type: object allOf: – #/definitions/sku description: SKU quantidadeProgramada: type: string description: Quantidade Programada quantidadeRealizada: type: string description: Quantidade Realizada quantidadeRemetida: type: string description: Quantidade Remetida quantidadeRetornada: type: string description: Quantidade Retornada quantidadeRefugo: type: string description: Quantidade Refugo dataInicioPrevista: type: string format: date-time description: Data de início prevista dataFimPrevista: type: string format: date-time description: Data de fim prevista dataInicioReal: type: string format: date-time description: Data de início real dataFimReal: type: string format: date-time description: Data de fim real controlaConfirmacao: type: boolean description: Controla confirmação controlaInicioEstagio: type: boolean description: Controla início estágio controlaTerceiro: type: boolean description: Controla terceiro geraEstoque: type: boolean description: Gera estoque skuServico: type: object allOf: – #/definitions/sku description: Sku de Serviço situacao: type: string allOf: – #/definitions/enumSituacaoOrdemProducaoEstagio description: Situação consumos: type: array items: type: object allOf: – #/definitions/ordemProducaoEstagioConsumo description: Consumos subprodutos: type: array items: type: object allOf: – #/definitions/ordemProducaoEstagioSubproduto description: Consumos descricaoTecnica: type: string description: Descrição técnica do estágio usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: editOrdemProducaoEstagio: type: object required: – id allOf: – #/definitions/ordemProducaoEstagio ordemProducaoEstagioConsumo: description: Consumos do estágio da ordem de produção (tabela mpcp_op_estagio_consumo) type: object required: – sequencia – skuConsumo – tipo – tipoMovimento – quantidade – quantidadeRealizada – quantidadeUtilizacao – fatorUtilizacao – loteFrequencial – unidadeMedidaConversao properties: id: type: integer format: int64 description: Identificador único da tabela ordemProducaoEstagio: type: object allOf: – #/definitions/ordemProducaoEstagio description: Ordem de Produção Estágio sequencia: type: integer format: int64 description: Sequência skuConsumo: type: object allOf: – #/definitions/sku description: Sku Consumo tipo: type: string allOf: – #/definitions/enumTipoConsumo description: Tipo de Consumo tipoMovimento: type: string allOf: – #/definitions/enumTipoMovimento description: Tipo de Movimento quantidade: type: string description: Quantidade quantidadeRealizada: type: string description: Quantidade Realizada quantidadeUtilizacao: type: string description: Quantidade Utilização quantidadeRemetida: type: string description: Quantidade Remetida quantidadeRetornada: type: string description: Quantidade Retornada fatorUtilizacao: type: string allOf: – #/definitions/enumFatorUtilizacao description: Fator de Utilização loteFrequencial: type: string description: Lote Frequencial unidadeMedidaConversao: type: object allOf: – #/definitions/unidadeMedida description: Unidade de medida de conversão reservas: type: array items: type: object allOf: – #/definitions/ordemProducaoEstagioConsumoReserva description: Reservas skusEquivalentes: type: array items: type: object allOf: – #/definitions/ordemProducaoEstagioConsumoEquivalente description: Skus equivalentes permiteRendimento: type: boolean description: Permite rendimento default: false percentualPerda: type: number format: double description: Percentual de perda minimum: 0.00 maximum: 100 usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: editOrdemProducaoEstagioConsumo: type: object required: – id allOf: – #/definitions/ordemProducaoEstagioConsumo ordemProducaoEstagioConsumoReserva: description: Ordem Produção Estágio Consumo Reserva (tabela mpcp_op_consumo_reserva) type: object required: – codigoDocumento – origemReserva – saldoReserva – situacaoReserva – codigoDocumentoCancelamento properties: id: type: string format: uuid description: Identificador único da tabela ordemProducaoEstagioConsumo: type: object allOf: – #/definitions/ordemProducaoEstagioConsumo description: Ordem Produção Estágio Consumo codigoDocumento: type: string description: Código do documento origemReserva: type: string allOf: – #/definitions/enumOrigemReservaConsumo description: Origem de Reserva saldoReserva: type: string description: Saldo Reserva situacaoReserva: type: string allOf: – #/definitions/enumSituacaoDocumentoReserva description: Situação Reserva codigoDocumentoCancelamento: type: string maxLength: 50 description: Código Documento Cancelamento usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: editOrdemProducaoEstagioConsumoReserva: type: object required: – id allOf: – #/definitions/ordemProducaoEstagioConsumoReserva ordemProducaoEstagioConsumoEquivalente: description: Ordem Produção Estágio Consumo Equivalente (tabela mpcp_op_consumo_reserva) type: object required: – skuEquivalente properties: id: type: string format: uuid description: Identificador único da tabela opEstagioConsumo: type: object allOf: – #/definitions/ordemProducaoEstagioConsumo description: Ordem Produção Estágio Consumo skuEquivalente: type: object allOf: – #/definitions/sku description: Sku Equivalente usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: editOrdemProducaoEstagioConsumoEquivalente: type: object required: – id allOf: – #/definitions/ordemProducaoEstagioConsumoEquivalente ordemProducaoEstagioSubproduto: description: Subprodutos do estágio da ordem de produção (tabela mpcp_op_estagio_subprodu) type: object required: – skuSubproduto – tipoFator – quantidade – quantidadeRealizada – tipoMovimento – fator properties: id: type: integer format: int64 description: Identificador único da tabela ordemProducaoEstagio: type: object allOf: – #/definitions/ordemProducaoEstagio description: Ordem de Produção Estágio skuSubproduto: type: object allOf: – #/definitions/sku description: Sku do Subproduto tipoFator: type: string allOf: – #/definitions/enumTipoFatorSubProduto description: Tipo de fator quantidade: type: string description: Quantidade quantidadeRealizada: type: string description: Quantidade realizada tipoMovimento: type: string allOf: – #/definitions/enumTipoMovimento description: Tipo de Movimento fator: type: string description: Fator usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: editOrdemProducaoEstagioSubproduto: type: object required: – id allOf: – #/definitions/ordemProducaoEstagioSubproduto sKURoteiroEstagioConsumoMaterial: description: Roteiro do Estágio do sku com consumo de material (tabela meng_sku_rot_estag_consu) type: object required: – sku – roteiro – estagio – skuConsumo – versao – sequencia – tipoConsumo – tipoMovimento – quantidade – loteFrequencial – fator – skuRoteiroEstagio – unidadeMedidaConversao properties: id: type: integer format: int64 description: Identificador único da tabela sku: type: object allOf: – #/definitions/sku description: SKU roteiro: type: object allOf: – #/definitions/roteiro description: Roteiro estagio: type: object allOf: – #/definitions/estagio description: Estagío skuConsumo: type: object allOf: – #/definitions/sku description: Sku de consumo versao: type: object allOf: – #/definitions/versao description: Versão sequencia: type: integer format: int64 description: Sequência tipoConsumo: type: string allOf: – #/definitions/enumTipoConsumo description: Tipo de Consumo tipoMovimento: type: string allOf: – #/definitions/enumTipoMovimento description: Tipo de movimento quantidade: type: string description: Quantidade loteFrequencial: type: number format: double description: Lote frequencial fator: type: string allOf: – #/definitions/enumFatorUtilizacao description: Fator skuRoteiroEstagio: type: object allOf: – #/definitions/skuRoteiroEstagio description: Sku Roteiro Estágio unidadeMedidaConversao: type: object allOf: – #/definitions/unidadeMedida description: Unidade de medida de conversão percentualPerda: type: string description: Percentual de perda equivalentes: type: array items: type: object allOf: – #/definitions/sKURoteiroEstagioConsumoEquivalente description: Sku roteiro estagio consumo equivalentes permiteRendimento: type: boolean description: Permite rendimento default: false usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: sKURoteiroEstagioConsumoEquivalente: description: Roteiro do estágio do sku com consumo equivalente (tabela meng_sku_rot_est_c_equi) type: object required: – id – skuEquivalente properties: id: type: string format: uuid description: Identificador único da tabela skuRoteiroEstagioConsumo: type: object allOf: – #/definitions/sKURoteiroEstagioConsumoMaterial description: Sku roteiro estagio consumo material skuEquivalente: type: object allOf: – #/definitions/sku description: Sku equivalente usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: editSKURoteiroEstagioConsumoEquivalente: type: object required: – id allOf: – #/definitions/sKURoteiroEstagioConsumoEquivalente configuracao: description: Configuração (tabela mpcp_configuracao) type: object required: – chave – valor properties: chave: type: string maxLength: 60 description: Identificador da tabela valor: type: string maxLength: 60 description: Valor skuMrp: description: Informações do SKU para o MRP (tabela sku_mrp) type: object required: – sku – filial – tipoLeadTimeProducao – loteFrequencial properties: id: type: string format: uuid description: Identificador único da tabela sku: type: object allOf: – #/definitions/sku description: SKU filial: type: object allOf: – #/definitions/pessoa description: Filial lowLevelCode: type: integer format: int64 description: Low Level Code – Na inclusão será preenchido automaticamente com valor padrão minimum: 0 default: 0 leadTimeFirmeza: type: integer format: int64 description: Lead time de firmeza minimum: 0 default: 0 leadTimeLiberacao: type: integer format: int64 description: Lead time de liberação minimum: 0 default: 0 leadTimeProducao: type: integer format: int64 description: Lead time de produção minimum: 0 default: 0 leadTimeExpedicao: type: integer format: int64 description: Lead time de expedição minimum: 0 default: 0 leadTimeObtencao: type: integer format: int64 description: Lead time de obtenção minimum: 0 default: 0 readOnly: true tipoLeadTimeProducao: type: string allOf: – #/definitions/enumTipoLeadTimeProducao description: Tipo do lead time de produção loteFrequencial: type: integer format: int64 description: Opcional – Valor do lote frequencial para o lead time de produção usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: centroRecursoTurno: description: Período do Turno (tabela turno_periodo) type: object required: – centroRecurso – turno properties: id: type: string format: uuid description: Identificador único da tabela centroRecurso: type: object allOf: – #/definitions/centroRecurso description: Centro de recursos turno: type: object allOf: – #/definitions/turno description: Turno usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: turno: description: Turno (tabela turno) type: object required: – filial – codigo – descricao properties: id: type: string format: uuid description: Identificador único da tabela filial: type: object allOf: – #/definitions/pessoa description: Filial codigo: type: string maxLength: 15 description: Código descricao: type: string maxLength: 50 description: Descrição usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: calendarioProducao: description: Calendário de Produção (tabela calendario_producao) type: object required: – turno properties: id: type: string format: uuid description: Identificador único da tabela turno: type: object allOf: – #/definitions/turno description: Turno usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: calendarioProducaoData: description: Calendario de Produção Data (tabela calendario_producao_data) type: object required: – calendarioProducao – dataHoraInicio – dataHoraFim – tipo – considerarDia properties: id: type: string format: uuid description: Identificador único da tabela calendarioProducao: type: object allOf: – #/definitions/calendarioProducao description: Calendário produção dataHoraInicio: type: string format: date-time description: Data e hora de início dataHoraFim: type: string format: date-time description: Data e hora de fim tipo: type: string allOf: – #/definitions/enumTipoDatas description: Tipo de datas considerarDia: type: boolean description: Considerar dia usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: parametro: description: Parametro (tabela parametro) type: object required: – empresa – apontarDiaNaoProdutivo – apontarForaTurno – gerarOpAberta properties: id: type: string format: uuid description: Identificador único da tabela empresa: type: object allOf: – #/definitions/pessoa description: Empresa filial: type: object allOf: – #/definitions/pessoa description: Filial apontarDiaNaoProdutivo: type: boolean description: Apontar dia não produtivo apontarForaTurno: type: boolean description: Permitir fora do turno gerarOpAberta: type: boolean description: Gerar ordem de produção aberta usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: skuParametro: description: Parâmetros do SKU (tabela mpcp_sku_param_pcp) type: object required: – sku – pessoa – tipoGeracaoEtiqueta – tipoCodigoBarrasEtq – reservarEstoqueLiberacaoOP – gerarExplosaoMultinivelOP properties: id: type: integer format: int64 description: Identificador único da tabela sku: type: object allOf: – #/definitions/sku description: Sku pessoa: type: object allOf: – #/definitions/pessoa description: Empresa restringeApontamentoProducao: type: boolean description: Restringe Apontamento Producao restringeApontamentoConsumo: type: boolean description: Restringe Apontamento Consumo tipoGeracaoEtiqueta: type: string allOf: – #/definitions/enumTipoGeracaoEtiqueta description: Tipo de Geração de etiqueta tipoCodigoBarrasEtq: type: string allOf: – #/definitions/enumTipoCodigoBarraEtiqueta description: Tipo de código de barras reservarEstoqueLiberacaoOP: type: boolean description: Reservar Estoque Liberação OP gerarExplosaoMultinivelOP: type: boolean description: Gerar explosão multinível OP usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: skuParametroPcpGrupo: description: Parâmetros do SKU PCP Grupo (tabela mpcp_sku_param_pcp_grp) type: object required: – pessoa – familia – restringeApontamentoProducao – restringeApontamentoConsumo – tipoGeracaoEtiqueta – tipoCodigoBarrasEtq – reservarEstoqueLiberacaoOP – gerarExplosaoMultinivelOP properties: id: type: integer format: int64 description: Identificador único da tabela pessoa: type: object allOf: – #/definitions/pessoa description: Empresa familia: type: object allOf: – #/definitions/familia description: Familia restringeApontamentoProducao: type: boolean description: Restringe Apontamento Producao restringeApontamentoConsumo: type: boolean description: Restringe Apontamento Consumo tipoGeracaoEtiqueta: type: string allOf: – #/definitions/enumTipoGeracaoEtiqueta description: Tipo de Geração de etiqueta tipoCodigoBarrasEtq: type: string allOf: – #/definitions/enumTipoCodigoBarraEtiqueta description: Tipo de código de barras reservarEstoqueLiberacaoOP: type: boolean description: Reservar Estoque Liberação OP gerarExplosaoMultinivelOP: type: boolean description: Gerar explosão multinível OP usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: ordemProducaoVinculo: description: Vínculos da Ordem de Produção (tabela mpcp_op_vinculo) type: object required: – situacaoDemanda – ordemProducaoEstagioConsumo properties: id: type: string format: uuid description: Identificador único da tabela ordemProducao: type: object allOf: – #/definitions/ordemProducao description: Ordem de Produção ordemProducaoPai: type: object allOf: – #/definitions/ordemProducao description: Odem de Produção Pai demandaId: type: string format: uuid description: Id da demanda situacaoDemanda: type: string allOf: – #/definitions/enumSituacaoDemanda description: Situação da demanda idExterno: type: string format: uuid description: Id externo ordemProducaoEstagioConsumo: type: object allOf: – #/definitions/ordemProducaoEstagioConsumo description: Consumo do estágio da O.P. quantidadeALiberar: type: string description: Quantidade a liberar para demanda usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: ordemProducaoMrpDocumento: description: Vínculo da OP com o documento do MRP (tabela mpcp_op_mrp_documento) type: object required: – opCodigo – calculoSkuSaldoDocumentoId – calculoSkuSaldoDocNecId – demandaId – quantidade – e205depId properties: id: type: string format: uuid description: Identificador único da tabela opCodigo: type: string format: uuid description: Código da ordem de produção calculoSkuSaldoDocumentoId: type: string format: uuid description: Identificador do saldo documento do MRP calculoSkuSaldoDocNecId: type: string format: uuid description: Identificador do saldo documento necessidade do MRP demandaId: type: string format: uuid description: Id da demanda quantidade: type: string description: Quantidade e205depId: type: string format: uuid description: Identificador do depósito usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: tipoProcesso: description: Tipo de processo type: object required: – tipo – descricao properties: id: type: string format: uuid description: Identificador único da tabela tipo: type: string maxLength: 3 description: Tipo descricao: type: string maxLength: 20 description: Descrição usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: tipoOrdem: description: Tipo de ordem type: object required: – empresa – codigo – descricao – tipoProcesso properties: id: type: string format: uuid description: Identificador único da tabela empresa: type: object allOf: – #/definitions/pessoa description: Empresa codigo: type: string maxLength: 5 description: Código descricao: type: string maxLength: 50 description: Descrição tipoProcesso: type: object allOf: – #/definitions/tipoProcesso description: Tipo de processo reservaEstoqueLiberacao: type: boolean description: Reserva estoque de liberação default: false utilizaDepositoMrp: type: boolean description: Utiliza depósito do MRP default: false e001tnsSaidaId: type: string format: uuid description: Transação de saída e001tnsEntradaId: type: string format: uuid description: Transação de entrada permiteRendimentoConsumo: type: boolean description: Permite rendimento do consumo default: false usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: notifyUserEventPayload: description: Represents a regular user event notification payload discriminator: _discriminator type: object required: – notificationKind – notificationPriority – notificationSubject – notificationContent – sourceDomain – sourceService – destinationUser – _discriminator properties: notificationClass: type: string description: Class of notification notificationOrigin: type: string description: Origin of notification. Free text. Optional. notificationKind: type: string allOf: – #/definitions/userNotificationKind description: Notification kind. notificationPriority: type: string allOf: – #/definitions/userNotificationPriority description: Notification priority. notificationSubject: type: string description: Notification subject. notificationContent: type: string description: Notification content. sourceDomain: type: string description: Domain that generates the notification. sourceService: type: string description: Service that generates the notification. destinationUser: type: string description: Username of the destination user. link: type: string description: Notification link _discriminator: type: string description: emailNotifyUserEventPayload: description: Represents an email notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – from properties: from: type: string description: Email sender address sendTo: type: array items: type: string description: Additional recipients to send the email to format: type: string allOf: – #/definitions/eventEmailFormat description: Email format pushNotifyUserEventPayload: description: Represents a push notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – applicationId properties: applicationId: type: string description: Apple/Google application id blobReference: description: Default blob reference type. Every service defines its own. type: object required: – targetObjectId properties: domainName: type: string description: The domain the blob belongs to. serviceName: type: string description: The service the blob belongs to. targetObjectId: type: string description: The basic id of the blob. targetCopyId: type: string description: The id of the blob copy. basicErrorPayload: description: Default error payload type. Every service defines its own. type: object properties: message: type: string description: The user-facing error message, if any. errorCode: type: string description: The program-accessible (and service-specific) error code. importError: description: type: object required: – errorType – lineNumber – bean – message – exceptionClass properties: errorType: type: string allOf: – #/definitions/errorType description: lineNumber: type: integer format: int64 description: bean: type: string description: message: type: string description: exceptionClass: type: string description: fielddto: description: type: object required: – id – name – fieldType properties: id: type: integer format: int64 description: name: type: string description: fieldType: type: string allOf: – #/definitions/fieldType description: start: type: integer format: int64 description: size: type: integer format: int64 description: maskPattern: type: string description: hookdto: description: type: object required: – hookFunction – script properties: hookFunction: type: string allOf: – #/definitions/hookFunction description: script: type: string description: layoutdto: description: type: object required: – id – description – fileFormat – errorStrategy – skipLines – fields properties: id: type: integer format: int64 description: description: type: string description: fileFormat: type: string allOf: – #/definitions/fileFormat description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: delimiter: type: string description: skipLines: type: integer format: int64 description: fields: type: array items: type: object allOf: – #/definitions/fielddto minimum: 1 description: hooks: type: array items: type: object allOf: – #/definitions/hookdto description: importReport: description: type: object required: – id – startTime – endTime – uri – beanClass – serviceClass – layout – sucessCount – errorsCount – filteredCount – skippedCount properties: id: type: string description: startTime: type: string format: date-time description: endTime: type: string format: date-time description: uri: type: string description: beanClass: type: string description: serviceClass: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: sucessCount: type: integer format: int64 description: errorsCount: type: integer format: int64 description: filteredCount: type: integer format: int64 description: skippedCount: type: integer format: int64 description: importErrors: type: array items: type: object allOf: – #/definitions/importError description: exportEventStatus: description: type: object required: – importerId – eventType – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: recordCount: type: integer format: int64 description: importEventStatus: description: type: object required: – importerId – eventType – status – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: status: type: string allOf: – #/definitions/status description: errorMessage: type: string description: recordCount: type: integer format: int64 description: importReport: type: object allOf: – #/definitions/importReport description: exportConfig: description: type: object required: – uri – layout – async – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: errorStrategy: type: string description: importConfig: description: type: object required: – uri – layout – async – batchSize – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: batchSize: type: integer format: int64 description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: dependency: description: Represents a service dependency type: object required: – domain – service – version properties: domain: type: string description: Domain of the dependency service service: type: string description: Name of the dependency service type: string description: Version of the dependency service genericError: properties: message: type: string description: Messaging describing the error. reason: type: string description: A symbolic code identifying the category of the reason of the error. enum: – BAD_REQUEST – UNAUTHORIZED – PAYMENT_REQUIRED – FORBIDDEN – OBJECT_NOT_FOUND – REQUEST_TIMEOUT – GONE – UNPROCESSABLE – INTERNAL_ERROR – NOT_IMPLEMENTED – SERVICE_UNAVAILABLE – INSUFFICIENT_STORAGE