{"openapi":"3.0.1","info":{"title":"API - integração","version":"v1"},"paths":{"/api/SkaOrtems":{"get":{"tags":["SkaOrtems"],"responses":{"200":{"description":"Success"}}}}},"components":{"schemas":{"AtualizaEstoques":{"type":"object","properties":{"atualizaEstoque":{"type":"array","items":{"$ref":"#/components/schemas/SkaAtualizaEstoqueOrtems"},"nullable":true}},"additionalProperties":false},"CalendarioAnual":{"type":"object","properties":{"dataInicio":{"type":"string","format":"date-time"},"dataFim":{"type":"string","format":"date-time"},"nomeFeriado":{"type":"string","nullable":true}},"additionalProperties":false},"CalendarioMaquina":{"type":"object","properties":{"grupoMaq":{"type":"string","nullable":true},"maquina":{"type":"string","nullable":true},"codCalen":{"type":"string","nullable":true},"ambiente":{"type":"string","nullable":true}},"additionalProperties":false},"DadosAtualizaCustoMaquina":{"type":"object","properties":{"codMaq":{"type":"string","nullable":true},"grupoMaq":{"type":"string","nullable":true},"custo":{"type":"number","format":"float"},"ambiente":{"type":"string","nullable":true}},"additionalProperties":false},"DadosOrdemDeProducaoParaCancelar":{"type":"object","properties":{"codOp":{"type":"string","nullable":true},"ambiente":{"type":"string","nullable":true}},"additionalProperties":false},"DadosParaApontamentosOrtems":{"type":"object","properties":{"evento":{"type":"string","nullable":true},"codOp":{"type":"string","nullable":true},"codOperacao":{"type":"string","nullable":true},"quant":{"type":"number","format":"float"},"quantidadeDispositivo":{"type":"integer","format":"int32"},"iniManutencao":{"type":"string","format":"date-time"},"maq":{"type":"string","nullable":true},"data":{"type":"string","format":"date-time"},"dataFim":{"type":"string","format":"date-time"},"calendario":{"type":"string","nullable":true},"grpMaq":{"type":"string","nullable":true},"ambiente":{"type":"string","nullable":true}},"additionalProperties":false},"ResponseMessageJson":{"type":"object","properties":{"mensagem":{"type":"string","nullable":true}},"additionalProperties":false},"SkaApontamentosOrtems":{"type":"object","properties":{"apontamentosOrtems":{"type":"array","items":{"$ref":"#/components/schemas/DadosParaApontamentosOrtems"},"nullable":true}},"additionalProperties":false},"SkaAtualizaCustoMaquina":{"type":"object","properties":{"custoMaquina":{"type":"array","items":{"$ref":"#/components/schemas/DadosAtualizaCustoMaquina"},"nullable":true}},"additionalProperties":false},"SkaAtualizaEstoqueOrtems":{"type":"object","properties":{"codItem":{"type":"string","nullable":true},"unidade":{"type":"string","nullable":true},"descItem":{"type":"string","nullable":true},"tipoMat":{"type":"string","nullable":true},"estoque":{"type":"number","format":"float"},"estoqueMin":{"type":"number","format":"float"},"estoqueMeta":{"type":"number","format":"float"},"estoqueMax":{"type":"number","format":"float"},"tempoLeadTimeFornecedor":{"type":"integer","format":"int32"},"unidadeLeadTimeFornecedor":{"type":"string","nullable":true},"ambiente":{"type":"string","nullable":true}},"additionalProperties":false},"SkaCalendarioAnual":{"type":"object","properties":{"insereCalendarioAnual":{"type":"array","items":{"$ref":"#/components/schemas/CalendarioAnual"},"nullable":true}},"additionalProperties":false},"SkaCalendarioMaquina":{"type":"object","properties":{"atualizaCalendarioMaquina":{"type":"array","items":{"$ref":"#/components/schemas/CalendarioMaquina"},"nullable":true}},"additionalProperties":false},"SkaItemOrtems":{"type":"object","properties":{"codItem":{"type":"string","nullable":true},"unidade":{"type":"string","nullable":true},"descItem":{"type":"string","nullable":true},"tipoMat":{"type":"string","nullable":true},"estoque":{"type":"number","format":"float"},"estoqueMin":{"type":"number","format":"float"},"estoqueMeta":{"type":"number","format":"float"},"estoqueMax":{"type":"number","format":"float"},"tempoAdic":{"type":"integer","format":"int32"},"leadTime":{"type":"integer","format":"int32"},"logPa":{"type":"string","nullable":true},"ambiente":{"type":"string","nullable":true}},"additionalProperties":false},"SkaListaDeMateriaisOrtems":{"type":"object","properties":{"codPai":{"type":"string","nullable":true},"qtdPai":{"type":"number","format":"float"},"codFilho":{"type":"string","nullable":true},"descItem":{"type":"string","nullable":true},"unidade":{"type":"string","nullable":true},"tipoMat":{"type":"string","nullable":true},"qtdFilho":{"type":"number","format":"float"},"codRoteiro":{"type":"string","nullable":true},"codFase":{"type":"string","nullable":true},"fase":{"type":"string","nullable":true},"dataPrev":{"type":"string","format":"date-time"},"qtdMov":{"type":"number","format":"float"},"codPed":{"type":"string","nullable":true},"versao":{"type":"string","nullable":true},"ambiente":{"type":"string","nullable":true}},"additionalProperties":false},"SkaMaquinasUtilizaveisOrtems":{"type":"object","properties":{"codMaq":{"type":"string","nullable":true},"codOpe":{"type":"string","nullable":true},"grupoMaq":{"type":"string","nullable":true},"qtdPecas":{"type":"integer","format":"int32"},"tempoOper":{"type":"integer","format":"int32"},"qtdMesas":{"type":"integer","format":"int32"},"prioridade":{"type":"integer","format":"int32"},"ambiente":{"type":"string","nullable":true}},"additionalProperties":false},"SkaOperacoesOrtems":{"type":"object","properties":{"codOpe":{"type":"string","nullable":true},"desc":{"type":"string","nullable":true},"unidade":{"type":"string","nullable":true},"grupoMaq":{"type":"string","nullable":true},"qtdPecas":{"type":"integer","format":"int32"},"duracao":{"type":"integer","format":"int32"},"tempoPrep":{"type":"integer","format":"int32"},"tempoFor":{"type":"integer","format":"int32"},"ambiente":{"type":"string","nullable":true},"recursosSecundarios":{"type":"array","items":{"$ref":"#/components/schemas/SkaRecursosSecundariosOrtems"},"nullable":true},"maquinas":{"type":"array","items":{"$ref":"#/components/schemas/SkaMaquinasUtilizaveisOrtems"},"nullable":true}},"additionalProperties":false},"SkaOrdemProducaoOrtems":{"type":"object","properties":{"codOP":{"type":"string","nullable":true},"unidade":{"type":"string","nullable":true},"codItem":{"type":"string","nullable":true},"descOP":{"type":"string","nullable":true},"codClie":{"type":"string","nullable":true},"dtIniOP":{"type":"string","format":"date-time"},"dtFimOP":{"type":"string","format":"date-time"},"priori":{"type":"string","nullable":true},"qtdOP":{"type":"number","format":"float"},"serie":{"type":"string","nullable":true},"partic":{"type":"string","nullable":true},"tipo":{"type":"string","nullable":true},"codRoteiro":{"type":"string","nullable":true},"ordemSup":{"type":"string","nullable":true},"versao":{"type":"string","nullable":true},"ambiente":{"type":"string","nullable":true},"listaMateriais":{"type":"array","items":{"$ref":"#/components/schemas/SkaListaDeMateriaisOrtems"},"nullable":true},"operacoes":{"type":"array","items":{"$ref":"#/components/schemas/SkaOperacoesOrtems"},"nullable":true}},"additionalProperties":false},"SkaOrtems":{"type":"object","properties":{"item":{"type":"array","items":{"$ref":"#/components/schemas/SkaItemOrtems"},"nullable":true},"ordemProducao":{"type":"array","items":{"$ref":"#/components/schemas/SkaOrdemProducaoOrtems"},"nullable":true},"abastecimentoMateriaPrima":{"type":"array","items":{"$ref":"#/components/schemas/SkaOrtemsAbastecimentoMateriaPrima"},"nullable":true}},"additionalProperties":false},"SkaOrtemsAbastecimentoMateriaPrima":{"type":"object","properties":{"codItem":{"type":"string","nullable":true},"data":{"type":"string","format":"date-time"},"observacao":{"type":"string","nullable":true},"quant":{"type":"integer","format":"int32"},"ambiente":{"type":"string","nullable":true}},"additionalProperties":false},"SkaOrtemsCancelaOrdem":{"type":"object","properties":{"ordemDeProducao":{"type":"array","items":{"$ref":"#/components/schemas/DadosOrdemDeProducaoParaCancelar"},"nullable":true}},"additionalProperties":false},"SkaRecursosSecundariosOrtems":{"type":"object","properties":{"codMaq":{"type":"string","nullable":true},"codRec":{"type":"string","nullable":true},"codOpe":{"type":"string","nullable":true},"grupoMaq":{"type":"string","nullable":true},"qtdRec":{"type":"number","format":"float"},"ambiente":{"type":"string","nullable":true}},"additionalProperties":false},"TokenLogin":{"type":"object","properties":{"usuario":{"type":"string","nullable":true},"senha":{"type":"string","nullable":true}},"additionalProperties":false},"TokenRetorno":{"type":"object","properties":{"token":{"type":"string","nullable":true}},"additionalProperties":false}},"securitySchemes":{"Bearer":{"type":"http","description":"Enter your JWT token.","scheme":"Bearer","bearerFormat":"JWT"}}},"servers":[{"description":"SwaggerHub API Auto Mocking","url":"https://virtserver.swaggerhub.com/ska-af5/Stara/v1"}]}