erp_agr

Comum Agronegócio

65 views 22/10/2018 07/11/2018 integrador 0

2.0info: 1.6.1 Comum Agronegócio description: Projeto comum Agronegócio x-senior-domain: ERP Agronegócio Senior X x-senior-domain-path: erp_agr x-senior-service-path: com_comum contact: name: Senior X Platform url: http://dev.senior.com.br email: seniorx-dev@senior.com.brhost: platform.senior.com.br /t/senior.com.br/bridge/1.0/rest/erp_agrsecurityDefinitions: APIKeyHeader: type: apiKey in: header name: Authorizationsecurity: – APIKeyHeader: [] – application/json – application/jsonpaths: /com_comum/queries/pesquisarEmpresa: post: description: Busca por múltiplas empresas podendo ser todas caso nenhum filtro seja informado, ou uma lista filtrada caso algum seja. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: id: type: integer format: int64 description: Id da empresa codigo: type: string maxLength: 4 description: Código da empresa texto: type: string description: Texto para busca parcial no código ou nome fantasia da empresa (não diferencia palavra maiúscula/minúscula) pagina: type: object allOf: – #/definitions/recPagina description: Paginação responses: 200: description: Ok schema: type: object required: – totalRegistros properties: empresas: type: array items: type: object allOf: – #/definitions/empresa description: Retorna lista de empresas filtrada pelos parâmetros informados totalRegistros: type: integer format: int64 description: Total de registros para paginação default: description: Error response schema: #/definitions/genericError get: description: Busca por múltiplas empresas podendo ser todas caso nenhum filtro seja informado, ou uma lista filtrada caso algum seja. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id in: query type: integer format: int64 – name: codigo in: query type: string maxLength: 4 – name: texto in: query type: string – name: pagina in: query type: object allOf: – #/definitions/recPagina responses: 200: description: Ok schema: type: object required: – totalRegistros properties: empresas: type: array items: type: object allOf: – #/definitions/empresa description: Retorna lista de empresas filtrada pelos parâmetros informados totalRegistros: type: integer format: int64 description: Total de registros para paginação default: description: Error response schema: #/definitions/genericError /com_comum/queries/pesquisarFilial: post: description: Busca por múltiplas empresas podendo ser todas caso nenhum filtro seja informado, ou uma lista filtrada caso algum seja. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: id: type: integer format: int64 description: Id da filial idEmpresa: type: integer format: int64 description: Id da empresa codigoEmpresa: type: string maxLength: 4 description: Código da empresa codigoFilial: type: string maxLength: 4 description: Código da filial texto: type: string description: Texto para busca parcial no id ou nome fantasia da filial (não diferencia palavra maiúscula/minúscula) pagina: type: object allOf: – #/definitions/recPagina description: Paginação responses: 200: description: Ok schema: type: object required: – totalRegistros properties: filiais: type: array items: type: object allOf: – #/definitions/filial description: Retorna lista de filiais filtrada pelos parâmetros informados totalRegistros: type: integer format: int64 description: Total de registros para paginação default: description: Error response schema: #/definitions/genericError get: description: Busca por múltiplas empresas podendo ser todas caso nenhum filtro seja informado, ou uma lista filtrada caso algum seja. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id in: query type: integer format: int64 – name: idEmpresa in: query type: integer format: int64 – name: codigoEmpresa in: query type: string maxLength: 4 – name: codigoFilial in: query type: string maxLength: 4 – name: texto in: query type: string – name: pagina in: query type: object allOf: – #/definitions/recPagina responses: 200: description: Ok schema: type: object required: – totalRegistros properties: filiais: type: array items: type: object allOf: – #/definitions/filial description: Retorna lista de filiais filtrada pelos parâmetros informados totalRegistros: type: integer format: int64 description: Total de registros para paginação default: description: Error response schema: #/definitions/genericError /com_comum/queries/pesquisarPais: post: description: Retorna todos os países tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object properties: paises: type: array items: type: object allOf: – #/definitions/pais description: Retorna lista de países default: description: Error response schema: #/definitions/genericError get: description: Retorna todos os países tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object properties: paises: type: array items: type: object allOf: – #/definitions/pais description: Retorna lista de países default: description: Error response schema: #/definitions/genericError /com_comum/queries/listarPaises: post: description: Busca os países por um nome ou um código caso nada seja informado, retorna todos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: nome: type: string description: nome codigo: type: string description: código responses: 200: description: Ok schema: type: object properties: paises: type: array items: type: object allOf: – #/definitions/pais description: Paises default: description: Error response schema: #/definitions/genericError get: description: Busca os países por um nome ou um código caso nada seja informado, retorna todos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: nome in: query type: string – name: codigo in: query type: string responses: 200: description: Ok schema: type: object properties: paises: type: array items: type: object allOf: – #/definitions/pais description: Paises default: description: Error response schema: #/definitions/genericError /com_comum/queries/pesquisarEstado: post: description: Retorna todos os estados de um país tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – pais properties: pais: type: object allOf: – #/definitions/pais description: País pelo qual deve-se ser buscado seus estados responses: 200: description: Ok schema: type: object properties: estados: type: array items: type: object allOf: – #/definitions/estado description: Retorna lista dos estados default: description: Error response schema: #/definitions/genericError get: description: Retorna todos os estados de um país tags: – Queries x-senior-visibility: PRIVATE parameters: – name: pais in: query required: true type: object allOf: – #/definitions/pais responses: 200: description: Ok schema: type: object properties: estados: type: array items: type: object allOf: – #/definitions/estado description: Retorna lista dos estados default: description: Error response schema: #/definitions/genericError /com_comum/queries/pesquisarCidade: post: description: Retorna todas as cidades de um estado tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – estado properties: estado: type: object allOf: – #/definitions/estado description: Estado pelo qual deve-se ser buscadas suas cidades. responses: 200: description: Ok schema: type: object properties: cidades: type: array items: type: object allOf: – #/definitions/cidade description: Retorna lista de cidades default: description: Error response schema: #/definitions/genericError get: description: Retorna todas as cidades de um estado tags: – Queries x-senior-visibility: PRIVATE parameters: – name: estado in: query required: true type: object allOf: – #/definitions/estado responses: 200: description: Ok schema: type: object properties: cidades: type: array items: type: object allOf: – #/definitions/cidade description: Retorna lista de cidades default: description: Error response schema: #/definitions/genericError /com_comum/queries/pesquisarFornecedor: post: description: Retorna lista de fornecedores podendo ser filtrado, caso não haja filtro, retorna todos. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: id: type: integer format: int64 description: Id do fornecedor texto: type: string description: Texto para busca parcial no id ou nome fantasia do fornecedor (não diferencia palavra maiúscula/minúscula) nome: type: string maxLength: 150 description: Nome do fornecedor (pesquisa por fornecedor que contém esse termo) nomeFantasia: type: string maxLength: 60 description: Nome Fantasia do fornecedor (pesquisa por fornecedor que contém esse termo) situacao: type: string allOf: – #/definitions/enumSituacaoPessoa description: Situação – Padrão ativo quantidadeLimiteRegistros: type: integer format: int64 description: Quantidade limite de registros que serão retornados caso não informado, fixa o valor como 100 default: 100 responses: 200: description: Ok schema: type: object required: – truncado properties: fornecedores: type: array items: type: object allOf: – #/definitions/recPessoa description: Retorna lista de fornecedor truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError get: description: Retorna lista de fornecedores podendo ser filtrado, caso não haja filtro, retorna todos. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id in: query type: integer format: int64 – name: texto in: query type: string – name: nome in: query type: string maxLength: 150 – name: nomeFantasia in: query type: string maxLength: 60 – name: situacao in: query type: string allOf: – #/definitions/enumSituacaoPessoa – name: quantidadeLimiteRegistros in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – truncado properties: fornecedores: type: array items: type: object allOf: – #/definitions/recPessoa description: Retorna lista de fornecedor truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError /com_comum/queries/pesquisarFornecedorB2: post: description: Pesquisa fornecedores filtrando por id e nome caso nenhum filtro seja passado tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – page properties: id: type: integer format: int64 description: ID do fornecedor nome: type: string description: Nome do fornecedor page: type: object allOf: – #/definitions/recPagina description: Pagina que deve ser buscada responses: 200: description: Ok schema: type: object required: – contents – totalElements properties: contents: type: array items: type: object allOf: – #/definitions/recFornecedor minimum: 1 description: Fornecedores buscados totalElements: type: integer format: int64 description: Total de elementos achados default: description: Error response schema: #/definitions/genericError get: description: Pesquisa fornecedores filtrando por id e nome caso nenhum filtro seja passado tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id in: query type: integer format: int64 – name: nome in: query type: string – name: page in: query required: true type: object allOf: – #/definitions/recPagina responses: 200: description: Ok schema: type: object required: – contents – totalElements properties: contents: type: array items: type: object allOf: – #/definitions/recFornecedor minimum: 1 description: Fornecedores buscados totalElements: type: integer format: int64 description: Total de elementos achados default: description: Error response schema: #/definitions/genericError /com_comum/queries/pesquisarCliente: post: description: Retorna lista de clientes podendo ser filtrado, caso não haja filtro, retorna todos. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: id: type: integer format: int64 description: Id do cliente nome: type: string maxLength: 150 description: Texto para busca parcial no id ou nome fantasia do cliente (não diferencia palavra maiúscula/minúscula) texto: type: string description: Id ou nome do cliente nomeFantasia: type: string maxLength: 60 description: Nome Fantasia do cliente (pesquisa por cliente que contém esse termo) situacao: type: string allOf: – #/definitions/enumSituacaoPessoa description: Situação – Padrão ativo quantidadeLimiteRegistros: type: integer format: int64 description: Quantidade limite de registros que serão retornados default: 100 responses: 200: description: Ok schema: type: object required: – truncado properties: clientes: type: array items: type: object allOf: – #/definitions/recPessoa description: Retorna lista de cliente truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError get: description: Retorna lista de clientes podendo ser filtrado, caso não haja filtro, retorna todos. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id in: query type: integer format: int64 – name: nome in: query type: string maxLength: 150 – name: texto in: query type: string – name: nomeFantasia in: query type: string maxLength: 60 – name: situacao in: query type: string allOf: – #/definitions/enumSituacaoPessoa – name: quantidadeLimiteRegistros in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – truncado properties: clientes: type: array items: type: object allOf: – #/definitions/recPessoa description: Retorna lista de cliente truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError /com_comum/queries/pesquisarRepresentante: post: description: Retorna lista de representante caso não informado, fixa o valor como 100. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: id: type: integer format: int64 description: Id do representante nome: type: string maxLength: 150 description: Texto para busca parcial no id ou nome fantasia do representante (não diferencia palavra maiúscula/minúscula) texto: type: string description: Id ou nome nomeFantasia: type: string maxLength: 60 description: Nome Fantasia do representante (pesquisa por representante que contém esse termo) situacao: type: string allOf: – #/definitions/enumSituacaoPessoa description: Situação – Padrão ativo quantidadeLimiteRegistros: type: integer format: int64 description: Quantidade limite de registros que serão retornados caso não informado, fixa o valor como 100 default: 100 responses: 200: description: Ok schema: type: object required: – truncado properties: representantes: type: array items: type: object allOf: – #/definitions/recPessoa description: Retorna lista de representante truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError get: description: Retorna lista de representante caso não informado, fixa o valor como 100. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id in: query type: integer format: int64 – name: nome in: query type: string maxLength: 150 – name: texto in: query type: string – name: nomeFantasia in: query type: string maxLength: 60 – name: situacao in: query type: string allOf: – #/definitions/enumSituacaoPessoa – name: quantidadeLimiteRegistros in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – truncado properties: representantes: type: array items: type: object allOf: – #/definitions/recPessoa description: Retorna lista de representante truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError /com_comum/queries/pesquisarEndereco: post: description: Retorna lista de endereços de uma pessoa tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: id: type: integer format: int64 description: Id do endereço pessoa: type: integer format: int64 description: Id da pessoa texto: type: string description: Texto para busca parcial no id ou endereço (não diferencia palavra maiúscula/minúscula) idEmpresa: type: integer format: int64 description: Id da Empresa idFilial: type: integer format: int64 description: Id da filial endereco: type: string description: Endereço enderecoPadrao: type: boolean description: Pesquisar por endereço padrão enderecoOrigem: type: boolean description: Pesquisar por endereço de origem enderecoCobranca: type: boolean description: Pesquisar por endereço de cobrança enderecoEntrega: type: boolean description: Pesquisar por endereço de entrega quantidadeLimiteRegistros: type: integer format: int64 description: Quantidade limite de registros que serão retornados default: 100 responses: 200: description: Ok schema: type: object required: – truncado properties: enderecos: type: array items: type: object allOf: – #/definitions/recEnderecoPessoa description: Lista dos endereços truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError get: description: Retorna lista de endereços de uma pessoa tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id in: query type: integer format: int64 – name: pessoa in: query type: integer format: int64 – name: texto in: query type: string – name: idEmpresa in: query type: integer format: int64 – name: idFilial in: query type: integer format: int64 – name: endereco in: query type: string – name: enderecoPadrao in: query type: boolean – name: enderecoOrigem in: query type: boolean – name: enderecoCobranca in: query type: boolean – name: enderecoEntrega in: query type: boolean – name: quantidadeLimiteRegistros in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – truncado properties: enderecos: type: array items: type: object allOf: – #/definitions/recEnderecoPessoa description: Lista dos endereços truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError /com_comum/queries/consistirCNPJCPFExistente: post: description: Consiste a existência de CNPJ/CPF na base tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – cnpjCpf properties: cnpjCpf: type: string description: Recebe CNPJ/CPF responses: 200: description: Ok schema: type: object required: – dummy properties: dummy: type: boolean description: Retorno (True/False) do processo default: description: Error response schema: #/definitions/genericError get: description: Consiste a existência de CNPJ/CPF na base tags: – Queries x-senior-visibility: PRIVATE parameters: – name: cnpjCpf in: query required: true type: string responses: 200: description: Ok schema: type: object required: – dummy properties: dummy: type: boolean description: Retorno (True/False) do processo default: description: Error response schema: #/definitions/genericError /com_comum/queries/pesquisarCondicaoPagamento: post: description: Retorna as condições de pagamento – Trunca em 100 registros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresa properties: empresa: type: integer format: int64 description: Id da empresa responses: 200: description: Ok schema: type: object required: – truncado properties: condicoes: type: array items: type: object allOf: – #/definitions/condicaoPagamento description: Retorna lista de condições de pagamento truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError get: description: Retorna as condições de pagamento – Trunca em 100 registros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: empresa in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – truncado properties: condicoes: type: array items: type: object allOf: – #/definitions/condicaoPagamento description: Retorna lista de condições de pagamento truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError /com_comum/queries/pesquisarUnidadeMedidaConversao: post: description: Retorna as unidades de medida convertidas – Trunca em 100 registros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – unidadeMedida properties: id: type: integer format: int64 description: Id da unidade medida conversão unidadeMedida: type: integer format: int64 description: Id da unidade de medida quantidadeLimiteRegistros: type: integer format: int64 description: Quantidade limite de registros que serão retornados default: 100 responses: 200: description: Ok schema: type: object required: – truncado properties: unidadesMedidaConversao: type: array items: type: object allOf: – #/definitions/recUnidadeMedidaConversao description: Unidades de medida convertidas truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError get: description: Retorna as unidades de medida convertidas – Trunca em 100 registros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id in: query type: integer format: int64 – name: unidadeMedida in: query required: true type: integer format: int64 – name: quantidadeLimiteRegistros in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – truncado properties: unidadesMedidaConversao: type: array items: type: object allOf: – #/definitions/recUnidadeMedidaConversao description: Unidades de medida convertidas truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError /com_comum/queries/pesquisarSku: post: description: Retorna os SKUs – Trunca em 100 registros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: id: type: integer format: int64 description: Id sku idEmpresa: type: integer format: int64 description: Id da empresa texto: type: string description: Texto para busca parcial no id ou descrição do produto (não diferencia palavra maiúscula/minúscula) situacao: type: string allOf: – #/definitions/enumSituacaoSku description: Situação do produto – Padrão Ativo tipo: type: string allOf: – #/definitions/enumTipoSku description: Tipo do produto descricao: type: string description: Descrição do produto (pesquisa por SKUs que contém esse termo) quantidadeLimiteRegistros: type: integer format: int64 description: Quantidade limite de registros que serão retornados default: 100 responses: 200: description: Ok schema: type: object required: – truncado properties: skus: type: array items: type: object allOf: – #/definitions/recSku description: Lista de skus truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError get: description: Retorna os SKUs – Trunca em 100 registros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id in: query type: integer format: int64 – name: idEmpresa in: query type: integer format: int64 – name: texto in: query type: string – name: situacao in: query type: string allOf: – #/definitions/enumSituacaoSku – name: tipo in: query type: string allOf: – #/definitions/enumTipoSku – name: descricao in: query type: string – name: quantidadeLimiteRegistros in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – truncado properties: skus: type: array items: type: object allOf: – #/definitions/recSku description: Lista de skus truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError /com_comum/queries/pesquisarSkuB2: post: description: Retorna SKUs – Utilizado nos campos B2 tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaId properties: empresaId: type: integer format: int64 description: Id da empresa texto: type: string description: Busca por código ou descrição do SKU codigo: type: string description: Busca por código do SKU descricao: type: string description: Busca por descrição do SKU page: type: object allOf: – #/definitions/recPagina description: Paginação responses: 200: description: Ok schema: type: object required: – contents – totalElements properties: contents: type: array items: type: object allOf: – #/definitions/sku minimum: 1 description: Resultados encontrados totalElements: type: integer format: int64 description: Total de registros encontrados default: description: Error response schema: #/definitions/genericError get: description: Retorna SKUs – Utilizado nos campos B2 tags: – Queries x-senior-visibility: PRIVATE parameters: – name: empresaId in: query required: true type: integer format: int64 – name: texto in: query type: string – name: codigo in: query type: string – name: descricao in: query type: string – name: page in: query type: object allOf: – #/definitions/recPagina responses: 200: description: Ok schema: type: object required: – contents – totalElements properties: contents: type: array items: type: object allOf: – #/definitions/sku minimum: 1 description: Resultados encontrados totalElements: type: integer format: int64 description: Total de registros encontrados default: description: Error response schema: #/definitions/genericError /com_comum/queries/pesquisarSafra: post: description: Retorna as safras – Trunca em 100 registros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: id: type: integer format: int64 description: Id da safra empresa: type: integer format: int64 description: Id da empresa texto: type: string description: Texto para busca parcial no id ou descricao da safra (não diferencia palavra maiúscula/minúscula) descricao: type: string description: Descrição da safra quantidadeLimiteRegistros: type: integer format: int64 description: Quantidade limite de registros que serão retornados default: 100 responses: 200: description: Ok schema: type: object required: – truncado properties: safras: type: array items: type: object allOf: – #/definitions/safra description: Lista de safras truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError get: description: Retorna as safras – Trunca em 100 registros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id in: query type: integer format: int64 – name: empresa in: query type: integer format: int64 – name: texto in: query type: string – name: descricao in: query type: string – name: quantidadeLimiteRegistros in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – truncado properties: safras: type: array items: type: object allOf: – #/definitions/safra description: Lista de safras truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError /com_comum/queries/pesquisarMoeda: post: description: Retorna as moedas – Trunca em 100 registros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: id: type: integer format: int64 description: Id da moeda responses: 200: description: Ok schema: type: object required: – truncado properties: moedas: type: array items: type: object allOf: – #/definitions/moeda description: Lista de moedas truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError get: description: Retorna as moedas – Trunca em 100 registros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – truncado properties: moedas: type: array items: type: object allOf: – #/definitions/moeda description: Lista de moedas truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError /com_comum/queries/pesquisarFormaPagamento: post: description: Retorna as formas de pagamento – Trunca em 100 registros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: idEmpresa: type: integer format: int64 description: Id da empresa responses: 200: description: Ok schema: type: object required: – truncado properties: formasPagamento: type: array items: type: object allOf: – #/definitions/formaPagamento description: Lista de formas de pagamento truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError get: description: Retorna as formas de pagamento – Trunca em 100 registros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: idEmpresa in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – truncado properties: formasPagamento: type: array items: type: object allOf: – #/definitions/formaPagamento description: Lista de formas de pagamento truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError /com_comum/queries/pesquisarProdutor: post: description: Retorna os produtores – Trunca em 100 registros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: texto: type: string description: Nome do produtor responses: 200: description: Ok schema: type: object required: – truncado properties: produtores: type: array items: type: object allOf: – #/definitions/produtor description: Lista de formas de pagamento truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError get: description: Retorna os produtores – Trunca em 100 registros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: texto in: query type: string responses: 200: description: Ok schema: type: object required: – truncado properties: produtores: type: array items: type: object allOf: – #/definitions/produtor description: Lista de formas de pagamento truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError /com_comum/queries/pesquisarProdutorPorNomeOuCpf: post: description: Retorna os produtores – Trunca em 100 registros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – pagina properties: texto: type: string description: Id da empresa pagina: type: object allOf: – #/definitions/recPagina description: Paginação responses: 200: description: Ok schema: type: object required: – contents – totalElements properties: contents: type: array items: type: object allOf: – #/definitions/recProdutorNomeCpf minimum: 1 description: Resultado da busca totalElements: type: integer format: int64 description: Total de registros encontrados default: description: Error response schema: #/definitions/genericError get: description: Retorna os produtores – Trunca em 100 registros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: texto in: query type: string – name: pagina in: query required: true type: object allOf: – #/definitions/recPagina responses: 200: description: Ok schema: type: object required: – contents – totalElements properties: contents: type: array items: type: object allOf: – #/definitions/recProdutorNomeCpf minimum: 1 description: Resultado da busca totalElements: type: integer format: int64 description: Total de registros encontrados default: description: Error response schema: #/definitions/genericError /com_comum/queries/pesquisarProdutorPropriedade: post: description: Retorna as propriedades dos produtores tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – produtorId properties: produtorId: type: integer format: int64 description: Id do produtor texto: type: string description: Texto pagina: type: object allOf: – #/definitions/recPagina description: Paginação responses: 200: description: Ok schema: type: object required: – truncado – totalRegistros properties: propriedades: type: array items: type: object allOf: – #/definitions/produtorPropriedade description: Lista de formas de pagamento truncado: type: boolean description: Indica se a consulta foi truncada totalRegistros: type: integer format: int64 description: Total de registros encontrados default: description: Error response schema: #/definitions/genericError get: description: Retorna as propriedades dos produtores tags: – Queries x-senior-visibility: PRIVATE parameters: – name: produtorId in: query required: true type: integer format: int64 – name: texto in: query type: string – name: pagina in: query type: object allOf: – #/definitions/recPagina responses: 200: description: Ok schema: type: object required: – truncado – totalRegistros properties: propriedades: type: array items: type: object allOf: – #/definitions/produtorPropriedade description: Lista de formas de pagamento truncado: type: boolean description: Indica se a consulta foi truncada totalRegistros: type: integer format: int64 description: Total de registros encontrados default: description: Error response schema: #/definitions/genericError /com_comum/queries/pesquisarPropriedades: post: description: Retorna as propriedades de acordo com os parâmetros do filtro tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – search properties: search: type: object allOf: – #/definitions/recPropriedade description: Id do produtor page: type: object allOf: – #/definitions/recPagina description: Texto responses: 200: description: Ok schema: type: object required: – contents – totalElements properties: contents: type: array items: type: object allOf: – #/definitions/recPropriedade minimum: 1 description: Registros encontrados totalElements: type: integer format: int64 description: Total de registros encontrados default: description: Error response schema: #/definitions/genericError get: description: Retorna as propriedades de acordo com os parâmetros do filtro tags: – Queries x-senior-visibility: PRIVATE parameters: – name: search in: query required: true type: object allOf: – #/definitions/recPropriedade – name: page in: query type: object allOf: – #/definitions/recPagina responses: 200: description: Ok schema: type: object required: – contents – totalElements properties: contents: type: array items: type: object allOf: – #/definitions/recPropriedade minimum: 1 description: Registros encontrados totalElements: type: integer format: int64 description: Total de registros encontrados default: description: Error response schema: #/definitions/genericError /com_comum/queries/buscarIdsTodasEmpresas: post: description: Retorna todos os IDs das empresas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object required: – empresaIds properties: empresaIds: type: array items: type: integer format: int64 minimum: 1 description: IDs das empresas default: description: Error response schema: #/definitions/genericError get: description: Retorna todos os IDs das empresas tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – empresaIds properties: empresaIds: type: array items: type: integer format: int64 minimum: 1 description: IDs das empresas default: description: Error response schema: #/definitions/genericError /com_comum/queries/buscarIdsFiliaisPorEmpresas: post: description: Buscar IDs das filiais por empresas. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresaIds properties: empresaIds: type: array items: type: integer format: int64 minimum: 1 description: IDs das empresas responses: 200: description: Ok schema: type: object required: – filialIds properties: filialIds: type: array items: type: integer format: int64 minimum: 1 description: IDs das filiais default: description: Error response schema: #/definitions/genericError get: description: Buscar IDs das filiais por empresas. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: empresaIds in: query required: true type: array items: type: integer format: int64 minimum: 1 responses: 200: description: Ok schema: type: object required: – filialIds properties: filialIds: type: array items: type: integer format: int64 minimum: 1 description: IDs das filiais default: description: Error response schema: #/definitions/genericError /com_comum/queries/buscarFiliaisMultiplasEmpresas: post: description: Pesquisar filiais de múltiplas empresas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – todas – pagina properties: texto: type: string description: Busca por nome ou código das filiais todas: type: boolean description: Se todas a empresas devem ser buscadas somente: type: array items: type: integer format: int64 description: Somente buscar pelos IDs das empresas exceto: type: array items: type: integer format: int64 description: Todas as empresas, exceto as listadas pagina: type: object allOf: – #/definitions/recPagina description: Paginação responses: 200: description: Ok schema: type: object required: – empresas properties: empresas: type: array items: type: object allOf: – #/definitions/recEmpresaComFiliais minimum: 1 description: Filiais agrupadas por empresa default: description: Error response schema: #/definitions/genericError get: description: Pesquisar filiais de múltiplas empresas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: texto in: query type: string – name: todas in: query required: true type: boolean – name: somente in: query type: array items: type: integer format: int64 – name: exceto in: query type: array items: type: integer format: int64 – name: pagina in: query required: true type: object allOf: – #/definitions/recPagina responses: 200: description: Ok schema: type: object required: – empresas properties: empresas: type: array items: type: object allOf: – #/definitions/recEmpresaComFiliais minimum: 1 description: Filiais agrupadas por empresa default: description: Error response schema: #/definitions/genericError /com_comum/queries/buscarProcessosPorTransacao: post: description: Busca todos os processos de uma transação tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – transacaoId properties: transacaoId: type: string description: ID da transação responses: 200: description: Ok schema: type: object required: – processos properties: processos: type: array items: type: string allOf: – #/definitions/enumProcessosTransacao minimum: 1 description: Processos retornados da transação default: description: Error response schema: #/definitions/genericError get: description: Busca todos os processos de uma transação tags: – Queries x-senior-visibility: PRIVATE parameters: – name: transacaoId in: query required: true type: string responses: 200: description: Ok schema: type: object required: – processos properties: processos: type: array items: type: string allOf: – #/definitions/enumProcessosTransacao minimum: 1 description: Processos retornados da transação default: description: Error response schema: #/definitions/genericError /com_comum/queries/listarTransacoes: post: description: Lista todas as transações tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – offset – size properties: offset: type: integer format: int64 description: Pagina size: type: integer format: int64 description: Tamanho da pagina codigo: type: string description: Código descricao: type: string description: Descrição orderby: type: string description: Ordenação responses: 200: description: Ok schema: type: object required: – contents – totalElements properties: contents: type: array items: type: object allOf: – #/definitions/transacao minimum: 1 description: Transações totalElements: type: integer format: int64 description: elementos default: description: Error response schema: #/definitions/genericError get: description: Lista todas as transações tags: – Queries x-senior-visibility: PRIVATE parameters: – name: offset in: query required: true type: integer format: int64 – name: size in: query required: true type: integer format: int64 – name: codigo in: query type: string – name: descricao in: query type: string – name: orderby in: query type: string responses: 200: description: Ok schema: type: object required: – contents – totalElements properties: contents: type: array items: type: object allOf: – #/definitions/transacao minimum: 1 description: Transações totalElements: type: integer format: int64 description: elementos default: description: Error response schema: #/definitions/genericError /com_comum/queries/obterUltimaCotacao: post: description: Obtém última cotação disponível para uma moeda tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – moedaSigla properties: moedaSigla: type: string description: Sigla da moeda. Ex: R$, U$, PTAX responses: 200: description: Ok schema: type: object required: – valorCotacao – dataHoraCotacao properties: valorCotacao: type: string description: Valor da última cotação dataHoraCotacao: type: string format: date-time description: Data e hora da última cotação default: description: Error response schema: #/definitions/genericError get: description: Obtém última cotação disponível para uma moeda tags: – Queries x-senior-visibility: PRIVATE parameters: – name: moedaSigla in: query required: true type: string responses: 200: description: Ok schema: type: object required: – valorCotacao – dataHoraCotacao properties: valorCotacao: type: string description: Valor da última cotação dataHoraCotacao: type: string format: date-time description: Data e hora da última cotação default: description: Error response schema: #/definitions/genericError /com_comum/queries/verificarProdutorCooperado: post: description: Verifica se produtor possui cadastro de cooperado com statu ativo. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – produtorId properties: produtorId: type: integer format: int64 description: Id do produtor responses: 200: description: Ok schema: type: object required: – cooperado properties: cooperado: type: boolean description: true – produtor é cooperado efetivo; false – caso contrário default: description: Error response schema: #/definitions/genericError get: description: Verifica se produtor possui cadastro de cooperado com statu ativo. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: produtorId in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – cooperado properties: cooperado: type: boolean description: true – produtor é cooperado efetivo; false – caso contrário default: description: Error response schema: #/definitions/genericError /com_comum/queries/getMetadata: post: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: metadataFormat: type: string description: responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: default: description: Error response schema: #/definitions/genericError get: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: metadataFormat in: query type: string responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/queries/exportPessoa: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/queries/exportPessoaFisica: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/queries/exportPessoaJuridica: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/queries/exportPais: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/queries/exportEstado: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/queries/exportCidade: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/queries/exportEmpresa: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/queries/exportFilial: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/queries/exportUnidadeMedida: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/queries/exportUnidadeMedidaConversao: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/queries/exportCondicaoPagamento: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/queries/exportSku: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/queries/exportPessoaEndereco: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/queries/exportMoeda: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/queries/exportSafra: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/queries/exportFormaPagamento: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/queries/exportSkuUnidadeMedida: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/queries/exportCotacaoMoeda: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/queries/exportProdutor: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/queries/exportCooperadoInfo: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/queries/exportProdutorPropriedade: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/queries/exportProdutorVinculo: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/queries/exportTransacao: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/queries/exportLigTranProc: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/queries/getDependencies: post: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PUBLIC responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies default: description: Error response schema: #/definitions/genericError get: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PUBLIC responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies default: description: Error response schema: #/definitions/genericError /com_comum/actions/gravarSkuUnidadeMedida: post: description: Insere a unidade de medida do SKU tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – sku – unidadeMedidaConvertida properties: sku: type: integer format: int64 description: Id do SKU unidadeMedidaConvertida: type: integer format: int64 description: Id da unidade de medida convertida responses: 200: description: Ok schema: type: object required: – id properties: id: type: integer format: int64 description: Id gerado default: description: Error response schema: #/definitions/genericError /com_comum/actions/deletarSkuUnidadeMedida: post: description: Deleta a unidade de medida do SKU tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: integer format: int64 description: id do SKU responses: 200: description: Ok schema: type: object required: – dummy properties: dummy: type: boolean description: Retorno (True/False) do processo default: description: Error response schema: #/definitions/genericError /com_comum/actions/criarVinculo: post: description: Adicionar vínculo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – produtorId – produtorVinculadoId properties: produtorId: type: integer format: int64 description: Id do produtor produtorVinculadoId: type: integer format: int64 description: Id do produtor vinculado nomeVinculo: type: string maxLength: 20 description: Nome do Vínculo responses: 200: description: Ok schema: type: object required: – produtorVinculo properties: produtorVinculo: type: object allOf: – #/definitions/produtorVinculo description: Devolve o vínculo criado default: description: Error response schema: #/definitions/genericError /com_comum/actions/removerVinculo: post: description: Remover vínculo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – produtorId – produtorVinculadoId properties: produtorId: type: integer format: int64 description: Id do produtor produtorVinculadoId: type: integer format: int64 description: Id do produtor vinculado responses: 200: description: Ok schema: type: object required: – vinculoId properties: vinculoId: type: integer format: int64 description: Id do vinculo default: description: Error response schema: #/definitions/genericError /com_comum/actions/excluirVinculoTransacao: post: description: Excluir vinculo entre transacao e processo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – transacaoId – processo properties: transacaoId: type: string description: Transacao processo: type: string allOf: – #/definitions/enumProcessosTransacao description: Id do processo responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /com_comum/actions/importPessoa: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/actions/importPessoaFisica: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/actions/importPessoaJuridica: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/actions/importPais: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/actions/importEstado: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/actions/importCidade: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/actions/importEmpresa: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/actions/importFilial: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/actions/importUnidadeMedida: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/actions/importUnidadeMedidaConversao: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/actions/importCondicaoPagamento: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/actions/importSku: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/actions/importPessoaEndereco: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/actions/importMoeda: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/actions/importSafra: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/actions/importFormaPagamento: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/actions/importSkuUnidadeMedida: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/actions/importCotacaoMoeda: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/actions/importProdutor: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/actions/importCooperadoInfo: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/actions/importProdutorPropriedade: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/actions/importProdutorVinculo: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/actions/importTransacao: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/actions/importLigTranProc: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /com_comum/entities/pessoa: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/pessoa responses: 200: description: The created resource schema: #/definitions/pessoa 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/pessoa responses: 200: description: The created resource schema: #/definitions/pessoa 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/pessoa default: description: Error response schema: #/definitions/genericError /com_comum/entities/pessoa/{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/pessoa responses: 200: description: Ok schema: #/definitions/pessoa 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/pessoa responses: 200: description: Ok schema: #/definitions/pessoa 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/pessoa default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /com_comum/entities/pessoa/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/pessoa responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /com_comum/entities/pessoaFisica: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/pessoaFisica responses: 200: description: The created resource schema: #/definitions/pessoaFisica 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/pessoaFisica responses: 200: description: The created resource schema: #/definitions/pessoaFisica 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/pessoaFisica default: description: Error response schema: #/definitions/genericError /com_comum/entities/pessoaFisica/{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/pessoaFisica responses: 200: description: Ok schema: #/definitions/pessoaFisica 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/pessoaFisica responses: 200: description: Ok schema: #/definitions/pessoaFisica 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/pessoaFisica default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /com_comum/entities/pessoaFisica/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/pessoaFisica responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /com_comum/entities/pessoaJuridica: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/pessoaJuridica responses: 200: description: The created resource schema: #/definitions/pessoaJuridica 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/pessoaJuridica responses: 200: description: The created resource schema: #/definitions/pessoaJuridica 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/pessoaJuridica default: description: Error response schema: #/definitions/genericError /com_comum/entities/pessoaJuridica/{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/pessoaJuridica responses: 200: description: Ok schema: #/definitions/pessoaJuridica 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/pessoaJuridica responses: 200: description: Ok schema: #/definitions/pessoaJuridica 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/pessoaJuridica default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /com_comum/entities/pessoaJuridica/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/pessoaJuridica responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /com_comum/entities/pais: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/pais responses: 200: description: The created resource schema: #/definitions/pais 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/pais responses: 200: description: The created resource schema: #/definitions/pais 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/pais default: description: Error response schema: #/definitions/genericError /com_comum/entities/pais/{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/pais responses: 200: description: Ok schema: #/definitions/pais 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/pais responses: 200: description: Ok schema: #/definitions/pais 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/pais default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /com_comum/entities/pais/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/pais responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /com_comum/entities/estado: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/estado responses: 200: description: The created resource schema: #/definitions/estado 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/estado responses: 200: description: The created resource schema: #/definitions/estado 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/estado default: description: Error response schema: #/definitions/genericError /com_comum/entities/estado/{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/estado responses: 200: description: Ok schema: #/definitions/estado 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/estado responses: 200: description: Ok schema: #/definitions/estado 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/estado default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /com_comum/entities/estado/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/estado responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /com_comum/entities/cidade: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/cidade responses: 200: description: The created resource schema: #/definitions/cidade 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/cidade responses: 200: description: The created resource schema: #/definitions/cidade 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/cidade default: description: Error response schema: #/definitions/genericError /com_comum/entities/cidade/{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/cidade responses: 200: description: Ok schema: #/definitions/cidade 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/cidade responses: 200: description: Ok schema: #/definitions/cidade 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/cidade default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /com_comum/entities/cidade/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/cidade responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /com_comum/entities/empresa: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/empresa responses: 200: description: The created resource schema: #/definitions/empresa 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/empresa responses: 200: description: The created resource schema: #/definitions/empresa 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/empresa default: description: Error response schema: #/definitions/genericError /com_comum/entities/empresa/{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/empresa responses: 200: description: Ok schema: #/definitions/empresa 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/empresa responses: 200: description: Ok schema: #/definitions/empresa 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/empresa default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /com_comum/entities/empresa/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/empresa responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /com_comum/entities/filial: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/filial responses: 200: description: The created resource schema: #/definitions/filial 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/filial responses: 200: description: The created resource schema: #/definitions/filial 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/filial default: description: Error response schema: #/definitions/genericError /com_comum/entities/filial/{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/filial responses: 200: description: Ok schema: #/definitions/filial 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/filial responses: 200: description: Ok schema: #/definitions/filial 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/filial default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /com_comum/entities/filial/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/filial responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /com_comum/entities/unidadeMedida: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/unidadeMedida responses: 200: description: The created resource schema: #/definitions/unidadeMedida 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/unidadeMedida responses: 200: description: The created resource schema: #/definitions/unidadeMedida 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/unidadeMedida default: description: Error response schema: #/definitions/genericError /com_comum/entities/unidadeMedida/{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/unidadeMedida responses: 200: description: Ok schema: #/definitions/unidadeMedida 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/unidadeMedida responses: 200: description: Ok schema: #/definitions/unidadeMedida 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/unidadeMedida default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /com_comum/entities/unidadeMedida/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/unidadeMedida responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /com_comum/entities/unidadeMedidaConversao: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/unidadeMedidaConversao responses: 200: description: The created resource schema: #/definitions/unidadeMedidaConversao 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/unidadeMedidaConversao responses: 200: description: The created resource schema: #/definitions/unidadeMedidaConversao 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/unidadeMedidaConversao default: description: Error response schema: #/definitions/genericError /com_comum/entities/unidadeMedidaConversao/{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/unidadeMedidaConversao responses: 200: description: Ok schema: #/definitions/unidadeMedidaConversao 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/unidadeMedidaConversao responses: 200: description: Ok schema: #/definitions/unidadeMedidaConversao 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/unidadeMedidaConversao default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /com_comum/entities/unidadeMedidaConversao/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/unidadeMedidaConversao responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /com_comum/entities/condicaoPagamento: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/condicaoPagamento responses: 200: description: The created resource schema: #/definitions/condicaoPagamento 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/condicaoPagamento responses: 200: description: The created resource schema: #/definitions/condicaoPagamento 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/condicaoPagamento default: description: Error response schema: #/definitions/genericError /com_comum/entities/condicaoPagamento/{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/condicaoPagamento responses: 200: description: Ok schema: #/definitions/condicaoPagamento 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/condicaoPagamento responses: 200: description: Ok schema: #/definitions/condicaoPagamento 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/condicaoPagamento default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /com_comum/entities/condicaoPagamento/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/condicaoPagamento responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /com_comum/entities/sku: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/sku responses: 200: description: The created resource schema: #/definitions/sku 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/sku responses: 200: description: The created resource schema: #/definitions/sku 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/sku default: description: Error response schema: #/definitions/genericError /com_comum/entities/sku/{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/sku responses: 200: description: Ok schema: #/definitions/sku 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/sku responses: 200: description: Ok schema: #/definitions/sku 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/sku default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /com_comum/entities/sku/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/sku responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /com_comum/entities/pessoaEndereco: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/pessoaEndereco responses: 200: description: The created resource schema: #/definitions/pessoaEndereco 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/pessoaEndereco responses: 200: description: The created resource schema: #/definitions/pessoaEndereco 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/pessoaEndereco default: description: Error response schema: #/definitions/genericError /com_comum/entities/pessoaEndereco/{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/pessoaEndereco responses: 200: description: Ok schema: #/definitions/pessoaEndereco 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/pessoaEndereco responses: 200: description: Ok schema: #/definitions/pessoaEndereco 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/pessoaEndereco default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /com_comum/entities/pessoaEndereco/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/pessoaEndereco responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /com_comum/entities/moeda: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/moeda responses: 200: description: The created resource schema: #/definitions/moeda 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/moeda responses: 200: description: The created resource schema: #/definitions/moeda 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/moeda default: description: Error response schema: #/definitions/genericError /com_comum/entities/moeda/{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/moeda responses: 200: description: Ok schema: #/definitions/moeda 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/moeda responses: 200: description: Ok schema: #/definitions/moeda 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/moeda default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /com_comum/entities/moeda/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/moeda responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /com_comum/entities/safra: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/safra responses: 200: description: The created resource schema: #/definitions/safra 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/safra responses: 200: description: The created resource schema: #/definitions/safra 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/safra default: description: Error response schema: #/definitions/genericError /com_comum/entities/safra/{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/safra responses: 200: description: Ok schema: #/definitions/safra 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/safra responses: 200: description: Ok schema: #/definitions/safra 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/safra default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /com_comum/entities/safra/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/safra responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /com_comum/entities/formaPagamento: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/formaPagamento responses: 200: description: The created resource schema: #/definitions/formaPagamento 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/formaPagamento responses: 200: description: The created resource schema: #/definitions/formaPagamento 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/formaPagamento default: description: Error response schema: #/definitions/genericError /com_comum/entities/formaPagamento/{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/formaPagamento responses: 200: description: Ok schema: #/definitions/formaPagamento 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/formaPagamento responses: 200: description: Ok schema: #/definitions/formaPagamento 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/formaPagamento default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /com_comum/entities/formaPagamento/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/formaPagamento responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /com_comum/entities/skuUnidadeMedida: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/skuUnidadeMedida responses: 200: description: The created resource schema: #/definitions/skuUnidadeMedida 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/skuUnidadeMedida responses: 200: description: The created resource schema: #/definitions/skuUnidadeMedida 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/skuUnidadeMedida default: description: Error response schema: #/definitions/genericError /com_comum/entities/skuUnidadeMedida/{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/skuUnidadeMedida responses: 200: description: Ok schema: #/definitions/skuUnidadeMedida 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/skuUnidadeMedida responses: 200: description: Ok schema: #/definitions/skuUnidadeMedida 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/skuUnidadeMedida default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /com_comum/entities/skuUnidadeMedida/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/skuUnidadeMedida responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /com_comum/entities/cotacaoMoeda: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/cotacaoMoeda responses: 200: description: The created resource schema: #/definitions/cotacaoMoeda 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/cotacaoMoeda responses: 200: description: The created resource schema: #/definitions/cotacaoMoeda 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/cotacaoMoeda default: description: Error response schema: #/definitions/genericError /com_comum/entities/cotacaoMoeda/{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/cotacaoMoeda responses: 200: description: Ok schema: #/definitions/cotacaoMoeda 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/cotacaoMoeda responses: 200: description: Ok schema: #/definitions/cotacaoMoeda 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/cotacaoMoeda default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /com_comum/entities/cotacaoMoeda/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/cotacaoMoeda responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /com_comum/entities/produtor: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/produtor responses: 200: description: The created resource schema: #/definitions/produtor 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/produtor responses: 200: description: The created resource schema: #/definitions/produtor 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/produtor default: description: Error response schema: #/definitions/genericError /com_comum/entities/produtor/{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/produtor responses: 200: description: Ok schema: #/definitions/produtor 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/produtor responses: 200: description: Ok schema: #/definitions/produtor 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/produtor default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /com_comum/entities/produtor/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/produtor responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /com_comum/entities/cooperadoInfo: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/cooperadoInfo responses: 200: description: The created resource schema: #/definitions/cooperadoInfo 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/cooperadoInfo responses: 200: description: The created resource schema: #/definitions/cooperadoInfo 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/cooperadoInfo default: description: Error response schema: #/definitions/genericError /com_comum/entities/cooperadoInfo/{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/cooperadoInfo responses: 200: description: Ok schema: #/definitions/cooperadoInfo 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/cooperadoInfo responses: 200: description: Ok schema: #/definitions/cooperadoInfo 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/cooperadoInfo default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /com_comum/entities/cooperadoInfo/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/cooperadoInfo responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /com_comum/entities/produtorPropriedade: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/produtorPropriedade responses: 200: description: The created resource schema: #/definitions/produtorPropriedade 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/produtorPropriedade responses: 200: description: The created resource schema: #/definitions/produtorPropriedade 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/produtorPropriedade default: description: Error response schema: #/definitions/genericError /com_comum/entities/produtorPropriedade/{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/produtorPropriedade responses: 200: description: Ok schema: #/definitions/produtorPropriedade 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/produtorPropriedade responses: 200: description: Ok schema: #/definitions/produtorPropriedade 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/produtorPropriedade default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /com_comum/entities/produtorPropriedade/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/produtorPropriedade responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /com_comum/entities/produtorVinculo: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/produtorVinculo responses: 200: description: The created resource schema: #/definitions/produtorVinculo 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/produtorVinculo responses: 200: description: The created resource schema: #/definitions/produtorVinculo 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/produtorVinculo default: description: Error response schema: #/definitions/genericError /com_comum/entities/produtorVinculo/{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/produtorVinculo responses: 200: description: Ok schema: #/definitions/produtorVinculo 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/produtorVinculo responses: 200: description: Ok schema: #/definitions/produtorVinculo 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/produtorVinculo default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /com_comum/entities/produtorVinculo/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/produtorVinculo responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /com_comum/entities/transacao: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/transacao responses: 200: description: The created resource schema: #/definitions/transacao 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/transacao responses: 200: description: The created resource schema: #/definitions/transacao 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/transacao default: description: Error response schema: #/definitions/genericError /com_comum/entities/transacao/{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/transacao responses: 200: description: Ok schema: #/definitions/transacao 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/transacao responses: 200: description: Ok schema: #/definitions/transacao 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/transacao default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /com_comum/entities/transacao/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/transacao responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /com_comum/entities/ligTranProc: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/ligTranProc responses: 200: description: The created resource schema: #/definitions/ligTranProc 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/ligTranProc responses: 200: description: The created resource schema: #/definitions/ligTranProc 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/ligTranProc default: description: Error response schema: #/definitions/genericError /com_comum/entities/ligTranProc/{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/ligTranProc responses: 200: description: Ok schema: #/definitions/ligTranProc 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/ligTranProc responses: 200: description: Ok schema: #/definitions/ligTranProc 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/ligTranProc default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /com_comum/entities/ligTranProc/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/ligTranProc responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError definitions: enumSituacaoPessoa: description: Situação da pessoa type: string enum: – Inativo – Ativo enumSituacaoEnderecoPessoa: description: Situação do endereço da pessoa type: string enum: – Inativo – Ativo – Bloqueado enumTipoMoeda: description: Tipo da moeda type: string enum: – Indice – Valor – Percentual – Especial – Hora enumTipoSku: description: Tipo do sku type: string enum: – Produto – Servico enumSituacaoSku: description: Situação do sku type: string enum: – Inativo – Ativo – Bloqueado enumOperacaoUnidadeMedida: description: Operação da unidade de medida type: string enum: – Multiplicar – Dividir enumSituacaoCondicaoPagamento: description: Situação da condição de pagamento type: string enum: – Inativo – Ativo – Bloqueado enumMercado: description: Mercado em que está sendo negociado o contrato type: string enum: – Interno – Externo – Ambos enumPrecificacao: description: Forma de precificação type: string enum: – Fixo – AFixar enumIncoterm: description: International Commercial Terms / Termos Internacionais de Comércio type: string enum: – NaoInformado – EXW – FCA – FAS – FOB – CFR – CIF – CPT – CIP – DDP – DAT – DAP enumSituacaoContratoVenda: description: Situação do contrato de venda type: string enum: – Elaboracao – Aprovado – ExpedicaoParcial – ExpedicaoTotal enumSituacaoTransacao: description: Situacao da transação type: string enum: – Ativo – Inativo enumProcessosTransacao: description: Processos das Transacoes na G5 type: string enum: – FixacaoContratoVendas – ExpedicaoContratoVendas – FaturamentoFolhaLeite – FixacaoDePrecos enumTipoTransacao: description: Enumeração do tipo de transação na g5 type: string enum: – Entrada – Saida enumSituacaoCooperadoInfo: description: Situação da informação do cooperado type: string enum: – EmAnalise – Recusado – Ativo – Desligado 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 recUnidadeMedida: description: Unidade de medida type: object required: – id – codigo – descricao – quantidadeDecimais properties: id: type: integer format: int64 description: Id da unidade de medida codigo: type: string description: Código da unidade de medida descricao: type: string description: Descrição da unidade de medida quantidadeDecimais: type: integer format: int64 description: Quantidade de decimais recSku: description: Sku type: object required: – id – codigo – descricao – unidadeMedidaPadrao – unidadeMedidaConvertida properties: id: type: integer format: int64 description: Id do sku codigo: type: string description: Código do sku descricao: type: string description: Descrição do sku unidadeMedidaPadrao: type: object allOf: – #/definitions/recUnidadeMedida description: Unidade de medida padrão – oriunda da G5 unidadeMedidaConvertida: type: object allOf: – #/definitions/recUnidadeMedida description: Unidade de medida convertida relacionada ao sku recUnidadeMedidaConversao: description: Encapsulador das unidades de medídas a serem convertidas type: object required: – unidadeMedidaConversao – unidadeMedidaDestino properties: unidadeMedidaConversao: type: object allOf: – #/definitions/unidadeMedidaConversao description: Conversão da unidade de medida unidadeMedidaDestino: type: object allOf: – #/definitions/unidadeMedida description: Unidade de medida convertida recPessoa: description: Encapsulador de pessoa com pessoa fisica/juridica type: object required: – pessoa properties: pessoa: type: object allOf: – #/definitions/pessoa description: Pessoa pessoaFisica: type: object allOf: – #/definitions/pessoaFisica description: PessoaFisica pessoaJuridica: type: object allOf: – #/definitions/pessoaJuridica description: Pessoa juridica recEstado: description: Encapsulador do estado type: object required: – codigo – abreviatura – nome properties: codigo: type: string maxLength: 2 description: codigo abreviatura: type: string maxLength: 5 description: UF nome: type: string maxLength: 20 description: Nome recCidade: description: Encapsulador da cidade type: object required: – codigo – nome – estado properties: codigo: type: string maxLength: 7 description: Código da cidade nome: type: string maxLength: 60 description: Nome da cidade estado: type: object allOf: – #/definitions/recEstado description: estado recEnderecoPessoa: description: Encapsulador de endereço de uma pessoa type: object required: – pessoa – empresa – filial – endereco – cidade – situacao – cep properties: id: type: integer format: int64 description: id pessoa: type: integer format: int64 description: pessoa empresa: type: integer format: int64 description: empresa filial: type: integer format: int64 description: filial endereco: type: string maxLength: 100 description: Endereco complemento: type: string maxLength: 200 description: Complemento do endereço numero: type: string maxLength: 60 description: Numero da casa cidade: type: object allOf: – #/definitions/recCidade description: Cidade bairro: type: string maxLength: 75 description: Bairro situacao: type: string allOf: – #/definitions/enumSituacaoEnderecoPessoa description: Situacao do endereco enderecoPadrao: type: boolean description: É endereço padrão? enderecoOrigem: type: boolean description: É endereco de origem? enderecoCobranca: type: boolean description: É endereco de cobraça? enderecoEntrega: type: boolean description: É endereco de entrega? cep: type: string maxLength: 20 description: cep da rua recPropriedade: description: Propriedade type: object properties: id: type: integer format: int64 description: Id da propriedade nome: type: string description: Nome da propriedade cnpj: type: string description: CNPJ da propriedade recPagina: description: Página type: object required: – offset – limit properties: offset: type: integer format: int64 description: Deslocamento limit: type: integer format: int64 description: Limite recProdutorNomeCpf: description: Produtor com ID, nome e CPF type: object required: – id – nome properties: id: type: integer format: int64 description: Id do produtor – entidade produtor nome: type: string description: Nome do produtor – entidade pessoa cpf: type: string description: CPF do produtor – entidade pessoa_fisica recEmpresaComFiliais: description: Empresa com suas filiais type: object required: – id – codigo – nome – filiais properties: id: type: integer format: int64 description: Id da empresa codigo: type: string description: Código da empresa nome: type: string description: Nome da empresa filiais: type: array items: type: object allOf: – #/definitions/recFilial minimum: 1 description: Filiais recFilial: description: Filial type: object required: – id – nome – codigo properties: id: type: integer format: int64 description: Id da filial nome: type: string description: Nome da filial codigo: type: string description: Código da filial recFornecedor: description: Fornecedor type: object required: – id – nome properties: id: type: integer format: int64 description: ID do fornecedor nome: type: string description: Nome do fornecedor pessoa: description: Cadastro do pessoa type: object required: – nome properties: id: type: integer format: int64 description: Id da pessoa nome: type: string maxLength: 150 description: Nome da pessoa site: type: string maxLength: 100 description: site da pessoa situacao: type: string allOf: – #/definitions/enumSituacaoPessoa description: Situacao da pessoa pessoaCliente: type: boolean description: É um cliente? pessoaFornecedor: type: boolean description: É um fornecedor? pessoaRepresentante: type: boolean description: É um representante createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: pessoaFisica: description: Cadastro do pessoa type: object required: – pessoaId – cpf properties: id: type: integer format: int64 description: Id da pessoa fisica pessoaId: type: object allOf: – #/definitions/pessoa description: id da pessoa cpf: type: string maxLength: 16 description: cpf da pessoa createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: pessoaJuridica: description: Cadastro do pessoa type: object required: – pessoaId – cnpj properties: id: type: integer format: int64 description: Id da pessoa Jurídica pessoaId: type: object allOf: – #/definitions/pessoa description: chave estrangeira de pessoa cnpj: type: string maxLength: 16 description: CNPJ nomeFantasia: type: string maxLength: 60 description: Nome fantasia da empresa inscricaoEstadual: type: string maxLength: 25 description: Inscrição estadual inscricaoMunicipal: type: string maxLength: 16 description: inscrição municipal 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: integer format: int64 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 properties: id: type: integer format: int64 description: ID do estado codigo: type: string maxLength: 2 description: Código do estado descricao: type: string maxLength: 20 description: Descrição do estado abreviatura: type: string maxLength: 5 description: UF do estado 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 properties: id: type: integer format: int64 description: ID da cidade codigo: type: string maxLength: 7 description: código da cidade descricao: type: string maxLength: 60 description: Nome da cidade createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: empresa: description: Empresa type: object required: – codigo – nome properties: id: type: integer format: int64 description: Id da 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: filial: description: Filial type: object required: – empresaId – pessoaId – codigo – nome properties: id: type: integer format: int64 description: ID da filial empresaId: type: integer format: int64 description: Chave estrangeira da empresa pessoaId: type: integer format: int64 description: Chave estrangeira de Pessoa codigo: type: string maxLength: 4 description: Código da filial nome: type: string maxLength: 100 description: Nome da filial fantasia: type: string maxLength: 30 description: Nome fantasia da filial createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: unidadeMedida: description: Unidade de medida type: object required: – codigo – descricao – quantidadeDecimais properties: id: type: integer format: int64 description: ID da unidade de medída codigo: type: string maxLength: 3 description: Codigo da unidade de medida descricao: type: string maxLength: 100 description: Descrição da unidade de medida quantidadeDecimais: type: integer format: int64 description: Quantidade decimal createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: unidadeMedidaConversao: description: Unidade de medida Conversão type: object required: – unidadeMedidaOrigem – unidadeMedidaDestino – fator – operacao properties: id: type: integer format: int64 description: ID da Conversão da unidade de medida unidadeMedidaOrigem: type: integer format: int64 description: Unidade de medida de origem unidadeMedidaDestino: type: integer format: int64 description: Unidade de medida de destino fator: type: integer format: int64 description: Fator operacao: type: string allOf: – #/definitions/enumOperacaoUnidadeMedida description: Operação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: condicaoPagamento: description: Condição de pagamento type: object required: – empresa – codigo – descricao – abreviatura – situacao properties: id: type: integer format: int64 description: ID da condição de pagamento empresa: type: integer format: int64 description: ID da empresa codigo: type: string maxLength: 6 description: codigo da condição de pagamento descricao: type: string maxLength: 50 description: Descrição da condição de pagamento abreviatura: type: string maxLength: 10 description: Abreviatura da condição de pagamento situacao: type: string allOf: – #/definitions/enumSituacaoCondicaoPagamento description: Situação da situação de pagamento createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: sku: description: SKU – produto/serviço type: object required: – empresaId – unidadeMedidaId – codigo – descricao – descricaoComplementar – tipo – situacao properties: id: type: integer format: int64 description: Id do SKU empresaId: type: object allOf: – #/definitions/empresa description: ID da empresa unidadeMedidaId: type: object allOf: – #/definitions/unidadeMedida description: ID da unidade de medida codigo: type: string maxLength: 23 description: Codigo do SKU descricao: type: string maxLength: 100 description: Descrição do SKU descricaoComplementar: type: string maxLength: 150 description: Descrição complementar tipo: type: string allOf: – #/definitions/enumTipoSku description: Tipo do SKU situacao: type: string allOf: – #/definitions/enumSituacaoSku description: Situação do SKU createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: pessoaEndereco: description: Endereços de entrega type: object required: – pessoaId – endereco – cidadeId – situacao – cep properties: id: type: integer format: int64 description: Id do endereço da pessoa pessoaId: type: object allOf: – #/definitions/pessoa description: Chave estrangeira da pessoa endereco: type: string maxLength: 100 description: Lougradouro da pessoa complemento: type: string maxLength: 200 description: Complemento numero: type: string maxLength: 60 description: Número da casa cidadeId: type: object allOf: – #/definitions/cidade description: Chave estrangeira de cidade bairro: type: string maxLength: 75 description: Bairro situacao: type: string allOf: – #/definitions/enumSituacaoEnderecoPessoa description: Situação do endereço enderecoPadrao: type: boolean description: É o endereço padrão? enderecoOrigem: type: boolean description: É o endereço de origem? enderecoCobranca: type: boolean description: É o endereço de combrança? enderecoEntrega: type: boolean description: É o endereço de Entrega? cep: type: string maxLength: 20 description: CEP createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: moeda: description: Moeda type: object required: – codigo – nome – sigla – tipo properties: id: type: integer format: int64 description: ID da moeda codigo: type: string maxLength: 3 description: Codigo da moeda nome: type: string maxLength: 30 description: Nome da moeda sigla: type: string maxLength: 5 description: Sigla da moeda tipo: type: string allOf: – #/definitions/enumTipoMoeda description: Tipo da moeda quantidadeDecimais: type: integer format: int64 description: Quantidade decimais quantidadeInteiros: type: integer format: int64 description: Quantidade Inteiros 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 – filial properties: id: type: integer format: int64 description: ID da safra codigo: type: string maxLength: 10 description: Codigo da safra descricao: type: string maxLength: 100 description: Descrição da safra empresa: type: integer format: int64 description: ID da empresa filial: type: integer format: int64 description: ID da filial createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: formaPagamento: description: Forma de pagamento type: object required: – idEmpresa – descricao properties: id: type: integer format: int64 description: ID da forma de pagamento idEmpresa: type: integer format: int64 description: ID da empresa descricao: type: string maxLength: 100 description: Descrição da forma de pagamento createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: skuUnidadeMedida: description: Sku unidade de medida type: object required: – sku – unidadeMedidaConversao properties: id: type: integer format: int64 description: ID do sku da unidade de medída sku: type: integer format: int64 description: ID do SKU unidadeMedidaConversao: type: integer format: int64 description: ID da unidade de medida conversão createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: cotacaoMoeda: description: Cotação da moeda type: object properties: id: type: integer format: int64 description: ID da cotação da moeda moedaId: type: object allOf: – #/definitions/moeda description: ID da moeda dataHoraCotacao: type: string format: date-time description: Data e hora da cotação valorCotacao: type: string description: Valor da cotação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: produtor: description: Entidade que representa o produtor type: object required: – pessoaId properties: id: type: integer format: int64 description: Id do produtor pessoaId: type: object allOf: – #/definitions/pessoa description: Id da pessoa (produtor) observacao: type: string maxLength: 500 description: Observação do produtor createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: cooperadoInfo: description: Entidade que representa as informações do cooperado type: object required: – pessoaId – situacao properties: id: type: integer format: int64 description: Id pessoaId: type: object allOf: – #/definitions/pessoa description: Id pessoa matricula: type: string maxLength: 30 description: Matricula dataAdmissao: type: string format: date description: Data Admissao numeroLivroAdmissao: type: integer format: int64 description: Numero Livro Admissao numeroPaginaAdmissao: type: integer format: int64 description: Numero Pagina Admissao numeroLivroDesligamento: type: integer format: int64 description: Numero Livro Desligamento numeroPaginaDesligamento: type: integer format: int64 description: Numero Pagina Desligamento linhaAtaDesligamento: type: integer format: int64 description: Linha Ata Desligamento dataDesligamento: type: string format: date description: Data Desligamento situacao: type: string allOf: – #/definitions/enumSituacaoCooperadoInfo description: Situacao createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: produtorPropriedade: description: Entidade que representa a propriedade do produtor type: object required: – produtorId – nome – pessoaEnderecoId – cnpj properties: id: type: integer format: int64 description: Id da propriedade do produtor produtorId: type: object allOf: – #/definitions/produtor description: Entidade produtor nome: type: string maxLength: 100 description: Nome da propriedade pessoaEnderecoId: type: object allOf: – #/definitions/pessoaEndereco description: Id do endereço da pessoa cnpj: type: string maxLength: 14 description: CNPJ da propriedade do produtor inscricaoEstadual: type: string maxLength: 25 description: Inscrição Estadual inscricaoMunicipal: type: string maxLength: 16 description: Inscrição Municipal observacao: type: string maxLength: 500 description: Observação da propriedade createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: produtorVinculo: description: Entidade que faz o vinculo entre produtores type: object required: – produtorId – produtorVinculadoId properties: id: type: integer format: int64 description: Id produtorId: type: object allOf: – #/definitions/produtor description: Produtor produtorVinculadoId: type: object allOf: – #/definitions/produtor description: Produtor Vinculado nomeVinculo: type: string maxLength: 20 description: Titulo do produtor vinculado createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: transacao: description: Transacoes G5 type: object required: – codigo – descricao – tipo – modulo – situacao properties: id: type: string format: uuid description: Transação id codigo: type: string description: código da transação descricao: type: string description: descrição da transação tipo: type: string allOf: – #/definitions/enumTipoTransacao description: tipo da transação modulo: type: string description: módulo da transação situacao: type: string allOf: – #/definitions/enumSituacaoTransacao description: situacao da transação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: ligTranProc: description: Ligação de processos com Transações type: object required: – transacaoId – processo properties: id: type: string format: uuid description: id da ligação transacaoId: type: object allOf: – #/definitions/transacao description: Id da transacao processo: type: string allOf: – #/definitions/enumProcessosTransacao description: Id do processo 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: notificationOrigin: type: string description: Origin of notification. Free text. Optional. notificationKind: type: string allOf: – #/definitions/userNotificationKind description: Notification kind. notificationPriority: type: string allOf: – #/definitions/userNotificationPriority description: Notification priority. notificationSubject: type: string description: Notification subject. notificationContent: type: string description: Notification content. sourceDomain: type: string description: Domain that generates the notification. sourceService: type: string description: Service that generates the notification. destinationUser: type: string description: Username of the destination user. link: type: string description: Notification link _discriminator: type: string description: emailNotifyUserEventPayload: description: Represents an email notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – from properties: from: type: string description: Email sender address sendTo: type: array items: type: string description: Additional recipients to send the email to format: type: string allOf: – #/definitions/eventEmailFormat description: Email format pushNotifyUserEventPayload: description: Represents a push notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – applicationId properties: applicationId: type: string description: Apple/Google application id blobReference: description: Default blob reference type. Every service defines its own. type: object required: – targetObjectId properties: domainName: type: string description: The domain the blob belongs to. serviceName: type: string description: The service the blob belongs to. targetObjectId: type: string description: The basic id of the blob. targetCopyId: type: string description: The id of the blob copy. basicErrorPayload: description: Default error payload type. Every service defines its own. type: object properties: message: type: string description: The user-facing error message, if any. errorCode: type: string description: The program-accessible (and service-specific) error code. importError: description: type: object required: – errorType – lineNumber – bean – message – exceptionClass properties: errorType: type: string allOf: – #/definitions/errorType description: lineNumber: type: integer format: int64 description: bean: type: string description: message: type: string description: exceptionClass: type: string description: fielddto: description: type: object required: – id – name – fieldType properties: id: type: integer format: int64 description: name: type: string description: fieldType: type: string allOf: – #/definitions/fieldType description: start: type: integer format: int64 description: size: type: integer format: int64 description: maskPattern: type: string description: hookdto: description: type: object required: – hookFunction – script properties: hookFunction: type: string allOf: – #/definitions/hookFunction description: script: type: string description: layoutdto: description: type: object required: – id – description – fileFormat – errorStrategy – skipLines – fields properties: id: type: integer format: int64 description: description: type: string description: fileFormat: type: string allOf: – #/definitions/fileFormat description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: delimiter: type: string description: skipLines: type: integer format: int64 description: fields: type: array items: type: object allOf: – #/definitions/fielddto minimum: 1 description: hooks: type: array items: type: object allOf: – #/definitions/hookdto description: importReport: description: type: object required: – id – startTime – endTime – uri – beanClass – serviceClass – layout – sucessCount – errorsCount – filteredCount – skippedCount properties: id: type: string description: startTime: type: string format: date-time description: endTime: type: string format: date-time description: uri: type: string description: beanClass: type: string description: serviceClass: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: sucessCount: type: integer format: int64 description: errorsCount: type: integer format: int64 description: filteredCount: type: integer format: int64 description: skippedCount: type: integer format: int64 description: importErrors: type: array items: type: object allOf: – #/definitions/importError description: exportEventStatus: description: type: object required: – importerId – eventType – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: recordCount: type: integer format: int64 description: importEventStatus: description: type: object required: – importerId – eventType – status – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: status: type: string allOf: – #/definitions/status description: errorMessage: type: string description: recordCount: type: integer format: int64 description: importReport: type: object allOf: – #/definitions/importReport description: exportConfig: description: type: object required: – uri – layout – async – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: errorStrategy: type: string description: importConfig: description: type: object required: – uri – layout – async – batchSize – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: batchSize: type: integer format: int64 description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: dependency: description: Represents a service dependency type: object required: – domain – service – version properties: domain: type: string description: Domain of the dependency service service: type: string description: Name of the dependency service type: string description: Version of the dependency service genericError: properties: message: type: string description: Messaging describing the error. reason: type: string description: A symbolic code identifying the category of the reason of the error. enum: – BAD_REQUEST – UNAUTHORIZED – PAYMENT_REQUIRED – FORBIDDEN – OBJECT_NOT_FOUND – REQUEST_TIMEOUT – GONE – UNPROCESSABLE – INTERNAL_ERROR – NOT_IMPLEMENTED – SERVICE_UNAVAILABLE – INSUFFICIENT_STORAGE

Este artigo foi útil para você?

Leave A Comment