2.0info: 2.0.1 Contrato de venda description: Serviço do contrato de venda x-senior-domain: ERP Agronegócio Senior X x-senior-domain-path: erp_agr x-senior-service-path: ctr_contratos 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: /ctr_contratos/queries/pesquisarEstimativaProducao: post: description: Retorna as estimativas de produção – 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 estimativa de produção empresa: type: integer format: int64 description: Id da empresa estimativaProducao: type: integer format: int64 description: Id da estimativa de produção safra: type: integer format: int64 description: Id da safra sku: type: integer format: int64 description: Id do sku responses: 200: description: Ok schema: type: object required: – truncado properties: estimativas: type: array items: type: object allOf: – #/definitions/recEstimativaProducao description: Retorna lista de estimativas de produção truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError get: description: Retorna as estimativas de produção – Trunca em 100 registros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id description: Id da estimativa de produção in: query type: integer format: int64 – name: empresa description: Id da empresa in: query type: integer format: int64 – name: estimativaProducao description: Id da estimativa de produção in: query type: integer format: int64 – name: safra description: Id da safra in: query type: integer format: int64 – name: sku description: Id do sku in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – truncado properties: estimativas: type: array items: type: object allOf: – #/definitions/recEstimativaProducao description: Retorna lista de estimativas de produção truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError /ctr_contratos/queries/pesquisarEstimativaProducaoPropriedade: post: description: Retorna as estimativas de produção – 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 propriedade da estimativa da produção estimativaProducao: type: integer format: int64 description: Id da estimativa de produção produtor: type: integer format: int64 description: Id do produtor responses: 200: description: Ok schema: type: object required: – truncado properties: estimativasPropriedade: type: array items: type: object allOf: – #/definitions/recEstimativaProducaoPropriedades description: Retorna lista das propriedades da estimativa de produção truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError get: description: Retorna as estimativas de produção – Trunca em 100 registros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id description: Id da propriedade da estimativa da produção in: query type: integer format: int64 – name: estimativaProducao description: Id da estimativa de produção in: query type: integer format: int64 – name: produtor description: Id do produtor in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – truncado properties: estimativasPropriedade: type: array items: type: object allOf: – #/definitions/recEstimativaProducaoPropriedades description: Retorna lista das propriedades da estimativa de produção truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError /ctr_contratos/queries/pesquisarContratoVenda: post: description: Retorna os contratos de venda – 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 do contrato idEmpresa: type: integer format: int64 description: Id da empresa idFilial: type: integer format: int64 description: Id da filial idCliente: type: integer format: int64 description: Id do cliente idRepresentante: type: integer format: int64 description: Id do representante idMoeda: type: integer format: int64 description: Id da moeda mercado: type: string allOf: – #/definitions/enumMercado description: Mercado do contrato precificacao: type: string allOf: – #/definitions/enumPrecificacao description: Precificação situacao: type: string allOf: – #/definitions/enumSituacaoContratoVenda description: Situação do contrato numeroContratoCliente: type: string maxLength: 50 description: Número do contrato do cliente dataInicioVigencia: type: string format: date description: Data de início da vigência – Necessário informar data fim de vigência também dataFimVigencia: type: string format: date description: Data de fim da vigência – Necessário informar data início de vigência também dataInicioContrato: type: string format: date description: Data de início do contrato – Necessário informar data início do contrato também dataFimContrato: type: string format: date description: Data de fim do contrato – Necessário informar data fim do contrato também responses: 200: description: Ok schema: type: object required: – truncado properties: contratos: type: array items: type: object allOf: – #/definitions/recContratoVenda description: Lista dos contratos de venda truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError /ctr_contratos/queries/pesquisarItemContratoVenda: post: description: Retorna os itens do contrato de venda – 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 do item do contrato de venda idContrato: type: integer format: int64 description: Id do contrato responses: 200: description: Ok schema: type: object required: – truncado properties: itens: type: array items: type: object allOf: – #/definitions/recContratoVendaItem description: Lista dos itens do contrato de venda truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError get: description: Retorna os itens do contrato de venda – Trunca em 100 registros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id description: Id do item do contrato de venda in: query type: integer format: int64 – name: idContrato description: Id do contrato in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – truncado properties: itens: type: array items: type: object allOf: – #/definitions/recContratoVendaItem description: Lista dos itens do contrato de venda truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError /ctr_contratos/queries/pesquisarAcrescimoDescontoContratoVenda: post: description: Retorna os acréscimos/descontos do contrato de venda – 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 do acréscimo/desconto do contrato de venda idItemContrato: type: integer format: int64 description: Id do item do contrato responses: 200: description: Ok schema: type: object required: – truncado properties: acrescimosDescontos: type: array items: type: object allOf: – #/definitions/recItemContratoVendaAcrescimoDescontoManual description: Lista de acréscimos/descontos do contrato de venda truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError get: description: Retorna os acréscimos/descontos do contrato de venda – Trunca em 100 registros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id description: Id do acréscimo/desconto do contrato de venda in: query type: integer format: int64 – name: idItemContrato description: Id do item do contrato in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – truncado properties: acrescimosDescontos: type: array items: type: object allOf: – #/definitions/recItemContratoVendaAcrescimoDescontoManual description: Lista de acréscimos/descontos do contrato de venda truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError /ctr_contratos/queries/pesquisarPrevisaoEntregaContratoVenda: post: description: Retorna as previsões de entrega do contrato de venda – 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 previsão de entrega do contrato de venda idItemContrato: type: integer format: int64 description: Id do item do contrato situacao: type: string allOf: – #/definitions/enumPrevisaoEntregaContratoVenda description: Situação da previsão de entrega do contrato de venda responses: 200: description: Ok schema: type: object required: – truncado properties: previsoesEntrega: type: array items: type: object allOf: – #/definitions/recItemContratoVendaPrevisaoEntrega description: Lista das previsões de entrega do contrato de venda truncado: type: boolean description: Indica se a consulta foi truncada default: description: Error response schema: #/definitions/genericError /ctr_contratos/queries/pesquisarSituacaoContratoVenda: post: description: Retorna enumerações da situação do contrato tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – situacoesContrato properties: situacoesContrato: type: array items: type: string allOf: – #/definitions/enumSituacaoContratoVenda minimum: 1 description: Lista de situações default: description: Error response schema: #/definitions/genericError get: description: Retorna enumerações da situação do contrato tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – situacoesContrato properties: situacoesContrato: type: array items: type: string allOf: – #/definitions/enumSituacaoContratoVenda minimum: 1 description: Lista de situações default: description: Error response schema: #/definitions/genericError /ctr_contratos/queries/pesquisarTipoIncoterm: post: description: Retorna enumerações do incoterm tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: mercado: type: string allOf: – #/definitions/enumMercado description: Filtra o incoterm pelo mercado, se nacional trará CIF e FOB, externo e ambos trará as demais opções responses: 200: description: Ok schema: type: object required: – incoterms properties: incoterms: type: array items: type: string allOf: – #/definitions/enumIncoterm minimum: 1 description: Lista de incoterms default: description: Error response schema: #/definitions/genericError /ctr_contratos/queries/pesquisarTipoMercado: post: description: Retorna enumerações do mercado tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – mercados properties: mercados: type: array items: type: string allOf: – #/definitions/enumMercado minimum: 1 description: Lista de mercados default: description: Error response schema: #/definitions/genericError get: description: Retorna enumerações do mercado tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – mercados properties: mercados: type: array items: type: string allOf: – #/definitions/enumMercado minimum: 1 description: Lista de mercados default: description: Error response schema: #/definitions/genericError /ctr_contratos/queries/pesquisarTipoPrecificacao: post: description: Retorna enumerações da precificação tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – precificacoes properties: precificacoes: type: array items: type: string allOf: – #/definitions/enumPrecificacao minimum: 1 description: Lista de precificações default: description: Error response schema: #/definitions/genericError get: description: Retorna enumerações da precificação tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – precificacoes properties: precificacoes: type: array items: type: string allOf: – #/definitions/enumPrecificacao minimum: 1 description: Lista de precificações default: description: Error response schema: #/definitions/genericError /ctr_contratos/queries/pesquisarTipoEntrega: post: description: Retorna enumerações do tipo de entrega tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – tiposEntrega properties: tiposEntrega: type: array items: type: string allOf: – #/definitions/enumTipoEntrega minimum: 1 description: Tipos de entrega default: description: Error response schema: #/definitions/genericError get: description: Retorna enumerações do tipo de entrega tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – tiposEntrega properties: tiposEntrega: type: array items: type: string allOf: – #/definitions/enumTipoEntrega minimum: 1 description: Tipos de entrega default: description: Error response schema: #/definitions/genericError /ctr_contratos/queries/pesquisarSituacaoContratoVendaPrevisaoEntrega: post: description: Retorna enumerações da situação da previsão de entrega do contrato de venda tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – situacoesPrevisaoEntrega properties: situacoesPrevisaoEntrega: type: array items: type: string allOf: – #/definitions/enumPrevisaoEntregaContratoVenda minimum: 1 description: Situação da previsão de entrega default: description: Error response schema: #/definitions/genericError get: description: Retorna enumerações da situação da previsão de entrega do contrato de venda tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – situacoesPrevisaoEntrega properties: situacoesPrevisaoEntrega: type: array items: type: string allOf: – #/definitions/enumPrevisaoEntregaContratoVenda minimum: 1 description: Situação da previsão de entrega default: description: Error response schema: #/definitions/genericError /ctr_contratos/queries/pesquisarTipoAcrescimoDesconto: post: description: Retorna enumerações de acréscimo/desconto tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – tiposAcrescimoDesconto properties: tiposAcrescimoDesconto: type: array items: type: string allOf: – #/definitions/enumAcrescimoDesconto minimum: 1 description: Tipo – Acrécimo ou desconto default: description: Error response schema: #/definitions/genericError get: description: Retorna enumerações de acréscimo/desconto tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – tiposAcrescimoDesconto properties: tiposAcrescimoDesconto: type: array items: type: string allOf: – #/definitions/enumAcrescimoDesconto minimum: 1 description: Tipo – Acrécimo ou desconto default: description: Error response schema: #/definitions/genericError /ctr_contratos/queries/pesquisarFixacaoContratoVenda: post: description: Pesquisa as fixações de um contrato tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – contratoVendaId properties: contratoVendaId: type: integer format: int64 description: Id contrato de venda responses: 200: description: Ok schema: type: object required: – itens properties: itens: type: array items: type: object allOf: – #/definitions/recFixacaoContratoVenda minimum: 1 description: fixações default: description: Error response schema: #/definitions/genericError get: description: Pesquisa as fixações de um contrato tags: – Queries x-senior-visibility: PRIVATE parameters: – name: contratoVendaId description: Id contrato de venda in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – itens properties: itens: type: array items: type: object allOf: – #/definitions/recFixacaoContratoVenda minimum: 1 description: fixações default: description: Error response schema: #/definitions/genericError /ctr_contratos/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 /ctr_contratos/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: 5 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 /ctr_contratos/queries/getMetadata: post: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: metadataFormat: type: string description: responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: default: description: Error response schema: #/definitions/genericError get: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: metadataFormat description: in: query type: string responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: default: description: Error response schema: #/definitions/genericError /ctr_contratos/queries/exportEstimativaProducao: 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 /ctr_contratos/queries/exportEstimativaProducaoPropriedades: 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 /ctr_contratos/queries/exportContratoVenda: 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 /ctr_contratos/queries/exportContratoVendaItem: 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 /ctr_contratos/queries/exportContratoVendaAnexo: 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 /ctr_contratos/queries/exportContratoVendaCobranca: 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 /ctr_contratos/queries/exportContratoVendaFrete: 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 /ctr_contratos/queries/exportItemContratoVendaAcrescimoDesconto: 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 /ctr_contratos/queries/exportContratoVendaPrevEnt: 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 /ctr_contratos/queries/exportContratoVendaFixacao: 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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/actions/incluirEstimativaProducao: post: description: Insere a estimativa de produção tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – estimativaProducao properties: estimativaProducao: type: object allOf: – #/definitions/recEstimativaProducaoManual description: Estimativa de produção 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 /ctr_contratos/actions/alterarEstimativaProducao: post: description: Altera a estimativa de produção tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – estimativaProducao properties: estimativaProducao: type: object allOf: – #/definitions/recEstimativaProducaoManual description: Estimativa de produção 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 /ctr_contratos/actions/deletarEstimativaProducao: post: description: Deleta a estimativa de produção 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: Estimativa de produção 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 /ctr_contratos/actions/deletarEstimativaProducaoPropriedade: post: description: Deleta a propriedade da estimativa de produção 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 da propriedade da estimativa de produção 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 /ctr_contratos/actions/incluirEstimativaProducaoPropriedade: post: description: Insere a propriedade da estimativa de produção tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – estimativaProducaoProp properties: estimativaProducaoProp: type: object allOf: – #/definitions/recEstimativaProducaoPropriedadesManual description: Propriedade da estimativa de produção 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 /ctr_contratos/actions/alterarEstimativaProducaoPropriedade: post: description: Altera a propriedade da estimativa de produção tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – estimativaProducaoProp properties: estimativaProducaoProp: type: object allOf: – #/definitions/recEstimativaProducaoPropriedadesManual description: Propriedade da estimativa de produção 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 /ctr_contratos/actions/incluirContratoVenda: post: description: Insere o contrato de venda tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – contrato properties: contrato: type: object allOf: – #/definitions/recContratoVendaManual description: Contrato de venda 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 /ctr_contratos/actions/alterarContratoVenda: post: description: Altera o contrato de venda tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – contrato properties: contrato: type: object allOf: – #/definitions/recContratoVendaManual description: Contrato de venda 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 /ctr_contratos/actions/deletarContratoVenda: post: description: Deleta o contrato de venda 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: Contrato de venda 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 /ctr_contratos/actions/deletarContratoVendaItem: post: description: Deleta o item do contrato de venda 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 item do contrato de venda 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 /ctr_contratos/actions/incluirContratoVendaItem: post: description: Insere o item do contrato de venda tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – item properties: item: type: object allOf: – #/definitions/recContratoVendaItemManual description: Item do contrato de venda 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 /ctr_contratos/actions/alterarContratoVendaItem: post: description: Altera o item do contrato de venda tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – item properties: item: type: object allOf: – #/definitions/recContratoVendaItemManual description: Item do contrato de venda 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 /ctr_contratos/actions/incluirContratoVendaAcrescimoDesconto: post: description: Insere acréscimo/desconto do item do contrato de venda tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – acrescimoDesconto properties: acrescimoDesconto: type: object allOf: – #/definitions/recItemContratoVendaAcrescimoDescontoManual description: Acréscimo/Desconto do item do contrato de venda 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 /ctr_contratos/actions/alterarContratoVendaAcrescimoDesconto: post: description: Altera o acréscimo/desconto do item do contrato de venda tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – acrescimoDesconto properties: acrescimoDesconto: type: object allOf: – #/definitions/recItemContratoVendaAcrescimoDescontoManual description: Acréscimo/Desconto do item do contrato de venda 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 /ctr_contratos/actions/deletarContratoVendaAcrescimoDesconto: post: description: Deleta o acréscimo/desconto do item do contrato de venda 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 acréscimo/desconto do item do contrato de venda 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 /ctr_contratos/actions/incluirContratoVendaPrevisaoEntrega: post: description: Insere previsão de entrega do item do contrato de venda tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – previsaoEntrega properties: previsaoEntrega: type: object allOf: – #/definitions/contratoVendaPrevEnt description: Previsão de entrega do item do contrato de venda 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 /ctr_contratos/actions/alterarContratoVendaPrevisaoEntrega: post: description: Altera a previsão de entrega do item do contrato de venda tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – previsaoEntrega properties: previsaoEntrega: type: object allOf: – #/definitions/contratoVendaPrevEnt description: Previsão de entrega do item do contrato de venda 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 /ctr_contratos/actions/deletarContratoVendaPrevisaoEntrega: post: description: Deleta a previsão de entrega do item do contrato de venda 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 acréscimo/desconto do item do contrato de venda 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 /ctr_contratos/actions/requisitarEnderecoUploadArquivo: post: description: Requisita ao servidor WEBDAV um endereço para upload de arquivo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – nome properties: nome: type: string description: Nome do arquivo responses: 200: description: Ok schema: type: object required: – dadosAcesso properties: dadosAcesso: type: object allOf: – #/definitions/recDadosAcessoArquivo description: Dados de acesso ao arquivo, como por exemplo, URL de acesso ao WEBDAV default: description: Error response schema: #/definitions/genericError /ctr_contratos/actions/requisitarEnderecoDownloadArquivo: post: description: Requisita ao servidor WEBDAV, com base no identificador e nome do arquivo, o endereço de download deste objeto tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – codigoAcesso – nome – versao properties: codigoAcesso: type: string description: Identificador do arquivo nas estruturas do WEBDAV nome: type: string description: Nome do arquivo versao: type: string description: Versão do arquivo responses: 200: description: Ok schema: type: object required: – dadosAcesso properties: dadosAcesso: type: object allOf: – #/definitions/recDadosAcessoArquivo description: Dados de acesso ao arquivo, como por exemplo, URL de acesso ao WEBDAV default: description: Error response schema: #/definitions/genericError /ctr_contratos/actions/removerArquivo: post: description: Realiza a remoção de um dado arquivo nas estruturas internas do serviço e do servidor tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – codigoAcesso – nome – id properties: codigoAcesso: type: string description: Identificador do arquivo nas estruturas do WEBDAV nome: type: string description: Nome do arquivo id: type: integer format: int64 description: Id do arquivo a ser removido 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 /ctr_contratos/actions/verificarDownloadDisponivel: post: description: Verifica se o arquivo já está disponível para download tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – codigoAcesso – nome – versao – url properties: codigoAcesso: type: string description: Identificador do arquivo nas estruturas do WEBDAV nome: type: string description: Nome do arquivo versao: type: string description: Versão do arquivo url: type: string description: Local onde o arquivo está disponível responses: 200: description: Ok schema: type: object required: – disponivel properties: disponivel: type: boolean description: Retorno (True/False) do processo default: description: Error response schema: #/definitions/genericError /ctr_contratos/actions/incluirContratoVendaAnexo: post: description: Incluir o anexo do contrato de venda tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – anexo properties: anexo: type: object allOf: – #/definitions/recContratoVendaAnexoManual description: Anexo do contrato de venda 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 /ctr_contratos/actions/fixarContratoVenda: post: description: açao da fixação dos itens de um contrato venda tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – contratoVendaId – itens properties: contratoVendaId: type: integer format: int64 description: ID contratoVenda itens: type: array items: type: object allOf: – #/definitions/recItemFixacao minimum: 1 description: itens á serem fixados responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /ctr_contratos/actions/odata: post: description: tags: – Actions x-senior-visibility: PRIVATE responses: 204: description: No response default: description: Error response schema: #/definitions/genericError /ctr_contratos/actions/importEstimativaProducao: 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 /ctr_contratos/actions/importEstimativaProducaoPropriedades: 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 /ctr_contratos/actions/importContratoVenda: 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 /ctr_contratos/actions/importContratoVendaItem: 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 /ctr_contratos/actions/importContratoVendaAnexo: 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 /ctr_contratos/actions/importContratoVendaCobranca: 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 /ctr_contratos/actions/importContratoVendaFrete: 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 /ctr_contratos/actions/importItemContratoVendaAcrescimoDesconto: 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 /ctr_contratos/actions/importContratoVendaPrevEnt: 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 /ctr_contratos/actions/importContratoVendaFixacao: 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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/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 /ctr_contratos/entities/estimativaProducao: post: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/estimativaProducao responses: 200: description: The created resource schema: #/definitions/estimativaProducao default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/estimativaProducao responses: 200: description: The created resource schema: #/definitions/estimativaProducao default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. 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/estimativaProducao default: description: Error response schema: #/definitions/genericError /ctr_contratos/entities/estimativaProducao/{id}: put: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/estimativaProducao responses: 200: description: Ok schema: #/definitions/estimativaProducao default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/estimativaProducao responses: 200: description: Ok schema: #/definitions/estimativaProducao default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/estimativaProducao default: description: Error response schema: #/definitions/genericError delete: description: This entity is customizable. 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 /ctr_contratos/entities/estimativaProducao/bulk: post: description: This entity is customizable. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/estimativaProducao responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /ctr_contratos/entities/estimativaProducaoPropriedades: post: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/estimativaProducaoPropriedades responses: 200: description: The created resource schema: #/definitions/estimativaProducaoPropriedades default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/estimativaProducaoPropriedades responses: 200: description: The created resource schema: #/definitions/estimativaProducaoPropriedades default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. 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/estimativaProducaoPropriedades default: description: Error response schema: #/definitions/genericError /ctr_contratos/entities/estimativaProducaoPropriedades/{id}: put: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/estimativaProducaoPropriedades responses: 200: description: Ok schema: #/definitions/estimativaProducaoPropriedades default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/estimativaProducaoPropriedades responses: 200: description: Ok schema: #/definitions/estimativaProducaoPropriedades default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/estimativaProducaoPropriedades default: description: Error response schema: #/definitions/genericError delete: description: This entity is customizable. 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 /ctr_contratos/entities/estimativaProducaoPropriedades/bulk: post: description: This entity is customizable. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/estimativaProducaoPropriedades responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /ctr_contratos/entities/contratoVenda: post: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/contratoVenda responses: 200: description: The created resource schema: #/definitions/contratoVenda default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/contratoVenda responses: 200: description: The created resource schema: #/definitions/contratoVenda default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. 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/contratoVenda default: description: Error response schema: #/definitions/genericError /ctr_contratos/entities/contratoVenda/{id}: put: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoVenda responses: 200: description: Ok schema: #/definitions/contratoVenda default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoVenda responses: 200: description: Ok schema: #/definitions/contratoVenda default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/contratoVenda default: description: Error response schema: #/definitions/genericError delete: description: This entity is customizable. 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 /ctr_contratos/entities/contratoVenda/bulk: post: description: This entity is customizable. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/contratoVenda responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /ctr_contratos/entities/contratoVendaItem: post: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/contratoVendaItem responses: 200: description: The created resource schema: #/definitions/contratoVendaItem default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/contratoVendaItem responses: 200: description: The created resource schema: #/definitions/contratoVendaItem default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. 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/contratoVendaItem default: description: Error response schema: #/definitions/genericError /ctr_contratos/entities/contratoVendaItem/{id}: put: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoVendaItem responses: 200: description: Ok schema: #/definitions/contratoVendaItem default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoVendaItem responses: 200: description: Ok schema: #/definitions/contratoVendaItem default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/contratoVendaItem default: description: Error response schema: #/definitions/genericError delete: description: This entity is customizable. 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 /ctr_contratos/entities/contratoVendaItem/bulk: post: description: This entity is customizable. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/contratoVendaItem responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /ctr_contratos/entities/contratoVendaAnexo: post: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/contratoVendaAnexo responses: 200: description: The created resource schema: #/definitions/contratoVendaAnexo default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/contratoVendaAnexo responses: 200: description: The created resource schema: #/definitions/contratoVendaAnexo default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. 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/contratoVendaAnexo default: description: Error response schema: #/definitions/genericError /ctr_contratos/entities/contratoVendaAnexo/{id}: put: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoVendaAnexo responses: 200: description: Ok schema: #/definitions/contratoVendaAnexo default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoVendaAnexo responses: 200: description: Ok schema: #/definitions/contratoVendaAnexo default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/contratoVendaAnexo default: description: Error response schema: #/definitions/genericError delete: description: This entity is customizable. 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 /ctr_contratos/entities/contratoVendaAnexo/bulk: post: description: This entity is customizable. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/contratoVendaAnexo responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /ctr_contratos/entities/contratoVendaCobranca: post: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/contratoVendaCobranca responses: 200: description: The created resource schema: #/definitions/contratoVendaCobranca default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/contratoVendaCobranca responses: 200: description: The created resource schema: #/definitions/contratoVendaCobranca default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. 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/contratoVendaCobranca default: description: Error response schema: #/definitions/genericError /ctr_contratos/entities/contratoVendaCobranca/{id}: put: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoVendaCobranca responses: 200: description: Ok schema: #/definitions/contratoVendaCobranca default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoVendaCobranca responses: 200: description: Ok schema: #/definitions/contratoVendaCobranca default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/contratoVendaCobranca default: description: Error response schema: #/definitions/genericError delete: description: This entity is customizable. 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 /ctr_contratos/entities/contratoVendaCobranca/bulk: post: description: This entity is customizable. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/contratoVendaCobranca responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /ctr_contratos/entities/contratoVendaFrete: post: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/contratoVendaFrete responses: 200: description: The created resource schema: #/definitions/contratoVendaFrete default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/contratoVendaFrete responses: 200: description: The created resource schema: #/definitions/contratoVendaFrete default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. 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/contratoVendaFrete default: description: Error response schema: #/definitions/genericError /ctr_contratos/entities/contratoVendaFrete/{id}: put: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoVendaFrete responses: 200: description: Ok schema: #/definitions/contratoVendaFrete default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoVendaFrete responses: 200: description: Ok schema: #/definitions/contratoVendaFrete default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/contratoVendaFrete default: description: Error response schema: #/definitions/genericError delete: description: This entity is customizable. 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 /ctr_contratos/entities/contratoVendaFrete/bulk: post: description: This entity is customizable. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/contratoVendaFrete responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /ctr_contratos/entities/itemContratoVendaAcrescimoDesconto: post: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/itemContratoVendaAcrescimoDesconto responses: 200: description: The created resource schema: #/definitions/itemContratoVendaAcrescimoDesconto default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/itemContratoVendaAcrescimoDesconto responses: 200: description: The created resource schema: #/definitions/itemContratoVendaAcrescimoDesconto default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. 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/itemContratoVendaAcrescimoDesconto default: description: Error response schema: #/definitions/genericError /ctr_contratos/entities/itemContratoVendaAcrescimoDesconto/{id}: put: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/itemContratoVendaAcrescimoDesconto responses: 200: description: Ok schema: #/definitions/itemContratoVendaAcrescimoDesconto default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/itemContratoVendaAcrescimoDesconto responses: 200: description: Ok schema: #/definitions/itemContratoVendaAcrescimoDesconto default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/itemContratoVendaAcrescimoDesconto default: description: Error response schema: #/definitions/genericError delete: description: This entity is customizable. 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 /ctr_contratos/entities/itemContratoVendaAcrescimoDesconto/bulk: post: description: This entity is customizable. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/itemContratoVendaAcrescimoDesconto responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /ctr_contratos/entities/contratoVendaPrevEnt: post: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/contratoVendaPrevEnt responses: 200: description: The created resource schema: #/definitions/contratoVendaPrevEnt default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/contratoVendaPrevEnt responses: 200: description: The created resource schema: #/definitions/contratoVendaPrevEnt default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. 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/contratoVendaPrevEnt default: description: Error response schema: #/definitions/genericError /ctr_contratos/entities/contratoVendaPrevEnt/{id}: put: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoVendaPrevEnt responses: 200: description: Ok schema: #/definitions/contratoVendaPrevEnt default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoVendaPrevEnt responses: 200: description: Ok schema: #/definitions/contratoVendaPrevEnt default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/contratoVendaPrevEnt default: description: Error response schema: #/definitions/genericError delete: description: This entity is customizable. 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 /ctr_contratos/entities/contratoVendaPrevEnt/bulk: post: description: This entity is customizable. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/contratoVendaPrevEnt responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /ctr_contratos/entities/contratoVendaFixacao: post: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/contratoVendaFixacao responses: 200: description: The created resource schema: #/definitions/contratoVendaFixacao default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/contratoVendaFixacao responses: 200: description: The created resource schema: #/definitions/contratoVendaFixacao default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. 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/contratoVendaFixacao default: description: Error response schema: #/definitions/genericError /ctr_contratos/entities/contratoVendaFixacao/{id}: put: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoVendaFixacao responses: 200: description: Ok schema: #/definitions/contratoVendaFixacao default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/contratoVendaFixacao responses: 200: description: Ok schema: #/definitions/contratoVendaFixacao default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/contratoVendaFixacao default: description: Error response schema: #/definitions/genericError delete: description: This entity is customizable. 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 /ctr_contratos/entities/contratoVendaFixacao/bulk: post: description: This entity is customizable. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/contratoVendaFixacao responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /ctr_contratos/entities/sku: post: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/sku/{id}: put: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/sku/bulk: post: description: This entity is customizable. 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 /ctr_contratos/entities/unidadeMedida: post: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/unidadeMedida/{id}: put: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/unidadeMedida/bulk: post: description: This entity is customizable. 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 /ctr_contratos/entities/empresa: post: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/empresa/{id}: put: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/empresa/bulk: post: description: This entity is customizable. 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 /ctr_contratos/entities/filial: post: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/filial/{id}: put: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/filial/bulk: post: description: This entity is customizable. 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 /ctr_contratos/entities/pessoa: post: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/pessoa/{id}: put: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/pessoa/bulk: post: description: This entity is customizable. 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 /ctr_contratos/entities/pessoaEndereco: post: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/pessoaEndereco/{id}: put: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/pessoaEndereco/bulk: post: description: This entity is customizable. 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 /ctr_contratos/entities/estado: post: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/estado/{id}: put: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/estado/bulk: post: description: This entity is customizable. 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 /ctr_contratos/entities/cidade: post: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/cidade/{id}: put: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/cidade/bulk: post: description: This entity is customizable. 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 /ctr_contratos/entities/moeda: post: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/moeda/{id}: put: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/moeda/bulk: post: description: This entity is customizable. 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 /ctr_contratos/entities/safra: post: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/safra/{id}: put: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/safra/bulk: post: description: This entity is customizable. 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 /ctr_contratos/entities/formaPagamento: post: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/formaPagamento/{id}: put: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/formaPagamento/bulk: post: description: This entity is customizable. 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 /ctr_contratos/entities/condicaoPagamento: post: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/condicaoPagamento/{id}: put: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/condicaoPagamento/bulk: post: description: This entity is customizable. 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 /ctr_contratos/entities/transacao: post: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/transacao/{id}: put: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/transacao/bulk: post: description: This entity is customizable. 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 /ctr_contratos/entities/ligTranProc: post: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/ligTranProc/{id}: put: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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: description: This entity is customizable. 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 /ctr_contratos/entities/ligTranProc/bulk: post: description: This entity is customizable. 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 enumPrevisaoEntregaContratoVenda: description: Tipo da previsão de entrega do contrato de venda type: string enum: – AExpedir – Expedido enumTipoEntrega: description: Tipo de entrega do produto do contrato de venda type: string enum: – Retirar – Entregar enumAcrescimoDesconto: description: Tipo do acréscimo/desconto do contrato de venda type: string enum: – Acrescimo – Desconto 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 enumSituacaoTransacao: description: Situacao da transação type: string enum: – Ativo – Inativo 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 recEstimativaProducao: description: Estimativa de produção type: object required: – estimativaProducao – safra – empresa – descricaoSafra – sku – descricaoSku – codigoUnidadeMedidaConvertida – descricaoUnidadeMedidaConvertida – totalEstimativa properties: estimativaProducao: type: integer format: int64 description: Id da estimativa de produção safra: type: integer format: int64 description: Id da safra empresa: type: object allOf: – #/definitions/recEmpresa description: Empresa descricaoSafra: type: string description: Descrição da safra sku: type: integer format: int64 description: Id do sku descricaoSku: type: string description: Descrição do sku codigoUnidadeMedidaConvertida: type: string description: Código da unidade de medida convertida – Se houver ligação entre sku e unidade de medida, trará a unidade de medida convertida, senão trará a definida no sku provida da G5 descricaoUnidadeMedidaConvertida: type: string description: Descrição da unidade de medida convertida – Se houver ligação entre sku e unidade de medida, trará a unidade de medida convertida, senão trará a definida no sku provida da G5 totalEstimativa: type: number format: double description: Total estimativa recEstimativaProducaoPropriedades: description: Estimativa de produção – Propriedades type: object required: – pessoa – nomePessoa – pessoaEndereco – endereco – numeroEndereco – quantidadeProduzida properties: id: type: integer format: int64 description: Id da propriedade de estimativa de produção pessoa: type: integer format: int64 description: Id da pessoa (produtor) nomePessoa: type: string description: Nome da pessoa (produtor) pessoaEndereco: type: integer format: int64 description: Id do endereço da pessoa (produtor) endereco: type: string description: Endereço da pessoa (produtor) numeroEndereco: type: string description: Número do endereço da pessoa (produtor) quantidadeProduzida: type: number format: double description: Quantidade produzida pelo produtor recPessoaEndereco: description: Pessoa Endereço type: object required: – id – endereco – numero properties: id: type: integer format: int64 description: Id do endereço endereco: type: string maxLength: 100 description: Endereço numero: type: string maxLength: 100 description: Número do endereço recMoeda: description: Moeda type: object required: – id – nome – sigla properties: id: type: integer format: int64 description: Id da moeda nome: type: string maxLength: 30 description: Nome da moeda sigla: type: string maxLength: 5 description: Sigla moeda quantidadeDecimais: type: integer format: int64 description: Quantidade de decimais quantidadeInteiros: type: integer format: int64 description: Quantidade de inteiros recContratoVenda: description: Contrato de venda type: object required: – idCliente – nomeCliente – idRepresentante – nomeRepresentante – enderecoPadraoCliente – enderecoCobrancaCliente – moeda – situacao – mercado – dataContrato – dataVigenciaInicio – dataVigenciaFim – precificacao properties: id: type: integer format: int64 description: Id do contrato de venda empresa: type: object allOf: – #/definitions/recEmpresa description: Id da empresa filial: type: object allOf: – #/definitions/recFilial description: Id da filial idCliente: type: integer format: int64 description: Id do cliente nomeCliente: type: string maxLength: 150 description: Nome do cliente idRepresentante: type: integer format: int64 description: Id do representante nomeRepresentante: type: string maxLength: 150 description: Nome do representante enderecoPadraoCliente: type: object allOf: – #/definitions/recPessoaEndereco description: Endereço padrão do cliente enderecoCobrancaCliente: type: object allOf: – #/definitions/recPessoaEndereco description: Endereço de cobrança do cliente moeda: type: object allOf: – #/definitions/recMoeda description: Moeda situacao: type: string allOf: – #/definitions/enumSituacaoContratoVenda description: Situação do contrato de venda mercado: type: string allOf: – #/definitions/enumMercado description: Mercado dataContrato: type: string format: date description: Data do contrato numeroContratoCliente: type: string maxLength: 50 description: Número do contrato no sistema do cliente dataVigenciaInicio: type: string format: date description: Data inicial de vigência dataVigenciaFim: type: string format: date description: Data final de vigência precificacao: type: string allOf: – #/definitions/enumPrecificacao description: Precificação observacao: type: string maxLength: 1000 description: Observação do contrato anexos: type: array items: type: object allOf: – #/definitions/recContratoVendaAnexoManual description: Anexos do contrato cobranca: type: object allOf: – #/definitions/recContratoVendaCobrancaManual description: Informações de cobrança do contrato frete: type: object allOf: – #/definitions/recContratoVendaFreteManual description: Informações de frete do contrato recContratoVendaItem: description: Item do contrato de venda type: object required: – id – sku – unidadeMedida – quantidade – valorUnitario – valorTotal properties: id: type: integer format: int64 description: Id do item do contrato de venda safra: type: object allOf: – #/definitions/recSafra description: Id da Safra sku: type: object allOf: – #/definitions/recSkuItemContrato description: Dados do sku unidadeMedida: type: object allOf: – #/definitions/recUnidadeMedida description: Unidade de medida quantidade: type: number format: double description: Quantidade do sku valorUnitario: type: string description: Valor unitário do sku valorTotal: type: string description: Valor total do item observacao: type: string maxLength: 500 description: Observação 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 da unidade de medida recSafra: description: Record da safra type: object required: – id – codigo – descricao properties: id: type: integer format: int64 description: Id da safra codigo: type: string description: Código do safra descricao: type: string description: Descrição do sku recEmpresa: description: Record da empresa type: object required: – id – codigo – nome properties: id: type: integer format: int64 description: Id da empresa codigo: type: string description: Código da empresa nome: type: string description: Descrição da empresa recFilial: description: Record da filial type: object required: – id – codigo – nome properties: id: type: integer format: int64 description: Id da filial codigo: type: string description: Código da filial nome: type: string description: Descrição da filial recSkuItemContrato: description: Sku do item do contrato type: object required: – id – codigo – descricao 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 recDadosAcessoArquivo: description: Dados de acesso ao arquivo type: object required: – codigoAcesso – nome – versao – url properties: codigoAcesso: type: string description: Código de acesso do arquivo nome: type: string description: Nome do arquivo versao: type: string description: Versão do arquivo url: type: string description: URL de acesso ao arquivo recItemContratoVendaPrevisaoEntrega: description: Previsão de entrega do item do contrato de venda type: object required: – id – idItemContratoVenda – dataPrevisao – quantidadePrevista – situacao – tipoEntrega – endereco properties: id: type: integer format: int64 description: Id da previsão de entrega idItemContratoVenda: type: integer format: int64 description: Id do item do contrato de venda dataPrevisao: type: string format: date description: Data da previsão de entrega quantidadePrevista: type: number format: double description: Quantidade prevista de entrega situacao: type: string allOf: – #/definitions/enumPrevisaoEntregaContratoVenda description: Situação da previsão de entrega tipoEntrega: type: string allOf: – #/definitions/enumTipoEntrega description: Tipo da entrega endereco: type: object allOf: – #/definitions/recPessoaEndereco description: Id do endereço (se o tipo de entrega for Entregar será do cliente, se for Retirar será da filial) recContratoVendaPrevisaoEntregaExpedida: description: Dados da previsão de entrega expedida type: object required: – idContratoVendaPrevisaoEntrega – idSku – idUnidadeMedida – quantidade – valorUnitario properties: idContratoVendaPrevisaoEntrega: type: integer format: int64 description: Id da previsão de entrega do item do contrato de venda idSku: type: integer format: int64 description: Id do sku idUnidadeMedida: type: integer format: int64 description: Id da unidade de medida quantidade: type: number format: double description: Quantidade do sku valorUnitario: type: string description: Valor unitário do sku observacao: type: string maxLength: 500 description: Observação recFixacaoContratoVenda: description: Dados para a fixação do contrato de vendas type: object required: – contratoVendaItemId – produto – quantidadeNegociada – quantidadeAberta – precoInicial – valorPago properties: contratoVendaItemId: type: integer format: int64 description: id item produto: type: string description: produto quantidadeNegociada: type: number format: double description: quantidade total quantidadeAberta: type: number format: double description: quantidade aberta precoInicial: type: string description: preco inicial valorPago: type: string description: valorFixado recEstimativaProducaoManual: description: Entidade manual estimativa producao type: object properties: id: type: integer format: int64 description: Id da estimativa de produção empresa: type: integer format: int64 description: Id da empresa safra: type: integer format: int64 description: Id da safra sku: type: integer format: int64 description: Id do sku estimativaProducaoProp: type: array items: type: object allOf: – #/definitions/recEstimativaProducaoPropriedadesManual description: Lista das propriedades da estimativa de produção recEstimativaProducaoPropriedadesManual: description: Entidade manual estimativa producao propriedades type: object properties: id: type: integer format: int64 description: Id da propriedade da estimativa de produção estimativaProducao: type: integer format: int64 description: Id da estimativa de produção pessoa: type: integer format: int64 description: Id da pessoa (produtor) pessoaEndereco: type: integer format: int64 description: Id do endereço da pessoa (produtor) quantidadeProduzida: type: number format: double description: Quantidade produzida pelo produtor recContratoVendaManual: description: Entidade manual contrato venda type: object properties: id: type: integer format: int64 description: Id do contrato de venda idEmpresa: type: integer format: int64 description: Id da empresa idFilial: type: integer format: int64 description: Id da filial idCliente: type: integer format: int64 description: Id do cliente idRepresentante: type: integer format: int64 description: Id do representante idEnderecoPadraoCliente: type: integer format: int64 description: Endereço padrão do cliente idEnderecoCobrancaCliente: type: integer format: int64 description: Endereço de cobrança do cliente idMoeda: type: integer format: int64 description: Id da moeda situacao: type: string allOf: – #/definitions/enumSituacaoContratoVenda description: Situação do contrato de venda mercado: type: string allOf: – #/definitions/enumMercado description: Mercado dataContrato: type: string format: date description: Data do contrato numeroContratoCliente: type: string maxLength: 50 description: Número do contrato no sistema do cliente dataVigenciaInicio: type: string format: date description: Data inicial de vigência dataVigenciaFim: type: string format: date description: Data final de vigência precificacao: type: string allOf: – #/definitions/enumPrecificacao description: Precificação observacao: type: string maxLength: 1000 description: Observação itens: type: array items: type: object allOf: – #/definitions/recContratoVendaItemManual description: Itens do contrato de venda anexos: type: array items: type: object allOf: – #/definitions/recContratoVendaAnexoManual description: Anexos do contrato de venda cobranca: type: object allOf: – #/definitions/recContratoVendaCobrancaManual description: Informações de cobrança do contrato de venda frete: type: object allOf: – #/definitions/recContratoVendaFreteManual description: Informações de frete do contrato de venda recContratoVendaItemManual: description: entidade manual contrato venda item type: object properties: id: type: integer format: int64 description: Id do item do contrato de venda idSafra: type: integer format: int64 description: Id da Safra idContratoVenda: type: integer format: int64 description: Id do contrato de venda idSku: type: integer format: int64 description: Id do sku idUnidadeMedida: type: integer format: int64 description: Id da unidade de medida quantidade: type: number format: double description: Quantidade do sku valorUnitario: type: string description: Valor unitário do sku observacao: type: string maxLength: 500 description: Observação recContratoVendaAnexoManual: description: entidade manual do contrato venda anexo type: object required: – versao properties: id: type: integer format: int64 description: Id do anexo do contrato de venda idContratoVenda: type: integer format: int64 description: Id do contrato de venda descricao: type: string maxLength: 100 description: Descrição do anexo codigoAcesso: type: string maxLength: 50 description: Código de acesso ao arquivo versao: type: string maxLength: 50 description: Versão do arquivo observacao: type: string maxLength: 500 description: Observação do arquivo recContratoVendaCobrancaManual: description: entidade manual do contrato venda cobranca type: object properties: id: type: integer format: int64 description: Id de cobrança do contrato de venda idContratoVenda: type: integer format: int64 description: Id do contrato de venda idFormaPagamento: type: integer format: int64 description: Id da forma de pagamento idCondicaoPagamento: type: integer format: int64 description: Id da condição de pagamento recContratoVendaFreteManual: description: entidade manual do contrato venda frete type: object properties: id: type: integer format: int64 description: Id do frete do contrato de venda idContratoVenda: type: integer format: int64 description: Id do contrato de venda incoterm: type: string allOf: – #/definitions/enumIncoterm description: Incoterm valorFrete: type: string description: Valor do frete recItemContratoVendaAcrescimoDescontoManual: description: entidade manual do contrato venda acrescimo desconto type: object properties: id: type: integer format: int64 description: Id do acréscimo/desconto idItemContratoVenda: type: integer format: int64 description: Id do item do contrato de venda descricao: type: string maxLength: 100 description: Descrição do acréscimo/desconto tipo: type: string allOf: – #/definitions/enumAcrescimoDesconto description: Tipo acréscimo/desconto valorAcrescimoDesconto: type: string description: Valor do acréscimo/desconto consideradoFaturamentoItem: type: boolean description: Indica se o item será considerado no faturamento default: false recItemContratoVendaPrevisaoEntregaManual: description: Entidade manual do ItemContratoVendaPrevisaoEntrega type: object properties: id: type: integer format: int64 description: Id da previsão de entrega idItemContratoVenda: type: integer format: int64 description: Id do item do contrato de venda dataPrevisao: type: string format: date description: Data da previsão de entrega quantidadePrevista: type: number format: double description: Quantidade prevista de entrega situacao: type: string allOf: – #/definitions/enumPrevisaoEntregaContratoVenda description: Situação da previsão de entrega – Se não informado, o padrão é AExpedir tipoEntrega: type: string allOf: – #/definitions/enumTipoEntrega description: Tipo da entrega idEndereco: type: integer format: int64 description: Id do endereço (se o tipo de entrega for Entregar será do cliente, se for Retirar será da filial) observacao: type: string maxLength: 500 description: Observação recItemFixacao: description: Item para fixação type: object required: – contratoVendaItemId – precoFixado – valorFixado – quantidadeFixada properties: contratoVendaItemId: type: integer format: int64 description: ID do item no contrato de venda precoFixado: type: string description: valor final pago valorFixado: type: string description: valor fixado quantidadeFixada: type: number format: double description: quantidade fixada recItemContratoVenda: description: Item contrato venda type: object required: – contratoVendaFixacaoId – contratoVendaItemId – quantidadeFixada – precoAplicado – valorTotal properties: contratoVendaFixacaoId: type: string description: ID da fixacao contratoVendaItemId: type: integer format: int64 description: ID do item quantidadeFixada: type: number format: double description: Quantidade total precoAplicado: type: string description: Preço aplicado valorTotal: type: string description: valorTotal recPagina: description: Página type: object required: – offset – limit properties: offset: type: integer format: int64 description: Deslocamento limit: type: integer format: int64 description: Limite estimativaProducao: description: Estimativa de produção type: object properties: id: type: integer format: int64 description: Id da estimativa de produção empresaId: type: object allOf: – #/definitions/empresa description: Id da empresa safraId: type: object allOf: – #/definitions/safra description: Id da safra skuId: type: object allOf: – #/definitions/sku description: Id do sku createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: estimativaProducaoPropriedades: description: Estimativa de produção – Propriedades type: object properties: id: type: integer format: int64 description: Id da propriedade da estimativa de produção estimativaProducaoId: type: object allOf: – #/definitions/estimativaProducao description: Id da estimativa de produção pessoaId: type: object allOf: – #/definitions/pessoa description: Id da pessoa (produtor) pessoaEnderecoId: type: object allOf: – #/definitions/pessoaEndereco description: Id do endereço da pessoa (produtor) quantidadeProduzida: type: number format: double description: Quantidade produzida pelo produtor createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: contratoVenda: description: Contrato de venda type: object properties: id: type: integer format: int64 description: Id do contrato de venda empresaId: type: object allOf: – #/definitions/empresa description: Id da empresa filialId: type: object allOf: – #/definitions/filial description: Id da filial pessoaIdCliente: type: object allOf: – #/definitions/pessoa description: Id do cliente pessoaIdRepresentante: type: object allOf: – #/definitions/pessoa description: Id do representante pessoaEndIdPadraoCliente: type: object allOf: – #/definitions/pessoaEndereco description: Endereço padrão do cliente pessoaEndIdCobrancaCliente: type: object allOf: – #/definitions/pessoaEndereco description: Endereço de cobrança do cliente moedaId: type: object allOf: – #/definitions/moeda description: Id da moeda situacao: type: string allOf: – #/definitions/enumSituacaoContratoVenda description: Situação do contrato de venda mercado: type: string allOf: – #/definitions/enumMercado description: Mercado dataContrato: type: string format: date description: Data do contrato numeroContratoCliente: type: string maxLength: 50 description: Número do contrato no sistema do cliente dataVigenciaInicio: type: string format: date description: Data inicial de vigência dataVigenciaFim: type: string format: date description: Data final de vigência precificacao: type: string allOf: – #/definitions/enumPrecificacao description: Precificação observacao: type: string maxLength: 1000 description: Observação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: contratoVendaItem: description: Item do contrato de venda type: object properties: id: type: integer format: int64 description: Id do item do contrato de venda safraId: type: object allOf: – #/definitions/safra description: Id da Safra contratoVendaId: type: object allOf: – #/definitions/contratoVenda description: Id do contrato de venda skuId: type: object allOf: – #/definitions/sku description: Id do sku unidadeMedidaId: type: object allOf: – #/definitions/unidadeMedida description: Id da unidade de medida quantidade: type: number format: double description: Quantidade do sku valorUnitario: type: string description: Valor unitário do sku observacao: type: string maxLength: 500 description: Observação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: contratoVendaAnexo: description: Anexo do contrato de venda type: object required: – versao properties: id: type: integer format: int64 description: Id do anexo do contrato de venda contratoVendaId: type: object allOf: – #/definitions/contratoVenda description: Id do contrato de venda descricao: type: string maxLength: 100 description: Descrição do anexo codigoAcesso: type: string maxLength: 50 description: Código de acesso ao arquivo versao: type: string maxLength: 50 description: Versão do arquivo observacao: type: string maxLength: 500 description: Observação do arquivo createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: contratoVendaCobranca: description: Cobrança do contrato de venda type: object properties: id: type: integer format: int64 description: Id de cobrança do contrato de venda contratoVendaId: type: object allOf: – #/definitions/contratoVenda description: Id do contrato de venda formaPagamentoId: type: object allOf: – #/definitions/formaPagamento description: Id da forma de pagamento condicaoPagamentoId: type: object allOf: – #/definitions/condicaoPagamento description: Id da condiçã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: contratoVendaFrete: description: Frete do contrato de venda type: object properties: id: type: integer format: int64 description: Id do frete do contrato de venda contratoVendaId: type: object allOf: – #/definitions/contratoVenda description: Id do contrato de venda incoterm: type: string allOf: – #/definitions/enumIncoterm description: Incoterm valorFrete: type: string description: Valor do frete createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: itemContratoVendaAcrescimoDesconto: description: Acréscimos e descontos do item de contrato de venda type: object properties: id: type: integer format: int64 description: Id do acréscimo/desconto contratoVendaItemId: type: object allOf: – #/definitions/contratoVendaItem description: Id do item do contrato de venda descricao: type: string maxLength: 100 description: Descrição do acréscimo/desconto tipo: type: string allOf: – #/definitions/enumAcrescimoDesconto description: Tipo acréscimo/desconto valorAcrescimoDesconto: type: string description: Valor do acréscimo/desconto consideradoFaturamentoItem: type: boolean description: Indica se o item será considerado no faturamento default: false createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: contratoVendaPrevEnt: description: Previsão de entrega do item de contrato de venda type: object properties: id: type: integer format: int64 description: Id da previsão de entrega contratoVendaItemId: type: object allOf: – #/definitions/contratoVendaItem description: Id do item do contrato de venda dataPrevisao: type: string format: date description: Data da previsão de entrega quantidadePrevista: type: number format: double description: Quantidade prevista de entrega situacao: type: string allOf: – #/definitions/enumPrevisaoEntregaContratoVenda description: Situação da previsão de entrega – Se não informado, o padrão é AExpedir tipoEntrega: type: string allOf: – #/definitions/enumTipoEntrega description: Tipo da entrega pessoaEnderecoId: type: object allOf: – #/definitions/pessoaEndereco description: Id do endereço (se o tipo de entrega for Entregar será do cliente, se for Retirar será da filial) observacao: type: string maxLength: 500 description: Observação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: contratoVendaFixacao: description: Fixacao do contrato de venda type: object required: – id – contratoVendaItemId – quantidadeFixada – precoFixado – valorFixado properties: id: type: string format: uuid description: Id contratoVendaItemId: type: object allOf: – #/definitions/contratoVendaItem description: Id do contrato de venda quantidadeFixada: type: number format: double description: Quantidade fixada precoFixado: type: string description: Preço fixado valorFixado: type: string description: Valor fixado 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: Empresa unidadeMedidaId: type: object allOf: – #/definitions/unidadeMedida description: Unidade de medida codigo: type: string maxLength: 23 description: Código do sku descricao: type: string maxLength: 100 description: Descrição do sku descricaoComplementar: type: string maxLength: 150 description: Descrição complementar do sku 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: unidadeMedida: description: Unidade de medida type: object required: – codigo – descricao – quantidadeDecimais properties: id: type: integer format: int64 description: Id da unidade de medida codigo: type: string maxLength: 3 description: Código da unidade de medida descricao: type: string maxLength: 100 description: Descrição da unidade de medida quantidadeDecimais: type: integer format: int64 description: Quantidade de decimais da unidade de medida 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 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: object allOf: – #/definitions/empresa description: Empresa pessoaId: type: object allOf: – #/definitions/pessoa description: Cadastro da pessoa codigo: type: string maxLength: 5 description: Código nome: type: string maxLength: 100 description: Nome fantasia: type: string maxLength: 30 description: Nome fantasia createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: pessoa: description: Cadastro da 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: Situação pessoaCliente: type: boolean description: Informa se pessoa é um cliente pessoaFornecedor: type: boolean description: Informa se pessoa é um fornecedor pessoaRepresentante: type: boolean description: Informa se pessoa é um representante createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: pessoaEndereco: description: Entidade que representa os endereços type: object required: – pessoaId – cep – endereco – cidadeId – situacao properties: id: type: integer format: int64 description: Id do endereço da pessoa pessoaId: type: object allOf: – #/definitions/pessoa description: Id da pessoa cep: type: string maxLength: 20 description: CEP endereco: type: string maxLength: 100 description: Endereco numero: type: string maxLength: 60 description: Número complemento: type: string maxLength: 200 description: Complemento cidadeId: type: object allOf: – #/definitions/cidade description: Cidade telefone: type: string maxLength: 20 description: Telefone bairro: type: string maxLength: 75 description: Bairro situacao: type: string allOf: – #/definitions/enumSituacaoEnderecoPessoa description: Situação enderecoPadrao: type: boolean description: Endereço padrão enderecoOrigem: type: boolean description: Endereço de origem enderecoCobranca: type: boolean description: Endereço de cobrança enderecoEntrega: type: boolean description: Endereço de entrega createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: estado: description: Estado type: object required: – codigo – descricao – abreviatura properties: id: type: integer format: int64 description: Id do registro codigo: type: string maxLength: 2 description: Código do estado descricao: type: string maxLength: 20 description: Nome do estado abreviatura: type: string maxLength: 5 description: Sigla do estado 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 – estadoId properties: id: type: integer format: int64 description: Id do registro codigo: type: string maxLength: 7 description: Código da cidade descricao: type: string maxLength: 60 description: Nome da cidade estadoId: type: object allOf: – #/definitions/estado description: Estado createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: moeda: description: Entidade que representa a moeda type: object required: – codigo – nome – sigla – tipo properties: id: type: integer format: int64 description: Identificador do registro codigo: type: string maxLength: 3 description: Código da moeda nome: type: string maxLength: 30 description: Descrição 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 de Decimais quantidadeInteiros: type: integer format: int64 description: Quantidade de 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 – empresaId properties: id: type: integer format: int64 description: id codigo: type: string maxLength: 10 description: codigo descricao: type: string maxLength: 100 description: descricao empresaId: type: object allOf: – #/definitions/empresa description: empresa createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: formaPagamento: description: Entidade que representa a forma de pagamento type: object required: – empresaId – descricao properties: id: type: integer format: int64 description: Identificador do registro empresaId: type: object allOf: – #/definitions/empresa 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: condicaoPagamento: description: Condição de pagamento type: object required: – empresaId – codigo – descricao – abreviatura – situacao properties: id: type: integer format: int64 description: Id empresaId: type: object allOf: – #/definitions/empresa description: Empresa codigo: type: string maxLength: 6 description: Codigo descricao: type: string maxLength: 50 description: Descricao abreviatura: type: string maxLength: 10 description: Abreviatura situacao: type: string allOf: – #/definitions/enumSituacaoCondicaoPagamento description: Situacao condicao pagamento 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: – id – 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: notificationClass: type: string description: Class of notification notificationOrigin: type: string description: Origin of notification. Free text. Optional. notificationKind: type: string allOf: – #/definitions/userNotificationKind description: Notification kind. notificationPriority: type: string allOf: – #/definitions/userNotificationPriority description: Notification priority. notificationSubject: type: string description: Notification subject. notificationContent: type: string description: Notification content. sourceDomain: type: string description: Domain that generates the notification. sourceService: type: string description: Service that generates the notification. destinationUser: type: string description: Username of the destination user. link: type: string description: Notification link _discriminator: type: string description: emailNotifyUserEventPayload: description: Represents an email notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – from properties: from: type: string description: Email sender address sendTo: type: array items: type: string description: Additional recipients to send the email to format: type: string allOf: – #/definitions/eventEmailFormat description: Email format pushNotifyUserEventPayload: description: Represents a push notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – applicationId properties: applicationId: type: string description: Apple/Google application id blobReference: description: Default blob reference type. Every service defines its own. type: object required: – targetObjectId properties: domainName: type: string description: The domain the blob belongs to. serviceName: type: string description: The service the blob belongs to. targetObjectId: type: string description: The basic id of the blob. targetCopyId: type: string description: The id of the blob copy. basicErrorPayload: description: Default error payload type. Every service defines its own. type: object properties: message: type: string description: The user-facing error message, if any. errorCode: type: string description: The program-accessible (and service-specific) error code. importError: description: type: object required: – errorType – lineNumber – bean – message – exceptionClass properties: errorType: type: string allOf: – #/definitions/errorType description: lineNumber: type: integer format: int64 description: bean: type: string description: message: type: string description: exceptionClass: type: string description: fielddto: description: type: object required: – id – name – fieldType properties: id: type: integer format: int64 description: name: type: string description: fieldType: type: string allOf: – #/definitions/fieldType description: start: type: integer format: int64 description: size: type: integer format: int64 description: maskPattern: type: string description: hookdto: description: type: object required: – hookFunction – script properties: hookFunction: type: string allOf: – #/definitions/hookFunction description: script: type: string description: layoutdto: description: type: object required: – id – description – fileFormat – errorStrategy – skipLines – fields properties: id: type: integer format: int64 description: description: type: string description: fileFormat: type: string allOf: – #/definitions/fileFormat description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: delimiter: type: string description: skipLines: type: integer format: int64 description: fields: type: array items: type: object allOf: – #/definitions/fielddto minimum: 1 description: hooks: type: array items: type: object allOf: – #/definitions/hookdto description: importReport: description: type: object required: – id – startTime – endTime – uri – beanClass – serviceClass – layout – sucessCount – errorsCount – filteredCount – skippedCount properties: id: type: string description: startTime: type: string format: date-time description: endTime: type: string format: date-time description: uri: type: string description: beanClass: type: string description: serviceClass: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: sucessCount: type: integer format: int64 description: errorsCount: type: integer format: int64 description: filteredCount: type: integer format: int64 description: skippedCount: type: integer format: int64 description: importErrors: type: array items: type: object allOf: – #/definitions/importError description: exportEventStatus: description: type: object required: – importerId – eventType – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: recordCount: type: integer format: int64 description: importEventStatus: description: type: object required: – importerId – eventType – status – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: status: type: string allOf: – #/definitions/status description: errorMessage: type: string description: recordCount: type: integer format: int64 description: importReport: type: object allOf: – #/definitions/importReport description: exportConfig: description: type: object required: – uri – layout – async – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: errorStrategy: type: string description: importConfig: description: type: object required: – uri – layout – async – batchSize – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: batchSize: type: integer format: int64 description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: dependency: description: Represents a service dependency type: object required: – domain – service – version properties: domain: type: string description: Domain of the dependency service service: type: string description: Name of the dependency service type: string description: Version of the dependency service genericError: properties: message: type: string description: Messaging describing the error. reason: type: string description: A symbolic code identifying the category of the reason of the error. enum: – BAD_REQUEST – UNAUTHORIZED – PAYMENT_REQUIRED – FORBIDDEN – OBJECT_NOT_FOUND – REQUEST_TIMEOUT – GONE – UNPROCESSABLE – INTERNAL_ERROR – NOT_IMPLEMENTED – SERVICE_UNAVAILABLE – INSUFFICIENT_STORAGE