Gestão de Pátio (yms)

erp

8 views 04/08/2020 05/11/2020 integrador 0

2.0info: 1.2.1 erp description: Serviço de integração do YMS com ERP Senior x-senior-domain: Controle de Pátio x-senior-domain-path: yms x-senior-service-path: erp contact: name: Senior X Platform url: http://dev.senior.com.br email: seniorx-dev@senior.com.brhost: platform.senior.com.br /t/senior.com.br/bridge/1.0/rest/ymssecurityDefinitions: APIKeyHeader: type: apiKey in: header name: Authorizationsecurity: – APIKeyHeader: [] – application/json – application/jsonpaths: /erp/queries/pesquisarProdutoRecebimento: post: description: Pesquisa produtos para registro de recebimento.\n Por padrão, esta consulta respeita os seguintes filtros:\n 1 – Produtos ativos\n 2 – Produtos que podem ser comprados\n 3 – Produtos que possuem unidade de medida Agro G5\n 4 – Produtos do Tipo Comprado ou (Tipo Produzido e que sejam mistos) tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: empresaId: type: string maxLength: 36 description: Id da empresa filialId: type: string maxLength: 36 description: Id da filial tipoAgendamentoId: type: string maxLength: 36 description: Id do tipo de agendamento codigo: type: string description: Código do produto descricao: type: string maxLength: 100 description: Descrição do produto pesquisa: type: string description: Pesquisa por código ou descrição pagina: type: object allOf: – #/definitions/recPagina description: Atributo para paginação responses: 200: description: Ok schema: type: object required: – produtos – qtdTotalRegistros properties: produtos: type: array items: type: object allOf: – #/definitions/recProduto minimum: 1 description: Listagem de produtos qtdTotalRegistros: type: integer format: int64 description: Quantidade total de registros encontrados default: description: Error response schema: #/definitions/genericError /erp/queries/pesquisarProduto: post: description: Pesquisa de produtos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: empresaId: type: string maxLength: 36 description: Id da empresa filialId: type: string maxLength: 36 description: Id da filial tipoAgendamentoId: type: string maxLength: 36 description: Id do tipo de agendamento codigo: type: string description: Código do produto descricao: type: string maxLength: 100 description: Descrição do produto pesquisa: type: string description: Pesquisa por código ou descrição situacao: type: string allOf: – #/definitions/situacao description: Ativo/Inativo pagina: type: object allOf: – #/definitions/recPagina description: Atributo para paginação responses: 200: description: Ok schema: type: object required: – produtos – qtdTotalRegistros properties: produtos: type: array items: type: object allOf: – #/definitions/recProduto minimum: 1 description: Listagem de produtos qtdTotalRegistros: type: integer format: int64 description: Quantidade total de registros encontrados default: description: Error response schema: #/definitions/genericError /erp/queries/pesquisarDocumento: post: description: Pesquisa dados da nota fiscal através da chave eletrônica.\n A consulta é feita no ERP G5 através do webservice sapiens_Synccom_senior_g5_co_int_agr_recebimento.ConsultarDocumento tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – chaveDocumento properties: filialId: type: string maxLength: 36 description: Id da filial chaveDocumento: type: string maxLength: 255 description: Chave do documento responses: 200: description: Ok schema: type: object required: – documentos properties: documentos: type: array items: type: object allOf: – #/definitions/recDocumento minimum: 1 description: Documentos encontrados default: description: Error response schema: #/definitions/genericError get: description: Pesquisa dados da nota fiscal através da chave eletrônica.\n A consulta é feita no ERP G5 através do webservice sapiens_Synccom_senior_g5_co_int_agr_recebimento.ConsultarDocumento tags: – Queries x-senior-visibility: PRIVATE parameters: – name: filialId description: Id da filial in: query type: string maxLength: 36 – name: chaveDocumento description: Chave do documento in: query required: true type: string maxLength: 255 responses: 200: description: Ok schema: type: object required: – documentos properties: documentos: type: array items: type: object allOf: – #/definitions/recDocumento minimum: 1 description: Documentos encontrados default: description: Error response schema: #/definitions/genericError /erp/queries/pesquisarFiliais: post: description: Pesquisa de filiais.\n Essa chamada possibilita a pesquisa de filiais passando uma lista de cnpjs tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: nome: type: string maxLength: 255 description: Nome da Filial codigo: type: integer format: int64 description: Código da Filial cnpjs: type: array items: type: string description: CNPJ`s que as Filiais devem ter pagina: type: object allOf: – #/definitions/recPagina description: Página responses: 200: description: Ok schema: type: object required: – filiais – qtdTotalRegistros properties: filiais: type: array items: type: object allOf: – #/definitions/recFilial minimum: 1 description: Filiais qtdTotalRegistros: type: integer format: int64 description: Quantidade Total de Registros default: description: Error response schema: #/definitions/genericError /erp/queries/pesquisarContratosCompra: post: description: Filtrar contratos a partir da empresa e do fornecedor/filial. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: produtoId: type: string maxLength: 36 description: Id do produto pessoaId: type: string maxLength: 36 description: Id da Pessoa empresaId: type: string maxLength: 36 description: Id da empresa filial: type: integer format: int64 description: Código da filial numero: type: integer format: int64 description: Número dataEmissao: type: string format: date description: Data de emissão pagina: type: object allOf: – #/definitions/recPagina description: Atributo para paginação responses: 200: description: Ok schema: type: object required: – contents – totalElements properties: contents: type: array items: type: object allOf: – #/definitions/recContratoCompra minimum: 1 description: Lista de retorno contendo os contratos de compra totalElements: type: integer format: int64 description: Número de elementos obtidos na pesquisa default: description: Error response schema: #/definitions/genericError /erp/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: 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportEmpresa: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportPessoa: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportPais: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportEstado: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportCidade: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportPessoaEndereco: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportFilial: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportTransportadora: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportProduto: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportDerivacao: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportUnidadeMedida: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportRoyalty: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportFamiliaProduto: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportSafra: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportTransgenia: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportPedidoVenda: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportContratoCompra: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportContratoCompraItemFornecedor: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportOrdemCompra: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportRecebimento: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportDevolucao: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportExpedicao: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportRecebimentoOrdemCompra: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportProcessoCancelado: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportProcessoErpFinalizado: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportLogIntegracao: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportFilialProdutoTipoAgendamento: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportAgenda: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportVeiculo: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportComposicaoVeiculo: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportMotorista: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportGrupoEmpresa: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/exportTipoAgendamento: post: description: tags: – Queries x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/queries/getDependencies: post: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PUBLIC responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies default: description: Error response schema: #/definitions/genericError get: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PUBLIC responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies default: description: Error response schema: #/definitions/genericError /erp/actions/registrarChegadaDeVeiculoComRecebimento: post: description: Operação para chegada de veículo com integração com ERP.\n É executado os seguintes passos:\n * Salva os dados do recebimento\n * Envia os dados para o ERP\n * Cria a execução do circuito\n tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – recebimento – circuito – sequenciaInicial properties: recebimento: type: object allOf: – #/definitions/recebimento description: Dados do recebimento circuito: type: string description: Circuito que será executado sequenciaInicial: type: string description: Sequência inicial do circuito vagaInicial: type: string description: Vaga que deverá ser ocupada transportadora: type: integer format: int64 description: Identificador da Transportadora responses: 200: description: Ok schema: type: object required: – message properties: message: type: string description: Mensagem de retorno default: description: Error response schema: #/definitions/genericError /erp/actions/registrarChegadaDeVeiculoComExpedicao: post: description: Operação para chegada de veículo com expedição tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – expedicao – circuito – sequenciaInicial properties: expedicao: type: object allOf: – #/definitions/expedicao description: Dados de expedição circuito: type: string description: Circuito que será executado sequenciaInicial: type: string description: Sequência inicial do circuito vagaInicial: type: string description: Vaga que deverá ser ocupada responses: 200: description: Ok schema: type: object required: – mensagem properties: mensagem: type: string description: Mensagem de retorno default: description: Error response schema: #/definitions/genericError /erp/actions/preCadastroRealizado: post: description: Informa que o pré cadastramento no ERP foi processada com sucesso. tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agenda properties: agenda: type: string description: Identificador da agenda responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /erp/actions/registrarChegadaDeVeiculoComRecebimentoOrdemCompra: post: description: Registra chegada por OrdemCompra tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – recebimentoOrdemCompra – circuito – sequenciaInicial properties: recebimentoOrdemCompra: type: object allOf: – #/definitions/recebimentoOrdemCompra description: Recebimento por Ordem de Compra circuito: type: string description: Identificador do circuito que sera executado sequenciaInicial: type: string description: Identificador da sequência inicial do circuito vagaInicial: type: string description: Identificador da vaga que será ocupada responses: 200: description: Ok schema: type: object required: – mensagem properties: mensagem: type: string description: Mensagem de retorno default: description: Error response schema: #/definitions/genericError /erp/actions/registrarPesagemRecebimento: post: description: Faz registro de peso e imagens no ERP Agro tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agenda – execucaoCircuito – pesagem properties: agenda: type: string description: Identificador da agenda execucaoCircuito: type: string description: Identificador da execução pesagem: type: object allOf: – #/definitions/pesagem description: Informações do peso capturado fotos: type: array items: type: object allOf: – #/definitions/foto description: Fotos relacionadas a pesagem responses: 200: description: Ok schema: type: object required: – tipoRetorno – itens properties: tipoRetorno: type: string allOf: – #/definitions/tipoRetorno description: Indica o tipo do retorno itens: type: array items: type: string minimum: 1 description: Uma lista com detalhes de cada retorno default: description: Error response schema: #/definitions/genericError /erp/actions/registrarPesagemExpedicao: post: description: Faz registro de peso e imagens no ERP para processo de expedição tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agenda – pesoTara properties: agenda: type: string description: Identificador da agenda pesoTara: type: object allOf: – #/definitions/pesagem description: Peso da tara do veículo, ou seja, peso do veículo sem carga pesoBruto: type: object allOf: – #/definitions/pesagem description: Peso bruto do veículo, ou seja, peso do veículo com carga fotos: type: array items: type: object allOf: – #/definitions/foto description: Fotos relacionadas a pesagem responses: 200: description: Ok schema: type: object required: – tipoRetorno – itens properties: tipoRetorno: type: string allOf: – #/definitions/tipoRetorno description: Indica o tipo do retorno itens: type: array items: type: string minimum: 1 description: Uma lista com detalhes de cada retorno default: description: Error response schema: #/definitions/genericError /erp/actions/finalizarProcessoErp: post: description: Informa para o YMS que um determinado processo foi finalizado no ERP.\n Caso o YMS não esteja esperando o processo do ERP o conteúdo dessa requisição é ignorada.\n tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agenda – processo properties: agenda: type: string description: Identificador do agendamento processo: type: string allOf: – #/definitions/processoErp description: Identificador do processo retorno: type: string allOf: – #/definitions/tipoRetorno description: Indica o tipo de retorno do processo, caso não seja informado o valor padrão é `PROCESSADO` responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /erp/actions/registrarAgendaRecebimento: post: description: Registra um agendamento para recebimento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agendamento – fornecedor – produto – contratos – origemMercadoria properties: agendamento: type: object allOf: – #/definitions/agendamento description: Dados dos agendamento fornecedor: type: integer format: int64 description: Código do fornecedor produto: type: string description: Código do produto derivacao: type: string description: Código de derivação do produto empresa: type: string description: Código da empresa filial: type: integer format: int64 description: Código da filial transportadora: type: integer format: int64 description: Código da transportadora contratos: type: array items: type: object allOf: – #/definitions/contratoCompraInput minimum: 1 description: Contratos de compra origemMercadoria: type: integer format: int64 description: Código de origem da mercadoria do fornecedor tipoNotaFiscal: type: string allOf: – #/definitions/tipoNotaFiscal description: Tipo da nota fiscal, caso não seja informado o valor default é EMRESA_JURIDICA chaveNotaFiscal: type: string description: Chave da nota fiscal numeroNotaFiscal: type: string description: Número da nota fiscal serieNotaFiscal: type: string description: Série da nota fiscal transgenia: type: string description: Código da Transgenia responses: 200: description: Ok schema: type: object required: – mensagem – agenda properties: mensagem: type: string description: Mensagem informativa de retorno agenda: type: object allOf: – #/definitions/agenda description: Agenda criada recebimento: type: object allOf: – #/definitions/recebimento description: Recebimento criado default: description: Error response schema: #/definitions/genericError /erp/actions/registrarChegadaDeVeiculoComDevolucao: post: description: Operação para chegada de veículo para agendamento de devolução tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – devolucao – circuito – sequenciaInicial properties: devolucao: type: object allOf: – #/definitions/devolucao description: Devolução circuito: type: string description: Identificador do circuito que será executado sequenciaInicial: type: string description: Identificador da sequência inicial do circuito vagaInicial: type: string description: Identificador da vaga que deverá ser ocupada responses: 200: description: Ok schema: type: object required: – mensagem properties: mensagem: type: string description: Mensagem de retorno default: description: Error response schema: #/definitions/genericError /erp/actions/registrarAgendaDevolucao: post: description: Registra um agendamento para devolucao tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agendamento – fornecedor – produto – origemMercadoria properties: agendamento: type: object allOf: – #/definitions/agendamento description: Dados dos agendamento fornecedor: type: integer format: int64 description: Código do fornecedor produto: type: string description: Código do produto derivacao: type: string description: Código de derivação do produto empresa: type: string description: Código da empresa filial: type: integer format: int64 description: Código da filial origemMercadoria: type: integer format: int64 description: Código de origem da mercadoria do fornecedor transportadora: type: integer format: int64 description: Codigo da Transportadora chaveNotaFiscal: type: string description: Chave da nota fiscal numeroNotaFiscal: type: string description: Número da nota fiscal serieNotaFiscal: type: string description: Série da nota fiscal numeroNotaFiscalProdutor: type: string description: Número da nota fiscal serieNotaFiscalProdutor: type: string description: Série da nota fiscal responses: 200: description: Ok schema: type: object required: – mensagem – agenda properties: mensagem: type: string description: Mensagem informativa de retorno agenda: type: object allOf: – #/definitions/agenda description: Agenda criada devolucao: type: object allOf: – #/definitions/devolucao description: Devolucao criada default: description: Error response schema: #/definitions/genericError /erp/actions/registrarAgendaOrdemCompra: post: description: Registra um agendamento para devolucao tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agendamento – fornecedor – produto – derivacao – empresa – filial properties: agendamento: type: object allOf: – #/definitions/agendamento description: Dados dos agendamento fornecedor: type: integer format: int64 description: Código do fornecedor produto: type: string description: Código do produto derivacao: type: string description: Código de derivação do produto empresa: type: string description: Código da empresa filial: type: integer format: int64 description: Código da filial origemMercadoria: type: integer format: int64 description: Código de origem da mercadoria do fornecedor transportadora: type: integer format: int64 description: Codigo da Transportadora safra: type: string description: Safra ordemCompra: type: string description: Codigo ordem Compra itens: type: array items: type: object allOf: – #/definitions/ordemCompraItemInput description: Itens da ordem de compra chaveNotaFiscal: type: string description: Chave da nota fiscal numeroNotaFiscal: type: string description: Número da nota fiscal serieNotaFiscal: type: string description: Série da nota fiscal responses: 200: description: Ok schema: type: object required: – mensagem – agenda properties: mensagem: type: string description: Mensagem informativa de retorno agenda: type: object allOf: – #/definitions/agenda description: Agenda criada recebimentoOrdemCompra: type: object allOf: – #/definitions/recebimentoOrdemCompra description: Recebimento criado default: description: Error response schema: #/definitions/genericError /erp/actions/registrarAgendaExpedicao: post: description: Registra um agendamento para expedição tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agendamento – clienteFaturamento – empresa – filial – pedidos properties: agendamento: type: object allOf: – #/definitions/agendamento description: Dados dos agendamento clienteFaturamento: type: integer format: int64 description: Código do cliente de faturamento clienteRemessa: type: integer format: int64 description: Código do cliente de remessa empresa: type: string description: Código da empresa filial: type: integer format: int64 description: Código da filial numeroAgendamentoCliente: type: string description: Código de agendamento da Petrobrás transportadora: type: integer format: int64 description: Código da transportadora pedidos: type: array items: type: object allOf: – #/definitions/pedidoVendaInput minimum: 1 description: Pedidos de venda responses: 200: description: Ok schema: type: object required: – mensagem – agenda properties: mensagem: type: string description: Mensagem informativa de retorno agenda: type: object allOf: – #/definitions/agenda description: Agenda criada expedicao: type: object allOf: – #/definitions/expedicao description: Expedição criada default: description: Error response schema: #/definitions/genericError /erp/actions/cancelarProcesso: post: description: Informa para o YMS que o processo de execução foi cancelado no ERP.\n \n Com efeito, o YMS não enviará mais para o ERP os pesos capturados pelo YMS.\n tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agenda properties: agenda: type: string description: ID ou código da agenda responses: 200: description: Ok schema: type: object required: – agendaId – execucaoCircuitoId properties: agendaId: type: string description: ID da agenda execucaoCircuitoId: type: string description: ID da execução default: description: Error response schema: #/definitions/genericError /erp/actions/cancelarAgenda: post: description: Cancela um agendamento caso possível\n \n O agendamento só poderá ser cancelado caso o seu status seja *Aguardando Confirmação*, *Agendado*, *Rejeitado* ou *Aguardando Confirmação Solicitante*.\n tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agenda properties: agenda: type: string description: ID ou código da agenda que deverá ser cancelada responses: 200: description: Ok schema: type: object allOf: – #/definitions/agenda default: description: Error response schema: #/definitions/genericError /erp/actions/executarAuditoria: post: description: Operação para chegada de veículo para agendamento de devolução tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – chaveNota properties: chaveNota: type: string description: Chave da nota fornecedor: type: integer format: int64 description: Fornecedor filial: type: integer format: int64 description: Filial numeroContrato: type: integer format: int64 description: Numero do contrato sequenciaContrato: type: integer format: int64 description: Sequencia do Contrato sequenciaOrigem: type: integer format: int64 description: Sequencia de origem do produto responses: 200: description: Ok schema: type: object required: – situacao – mensagem properties: situacao: type: string allOf: – #/definitions/situacaoNota description: Situação da nota mensagem: type: string description: Mensagem de retorno default: description: Error response schema: #/definitions/genericError /erp/actions/apagarRegistroInitialLoadControl: post: description: Apagar initialLoadControl para nova carga de uma tabela expecífica tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: UUID da pendencia responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /erp/actions/importEmpresa: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importPessoa: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importPais: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importEstado: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importCidade: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importPessoaEndereco: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importFilial: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importTransportadora: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importProduto: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importDerivacao: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importUnidadeMedida: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importRoyalty: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importFamiliaProduto: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importSafra: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importTransgenia: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importPedidoVenda: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importContratoCompra: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importContratoCompraItemFornecedor: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importOrdemCompra: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importRecebimento: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importDevolucao: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importExpedicao: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importRecebimentoOrdemCompra: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importProcessoCancelado: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importProcessoErpFinalizado: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importLogIntegracao: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importFilialProdutoTipoAgendamento: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importAgenda: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importVeiculo: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importComposicaoVeiculo: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importMotorista: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importGrupoEmpresa: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/actions/importTipoAgendamento: post: description: tags: – Actions x-senior-visibility: PUBLIC 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: default: description: Error response schema: #/definitions/genericError /erp/entities/empresa: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/empresa default: description: Error response schema: #/definitions/genericError /erp/entities/pessoa: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/pessoa default: description: Error response schema: #/definitions/genericError /erp/entities/pais: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/pais default: description: Error response schema: #/definitions/genericError /erp/entities/estado: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/estado default: description: Error response schema: #/definitions/genericError /erp/entities/cidade: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/cidade default: description: Error response schema: #/definitions/genericError /erp/entities/pessoaEndereco: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/pessoaEndereco default: description: Error response schema: #/definitions/genericError /erp/entities/filial: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/filial default: description: Error response schema: #/definitions/genericError /erp/entities/transportadora: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/transportadora default: description: Error response schema: #/definitions/genericError /erp/entities/produto: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/produto default: description: Error response schema: #/definitions/genericError /erp/entities/derivacao: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/derivacao default: description: Error response schema: #/definitions/genericError /erp/entities/unidadeMedida: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/unidadeMedida default: description: Error response schema: #/definitions/genericError /erp/entities/royalty: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/royalty default: description: Error response schema: #/definitions/genericError /erp/entities/familiaProduto: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/familiaProduto default: description: Error response schema: #/definitions/genericError /erp/entities/safra: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/safra default: description: Error response schema: #/definitions/genericError /erp/entities/transgenia: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/transgenia default: description: Error response schema: #/definitions/genericError /erp/entities/pedidoVenda: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/pedidoVenda default: description: Error response schema: #/definitions/genericError /erp/entities/pedidoVendaItem: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/pedidoVendaItem default: description: Error response schema: #/definitions/genericError /erp/entities/pedidoVenda/{parentId}/itens: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/pedidoVendaItem responses: 200: description: The created resources schema: type: array items: #/definitions/pedidoVendaItem default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/pedidoVendaItem responses: 200: description: The created resources schema: type: array items: #/definitions/pedidoVendaItem default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/pedidoVendaItem default: description: Error response schema: #/definitions/genericError /erp/entities/pedidoVenda/{parentId}/itens/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/pedidoVendaItem responses: 200: description: Ok schema: #/definitions/pedidoVendaItem default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/pedidoVendaItem responses: 200: description: Ok schema: #/definitions/pedidoVendaItem default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/pedidoVendaItem default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /erp/entities/contratoCompra: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/contratoCompra default: description: Error response schema: #/definitions/genericError /erp/entities/contratoCompraItem: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/contratoCompraItem default: description: Error response schema: #/definitions/genericError /erp/entities/contratoCompra/{parentId}/itens: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/contratoCompraItem responses: 200: description: The created resources schema: type: array items: #/definitions/contratoCompraItem default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/contratoCompraItem responses: 200: description: The created resources schema: type: array items: #/definitions/contratoCompraItem default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/contratoCompraItem default: description: Error response schema: #/definitions/genericError /erp/entities/contratoCompra/{parentId}/itens/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoCompraItem responses: 200: description: Ok schema: #/definitions/contratoCompraItem default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoCompraItem responses: 200: description: Ok schema: #/definitions/contratoCompraItem default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/contratoCompraItem default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /erp/entities/contratoCompraItemFornecedor: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/contratoCompraItemFornecedor default: description: Error response schema: #/definitions/genericError /erp/entities/ordemCompra: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/ordemCompra default: description: Error response schema: #/definitions/genericError /erp/entities/ordemCompraItem: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/ordemCompraItem default: description: Error response schema: #/definitions/genericError /erp/entities/ordemCompra/{parentId}/itens: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/ordemCompraItem responses: 200: description: The created resources schema: type: array items: #/definitions/ordemCompraItem default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/ordemCompraItem responses: 200: description: The created resources schema: type: array items: #/definitions/ordemCompraItem default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/ordemCompraItem default: description: Error response schema: #/definitions/genericError /erp/entities/ordemCompra/{parentId}/itens/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/ordemCompraItem responses: 200: description: Ok schema: #/definitions/ordemCompraItem default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/ordemCompraItem responses: 200: description: Ok schema: #/definitions/ordemCompraItem default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/ordemCompraItem default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /erp/entities/recebimento: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/recebimento responses: 200: description: The created resource schema: #/definitions/recebimento default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/recebimento responses: 200: description: The created resource schema: #/definitions/recebimento default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/recebimento default: description: Error response schema: #/definitions/genericError /erp/entities/recebimento/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/recebimento responses: 200: description: Ok schema: #/definitions/recebimento default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/recebimento responses: 200: description: Ok schema: #/definitions/recebimento default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/recebimento default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /erp/entities/recebimento/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/recebimento responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /erp/entities/devolucao: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/devolucao responses: 200: description: The created resource schema: #/definitions/devolucao default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/devolucao responses: 200: description: The created resource schema: #/definitions/devolucao default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/devolucao default: description: Error response schema: #/definitions/genericError /erp/entities/devolucao/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/devolucao responses: 200: description: Ok schema: #/definitions/devolucao default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/devolucao responses: 200: description: Ok schema: #/definitions/devolucao default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/devolucao default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /erp/entities/devolucao/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/devolucao responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /erp/entities/contratoRecebimento: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/contratoRecebimento responses: 200: description: The created resource schema: #/definitions/contratoRecebimento default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/contratoRecebimento responses: 200: description: The created resource schema: #/definitions/contratoRecebimento default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/contratoRecebimento default: description: Error response schema: #/definitions/genericError /erp/entities/contratoRecebimento/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoRecebimento responses: 200: description: Ok schema: #/definitions/contratoRecebimento default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoRecebimento responses: 200: description: Ok schema: #/definitions/contratoRecebimento default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/contratoRecebimento default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /erp/entities/recebimento/{parentId}/contratos: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/contratoRecebimento responses: 200: description: The created resources schema: type: array items: #/definitions/contratoRecebimento default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/contratoRecebimento responses: 200: description: The created resources schema: type: array items: #/definitions/contratoRecebimento default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/contratoRecebimento default: description: Error response schema: #/definitions/genericError /erp/entities/recebimento/{parentId}/contratos/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoRecebimento responses: 200: description: Ok schema: #/definitions/contratoRecebimento default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoRecebimento responses: 200: description: Ok schema: #/definitions/contratoRecebimento default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/contratoRecebimento default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /erp/entities/contratoRecebimento/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/contratoRecebimento responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /erp/entities/contratoRecebimentoItem: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/contratoRecebimentoItem responses: 200: description: The created resource schema: #/definitions/contratoRecebimentoItem default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/contratoRecebimentoItem responses: 200: description: The created resource schema: #/definitions/contratoRecebimentoItem default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/contratoRecebimentoItem default: description: Error response schema: #/definitions/genericError /erp/entities/contratoRecebimentoItem/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoRecebimentoItem responses: 200: description: Ok schema: #/definitions/contratoRecebimentoItem default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoRecebimentoItem responses: 200: description: Ok schema: #/definitions/contratoRecebimentoItem default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/contratoRecebimentoItem default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /erp/entities/contratoRecebimento/{parentId}/itens: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/contratoRecebimentoItem responses: 200: description: The created resources schema: type: array items: #/definitions/contratoRecebimentoItem default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/contratoRecebimentoItem responses: 200: description: The created resources schema: type: array items: #/definitions/contratoRecebimentoItem default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/contratoRecebimentoItem default: description: Error response schema: #/definitions/genericError /erp/entities/contratoRecebimento/{parentId}/itens/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoRecebimentoItem responses: 200: description: Ok schema: #/definitions/contratoRecebimentoItem default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoRecebimentoItem responses: 200: description: Ok schema: #/definitions/contratoRecebimentoItem default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/contratoRecebimentoItem default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /erp/entities/contratoRecebimentoItem/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/contratoRecebimentoItem responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /erp/entities/expedicao: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/expedicao responses: 200: description: The created resource schema: #/definitions/expedicao default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/expedicao responses: 200: description: The created resource schema: #/definitions/expedicao default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/expedicao default: description: Error response schema: #/definitions/genericError /erp/entities/expedicao/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/expedicao responses: 200: description: Ok schema: #/definitions/expedicao default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/expedicao responses: 200: description: Ok schema: #/definitions/expedicao default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/expedicao default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /erp/entities/expedicao/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/expedicao responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /erp/entities/ordemVenda: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/ordemVenda responses: 200: description: The created resource schema: #/definitions/ordemVenda default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/ordemVenda responses: 200: description: The created resource schema: #/definitions/ordemVenda default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/ordemVenda default: description: Error response schema: #/definitions/genericError /erp/entities/ordemVenda/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/ordemVenda responses: 200: description: Ok schema: #/definitions/ordemVenda default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/ordemVenda responses: 200: description: Ok schema: #/definitions/ordemVenda default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/ordemVenda default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /erp/entities/expedicao/{parentId}/pedidos: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/ordemVenda responses: 200: description: The created resources schema: type: array items: #/definitions/ordemVenda default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/ordemVenda responses: 200: description: The created resources schema: type: array items: #/definitions/ordemVenda default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/ordemVenda default: description: Error response schema: #/definitions/genericError /erp/entities/expedicao/{parentId}/pedidos/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/ordemVenda responses: 200: description: Ok schema: #/definitions/ordemVenda default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/ordemVenda responses: 200: description: Ok schema: #/definitions/ordemVenda default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/ordemVenda default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /erp/entities/ordemVenda/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/ordemVenda responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /erp/entities/ordemVendaItem: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/ordemVendaItem responses: 200: description: The created resource schema: #/definitions/ordemVendaItem default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/ordemVendaItem responses: 200: description: The created resource schema: #/definitions/ordemVendaItem default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/ordemVendaItem default: description: Error response schema: #/definitions/genericError /erp/entities/ordemVendaItem/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/ordemVendaItem responses: 200: description: Ok schema: #/definitions/ordemVendaItem default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/ordemVendaItem responses: 200: description: Ok schema: #/definitions/ordemVendaItem default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/ordemVendaItem default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /erp/entities/ordemVenda/{parentId}/itens: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/ordemVendaItem responses: 200: description: The created resources schema: type: array items: #/definitions/ordemVendaItem default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/ordemVendaItem responses: 200: description: The created resources schema: type: array items: #/definitions/ordemVendaItem default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/ordemVendaItem default: description: Error response schema: #/definitions/genericError /erp/entities/ordemVenda/{parentId}/itens/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/ordemVendaItem responses: 200: description: Ok schema: #/definitions/ordemVendaItem default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/ordemVendaItem responses: 200: description: Ok schema: #/definitions/ordemVendaItem default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/ordemVendaItem default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /erp/entities/ordemVendaItem/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/ordemVendaItem responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoOrdemCompra: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/recebimentoOrdemCompra responses: 200: description: The created resource schema: #/definitions/recebimentoOrdemCompra default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/recebimentoOrdemCompra responses: 200: description: The created resource schema: #/definitions/recebimentoOrdemCompra default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/recebimentoOrdemCompra default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoOrdemCompra/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/recebimentoOrdemCompra responses: 200: description: Ok schema: #/definitions/recebimentoOrdemCompra default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/recebimentoOrdemCompra responses: 200: description: Ok schema: #/definitions/recebimentoOrdemCompra default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/recebimentoOrdemCompra default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoOrdemCompra/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/recebimentoOrdemCompra responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /erp/entities/processoCancelado: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/processoCancelado default: description: Error response schema: #/definitions/genericError /erp/entities/processoErpFinalizado: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/processoErpFinalizado default: description: Error response schema: #/definitions/genericError /erp/entities/logIntegracao: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/logIntegracao default: description: Error response schema: #/definitions/genericError /erp/entities/filialProdutoTipoAgendamento: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/filialProdutoTipoAgendamento responses: 200: description: The created resource schema: #/definitions/filialProdutoTipoAgendamento default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/filialProdutoTipoAgendamento responses: 200: description: The created resource schema: #/definitions/filialProdutoTipoAgendamento default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/filialProdutoTipoAgendamento default: description: Error response schema: #/definitions/genericError /erp/entities/filialProdutoTipoAgendamento/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/filialProdutoTipoAgendamento responses: 200: description: Ok schema: #/definitions/filialProdutoTipoAgendamento default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/filialProdutoTipoAgendamento responses: 200: description: Ok schema: #/definitions/filialProdutoTipoAgendamento default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/filialProdutoTipoAgendamento default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /erp/entities/filialProdutoTipoAgendamento/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/filialProdutoTipoAgendamento responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /erp/entities/agenda: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/agenda default: description: Error response schema: #/definitions/genericError /erp/entities/agenda/{id}: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/agenda default: description: Error response schema: #/definitions/genericError /erp/entities/veiculo: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/veiculo default: description: Error response schema: #/definitions/genericError /erp/entities/veiculo/{id}: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/veiculo default: description: Error response schema: #/definitions/genericError /erp/entities/composicaoVeiculo: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/composicaoVeiculo default: description: Error response schema: #/definitions/genericError /erp/entities/composicaoVeiculo/{id}: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/composicaoVeiculo default: description: Error response schema: #/definitions/genericError /erp/entities/motorista: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/motorista default: description: Error response schema: #/definitions/genericError /erp/entities/motorista/{id}: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/motorista default: description: Error response schema: #/definitions/genericError /erp/entities/grupoEmpresa: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/grupoEmpresa default: description: Error response schema: #/definitions/genericError /erp/entities/tipoAgendamento: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/tipoAgendamento default: description: Error response schema: #/definitions/genericError /erp/entities/tipoAgendamento/{id}: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/tipoAgendamento default: description: Error response schema: #/definitions/genericError definitions: processoErp: description: Representa um processo realizado no ERP type: string enum: – PRE_CADASTRO – CLASSIFICACAO – FATURAMENTO – CARREGAMENTO – DESCARREGAMENTO situacaoPessoa: description: Situação da pessoa type: string enum: – INATIVO – ATIVO situacaoEnderecoPessoa: description: Situação do endereço da pessoa type: string enum: – INATIVO – ATIVO – BLOQUEADO situacao: description: Situação type: string enum: – INATIVO – ATIVO tipoProduto: description: Tipo do Produto type: string enum: – PRODUZIDO – COMPRADO – MONTAGEM – PASSAGEM – SERVICO situacaoPedido: description: Situação do Pedido type: string enum: – ABERTO_TOTAL – ABERTO_PARCIAL – SUSPENSO – LIQUIDADO – CANCELADO – AGUARDANDO_INTEGRACAO_WMS – EM_TRANSMISSAO – PREPARACAO_ANALISE_OU_NF – NAO_FECHADO tipoPedido: description: Tipo do Pedido type: string enum: – NORMAL – AUTOMATICO – RASCUNHO – ORCAMENTO – PREVISAO – PRONTA_ENTREGA – APROVEITAMENTO_PEDIDO_PRONTA_ENTREGA – ASSISTENCIATECNICA – REPOSICAO situacaoAprovacao: description: Situação de Aprovação type: string enum: – EM_ANALISE – REPASSADO – APROVADO – REPROVADO – CANCELADO – EMPREPARACAO – AGUARDANDOAPROVACAO – BLOQUEADO situacaoNota: description: Situação de Aprovação type: string enum: – APROVADO – REPROVADO tipoRetorno: description: Tipo de retorna para uma solicitação type: string enum: – PROCESSADO – ERRO_SOLICITACAO – REJEITADO – CANCELADO statusInicialAgendamento: description: Status ao criar um agendamento type: string enum: – AGUARDANDO_CONFIRMACAO – AGUARDANDO_CONFIRMACAO_SOLICITANTE – AGENDADO tipoParticipanteTransgenia: description: Tipo da Transgenia type: string enum: – NAO_INFORMADO – PARTICIPANTE_MONSANTO – NAO_PARTICIPANTE_MONSANTO tipoAtividadeTipoAgedamento: description: Informa que a Agenda Reservada é uma Descarregamento(Recebimento) ou um Carregamento(Expedição) type: string enum: – CARREGAMENTO – DESCARREGAMENTO posicaoBalanca: description: Identifica a balança pela sua posição no circuito type: string enum: – ENTRADA – SAIDA enumTipoOrdenacao: description: Enumeração para o tipo de ordenação type: string enum: – Asc – Desc enumTipoDocumento: description: Enumeração que determina o tipo de documento type: string enum: – NOTA_FISCAL_ELETRONICA – NOTA_FISCAL_PRODUTOR tipoNotaFiscal: description: Indica se a nota fiscal é de pessoa física ou jurídica type: string enum: – EMPRESA_JURIDICA – PRODUTOR_RURAL 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 – 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 foto: description: Representa uma imagem type: object required: – codigo – link properties: codigo: type: string description: Código da imagem link: type: string description: Link da imagem agendamento: description: Informações de um agendamento type: object required: – descricao – tipoAgendamento – planta – dataEsperada – horaEsperada – horaOffset – status properties: descricao: type: string description: Descrição do agendamento tipoAgendamento: type: string description: ID ou código do tipo de agendamento planta: type: string description: ID ou CNPJ da planta dataEsperada: type: string format: date description: Data esperada do agendamento horaEsperada: type: string description: Hora esperada do agendamento horaOffset: type: integer format: int64 description: Time zone da hora de agendamento em relação a UTC. Esse valor varia de -12 a 14 minimum: -12 maximum: 14 status: type: string allOf: – #/definitions/statusInicialAgendamento description: Status inicial do agendamento parceiro: type: string description: ID ou CNPJ do parceiro (Cliente Externo) motorista: type: string description: ID ou CPF do motorista composicaoVeiculo: type: string description: ID da composicao de veículo observacao: type: string description: Observação do agendamento pedidoVendaInput: description: Informação do pedido de venda type: object required: – numero – itens properties: numero: type: integer format: int64 description: Número do pedido de venda itens: type: array items: type: object allOf: – #/definitions/pedidoVendaItemInput minimum: 1 description: Itens do pedido de venda que serão utilizados na expedição pedidoVendaItemInput: description: Informação do item do pedido de venda type: object required: – sequencia – quantidade – numeroPedidoCliente – itemPedidoCliente properties: sequencia: type: integer format: int64 description: Sequência do item do pedido de venda quantidade: type: number format: double description: Quantidade do item que será utilizado na expedição numeroPedidoCliente: type: string description: Número pedido do cliente itemPedidoCliente: type: string description: Item do pedido do cliente contratoCompraInput: description: Informação do contrato de compra type: object required: – numero properties: numero: type: integer format: int64 description: Número do contrato itens: type: array items: type: object allOf: – #/definitions/contratoCompraItemInput description: Itens do contratro que serão utilizados contratoCompraItemInput: description: Informação do item contrato de compra type: object required: – sequencia – quantidade properties: sequencia: type: integer format: int64 description: Sequência do item do contrato de compra quantidade: type: number format: double description: Quantidade do item que será utilizado no recebimento ordemCompraItemInput: description: Informação do item ordem de compra type: object required: – sequencia – quantidade properties: sequencia: type: integer format: int64 description: Sequência do item do ordem de compra quantidade: type: number format: double description: Quantidade do item que será utilizada pesagem: description: Representa dados de uma pesagem type: object required: – balanca – posicaoBalanca – peso properties: balanca: type: string description: Código identificador da balança posicaoBalanca: type: string allOf: – #/definitions/posicaoBalanca description: Posição da balança no circuito peso: type: number format: double description: Peso lido recContratoCompra: description: Record de contrato de compra type: object required: – id – empresa – pessoa – filial – safra – numero – dataEmissao properties: id: type: string maxLength: 36 description: Id contrato compra empresa: type: object allOf: – #/definitions/recEmpresa description: Empresa vínculada pessoa: type: object allOf: – #/definitions/recPessoa description: Pessoa vinculada filial: type: object allOf: – #/definitions/recFilial description: Filial vínculada safra: type: object allOf: – #/definitions/recSafra description: Safra numero: type: integer format: int64 description: Número do contrato dataEmissao: type: string format: date description: Data de emisão contrato recEmpresa: description: Record de empresa type: object required: – id – codigo – nome – fantasia properties: id: type: string maxLength: 36 description: Id empresa codigo: type: string maxLength: 4 description: Código da empresa nome: type: string maxLength: 100 description: Nome da empresa fantasia: type: string maxLength: 100 description: Nome fantasia da empresa recPessoa: description: Record de pessoa type: object required: – id – codigo – nome – cpfCnpj – nomeFantasia properties: id: type: string maxLength: 36 description: Id da pessoa codigo: type: integer format: int64 description: Código nome: type: string maxLength: 150 description: Nome da pessoa cpfCnpj: type: string maxLength: 16 description: Cpf ou CNPJ nomeFantasia: type: string maxLength: 60 description: Nome fantasia da empresa recFilial: description: Record de filial type: object required: – id – codigo – nome – empresa – pessoa properties: id: type: string maxLength: 36 description: ID da filial codigo: type: integer format: int64 description: Código da filial nome: type: string maxLength: 100 description: Nome empresa: type: object allOf: – #/definitions/recEmpresa description: Empresa pessoa: type: object allOf: – #/definitions/recPessoa description: Pessoa recSafra: description: Record de safra type: object required: – id – codigo – descricao – empresa properties: id: type: string maxLength: 36 description: Id da Safra codigo: type: string maxLength: 100 description: Código da Safra descricao: type: string maxLength: 100 description: Descrição da Safra empresa: type: object allOf: – #/definitions/recEmpresa description: Empresa da Safra recProduto: description: Produto type: object required: – id – codigo – descricao – descricaoComplementar properties: id: type: string maxLength: 36 description: Id do Produto codigo: type: string maxLength: 23 description: Código do Produto descricao: type: string maxLength: 100 description: Descrição do Produto descricaoComplementar: type: string maxLength: 150 description: Descrição complementar do Produto recDerivacao: description: Derivação type: object required: – id – codigo – descricao properties: id: type: string maxLength: 36 description: Id da Derivação codigo: type: string maxLength: 7 description: Código da Derivação descricao: type: string maxLength: 255 description: Descrição da Derivação recEndereco: description: Endereço type: object required: – id – codigo – cep – endereco – numero – complemento – bairro – cidadeId properties: id: type: string maxLength: 36 description: Id do endereço codigo: type: integer format: int64 description: Código do endereço cep: type: string maxLength: 20 description: Cep do endereço endereco: type: string maxLength: 100 description: Endereço numero: type: string maxLength: 60 description: Número do endereço complemento: type: string maxLength: 200 description: Complemento do endereço bairro: type: string maxLength: 75 description: Bairro do endereço cidadeId: type: string maxLength: 36 description: Id da cidade recDocumento: description: Documento fiscal type: object required: – serie – numero – fornecedor – origemMercadoria – tipoDocumento – itens properties: serie: type: string description: Série do documento numero: type: integer format: int64 description: Número do documento fornecedor: type: object allOf: – #/definitions/recPessoa description: Fornecedor do documento origemMercadoria: type: object allOf: – #/definitions/recEndereco description: Origem da mercadoria tipoDocumento: type: string allOf: – #/definitions/enumTipoDocumento description: Tipo do documento itens: type: array items: type: object allOf: – #/definitions/recItemDocumento minimum: 1 description: Itens do documento recItemDocumento: description: Item de documento fiscal type: object required: – produto – derivacao – quantidade properties: produto: type: object allOf: – #/definitions/recProduto description: Produto do item derivacao: type: object allOf: – #/definitions/recDerivacao description: Derivação do item quantidade: type: number format: double description: Quantidade do item recPagina: description: Record de paginação type: object properties: offset: type: integer format: int64 description: Offset a ser usado na paginação limit: type: integer format: int64 description: Número máximo de registros listaOrdenacao: type: array items: type: object allOf: – #/definitions/recListaOrdenacao description: Campos da ordenação dos registros a serem pesquisados recListaOrdenacao: description: Define o registro com os dados dos campos à serem ordenados type: object required: – campo – ordenacao properties: campo: type: string description: Nome do campo a ser ordenado ordenacao: type: string allOf: – #/definitions/enumTipoOrdenacao description: Tipo de ordenação do campo (ASC / DESC) empresa: description: Empresa type: object required: – codigo – nome properties: id: type: string format: uuid description: Id Empresa codigo: type: string maxLength: 4 description: Código da empresa nome: type: string maxLength: 100 description: Nome da empresa fantasia: type: string maxLength: 100 description: Nome fantasia da empresa createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: pessoa: description: Pessoa type: object required: – codigo – nome – cpfCnpj properties: id: type: string format: uuid description: Id da pessoa codigo: type: integer format: int64 description: Código nome: type: string maxLength: 150 description: Nome da pessoa cpfCnpj: type: string maxLength: 16 description: Cpf ou CNPJ nomeFantasia: type: string maxLength: 60 description: Nome fantasia da empresa inscricaoEstadual: type: string maxLength: 25 description: Inscrição estadual inscricaoMunicipal: type: string maxLength: 25 description: Inscrição municipal site: type: string maxLength: 100 description: Site da pessoa situacao: type: string allOf: – #/definitions/situacaoPessoa description: Situação cliente: type: boolean description: Informa se pessoa é um cliente fornecedor: type: boolean description: Informa se pessoa é um fornecedor representante: type: boolean description: Informa se pessoa é um representante transportadora: type: boolean description: Informa se pessoa é uma transportadora grupoEmpresa: type: object allOf: – #/definitions/grupoEmpresa description: Grupo de empresas tipoParticipante: type: string allOf: – #/definitions/tipoParticipanteTransgenia description: Tipo de participante do processo de transgenia createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: pais: description: País type: object required: – codigo – descricao properties: id: type: string format: uuid description: ID do país codigo: type: string maxLength: 4 description: Código do pais descricao: type: string maxLength: 150 description: Nome do país createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: estado: description: Estado type: object required: – codigo – descricao – abreviatura – pais properties: id: type: string format: uuid description: Id do estado codigo: type: string maxLength: 2 description: Código do estado descricao: type: string maxLength: 20 description: Nome do estado abreviatura: type: string maxLength: 5 description: Sigla do estado pais: type: object allOf: – #/definitions/pais description: País createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: cidade: description: Cidade type: object required: – codigo – descricao – estado properties: id: type: string format: uuid description: Id da cidade codigo: type: string maxLength: 7 description: Código da cidade descricao: type: string maxLength: 60 description: Nome da cidade estado: type: object allOf: – #/definitions/estado description: Estado createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: pessoaEndereco: description: Pessoa Endereço type: object required: – codigo – pessoa – cep – endereco – situacao properties: id: type: string format: uuid description: Id do endereço codigo: type: integer format: int64 description: Código do endereço pessoa: type: object allOf: – #/definitions/pessoa description: Pessoa cep: type: string maxLength: 20 description: CEP endereco: type: string maxLength: 100 description: Endereco numero: type: string maxLength: 60 description: Número complemento: type: string maxLength: 200 description: Complemento cidade: type: object allOf: – #/definitions/cidade description: Cidade telefone: type: string maxLength: 20 description: Telefone bairro: type: string maxLength: 75 description: Bairro situacao: type: string allOf: – #/definitions/situacaoEnderecoPessoa description: Situação padrao: type: boolean description: Endereço padrão origem: type: boolean description: Endereço de origem cobranca: type: boolean description: Endereço de cobrança entrega: type: boolean description: Endereço de entrega createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: filial: description: Filial type: object required: – codigo – nome – empresa properties: id: type: string format: uuid description: ID da filial codigo: type: integer format: int64 description: Código da filial nome: type: string maxLength: 100 description: Nome empresa: type: object allOf: – #/definitions/empresa description: Empresa pessoa: type: object allOf: – #/definitions/pessoa description: Pessoa endereco: type: object allOf: – #/definitions/pessoaEndereco description: Endereço da filial createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: transportadora: description: Transportadora type: object required: – codigo – pessoa – endereco – situacao properties: id: type: string format: uuid description: ID codigo: type: integer format: int64 description: Código da transportadora placaVeiculo: type: string maxLength: 20 description: Placa do veículo pessoa: type: object allOf: – #/definitions/pessoa description: Dados da passoa endereco: type: object allOf: – #/definitions/pessoaEndereco description: Endereço situacao: type: string allOf: – #/definitions/situacaoPessoa description: Situação da transportadora createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: produto: description: Produto (SKU) type: object required: – empresa – unidadeMedida – codigo – descricao – descricaoComplementar – tipo – situacao – produtoMisto – comprado properties: id: type: string format: uuid description: Id do Produto empresa: type: object allOf: – #/definitions/empresa description: Empresa do Produto unidadeMedida: type: object allOf: – #/definitions/unidadeMedida description: Unidade de Medida do Produto codigo: type: string maxLength: 23 description: Código do Produto descricao: type: string maxLength: 100 description: Descrição do Produto descricaoComplementar: type: string maxLength: 150 description: Descrição complementar do Produto tipo: type: string allOf: – #/definitions/tipoProduto description: Tipo do Produto situacao: type: string allOf: – #/definitions/situacao description: Situação do Produto produtoMisto: type: boolean description: Indica se Produto é Produto Misto comprado: type: boolean description: Indica se é Produto Comprado unidadeMedidaAgroG5: type: object allOf: – #/definitions/unidadeMedida description: Unidade de Medida Agro G5 royalty: type: object allOf: – #/definitions/royalty description: Royalties do Produto familia: type: object allOf: – #/definitions/familiaProduto description: Família do Produto createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: derivacao: description: Derivação Produto type: object required: – codigo – descricao – empresa – produto – situacao properties: id: type: string format: uuid description: Id da derivação codigo: type: string maxLength: 7 description: Código da derivação descricao: type: string description: Descrição empresa: type: object allOf: – #/definitions/empresa description: Empresa produto: type: object allOf: – #/definitions/produto description: Produto situacao: type: string allOf: – #/definitions/situacao description: Situação da derivação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: unidadeMedida: description: Unidade de Medida type: object required: – codigo – descricao – quantidadeDecimais properties: id: type: string format: uuid description: Id da Unidade de Medida codigo: type: string maxLength: 3 description: Código da Unidade descricao: type: string maxLength: 100 description: Descrição de Unidade de Medida quantidadeDecimais: type: integer format: int64 description: Quantidade de decimais createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: royalty: description: Entidade de Royalties type: object required: – empresa – codigo – descricao properties: id: type: string format: uuid description: Id da Royalties empresa: type: object allOf: – #/definitions/empresa description: Empresa vinculada codigo: type: integer format: int64 description: Código da Royalties descricao: type: string description: Descrição da Royalties createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: familiaProduto: description: Familia Produto type: object required: – empresa – codigo – descricao – situacao properties: id: type: string format: uuid description: Id da Família Produto empresa: type: object allOf: – #/definitions/empresa description: Empresa codigo: type: string description: Código da família produto descricao: type: string description: Descrição da família produto situacao: type: string allOf: – #/definitions/situacao description: Situação da familia produto createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: safra: description: Safra type: object required: – codigo – descricao – empresa – situacao properties: id: type: string format: uuid description: Id da Safra codigo: type: string maxLength: 10 description: Código da Safra descricao: type: string maxLength: 100 description: Descrição da Safra empresa: type: object allOf: – #/definitions/empresa description: Empresa da Safra competenciaInicial: type: string format: date description: Competência inicial da Safra competenciaFinal: type: string format: date description: Competência final da Safra situacao: type: string allOf: – #/definitions/situacao description: Situação da Safra createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: transgenia: description: Entidade de Transgenia type: object required: – empresa – codigo – descricao – situacao properties: id: type: string format: uuid description: Id da transgenia empresa: type: object allOf: – #/definitions/empresa description: Empresa vínculada codigo: type: string maxLength: 10 description: Código da transgenia descricao: type: string maxLength: 50 description: Descrição da transgenia royalty: type: object allOf: – #/definitions/royalty description: Entidade de royalties situacao: type: string allOf: – #/definitions/situacao description: Situação da transgenia tipoParticipante: type: string allOf: – #/definitions/tipoParticipanteTransgenia description: Tipo do participante do processo de Transgenia createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: pedidoVenda: description: Pedido de Venda type: object required: – empresa – pessoa – filial – numero – dataEmissao – situacaoPedido properties: id: type: string format: uuid description: Id do Pedido de Venda empresa: type: object allOf: – #/definitions/empresa description: Empresa do Pedido de Venda pessoa: type: object allOf: – #/definitions/pessoa description: Pessoa vinculada ao contrato filial: type: object allOf: – #/definitions/filial description: Filial do Pedido de Venda numero: type: integer format: int64 description: Número do Pedido de Venda tipoPedido: type: string allOf: – #/definitions/tipoPedido description: Tipo do Pedido de Venda dataEmissao: type: string format: date description: Data de emissão do Pedido de Venda situacaoPedido: type: string allOf: – #/definitions/situacaoPedido description: Situação do Pedido de Venda safra: type: object allOf: – #/definitions/safra description: Safra do Pedido de Venda itens: type: array items: type: object allOf: – #/definitions/pedidoVendaItem description: Itens do pedido venda createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: pedidoVendaItem: description: Item do Pedido de Venda type: object required: – sequencia – produto – quantidadePedida properties: id: type: string format: uuid description: Id do Item do Pedido de Venda pedidoVenda: type: object allOf: – #/definitions/pedidoVenda description: Pedido de Venda sequencia: type: integer format: int64 description: Sequência produto: type: object allOf: – #/definitions/produto description: Produto quantidadePedida: type: number format: double description: Quantidade Pedida quantidadeCancelada: type: number format: double description: Quantidade Cancelada quantidadeAberta: type: number format: double description: Quantidade aberta createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: contratoCompra: description: Contrato de compra type: object required: – empresa – pessoa – filial – numero – situacao – dataEmissao properties: id: type: string format: uuid description: id empresa: type: object allOf: – #/definitions/empresa description: Empresa vínculada pessoa: type: object allOf: – #/definitions/pessoa description: Pessoa vinculada ao contrato filial: type: object allOf: – #/definitions/filial description: Filial numero: type: integer format: int64 description: Número situacao: type: string allOf: – #/definitions/situacao description: Situação numeroAprovacao: type: integer format: int64 description: Número de aprovação situacaoAprovacao: type: string allOf: – #/definitions/situacaoAprovacao description: Situação de Aprovação dataEmissao: type: string format: date description: Data de emissão safra: type: object allOf: – #/definitions/safra description: Safra contratoPrioritario: type: boolean description: Contrato Prioritario dataInicioVigencia: type: string format: date description: Data de início de vigência dataFimVigencia: type: string format: date description: Data final de vigência baixaGrupo: type: boolean description: Baixa contrato por grupo de empresa saldoContrato: type: boolean description: Indicativo se o sistema irá baixar o saldo do contrato de compra itens: type: array items: type: object allOf: – #/definitions/contratoCompraItem description: Itens do contrato createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: contratoCompraItem: description: Item do contrato de compra type: object required: – sequencia – situacao – quantidadeContratada – dataCompetencia properties: id: type: string format: uuid description: id contrato: type: object allOf: – #/definitions/contratoCompra description: Contrato de compra do item sequencia: type: integer format: int64 description: Sequência sku: type: object allOf: – #/definitions/produto description: Sku situacao: type: string allOf: – #/definitions/situacao description: Situação quantidadeContratada: type: number format: double description: Quantidade Contratada quantidadeUtilizada: type: number format: double description: Quantidade Utilizada quantidadeEncerrada: type: number format: double description: Quantidade Encerrada dataCompetencia: type: string format: date description: Data de competêcia createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: contratoCompraItemFornecedor: description: Contrato compra item fornecedor type: object required: – pessoa properties: id: type: string format: uuid description: id contratoCompraItem: type: object allOf: – #/definitions/contratoCompraItem description: Item do contrato de compra pessoa: type: object allOf: – #/definitions/pessoa description: Fornecedor vínculado createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: ordemCompra: description: Ordem de compra ERP type: object required: – codigo – empresa – filial properties: id: type: string format: uuid description: id codigo: type: string description: Codigo ordem compra empresa: type: object allOf: – #/definitions/empresa description: Empresa filial: type: object allOf: – #/definitions/filial description: Filial pessoa: type: object allOf: – #/definitions/pessoa description: Pessoa vinculada a ordem de compra itens: type: array items: type: object allOf: – #/definitions/ordemCompraItem description: Itens do contrato createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: ordemCompraItem: description: Item da ordem de compra type: object required: – sequencia properties: id: type: string format: uuid description: Id sequencia: type: integer format: int64 description: Sequência do item no contrato quantidadeAberta: type: number format: double description: Quantidade em aberto do produto da ordem de compra quantidadeCancelada: type: number format: double description: Quantidade cancelada do produto da ordem de compra quantidadeFornecedor: type: number format: double description: Quantidade da ordem de compra na unidade de medida do fornecedor quantidadeOriginal: type: number format: double description: Quantidade original do item de produto da ordem de compra quantidadeProduto: type: number format: double description: Quantidade do produto da ordem de compra quantidadeRecebida: type: number format: double description: Quantidade recebida do produto da ordem de compra ordemCompra: type: object allOf: – #/definitions/ordemCompra description: Ordem de compra do item createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: recebimento: description: Representa dados do recebimento vinculados ao agendameto type: object required: – filial – fornecedor – produto – origemMercadoria – tipoNotaFiscal – agenda properties: id: type: string format: uuid description: ID do recebimento filial: type: object allOf: – #/definitions/filial description: Filial do recebimento fornecedor: type: object allOf: – #/definitions/pessoa description: Fornecedor produto: type: object allOf: – #/definitions/produto description: Produto transportadora: type: object allOf: – #/definitions/transportadora description: Transportadora derivacao: type: object allOf: – #/definitions/derivacao description: Derivação do Produto contratos: type: array items: type: object allOf: – #/definitions/contratoRecebimento description: Contrato de Compra origemMercadoria: type: object allOf: – #/definitions/pessoaEndereco description: Origem da mercadoria do fornecedor tipoNotaFiscal: type: string allOf: – #/definitions/tipoNotaFiscal description: Tipo de pessoa da nota fiscal agenda: type: object allOf: – #/definitions/agenda description: Agenda ao qual o recebimento está viculado chaveNotaFiscal: type: string description: Chave da nota fiscal numeroNotaFiscal: type: string description: Número da nota fiscal serieNotaFiscal: type: string description: Série da nota fiscal transgenia: type: object allOf: – #/definitions/transgenia description: Transgenia createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: devolucao: description: Representa dados do recebimento vinculados ao agendameto type: object required: – filial – fornecedor – produto – derivacao – origemMercadoria – transportadora – agenda properties: id: type: string format: uuid description: Identificador filial: type: object allOf: – #/definitions/filial description: Filial fornecedor: type: object allOf: – #/definitions/pessoa description: Fornecedor produto: type: object allOf: – #/definitions/produto description: Produto derivacao: type: object allOf: – #/definitions/derivacao description: Derivação do produto origemMercadoria: type: object allOf: – #/definitions/pessoaEndereco description: Origem da mercadoria do fornecedor transportadora: type: object allOf: – #/definitions/transportadora description: Transportadora agenda: type: object allOf: – #/definitions/agenda description: Agenda ao qual a devolução está viculada chaveNotaFiscal: type: string description: Chave da nota fiscal numeroNotaFiscal: type: string description: Número da nota fiscal serieNotaFiscal: type: string description: Série da nota fiscal numeroNotaFiscalProdutor: type: string description: Número da nota fiscal serieNotaFiscalProdutor: type: string description: Série da nota fiscal createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: contratoRecebimento: description: Representa um contrato para recebimento type: object required: – contrato properties: id: type: string format: uuid description: Identificador único recebimento: type: object allOf: – #/definitions/recebimento description: Recebimento contrato: type: object allOf: – #/definitions/contratoCompra description: Contrato de compra vinculado ao recebimento itens: type: array items: type: object allOf: – #/definitions/contratoRecebimentoItem description: Itens do contrato createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: contratoRecebimentoItem: description: Representa um item do contrato para recebimento type: object required: – item – quantidade properties: id: type: string format: uuid description: Identificador único contrato: type: object allOf: – #/definitions/contratoRecebimento description: Contrato para recebimento item: type: object allOf: – #/definitions/contratoCompraItem description: Item do contrato de compra quantidade: type: number format: double description: Quantidade utilizada createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: expedicao: description: Representa dados da expedição vinculados ao agendameto type: object required: – clienteFaturamento – filial – pedidos – agenda properties: id: type: string format: uuid description: ID da expedição clienteFaturamento: type: object allOf: – #/definitions/pessoa description: Cliente de faturamento clienteRemessa: type: object allOf: – #/definitions/pessoa description: Cliente de remessa filial: type: object allOf: – #/definitions/filial description: Filial transportadora: type: object allOf: – #/definitions/transportadora description: Transportadora pedidos: type: array items: type: object allOf: – #/definitions/ordemVenda minimum: 1 description: Pedidos de venda numeroAgendamentoCliente: type: string description: Código de agendamento da Petrobrás agenda: type: object allOf: – #/definitions/agenda description: Agenda ao qual a expedição está vinculada createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: ordemVenda: description: Representa uma ordem de venda ou pedido de venda para uma determinada expedição type: object required: – pedidoVenda – itens properties: id: type: string format: uuid description: Identificador único expedicao: type: object allOf: – #/definitions/expedicao description: Expedição em que o pedido está vinculado pedidoVenda: type: object allOf: – #/definitions/pedidoVenda description: Pedido de venda cadastrada pelo ERP itens: type: array items: type: object allOf: – #/definitions/ordemVendaItem minimum: 1 description: Itens que serão expedidos createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: ordemVendaItem: description: Representa um item de pedido de venda type: object required: – item – quantidade properties: id: type: string format: uuid description: Identificador único pedido: type: object allOf: – #/definitions/ordemVenda description: Pedido ao qual o item está vinculado item: type: object allOf: – #/definitions/pedidoVendaItem description: Item de venda cadastrada pelo ERP quantidade: type: number format: double description: Quantidade do item que será expedido numeroPedidoCliente: type: string description: Número pedido cliente itemPedidoCliente: type: string description: Item pedido cliente createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: recebimentoOrdemCompra: description: Ordem de compra de recebimento type: object required: – empresa – filial – fornecedor – agenda properties: id: type: string format: uuid description: Identificador empresa: type: object allOf: – #/definitions/empresa description: Empresa filial: type: object allOf: – #/definitions/filial description: Filial fornecedor: type: object allOf: – #/definitions/pessoa description: Fornecedor origemMercadoria: type: object allOf: – #/definitions/pessoaEndereco description: Origem da Mercadoria produto: type: object allOf: – #/definitions/produto description: Produto derivacao: type: object allOf: – #/definitions/derivacao description: Derivação transportadora: type: object allOf: – #/definitions/transportadora description: Transportadora safra: type: object allOf: – #/definitions/safra description: Safra ordemCompra: type: object allOf: – #/definitions/ordemCompra description: Ordem de Compra agenda: type: object allOf: – #/definitions/agenda description: Agenda serieNotaFiscal: type: string description: Série da Nota Fiscal numeroNotaFiscal: type: string description: Número da Nota Fiscal chaveNotaFiscal: type: string description: Chave da Nota Fiscal createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: processoCancelado: description: Representa um processo de execução que foi cancelado type: object required: – execucaoCircuito – agenda properties: id: type: string format: uuid description: Identificador execucaoCircuito: type: string format: uuid description: Id da execução circuito agenda: type: object allOf: – #/definitions/agenda description: Agenda do processo cancelado createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: processoErpFinalizado: description: Representa um processo no ERP que foi conluído type: object required: – execucaoCircuito – processo – retorno properties: id: type: string format: uuid description: Identificador execucaoCircuito: type: string format: uuid description: Id da execução circuito processo: type: string allOf: – #/definitions/processoErp description: Processo do ERP retorno: type: string allOf: – #/definitions/tipoRetorno description: Tipo de retorno do ERP createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: logIntegracao: description: Logger de integrações type: object required: – id – nome – entradaEm – saidaEm – entrada – saida properties: id: type: string format: uuid description: Id do evento nome: type: string maxLength: 255 description: Nome do endpoint entradaEm: type: string format: date-time description: Data de entrada saidaEm: type: string format: date-time description: Data de saída entrada: type: string description: Parâmetros de entrada saida: type: string description: Parâmetros de saída stackTrace: type: string description: Resposta com erro createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: filialProdutoTipoAgendamento: description: Ligação de filial x Produto x Tipo de agendamento type: object required: – filial – produto – tipoAgendamento properties: id: type: string format: uuid description: Id do registro filial: type: object allOf: – #/definitions/filial description: Filial da ligação produto: type: object allOf: – #/definitions/produto description: Produto da ligação tipoAgendamento: type: object allOf: – #/definitions/tipoAgendamento description: Tipo de agendamento da ligação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: agenda: description: Agenda, replicada do serviço yms.agenda type: object required: – id – codigo – descricao properties: id: type: string format: uuid description: ID da agenda codigo: type: integer format: int64 description: Código da agenda descricao: type: string description: Descrição do agendamento motorista: type: object allOf: – #/definitions/motorista description: Motorista do agendamento veiculo: type: object allOf: – #/definitions/composicaoVeiculo description: Composição veículo do agendamento createdByPatio: type: boolean description: Indica se a agenda foi criada pelo serviço patio default: false createdByErp: type: boolean description: Indica se a agenda foi criada pelo serviço ERP default: false createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: veiculo: description: Veículo, replicado do serviço yms.patio type: object required: – id – descricao – placa properties: id: type: string format: uuid description: ID do veículo descricao: type: string description: Descricão do veículo placa: type: string description: Placa do veículo createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: composicaoVeiculo: description: Composição de veículos, replicado do serviço yms.patio type: object required: – id – descricao – primario properties: id: type: string format: uuid description: ID da composição descricao: type: string description: Descrição da composicao primario: type: object allOf: – #/definitions/veiculo description: Veículo primário createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: motorista: description: Motorista, replicado do serviço yms.patio type: object required: – id – nome properties: id: type: string format: uuid description: ID do motorista nome: type: string description: Nome do motorista cpf: type: string description: CPF do motorista createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: grupoEmpresa: description: Grupo de empresas type: object required: – codigo properties: id: type: string format: uuid description: Id Empresa codigo: type: integer format: int64 description: Código do grupo nome: type: string maxLength: 100 description: Nome do grupo sigla: type: string maxLength: 10 description: Sigla do grupo createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: tipoAgendamento: description: Tipo de Agendamento type: object required: – codigo – descricao – tipoAtividade properties: id: type: string format: uuid description: uuid codigo: type: string description: Código Identificador do Tipo de Agendamento descricao: type: string description: Descrição do Tipo Agendamento ativo: type: boolean description: Indica se o Tipo de Agendamento está ativo tipoAtividade: type: string allOf: – #/definitions/tipoAtividadeTipoAgedamento description: Define se o Tipo de Agendamento é de Carregamento ou Descarregamento bloqueio: type: boolean description: Indica o bloqueio do Tipo de Agendamento motivo: type: string description: Motivo do bloqueio createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: notifyUserEventPayload: description: Represents a regular user event notification payload discriminator: _discriminator type: object required: – notificationKind – notificationPriority – notificationSubject – notificationContent – sourceDomain – sourceService – destinationUser – _discriminator properties: notificationClass: type: string description: Class of notification notificationOrigin: type: string description: Origin of notification. Free text. Optional. notificationKind: type: string allOf: – #/definitions/userNotificationKind description: Notification kind. notificationPriority: type: string allOf: – #/definitions/userNotificationPriority description: Notification priority. notificationSubject: type: string description: Notification subject. notificationContent: type: string description: Notification content. sourceDomain: type: string description: Domain that generates the notification. sourceService: type: string description: Service that generates the notification. destinationUser: type: string description: Username of the destination user. link: type: string description: Notification link _discriminator: type: string description: emailNotifyUserEventPayload: description: Represents an email notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – from properties: from: type: string description: Email sender address sendTo: type: array items: type: string description: Additional recipients to send the email to format: type: string allOf: – #/definitions/eventEmailFormat description: Email format pushNotifyUserEventPayload: description: Represents a push notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – applicationId properties: applicationId: type: string description: Apple/Google application id blobReference: description: Default blob reference type. Every service defines its own. type: object required: – targetObjectId properties: domainName: type: string description: The domain the blob belongs to. serviceName: type: string description: The service the blob belongs to. targetObjectId: type: string description: The basic id of the blob. targetCopyId: type: string description: The id of the blob copy. basicErrorPayload: description: Default error payload type. Every service defines its own. type: object properties: message: type: string description: The user-facing error message, if any. errorCode: type: string description: The program-accessible (and service-specific) error code. importError: description: type: object required: – errorType – lineNumber – bean – message – exceptionClass properties: errorType: type: string allOf: – #/definitions/errorType description: lineNumber: type: integer format: int64 description: bean: type: string description: message: type: string description: exceptionClass: type: string description: fielddto: description: type: object required: – id – name – fieldType properties: id: type: integer format: int64 description: name: type: string description: fieldType: type: string allOf: – #/definitions/fieldType description: start: type: integer format: int64 description: size: type: integer format: int64 description: maskPattern: type: string description: hookdto: description: type: object required: – hookFunction – script properties: hookFunction: type: string allOf: – #/definitions/hookFunction description: script: type: string description: layoutdto: description: type: object required: – id – description – fileFormat – errorStrategy – skipLines – fields properties: id: type: integer format: int64 description: description: type: string description: fileFormat: type: string allOf: – #/definitions/fileFormat description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: delimiter: type: string description: skipLines: type: integer format: int64 description: fields: type: array items: type: object allOf: – #/definitions/fielddto minimum: 1 description: hooks: type: array items: type: object allOf: – #/definitions/hookdto description: importReport: description: type: object required: – id – startTime – endTime – uri – beanClass – serviceClass – layout – sucessCount – errorsCount – filteredCount – skippedCount properties: id: type: string description: startTime: type: string format: date-time description: endTime: type: string format: date-time description: uri: type: string description: beanClass: type: string description: serviceClass: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: sucessCount: type: integer format: int64 description: errorsCount: type: integer format: int64 description: filteredCount: type: integer format: int64 description: skippedCount: type: integer format: int64 description: importErrors: type: array items: type: object allOf: – #/definitions/importError description: exportEventStatus: description: type: object required: – importerId – eventType – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: recordCount: type: integer format: int64 description: importEventStatus: description: type: object required: – importerId – eventType – status – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: status: type: string allOf: – #/definitions/status description: errorMessage: type: string description: recordCount: type: integer format: int64 description: importReport: type: object allOf: – #/definitions/importReport description: exportConfig: description: type: object required: – uri – layout – async – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: errorStrategy: type: string description: importConfig: description: type: object required: – uri – layout – async – batchSize – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: batchSize: type: integer format: int64 description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: dependency: description: Represents a service dependency type: object required: – domain – service – version properties: domain: type: string description: Domain of the dependency service service: type: string description: Name of the dependency service type: string description: Version of the dependency service genericError: properties: message: type: string description: Messaging describing the error. reason: type: string description: A symbolic code identifying the category of the reason of the error. enum: – BAD_REQUEST – UNAUTHORIZED – PAYMENT_REQUIRED – FORBIDDEN – OBJECT_NOT_FOUND – REQUEST_TIMEOUT – GONE – UNPROCESSABLE – INTERNAL_ERROR – NOT_IMPLEMENTED – SERVICE_UNAVAILABLE – INSUFFICIENT_STORAGE

Este artigo foi útil para você?

Leave A Comment