2.0info: 4.6.0 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: https://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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/queries/pesquisarDocumentoValidaNotaEmUso: post: description: Verifica se chave da nota fiscal está sendo utilizado em outra agenda e chama endpoint pesquisarDocumento 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Verifica se chave da nota fiscal está sendo utilizado em outra agenda e chama endpoint pesquisarDocumento 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/queries/pesquisarContratosCompra: post: description: Filtrar contratos de compra tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – filialId – tipoAgendamentoId 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 filialId: type: string maxLength: 36 description: Id da filial tipoAgendamentoId: type: string maxLength: 36 description: Id do tipo de agendamento filialContrato: type: integer format: int64 description: Código da filial do contrato numero: type: integer format: int64 description: Número do contrato dataEmissao: type: string format: date description: Data de emissão contratosSelecionados: type: array items: type: string description: Lista de ids dos contratos já selecionados 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/queries/pesquisarItensContratoCompra: post: description: Filtrar itens de contratos de compra tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – contratoId – filialId – tipoAgendamentoId properties: contratoId: type: string maxLength: 36 description: Id do contrato sequencia: type: integer format: int64 description: Sequencia do item do contrato filialId: type: string maxLength: 36 description: Id da filial tipoAgendamentoId: type: string maxLength: 36 description: Tipo de agendamento 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/recItemContratoCompra minimum: 1 description: Lista de retorno contendo os itens de contrato de compra totalElements: type: integer format: int64 description: Número de elementos obtidos na pesquisa 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/queries/pesquisarOrdensCompra: post: description: Filtrar ordens de compra tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – filialId – tipoAgendamentoId properties: pessoaId: type: string maxLength: 36 description: Id da Pessoa 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 filialOrdemCompra: type: integer format: int64 description: Código da filial do contrato codigo: type: string description: Código da ordem ordensSelecionados: type: array items: type: string description: Lista de ids das ordens já selecionadas 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/recOrdemCompra minimum: 1 description: Lista de retorno contendo os ordens de compra totalElements: type: integer format: int64 description: Número de elementos obtidos na pesquisa 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/queries/pesquisarPedidosVenda: post: description: Filtrar pedidos de venda tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – filialId – tipoAgendamentoId properties: pessoaId: type: string maxLength: 36 description: Id da Pessoa filialId: type: string maxLength: 36 description: Id da filial tipoAgendamentoId: type: string maxLength: 36 description: Id do tipo de agendamento filialPedido: type: integer format: int64 description: Código da filial do pedido numero: type: integer format: int64 description: Número do pedido pedidosSelecionados: type: array items: type: string description: Lista de Ids de pedidos já selecionados 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/recPedidoVenda minimum: 1 description: Lista de retorno contendo os pedidos de venda totalElements: type: integer format: int64 description: Número de elementos obtidos na pesquisa 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/queries/pesquisarItensPedidoVenda: post: description: Filtrar itens de pedido de venda tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – pedidoId – filialId – tipoAgendamentoId properties: pedidoId: type: string maxLength: 36 description: Id do pedido sequencia: type: integer format: int64 description: Sequencia do item do pedido filialId: type: string maxLength: 36 description: Id da filial tipoAgendamentoId: type: string maxLength: 36 description: Id do tipo de agendamento 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/recItemPedidoVenda minimum: 1 description: Lista de retorno contendo os itens de pedido de venda totalElements: type: integer format: int64 description: Número de elementos obtidos na pesquisa 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/queries/healthcheck: post: description: Verificação disponibilidade do serviço tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/serviceHealthStatus description: Status do serviço checks: type: array items: type: object allOf: – #/definitions/checkData minimum: 1 description: Verificações para assegurar o status 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Verificação disponibilidade do serviço tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/serviceHealthStatus description: Status do serviço checks: type: array items: type: object allOf: – #/definitions/checkData minimum: 1 description: Verificações para assegurar o status 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: metadataFormat description: in: query type: string responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/queries/exportRecebimentoContrato: 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/queries/exportProcessoAvulso: 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/queries/exportVeiculoErp: 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/queries/exportMotoristaErp: 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PUBLIC responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /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/recebimentoContrato 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/actions/registrarChegadaDeVeiculoComProcessoAvulso: post: description: Operação para chegada de veículo em um processo avulso tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processoAvulso – circuito – sequenciaInicial properties: processoAvulso: type: object allOf: – #/definitions/processoAvulso description: Dados do processo avulso 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 – produto – fornecedores properties: agendamento: type: object allOf: – #/definitions/agendamento description: Dados dos agendamento empresa: type: string description: Código da empresa filial: type: integer format: int64 description: Código da filial produto: type: string description: Código do produto derivacao: type: string description: Código de derivação do produto transportadora: type: integer format: int64 description: Código da transportadora transgenia: type: string description: Código da Transgenia fornecedores: type: array items: type: object allOf: – #/definitions/recebimentoContratoFornecedorInput minimum: 1 description: Lista de fornecedores 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/recebimentoContrato description: Recebimento criado 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 – empresa – filial – produto – derivacao properties: agendamento: type: object allOf: – #/definitions/agendamento description: Dados dos agendamento empresa: type: string description: Código da empresa filial: type: integer format: int64 description: Código da filial produto: type: string description: Código do produto derivacao: type: string description: Código de derivação do produto safra: type: string description: Safra transportadora: type: integer format: int64 description: Codigo da Transportadora fornecedores: type: array items: type: object allOf: – #/definitions/recebimentoOrdemCompraFornecedorInput description: Fornecedores do recebimento por ordem de compra 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/actions/atualizarNotasRecebimento: post: description: Atualizar as notas vinculadas ao recebimento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agendaId – fornecedores properties: agendaId: type: string description: Id da agenda fornecedores: type: array items: type: object allOf: – #/definitions/recebimentoFornecedorInput minimum: 1 description: Fornecedores do recebimento responses: 200: description: Ok schema: type: object properties: recebimentoContrato: type: string description: Id do recebimento por contrato atualizado recebimentoOrdemCompra: type: string description: Id do recebimento por ordem de compra atualizado 401: description: Invalid Credentials 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 Com efeito, o YMS não enviará mais para o ERP os pesos capturados pelo YMS. 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/actions/requisicaoCancelamentoAgenda: post: description: Cancela um agendamento no erp , caso possível tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agendaId – execucaoCircuitoId properties: agendaId: type: string description: ID ou código da agenda que deverá ser cancelada execucaoCircuitoId: type: string description: ID ou código da execução circuito que deverá ser cancelada responses: 200: description: Ok schema: type: object required: – situacaoCancelamento properties: situacaoCancelamento: type: boolean description: Retorna se cancelou agendamento no erp 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/actions/validarEixos: post: description: Valida a quantidade de eixos contratados da agenda comparando com a quantidade de eixos da composição de veículo selecionada tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agendaId properties: agendaId: type: string description: ID do agendamento responses: 200: description: Ok schema: type: object required: – aprovado properties: aprovado: type: boolean description: Resultado da validação messages: type: string format: byte description: Mensagens de retorno da validação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/actions/validarTransportadora: post: description: Valida se a transportadora foi informada na agenda tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agendaId properties: agendaId: type: string description: ID do agendamento responses: 200: description: Ok schema: type: object required: – aprovado properties: aprovado: type: boolean description: Resultado da validação messages: type: string format: byte description: Mensagens de retorno da validação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/actions/validarTransgenia: post: description: Valida se a transgenia foi informada na agenda tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agendaId properties: agendaId: type: string description: ID do agendamento responses: 200: description: Ok schema: type: object required: – aprovado properties: aprovado: type: boolean description: Resultado da validação messages: type: string format: byte description: Mensagens de retorno da validação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/actions/validarAuditoria: post: description: Valida se os dados da agenda são válidos perante o webservice de auditoria tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agendaId properties: agendaId: type: string description: ID do agendamento responses: 200: description: Ok schema: type: object required: – aprovado properties: aprovado: type: boolean description: Resultado da validação messages: type: string format: byte description: Mensagens de retorno da validação 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/actions/importRecebimentoContrato: 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/actions/importProcessoAvulso: 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/actions/importVeiculoErp: 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/actions/importMotoristaErp: 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/signals/deleteLogsBefore: post: description: Remove os registro de logs de integração antigos tags: – Signals parameters: – name: input in: body required: true schema: type: object properties: days: type: integer format: int64 description: Número de dias atrás que serão removidos minimum: 1 default: 90 responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /erp/signals/prepare: post: description: Prepara o as cargas iniciais e replicações pré definidas no serviço tags: – Signals parameters: – name: input in: body required: true schema: type: object responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /erp/events/importEmpresaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportEmpresaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importPessoaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportPessoaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importPaisEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportPaisEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importEstadoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportEstadoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importCidadeEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportCidadeEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importPessoaEnderecoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportPessoaEnderecoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importFilialEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportFilialEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importTransportadoraEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportTransportadoraEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importProdutoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportProdutoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importDerivacaoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportDerivacaoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importUnidadeMedidaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportUnidadeMedidaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importRoyaltyEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportRoyaltyEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importFamiliaProdutoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportFamiliaProdutoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importSafraEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportSafraEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importTransgeniaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportTransgeniaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importPedidoVendaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportPedidoVendaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importPedidoVendaItemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportPedidoVendaItemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importContratoCompraEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportContratoCompraEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importContratoCompraItemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportContratoCompraItemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importContratoCompraItemFornecedorEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportContratoCompraItemFornecedorEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importOrdemCompraEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportOrdemCompraEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importOrdemCompraItemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportOrdemCompraItemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importRecebimentoContratoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportRecebimentoContratoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importRecebimentoContratoFornecedorEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportRecebimentoContratoFornecedorEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importRecebimentoContratoNotaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportRecebimentoContratoNotaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importRecebimentoContratoContratoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportRecebimentoContratoContratoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importRecebimentoContratoContratoNotaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportRecebimentoContratoContratoNotaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importRecebimentoContratoItemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportRecebimentoContratoItemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importDevolucaoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportDevolucaoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importExpedicaoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportExpedicaoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importOrdemVendaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportOrdemVendaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importOrdemVendaItemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportOrdemVendaItemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importRecebimentoOrdemCompraEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportRecebimentoOrdemCompraEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importRecebimentoOrdemCompraFornecedorEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportRecebimentoOrdemCompraFornecedorEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importRecebimentoOrdemCompraNotaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportRecebimentoOrdemCompraNotaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importRecebimentoOrdemCompraOrdemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportRecebimentoOrdemCompraOrdemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importRecebimentoOrdemCompraOrdemNotaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportRecebimentoOrdemCompraOrdemNotaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importProcessoAvulsoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportProcessoAvulsoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importProcessoCanceladoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportProcessoCanceladoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importProcessoErpFinalizadoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportProcessoErpFinalizadoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importLogIntegracaoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportLogIntegracaoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importFilialProdutoTipoAgendamentoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportFilialProdutoTipoAgendamentoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importAgendaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportAgendaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importVeiculoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportVeiculoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importVeiculoErpEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportVeiculoErpEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importComposicaoVeiculoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportComposicaoVeiculoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importMotoristaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportMotoristaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importMotoristaErpEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportMotoristaErpEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importGrupoEmpresaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportGrupoEmpresaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/importTipoAgendamentoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /erp/events/exportTipoAgendamentoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/contratoCompraItem/{parentId}/itensFornecedor: 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/contratoCompraItemFornecedor responses: 200: description: The created resources schema: type: array items: #/definitions/contratoCompraItemFornecedor 401: description: Invalid Credentials 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/contratoCompraItemFornecedor responses: 200: description: The created resources schema: type: array items: #/definitions/contratoCompraItemFornecedor 401: description: Invalid Credentials 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/contratoCompraItemFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/contratoCompraItem/{parentId}/itensFornecedor/{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/contratoCompraItemFornecedor responses: 200: description: Ok schema: #/definitions/contratoCompraItemFornecedor 401: description: Invalid Credentials 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/contratoCompraItemFornecedor responses: 200: description: Ok schema: #/definitions/contratoCompraItemFornecedor 401: description: Invalid Credentials 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/contratoCompraItemFornecedor 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContrato: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/recebimentoContrato responses: 200: description: The created resource schema: #/definitions/recebimentoContrato 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/recebimentoContrato responses: 200: description: The created resource schema: #/definitions/recebimentoContrato 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/recebimentoContrato 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContrato/{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/recebimentoContrato responses: 200: description: Ok schema: #/definitions/recebimentoContrato 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/recebimentoContrato responses: 200: description: Ok schema: #/definitions/recebimentoContrato 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/recebimentoContrato 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContrato/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/recebimentoContrato responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContratoFornecedor: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/recebimentoContratoFornecedor responses: 200: description: The created resource schema: #/definitions/recebimentoContratoFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/recebimentoContratoFornecedor responses: 200: description: The created resource schema: #/definitions/recebimentoContratoFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/recebimentoContratoFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContratoFornecedor/{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/recebimentoContratoFornecedor responses: 200: description: Ok schema: #/definitions/recebimentoContratoFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/recebimentoContratoFornecedor responses: 200: description: Ok schema: #/definitions/recebimentoContratoFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/recebimentoContratoFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContrato/{parentId}/fornecedores: 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/recebimentoContratoFornecedor responses: 200: description: The created resources schema: type: array items: #/definitions/recebimentoContratoFornecedor 401: description: Invalid Credentials 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/recebimentoContratoFornecedor responses: 200: description: The created resources schema: type: array items: #/definitions/recebimentoContratoFornecedor 401: description: Invalid Credentials 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/recebimentoContratoFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContrato/{parentId}/fornecedores/{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/recebimentoContratoFornecedor responses: 200: description: Ok schema: #/definitions/recebimentoContratoFornecedor 401: description: Invalid Credentials 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/recebimentoContratoFornecedor responses: 200: description: Ok schema: #/definitions/recebimentoContratoFornecedor 401: description: Invalid Credentials 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/recebimentoContratoFornecedor 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContratoFornecedor/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/recebimentoContratoFornecedor responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContratoNota: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/recebimentoContratoNota responses: 200: description: The created resource schema: #/definitions/recebimentoContratoNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/recebimentoContratoNota responses: 200: description: The created resource schema: #/definitions/recebimentoContratoNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/recebimentoContratoNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContratoNota/{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/recebimentoContratoNota responses: 200: description: Ok schema: #/definitions/recebimentoContratoNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/recebimentoContratoNota responses: 200: description: Ok schema: #/definitions/recebimentoContratoNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/recebimentoContratoNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContratoFornecedor/{parentId}/notas: 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/recebimentoContratoNota responses: 200: description: The created resources schema: type: array items: #/definitions/recebimentoContratoNota 401: description: Invalid Credentials 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/recebimentoContratoNota responses: 200: description: The created resources schema: type: array items: #/definitions/recebimentoContratoNota 401: description: Invalid Credentials 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/recebimentoContratoNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContratoFornecedor/{parentId}/notas/{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/recebimentoContratoNota responses: 200: description: Ok schema: #/definitions/recebimentoContratoNota 401: description: Invalid Credentials 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/recebimentoContratoNota responses: 200: description: Ok schema: #/definitions/recebimentoContratoNota 401: description: Invalid Credentials 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/recebimentoContratoNota 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContratoNota/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/recebimentoContratoNota responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContratoContrato: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/recebimentoContratoContrato responses: 200: description: The created resource schema: #/definitions/recebimentoContratoContrato 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/recebimentoContratoContrato responses: 200: description: The created resource schema: #/definitions/recebimentoContratoContrato 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/recebimentoContratoContrato 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContratoContrato/{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/recebimentoContratoContrato responses: 200: description: Ok schema: #/definitions/recebimentoContratoContrato 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/recebimentoContratoContrato responses: 200: description: Ok schema: #/definitions/recebimentoContratoContrato 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/recebimentoContratoContrato 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContratoFornecedor/{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/recebimentoContratoContrato responses: 200: description: The created resources schema: type: array items: #/definitions/recebimentoContratoContrato 401: description: Invalid Credentials 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/recebimentoContratoContrato responses: 200: description: The created resources schema: type: array items: #/definitions/recebimentoContratoContrato 401: description: Invalid Credentials 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/recebimentoContratoContrato 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContratoFornecedor/{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/recebimentoContratoContrato responses: 200: description: Ok schema: #/definitions/recebimentoContratoContrato 401: description: Invalid Credentials 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/recebimentoContratoContrato responses: 200: description: Ok schema: #/definitions/recebimentoContratoContrato 401: description: Invalid Credentials 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/recebimentoContratoContrato 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContratoContrato/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/recebimentoContratoContrato responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContratoContratoNota: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/recebimentoContratoContratoNota responses: 200: description: The created resource schema: #/definitions/recebimentoContratoContratoNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/recebimentoContratoContratoNota responses: 200: description: The created resource schema: #/definitions/recebimentoContratoContratoNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/recebimentoContratoContratoNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContratoContratoNota/{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/recebimentoContratoContratoNota responses: 200: description: Ok schema: #/definitions/recebimentoContratoContratoNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/recebimentoContratoContratoNota responses: 200: description: Ok schema: #/definitions/recebimentoContratoContratoNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/recebimentoContratoContratoNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContratoContrato/{parentId}/notas: 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/recebimentoContratoContratoNota responses: 200: description: The created resources schema: type: array items: #/definitions/recebimentoContratoContratoNota 401: description: Invalid Credentials 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/recebimentoContratoContratoNota responses: 200: description: The created resources schema: type: array items: #/definitions/recebimentoContratoContratoNota 401: description: Invalid Credentials 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/recebimentoContratoContratoNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContratoContrato/{parentId}/notas/{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/recebimentoContratoContratoNota responses: 200: description: Ok schema: #/definitions/recebimentoContratoContratoNota 401: description: Invalid Credentials 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/recebimentoContratoContratoNota responses: 200: description: Ok schema: #/definitions/recebimentoContratoContratoNota 401: description: Invalid Credentials 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/recebimentoContratoContratoNota 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContratoContratoNota/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/recebimentoContratoContratoNota responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContratoItem: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/recebimentoContratoItem responses: 200: description: The created resource schema: #/definitions/recebimentoContratoItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/recebimentoContratoItem responses: 200: description: The created resource schema: #/definitions/recebimentoContratoItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/recebimentoContratoItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContratoItem/{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/recebimentoContratoItem responses: 200: description: Ok schema: #/definitions/recebimentoContratoItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/recebimentoContratoItem responses: 200: description: Ok schema: #/definitions/recebimentoContratoItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/recebimentoContratoItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContratoContrato/{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/recebimentoContratoItem responses: 200: description: The created resources schema: type: array items: #/definitions/recebimentoContratoItem 401: description: Invalid Credentials 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/recebimentoContratoItem responses: 200: description: The created resources schema: type: array items: #/definitions/recebimentoContratoItem 401: description: Invalid Credentials 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/recebimentoContratoItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContratoContrato/{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/recebimentoContratoItem responses: 200: description: Ok schema: #/definitions/recebimentoContratoItem 401: description: Invalid Credentials 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/recebimentoContratoItem responses: 200: description: Ok schema: #/definitions/recebimentoContratoItem 401: description: Invalid Credentials 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/recebimentoContratoItem 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoContratoItem/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/recebimentoContratoItem responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/devolucao responses: 200: description: The created resource schema: #/definitions/devolucao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/devolucao 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/devolucao responses: 200: description: Ok schema: #/definitions/devolucao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/devolucao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /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 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/expedicao responses: 200: description: The created resource schema: #/definitions/expedicao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/expedicao 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/expedicao responses: 200: description: Ok schema: #/definitions/expedicao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/expedicao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /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 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/ordemVenda responses: 200: description: The created resource schema: #/definitions/ordemVenda 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/ordemVenda 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/ordemVenda responses: 200: description: Ok schema: #/definitions/ordemVenda 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/ordemVenda 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/ordemVendaItem responses: 200: description: The created resource schema: #/definitions/ordemVendaItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/ordemVendaItem 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/ordemVendaItem responses: 200: description: Ok schema: #/definitions/ordemVendaItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/ordemVendaItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/recebimentoOrdemCompra responses: 200: description: The created resource schema: #/definitions/recebimentoOrdemCompra 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/recebimentoOrdemCompra 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/recebimentoOrdemCompra responses: 200: description: Ok schema: #/definitions/recebimentoOrdemCompra 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/recebimentoOrdemCompra 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoOrdemCompraFornecedor: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/recebimentoOrdemCompraFornecedor responses: 200: description: The created resource schema: #/definitions/recebimentoOrdemCompraFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/recebimentoOrdemCompraFornecedor responses: 200: description: The created resource schema: #/definitions/recebimentoOrdemCompraFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/recebimentoOrdemCompraFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoOrdemCompraFornecedor/{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/recebimentoOrdemCompraFornecedor responses: 200: description: Ok schema: #/definitions/recebimentoOrdemCompraFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/recebimentoOrdemCompraFornecedor responses: 200: description: Ok schema: #/definitions/recebimentoOrdemCompraFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/recebimentoOrdemCompraFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoOrdemCompra/{parentId}/fornecedores: 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/recebimentoOrdemCompraFornecedor responses: 200: description: The created resources schema: type: array items: #/definitions/recebimentoOrdemCompraFornecedor 401: description: Invalid Credentials 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/recebimentoOrdemCompraFornecedor responses: 200: description: The created resources schema: type: array items: #/definitions/recebimentoOrdemCompraFornecedor 401: description: Invalid Credentials 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/recebimentoOrdemCompraFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoOrdemCompra/{parentId}/fornecedores/{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/recebimentoOrdemCompraFornecedor responses: 200: description: Ok schema: #/definitions/recebimentoOrdemCompraFornecedor 401: description: Invalid Credentials 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/recebimentoOrdemCompraFornecedor responses: 200: description: Ok schema: #/definitions/recebimentoOrdemCompraFornecedor 401: description: Invalid Credentials 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/recebimentoOrdemCompraFornecedor 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoOrdemCompraFornecedor/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/recebimentoOrdemCompraFornecedor responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoOrdemCompraNota: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/recebimentoOrdemCompraNota responses: 200: description: The created resource schema: #/definitions/recebimentoOrdemCompraNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/recebimentoOrdemCompraNota responses: 200: description: The created resource schema: #/definitions/recebimentoOrdemCompraNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/recebimentoOrdemCompraNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoOrdemCompraNota/{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/recebimentoOrdemCompraNota responses: 200: description: Ok schema: #/definitions/recebimentoOrdemCompraNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/recebimentoOrdemCompraNota responses: 200: description: Ok schema: #/definitions/recebimentoOrdemCompraNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/recebimentoOrdemCompraNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoOrdemCompraFornecedor/{parentId}/notas: 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/recebimentoOrdemCompraNota responses: 200: description: The created resources schema: type: array items: #/definitions/recebimentoOrdemCompraNota 401: description: Invalid Credentials 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/recebimentoOrdemCompraNota responses: 200: description: The created resources schema: type: array items: #/definitions/recebimentoOrdemCompraNota 401: description: Invalid Credentials 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/recebimentoOrdemCompraNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoOrdemCompraFornecedor/{parentId}/notas/{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/recebimentoOrdemCompraNota responses: 200: description: Ok schema: #/definitions/recebimentoOrdemCompraNota 401: description: Invalid Credentials 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/recebimentoOrdemCompraNota responses: 200: description: Ok schema: #/definitions/recebimentoOrdemCompraNota 401: description: Invalid Credentials 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/recebimentoOrdemCompraNota 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoOrdemCompraNota/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/recebimentoOrdemCompraNota responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoOrdemCompraOrdem: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/recebimentoOrdemCompraOrdem responses: 200: description: The created resource schema: #/definitions/recebimentoOrdemCompraOrdem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/recebimentoOrdemCompraOrdem responses: 200: description: The created resource schema: #/definitions/recebimentoOrdemCompraOrdem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/recebimentoOrdemCompraOrdem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoOrdemCompraOrdem/{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/recebimentoOrdemCompraOrdem responses: 200: description: Ok schema: #/definitions/recebimentoOrdemCompraOrdem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/recebimentoOrdemCompraOrdem responses: 200: description: Ok schema: #/definitions/recebimentoOrdemCompraOrdem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/recebimentoOrdemCompraOrdem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoOrdemCompraFornecedor/{parentId}/ordens: 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/recebimentoOrdemCompraOrdem responses: 200: description: The created resources schema: type: array items: #/definitions/recebimentoOrdemCompraOrdem 401: description: Invalid Credentials 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/recebimentoOrdemCompraOrdem responses: 200: description: The created resources schema: type: array items: #/definitions/recebimentoOrdemCompraOrdem 401: description: Invalid Credentials 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/recebimentoOrdemCompraOrdem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoOrdemCompraFornecedor/{parentId}/ordens/{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/recebimentoOrdemCompraOrdem responses: 200: description: Ok schema: #/definitions/recebimentoOrdemCompraOrdem 401: description: Invalid Credentials 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/recebimentoOrdemCompraOrdem responses: 200: description: Ok schema: #/definitions/recebimentoOrdemCompraOrdem 401: description: Invalid Credentials 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/recebimentoOrdemCompraOrdem 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoOrdemCompraOrdem/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/recebimentoOrdemCompraOrdem responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoOrdemCompraOrdemNota: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/recebimentoOrdemCompraOrdemNota responses: 200: description: The created resource schema: #/definitions/recebimentoOrdemCompraOrdemNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/recebimentoOrdemCompraOrdemNota responses: 200: description: The created resource schema: #/definitions/recebimentoOrdemCompraOrdemNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/recebimentoOrdemCompraOrdemNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoOrdemCompraOrdemNota/{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/recebimentoOrdemCompraOrdemNota responses: 200: description: Ok schema: #/definitions/recebimentoOrdemCompraOrdemNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/recebimentoOrdemCompraOrdemNota responses: 200: description: Ok schema: #/definitions/recebimentoOrdemCompraOrdemNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/recebimentoOrdemCompraOrdemNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoOrdemCompraOrdem/{parentId}/notas: 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/recebimentoOrdemCompraOrdemNota responses: 200: description: The created resources schema: type: array items: #/definitions/recebimentoOrdemCompraOrdemNota 401: description: Invalid Credentials 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/recebimentoOrdemCompraOrdemNota responses: 200: description: The created resources schema: type: array items: #/definitions/recebimentoOrdemCompraOrdemNota 401: description: Invalid Credentials 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/recebimentoOrdemCompraOrdemNota 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoOrdemCompraOrdem/{parentId}/notas/{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/recebimentoOrdemCompraOrdemNota responses: 200: description: Ok schema: #/definitions/recebimentoOrdemCompraOrdemNota 401: description: Invalid Credentials 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/recebimentoOrdemCompraOrdemNota responses: 200: description: Ok schema: #/definitions/recebimentoOrdemCompraOrdemNota 401: description: Invalid Credentials 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/recebimentoOrdemCompraOrdemNota 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/recebimentoOrdemCompraOrdemNota/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/recebimentoOrdemCompraOrdemNota responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/processoAvulso: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/processoAvulso responses: 200: description: The created resource schema: #/definitions/processoAvulso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/processoAvulso responses: 200: description: The created resource schema: #/definitions/processoAvulso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/processoAvulso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/processoAvulso/{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/processoAvulso responses: 200: description: Ok schema: #/definitions/processoAvulso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/processoAvulso responses: 200: description: Ok schema: #/definitions/processoAvulso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/processoAvulso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/processoAvulso/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/processoAvulso responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/filialProdutoTipoAgendamento responses: 200: description: The created resource schema: #/definitions/filialProdutoTipoAgendamento 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/filialProdutoTipoAgendamento 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/filialProdutoTipoAgendamento responses: 200: description: Ok schema: #/definitions/filialProdutoTipoAgendamento 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/filialProdutoTipoAgendamento 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/veiculoErp: 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/veiculoErp 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /erp/entities/motoristaErp: 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/motoristaErp 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError definitions: serviceHealthStatus: description: Define o Status do serviço type: string enum: – UP – DOWN 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 tipoPessoa: description: Enumeração que determina o tipo de pessoa type: string enum: – FISICA – JURIDICA 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 checkData: description: Dados do healthcheck type: object required: – name – status properties: name: type: string description: Nome do healthcheck status: type: string allOf: – #/definitions/serviceHealthStatus description: Status do healthcheck 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 eixos: type: integer format: int64 description: Número de eixos da composição do veículo default: 0 observacao: type: string description: Observação do agendamento chaveIntegracao: type: string description: Chave de integração vindo da G5 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 filialPedido: type: integer format: int64 description: Código da filial do pedido 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 recebimentoOrdemCompraFornecedorInput: description: Informação do fornecedor do recebimento por ordem de compra type: object required: – fornecedor – origemMercadoria properties: fornecedor: type: integer format: int64 description: Código do fornecedor origemMercadoria: type: integer format: int64 description: Código de origem da mercadoria do fornecedor ordens: type: array items: type: object allOf: – #/definitions/recebimentoOrdemCompraOrdemInput description: Lista de ordens de compra do recebimento notas: type: array items: type: object allOf: – #/definitions/recebimentoOrdemCompraNotaInput description: Lista de notas fiscais do recebimento recebimentoOrdemCompraNotaInput: description: Notas fiscais do fornecedor do recebimento por ordem de compra type: object properties: 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 recebimentoOrdemCompraOrdemInput: description: Ordens de compra do fornecedor do recebimento por ordem de compra type: object required: – filial – ordemCompra properties: empresa: type: string description: Código da empresa da ordem de compra filial: type: integer format: int64 description: Código da filial da ordem de compra ordemCompra: type: string description: Codigo da ordem Compra itens: type: array items: type: object allOf: – #/definitions/recebimentoOrdemCompraItemInput description: Itens da ordem de compra recebimentoOrdemCompraItemInput: description: Informação do item de 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 recebimentoFornecedorInput: description: Informação do fornecedor do recebimento genérico (contrato ou ordem compra). type: object required: – fornecedor – notas properties: fornecedor: type: integer format: int64 description: Código do fornecedor notas: type: array items: type: object allOf: – #/definitions/recebimentoOrdemCompraNotaInput minimum: 1 description: Lista de notas fiscais do recebimento 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 itens: type: array items: type: object allOf: – #/definitions/recItemContratoCompra description: Itens de contrato de compra 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 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 recItemContratoCompra: description: Record de item de contrato de compra type: object required: – id – sequencia – situacao – quantidadeContratada – dataCompetencia properties: id: type: string maxLength: 36 description: Id item contrato compra sequencia: type: integer format: int64 description: Sequência sku: type: object allOf: – #/definitions/recProduto 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 dataCompetencia: type: string format: date description: Data de competêcia itensFornecedor: type: array items: type: object allOf: – #/definitions/recItemFornecedorContratoCompra description: Itens de fornecedor vinculados recItemFornecedorContratoCompra: description: Record de item de fornecedor de contrato de compra type: object required: – id – pessoa properties: id: type: string maxLength: 36 description: Id item contrato compra pessoa: type: object allOf: – #/definitions/recPessoa description: Pessoa vinculada recOrdemCompra: description: Record de ordem de compra type: object required: – id – empresa – pessoa – filial – safra – codigo properties: id: type: string maxLength: 36 description: Id ordem 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 codigo: type: string description: Código da ordem recItemPedidoVenda: description: Record de item de pedido de venda type: object required: – id – sequencia properties: id: type: string maxLength: 36 description: Id item pedido venda sequencia: type: integer format: int64 description: Sequência sku: type: object allOf: – #/definitions/recProduto description: Sku recPedidoVenda: description: Record de pedido de venda type: object required: – id – pessoa – filial – numero – bloqueado properties: id: type: string maxLength: 36 description: Id pedido venda pessoa: type: object allOf: – #/definitions/recPessoa description: Pessoa vinculada filial: type: object allOf: – #/definitions/recFilial description: Filial vínculada numero: type: integer format: int64 description: Número do contrato bloqueado: type: boolean description: Pedido bloqueado recebimentoContratoFornecedorInput: description: Representa dados de um fornecedor de um contrato de recebimento type: object required: – fornecedor – origemMercadoria properties: fornecedor: type: integer format: int64 description: Código do fornecedor 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 é EMPRESA_JURIDICA contratos: type: array items: type: object allOf: – #/definitions/recebimentoContratoInput description: Lista de contratos de recebimento notas: type: array items: type: object allOf: – #/definitions/recebimentoContratoNotaInput description: Lista de notas de recebimento recebimentoContratoInput: description: Representa dados de um contrato de compra vinculado ao fornecedor do recebimento type: object required: – empresa – filial – contrato properties: empresa: type: string description: Código da empresa do contrato filial: type: integer format: int64 description: Código da filial do contrato contrato: type: integer format: int64 description: Número de contrato de compra itens: type: array items: type: object allOf: – #/definitions/recebimentoContratoItemInput description: Itens do contrato de compra recebimentoContratoItemInput: description: Representa um item do contrato para recebimento type: object required: – sequencia – quantidade properties: sequencia: type: integer format: int64 description: Sequência do item do contrato quantidade: type: number format: double description: Quantidade do item que será utilizado no recebimento recebimentoContratoNotaInput: description: Representa dados de uma nota de de recebimento type: object properties: 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 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 – familia 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 familia: type: string description: Código da família 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 – serieLegal – numero – fornecedor – origemMercadoria – tipoDocumento – itens properties: serie: type: string description: Série do documento serieLegal: type: string description: Série legal 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 – tipoPessoa 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 tipoPessoa: type: string allOf: – #/definitions/tipoPessoa description: Tipo da pessoa precadastro: type: boolean description: Pré cadastro default: false 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 – 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 inscricaoEstadual: type: string maxLength: 25 description: Informação da inscrição Estadual cnpjCpf: type: string maxLength: 16 description: CNPJ ou CPF 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 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 default: 0 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 familia: type: string description: Código da 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: 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 bloqueado: type: boolean description: Pedido bloqueado default: false 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 itensFornecedor: type: array items: type: object allOf: – #/definitions/contratoCompraItemFornecedor description: Itens de fornecedor 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 item 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 da ordem de compra 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: recebimentoContrato: description: Representa dados do recebimento vinculados ao agendameto type: object required: – filial – produto – agenda properties: id: type: string format: uuid description: ID do recebimento filial: type: object allOf: – #/definitions/filial description: Filial do recebimento transportadora: type: object allOf: – #/definitions/transportadora description: Transportadora produto: type: object allOf: – #/definitions/produto description: Produto derivacao: type: object allOf: – #/definitions/derivacao description: Derivação do Produto transgenia: type: object allOf: – #/definitions/transgenia description: Transgenia agenda: type: object allOf: – #/definitions/agenda description: Agenda ao qual o recebimento está viculado eixos: type: integer format: int64 description: Número de eixos da composição do veículo default: 0 fornecedores: type: array items: type: object allOf: – #/definitions/recebimentoContratoFornecedor description: Fornecedores do recebimento por contrato createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: recebimentoContratoFornecedor: description: Representa dados de um fornecedor de recebimento vinculado ao agendamento type: object required: – fornecedor – origemMercadoria – tipoNotaFiscal properties: id: type: string format: uuid description: ID do fornecedor de recebimento recebimento: type: object allOf: – #/definitions/recebimentoContrato description: ID do recebimento fornecedor: type: object allOf: – #/definitions/pessoa description: Fornecedor 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 contratos: type: array items: type: object allOf: – #/definitions/recebimentoContratoContrato description: Lista de contratos de recebimento notas: type: array items: type: object allOf: – #/definitions/recebimentoContratoNota description: Lista de notas de recebimento createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: recebimentoContratoNota: description: Representa uma nota para recebimento por contrato type: object properties: id: type: string format: uuid description: ID da nota de recebimento fornecedor: type: object allOf: – #/definitions/recebimentoContratoFornecedor description: ID do fornecedor do recebimento 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 createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: recebimentoContratoContrato: description: Representa contratos de compra para um recebimento por contrato type: object required: – contrato properties: id: type: string format: uuid description: ID fornecedor: type: object allOf: – #/definitions/recebimentoContratoFornecedor description: ID do fornecedor do recebimento contrato: type: object allOf: – #/definitions/contratoCompra description: Contrato de compra do recebimento itens: type: array items: type: object allOf: – #/definitions/recebimentoContratoItem description: Itens do contrato de compra do recebimento notas: type: array items: type: object allOf: – #/definitions/recebimentoContratoContratoNota description: Notas do contrato de compra do recebimento createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: recebimentoContratoContratoNota: description: Representa uma nota para recebimento por contrato multinotas type: object properties: id: type: string format: uuid description: ID da nota de recebimento fornecedor: type: object allOf: – #/definitions/recebimentoContratoFornecedor description: ID do fornecedor do recebimento contrato: type: object allOf: – #/definitions/recebimentoContratoContrato description: ID do contrato 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 serieLegalNotaFiscal: type: string description: Série legal 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: recebimentoContratoItem: description: Representa um item do contrato para recebimento type: object required: – item – quantidade properties: id: type: string format: uuid description: ID do item de contrato de recebimento contrato: type: object allOf: – #/definitions/recebimentoContratoContrato description: ID do recebimento_fornecedor 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: 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 eixos: type: integer format: int64 description: Número de eixos da composição do veículo default: 0 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: 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 eixos: type: integer format: int64 description: Número de eixos da composição do veículo default: 0 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: – filial – agenda properties: id: type: string format: uuid description: Identificador filial: type: object allOf: – #/definitions/filial description: Filial 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 agenda: type: object allOf: – #/definitions/agenda description: Agenda eixos: type: integer format: int64 description: Número de eixos da composição do veículo default: 0 fornecedores: type: array items: type: object allOf: – #/definitions/recebimentoOrdemCompraFornecedor description: Fornecedores do recebimento por ordem de compra createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: recebimentoOrdemCompraFornecedor: description: Fornecedores do recebimento por ordem de compra type: object required: – fornecedor properties: id: type: string format: uuid description: Identificador recebimento: type: object allOf: – #/definitions/recebimentoOrdemCompra description: Recebimento por ordem de compra fornecedor: type: object allOf: – #/definitions/pessoa description: Fornecedor origemMercadoria: type: object allOf: – #/definitions/pessoaEndereco description: Origem da Mercadoria ordens: type: array items: type: object allOf: – #/definitions/recebimentoOrdemCompraOrdem description: Ordens de compra vinculadas ao fornecedor notas: type: array items: type: object allOf: – #/definitions/recebimentoOrdemCompraNota description: Notas vinculadas ao fornecedor createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: recebimentoOrdemCompraNota: description: Notas relacionadas ao fornecedor do recebimento por ordem de compra type: object properties: id: type: string format: uuid description: Identificador fornecedor: type: object allOf: – #/definitions/recebimentoOrdemCompraFornecedor description: Fornecedor do recebimento por ordem de compra chaveNotaFiscal: type: string description: Chave da Nota Fiscal serieNotaFiscal: type: string description: Série da Nota Fiscal numeroNotaFiscal: type: string description: Número 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: recebimentoOrdemCompraOrdem: description: Representa ordens de compra para um recebimento por ordem de compra type: object required: – ordemCompra properties: id: type: string format: uuid description: Identificador fornecedor: type: object allOf: – #/definitions/recebimentoOrdemCompraFornecedor description: ID do fornecedor do recebimento ordemCompra: type: object allOf: – #/definitions/ordemCompra description: Ordem de compra do recebimento notas: type: array items: type: object allOf: – #/definitions/recebimentoOrdemCompraOrdemNota description: Notas da ordem de compra do recebimento createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: recebimentoOrdemCompraOrdemNota: description: Notas relacionadas ao fornecedor do recebimento por ordem de compra multinotas type: object properties: id: type: string format: uuid description: Identificador fornecedor: type: object allOf: – #/definitions/recebimentoOrdemCompraFornecedor description: Fornecedor do recebimento por ordem de compra ordemCompra: type: object allOf: – #/definitions/recebimentoOrdemCompraOrdem description: Ordem de compra chaveNotaFiscal: type: string description: Chave da Nota Fiscal serieNotaFiscal: type: string description: Série da Nota Fiscal numeroNotaFiscal: type: string description: Número da Nota Fiscal serieLegalNotaFiscal: type: string description: Série legal 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: processoAvulso: description: Representa dados de um processo avulso type: object required: – filial – agenda properties: id: type: string format: uuid description: Identificador filial: type: object allOf: – #/definitions/filial description: Filial agenda: type: object allOf: – #/definitions/agenda description: Agenda ao qual o processo avulso está vinculada 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 – notificado 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 notificado: type: boolean description: Indica se o processo foi notificado como concluído 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 – agenda 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 agenda: type: object allOf: – #/definitions/agenda description: Agenda vinculada ao log 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 chaveIntegracao: type: string description: Chave de integração vindo da G5 observacao: type: string maxLength: 1024 description: Observação do agendamento 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 excluido: type: boolean description: Indica se o veículo foi excluído logicamente default: false createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: veiculoErp: description: veiculo, replicado do erp type: object required: – code properties: id: type: string format: uuid description: ID do veiculo code: type: string description: Código do veiculo no ERP 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 eixos: type: integer format: int64 description: Eixos default: 0 excluido: type: boolean description: Indica se a composição de veículo foi excluída logicamente default: false 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 excluido: type: boolean description: Indica se o veículo foi excluído logicamente default: false createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: motoristaErp: description: Motorista, replicado do erp type: object required: – code properties: id: type: string format: uuid description: ID do motorista code: type: string description: Código do Motorista no ERP 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