partners

Apontamento OP (Senior ES)

76 views 19/02/2019 integrador 2

2.0info: Apontamento OP (Senior ES) description: O módulo Apontamento OP visa facilitar o apontamento de Ordens de Produção com controle de lote, permitindo ao usuário informar e apontar todos os lotes que devem ser gerados nesta OP, sugerindo os mesmos conforme a disponibilidade de seus componentes em estoque. Com este recurso, no chão de fábrica, será possível controlar os apontamentos em tempo real e realizar o controle de defeitos para cada lote. 1.0 contact: {} x-senior-domain: partners x-senior-domain-path: partners x-senior-service-path: seniores_apontamentoophost: apontamentoopserver:9001 /apontamento/api/1.0.0tags: – name: Apontamento description: REST API para o Apontamento – name: Autenticar description: REST API para o autenticar o usuário – name: Lote description: REST API para o Lote – name: OP description: REST API para a OP (Ordem de Produção). – name: Origem description: REST API para a Origem. – name: Perfil description: REST API para o Perfil. – name: basic-error-controller description: Basic Error Controllerpaths: /apontar/iniciofim: post: tags: – Apontamento summary: Iniciar ou Finalizar um apontamento. operationId: salvarApontamentoUsingPOST – application/json – application/json parameters: – name: login in: query description: login required: true type: string – name: senha in: query description: senha required: true type: string – name: codEmpresa in: query description: codEmpresa required: true type: integer format: int32 – name: tenantName in: query description: tenantName required: true type: string – in: body name: input description: input required: true schema: #/definitions/ApontamentoInputDTO responses: 200: description: OK schema: #/definitions/ApontamentoOutputDTO 201: description: Created 401: description: Unauthorized 403: description: Forbidden 404: description: Not Found /apontar/lote: post: tags: – Apontamento summary: Salvar um apontamento em lote. operationId: salvarApontamentoLoteUsingPOST – application/json – application/json parameters: – name: login in: query description: login required: true type: string – name: senha in: query description: senha required: true type: string – name: codEmpresa in: query description: codEmpresa required: true type: integer format: int32 – name: tenantName in: query description: tenantName required: true type: string – in: body name: input description: input required: true schema: #/definitions/ApontamentoLoteInputDTO responses: 200: description: OK schema: #/definitions/ApontamentoLoteOutputDTO 201: description: Created 401: description: Unauthorized 403: description: Forbidden 404: description: Not Found /autenticar/usuario: get: tags: – Autenticar summary: Autenticar o usuário no ERP. operationId: autenticarUsingGET – application/json parameters: – name: usuario in: query description: usuario required: true type: string – name: senha in: query description: senha required: true type: string – name: usuarioSenior in: query description: usuarioSenior required: true type: string – name: tenantName in: query description: tenantName required: true type: string responses: 200: description: OK schema: #/definitions/AutenticacaoOutputDTO 401: description: Unauthorized 403: description: Forbidden 404: description: Not Found /error: get: tags: – basic-error-controller summary: error operationId: errorUsingGET – */* responses: 200: description: OK schema: type: object additionalProperties: type: object 401: description: Unauthorized 403: description: Forbidden 404: description: Not Found head: tags: – basic-error-controller summary: error operationId: errorUsingHEAD – application/json – */* responses: 200: description: OK schema: type: object additionalProperties: type: object 204: description: No Content 401: description: Unauthorized 403: description: Forbidden post: tags: – basic-error-controller summary: error operationId: errorUsingPOST – application/json – */* responses: 200: description: OK schema: type: object additionalProperties: type: object 201: description: Created 401: description: Unauthorized 403: description: Forbidden 404: description: Not Found put: tags: – basic-error-controller summary: error operationId: errorUsingPUT – application/json – */* responses: 200: description: OK schema: type: object additionalProperties: type: object 201: description: Created 401: description: Unauthorized 403: description: Forbidden 404: description: Not Found delete: tags: – basic-error-controller summary: error operationId: errorUsingDELETE – */* responses: 200: description: OK schema: type: object additionalProperties: type: object 204: description: No Content 401: description: Unauthorized 403: description: Forbidden options: tags: – basic-error-controller summary: error operationId: errorUsingOPTIONS – application/json – */* responses: 200: description: OK schema: type: object additionalProperties: type: object 204: description: No Content 401: description: Unauthorized 403: description: Forbidden patch: tags: – basic-error-controller summary: error operationId: errorUsingPATCH – application/json – */* responses: 200: description: OK schema: type: object additionalProperties: type: object 204: description: No Content 401: description: Unauthorized 403: description: Forbidden /lote/listar: get: tags: – Lote summary: Listar os lotes de um usuarário/empresa/produto/origem. operationId: listarUsingGET – application/json parameters: – name: usuario in: query description: usuario required: true type: string – name: senha in: query description: senha required: true type: string – name: usuarioSenior in: query description: usuarioSenior required: true type: string – name: numeroOP in: query description: numeroOP required: true type: integer format: int32 – name: codigoEmpresa in: query description: codigoEmpresa required: true type: integer format: int32 – name: codigoOrigem in: query description: codigoOrigem required: true type: string – name: codigoProduto in: query description: codigoProduto required: true type: string – name: tenantName in: query description: tenantName required: true type: string responses: 200: description: OK schema: #/definitions/LoteOutputDTO 401: description: Unauthorized 403: description: Forbidden 404: description: Not Found /op/listar: get: tags: – OP summary: Listar todas as OPs de um usuário/empresa/origem. operationId: listarUsingGET_1 – application/json parameters: – name: usuario in: query description: usuario required: true type: string – name: senha in: query description: senha required: true type: string – name: usuarioSenior in: query description: usuarioSenior required: true type: string – name: codigoOrigem in: query description: codigoOrigem required: true type: string – name: codigoEmpresa in: query description: codigoEmpresa required: true type: integer format: int32 – name: tenantName in: query description: tenantName required: true type: string responses: 200: description: OK schema: #/definitions/OPOutputDTO 401: description: Unauthorized 403: description: Forbidden 404: description: Not Found /origem/listar: get: tags: – Origem summary: Listar todas as Origens cadastradas na base do cliente. operationId: listarUsingGET_2 – application/json parameters: – name: nomeUsuario in: query description: nomeUsuario required: true type: string – name: codEmpresa in: query description: codEmpresa required: true type: integer format: int32 – name: tenantName in: query description: tenantName required: true type: string responses: 200: description: OK schema: #/definitions/OrigemOutputDTO 401: description: Unauthorized 403: description: Forbidden 404: description: Not Found /origem/listar/usuario: get: tags: – Origem summary: Listar todas as Origens cadastradas na base do cliente de um usuário/empresa. operationId: listarPorUsuarioUsingGET – application/json parameters: – name: nomeUsuario in: query description: nomeUsuario required: true type: string – name: codEmpresa in: query description: codEmpresa required: true type: integer format: int32 – name: tenantName in: query description: tenantName required: true type: string responses: 200: description: OK schema: #/definitions/OrigemOutputDTO 401: description: Unauthorized 403: description: Forbidden 404: description: Not Found /perfil/salvar: post: tags: – Perfil summary: Salva um perfil para um login/empresa. operationId: salvarUsingPOST – application/json – application/json parameters: – name: login in: query description: login required: true type: string – name: senha in: query description: senha required: true type: string – name: codEmpresa in: query description: codEmpresa required: true type: integer format: int32 – name: tenantName in: query description: tenantName required: true type: string – in: body name: perfilDTO description: perfilDTO required: true schema: #/definitions/PerfilDTO responses: 200: description: OK schema: #/definitions/PerfilOutputDTO 201: description: Created 401: description: Unauthorized 403: description: Forbidden 404: description: Not Founddefinitions: ApontamentoInputDTO: type: object properties: cadastroOperador: type: integer format: int32 codigoComponente: type: string codigoEmpresa: type: integer format: int32 codigoOrigem: type: string dataApontamento: type: string dataApontamentoDate: type: string format: date-time derivacaoComponente: type: string horaApontamento: type: integer format: int32 numeroOP: type: integer format: int32 senha: type: string tipoApontamento: type: integer format: int32 tipoDespositivo: type: integer format: int32 usuario: type: string usuarioSeniorX: type: string ApontamentoInputDTO ApontamentoLoteInputDTO: type: object properties: codigoComponente: type: string codigoDerivacao: type: string codigoEmpresa: type: integer format: int32 codigoOrigem: type: string codigoProduto: type: string derivacaoComponente: type: string lotes: type: array items: #/definitions/LoteInputDTO numeroOP: type: integer format: int32 senha: type: string tipoApontamento: type: integer format: int32 tipoDespostivo: type: integer format: int32 usuario: type: string usuarioSeniorX: type: string ApontamentoLoteInputDTO ApontamentoLoteOutputDTO: type: object properties: codigoRetorno: type: integer format: int32 erroExecucao: type: string ApontamentoLoteOutputDTO ApontamentoOutputDTO: type: object properties: codigoRetorno: type: integer format: int32 erroExecucao: type: string ApontamentoOutputDTO AutenticacaoOutputDTO: type: object properties: codigoErro: type: integer format: int32 codigoUsuario: type: integer format: int32 listaEmpresa: type: array items: #/definitions/EmpresaDTO loginErp: type: string mensagemErro: type: string nomeUsuario: type: string senhaErp: type: string AutenticacaoOutputDTO DefeitoInputBean: type: object properties: codigoDefeito: type: integer format: int32 quadranteDefeito: type: string sequenciaDefeito: type: integer format: int32 DefeitoInputBean EmpresaDTO: type: object properties: codigoEmpresa: type: integer format: int32 nomeEmpresa: type: string EmpresaDTO LoteDTO: type: object properties: apontamentoDefeito: type: string apontamentoRealizado: type: string codigoLote: type: string sequencialLote: type: integer format: int32 LoteDTO LoteInputDTO: type: object properties: codigoDefeito: type: integer format: int32 codigoLote: type: string dataFinal: type: string dataFinalDate: type: string format: date-time dataInicial: type: string dataInicialDate: type: string format: date-time defeitos: type: array items: #/definitions/DefeitoInputBean dimensaoComprimento: type: number format: double dimensaoLargura: type: number format: double horaFinal: type: integer format: int32 horaInicial: type: integer format: int32 LoteInputDTO LoteOutputDTO: type: object properties: codigoBloco: type: string codigoComponente: type: string codigoRetorno: type: integer format: int32 derivacaoComponente: type: string listarLotes: type: array items: #/definitions/LoteDTO mensagemRetorno: type: string LoteOutputDTO ModelAndView: type: object properties: empty: type: boolean model: type: object modelMap: type: object additionalProperties: type: object reference: type: boolean status: type: string enum: – 100 – 101 – 102 – 103 – 200 – 201 – 202 – 203 – 204 – 205 – 206 – 207 – 208 – 226 – 300 – 301 – 302 – 303 – 304 – 305 – 307 – 308 – 400 – 401 – 402 – 403 – 404 – 405 – 406 – 407 – 408 – 409 – 410 – 411 – 412 – 413 – 414 – 415 – 416 – 417 – 418 – 419 – 420 – 421 – 422 – 423 – 424 – 426 – 428 – 429 – 431 – 451 – 500 – 501 – 502 – 503 – 504 – 505 – 506 – 507 – 508 – 509 – 510 – 511 view: #/definitions/View viewName: type: string ModelAndView OPDTO: type: object properties: codigoProduto: type: string dataGeracao: type: string descricaoProduto: type: string descricaoSituacao: type: string descricaoSituacaoOp: type: string numeroOp: type: integer format: int32 qtdApontamentosRealizados: type: integer format: int32 qtdLotesSemApontamento: type: integer format: int32 situacaoOp: type: string situacaoOpAplicativo: type: string totalLotesOp: type: integer format: int32 OPDTO OPOutputDTO: type: object properties: codigoRetorno: type: integer format: int32 listaOP: type: array items: #/definitions/OPDTO mensagemRetorno: type: string OPOutputDTO Origem: type: object properties: codigoEmpresa: type: integer format: int32 codigoOrigem: type: string descricaoApontamento: type: string descricaoOrigem: type: string id: type: integer format: int32 perfis: type: array items: #/definitions/Perfil tipoApontamento: type: integer format: int32 Origem OrigemDTO: type: object properties: codigoEmpresa: type: integer format: int32 codigoOrigem: type: string descricaoOrigem: type: string id: type: integer format: int32 tipoApontamento: type: integer format: int32 OrigemDTO OrigemOutputDTO: type: object properties: codigoRetorno: type: integer format: int32 lista: type: array items: #/definitions/OrigemDTO mensagemRetorno: type: string OrigemOutputDTO Perfil: type: object properties: codigoEmpresa: type: integer format: int32 id: type: integer format: int32 nomePerfil: type: string origens: type: array items: #/definitions/Origem usuarios: type: array items: #/definitions/Usuario Perfil PerfilDTO: type: object properties: codigoEmpresa: type: integer format: int32 id: type: integer format: int32 nomePerfil: type: string origens: type: array items: #/definitions/Origem usuarios: type: array items: #/definitions/Usuario PerfilDTO PerfilOutputDTO: type: object properties: coditoRetorno: type: integer format: int32 mensagemRetorno: type: string perfil: #/definitions/PerfilDTO PerfilOutputDTO Usuario: type: object properties: codigoEmpresa: type: integer format: int32 codigoUsuario: type: string id: type: integer format: int32 nomeUsuario: type: string perfis: type: array items: #/definitions/Perfil Usuario View: type: object properties: contentType: type: string View

Este artigo foi útil para você?

Leave A Comment