2.0info: 1.9.1 pfo_perfilfornecedor description: Serviço do perfil fornecedor x-senior-domain: erp_sup x-senior-domain-path: erp_sup x-senior-service-path: pfo_perfilfornecedor 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_supsecurityDefinitions: APIKeyHeader: type: apiKey in: header name: Authorizationsecurity: – APIKeyHeader: [] – application/json – application/jsonpaths: /pfo_perfilfornecedor/queries/pesquisarEmpresa: post: description: Retorna empresas tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – empresas properties: empresas: type: array items: type: object allOf: – #/definitions/empresa minimum: 1 description: Retorna lista de empresas default: description: Error response schema: #/definitions/genericError get: description: Retorna empresas tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – empresas properties: empresas: type: array items: type: object allOf: – #/definitions/empresa minimum: 1 description: Retorna lista de empresas default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/queries/pesquisarFilial: post: description: Retorna filiais tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: empresa: type: object allOf: – #/definitions/empresa description: Pode receber uma empresa como parâmetro responses: 200: description: Ok schema: type: object required: – filiais properties: filiais: type: array items: type: object allOf: – #/definitions/entFilial minimum: 1 description: Retorna lista de filiais default: description: Error response schema: #/definitions/genericError get: description: Retorna filiais tags: – Queries x-senior-visibility: PRIVATE parameters: – name: empresa in: query type: object allOf: – #/definitions/empresa responses: 200: description: Ok schema: type: object required: – filiais properties: filiais: type: array items: type: object allOf: – #/definitions/entFilial minimum: 1 description: Retorna lista de filiais default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/queries/pesquisarPais: post: description: Retorna países tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – paises properties: paises: type: array items: type: object allOf: – #/definitions/entPais minimum: 1 description: Retorna lista de países default: description: Error response schema: #/definitions/genericError get: description: Retorna países tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – paises properties: paises: type: array items: type: object allOf: – #/definitions/entPais minimum: 1 description: Retorna lista de países default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/queries/pesquisarEstado: post: description: Retorna estados tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – pais properties: pais: type: object allOf: – #/definitions/entPais description: Pode receber um país como parâmetro responses: 200: description: Ok schema: type: object required: – estados properties: estados: type: array items: type: object allOf: – #/definitions/entEstado minimum: 1 description: Retorna lista de estados default: description: Error response schema: #/definitions/genericError get: description: Retorna estados tags: – Queries x-senior-visibility: PRIVATE parameters: – name: pais in: query required: true type: object allOf: – #/definitions/entPais responses: 200: description: Ok schema: type: object required: – estados properties: estados: type: array items: type: object allOf: – #/definitions/entEstado minimum: 1 description: Retorna lista de estados default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/queries/pesquisarCidade: post: description: Retorna cidade tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – estado properties: estado: type: object allOf: – #/definitions/entEstado description: Pode receber um estado como parâmetro responses: 200: description: Ok schema: type: object required: – cidades properties: cidades: type: array items: type: object allOf: – #/definitions/entCidade minimum: 1 description: Retorna lista de cidades default: description: Error response schema: #/definitions/genericError get: description: Retorna cidade tags: – Queries x-senior-visibility: PRIVATE parameters: – name: estado in: query required: true type: object allOf: – #/definitions/entEstado responses: 200: description: Ok schema: type: object required: – cidades properties: cidades: type: array items: type: object allOf: – #/definitions/entCidade minimum: 1 description: Retorna lista de cidades default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/queries/buscarFornecedorLogado: post: description: Retorna fornecedor vinculado ao usuário logado tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – fornecedor properties: fornecedor: type: object allOf: – #/definitions/entFornecedor description: Retorna o fornecedor default: description: Error response schema: #/definitions/genericError get: description: Retorna fornecedor vinculado ao usuário logado tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – fornecedor properties: fornecedor: type: object allOf: – #/definitions/entFornecedor description: Retorna o fornecedor default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/queries/buscarListaFornecedor: post: description: Retorna lista de fornecedores tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – fornecedor properties: fornecedor: type: array items: type: object allOf: – #/definitions/entFornecedor minimum: 1 description: Retorna o fornecedor default: description: Error response schema: #/definitions/genericError get: description: Retorna lista de fornecedores tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – fornecedor properties: fornecedor: type: array items: type: object allOf: – #/definitions/entFornecedor minimum: 1 description: Retorna o fornecedor default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/queries/buscarUsuario: post: description: Retorna usuários tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – usuario properties: usuario: type: array items: type: object allOf: – #/definitions/recUsuario minimum: 1 description: Retorna o fornecedor default: description: Error response schema: #/definitions/genericError get: description: Retorna usuários tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – usuario properties: usuario: type: array items: type: object allOf: – #/definitions/recUsuario minimum: 1 description: Retorna o fornecedor default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/queries/buscarFornecedorLegado: post: description: Retorna fornecedor legado do fornecedor da G7 tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – fonecedor properties: fonecedor: type: integer format: int64 description: Recebe um identificador de fornecedor como parâmetro responses: 200: description: Ok schema: type: object required: – fornecedorLegado properties: fornecedorLegado: type: object allOf: – #/definitions/entFornecedorLegado description: Retorna os documentos do fornecedor default: description: Error response schema: #/definitions/genericError get: description: Retorna fornecedor legado do fornecedor da G7 tags: – Queries x-senior-visibility: PRIVATE parameters: – name: fonecedor in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – fornecedorLegado properties: fornecedorLegado: type: object allOf: – #/definitions/entFornecedorLegado description: Retorna os documentos do fornecedor default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/queries/buscarFornecedorSituacao: post: description: Retorna lista de fornecedores conforme a situação tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: situacao: type: string allOf: – #/definitions/enumFornecedorSituacao description: Recebe uma situação responses: 200: description: Ok schema: type: object required: – fornecedor properties: fornecedor: type: array items: type: object allOf: – #/definitions/entFornecedor minimum: 1 description: Retorna lista de fornecedores para aprovação default: description: Error response schema: #/definitions/genericError get: description: Retorna lista de fornecedores conforme a situação tags: – Queries x-senior-visibility: PRIVATE parameters: – name: situacao in: query type: string allOf: – #/definitions/enumFornecedorSituacao responses: 200: description: Ok schema: type: object required: – fornecedor properties: fornecedor: type: array items: type: object allOf: – #/definitions/entFornecedor minimum: 1 description: Retorna lista de fornecedores para aprovação default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/queries/consistirCNPJCPFExistente: post: description: Consiste a existência de CNPJ/CPF na base tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – cnpjcpf properties: cnpjcpf: type: string description: Recebe CNPJ/CPF responses: 200: description: Ok schema: type: object required: – dummy properties: dummy: type: boolean description: Retorno (True/False) caso já exista o mesmo CNPJ/CPF default: description: Error response schema: #/definitions/genericError get: description: Consiste a existência de CNPJ/CPF na base tags: – Queries x-senior-visibility: PRIVATE parameters: – name: cnpjcpf in: query required: true type: string responses: 200: description: Ok schema: type: object required: – dummy properties: dummy: type: boolean description: Retorno (True/False) caso já exista o mesmo CNPJ/CPF default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/queries/buscarHistoricoFinanceiro: post: description: Retorna histórico financeiro tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – competencia properties: competencia: type: object allOf: – #/definitions/recCompetencia description: Recebe uma data de início e fim da competencia desejada responses: 200: description: Ok schema: type: object required: – historico properties: historico: type: array items: type: object allOf: – #/definitions/recHistorico minimum: 1 description: Retorna lista com histórico mensal default: description: Error response schema: #/definitions/genericError get: description: Retorna histórico financeiro tags: – Queries x-senior-visibility: PRIVATE parameters: – name: competencia in: query required: true type: object allOf: – #/definitions/recCompetencia responses: 200: description: Ok schema: type: object required: – historico properties: historico: type: array items: type: object allOf: – #/definitions/recHistorico minimum: 1 description: Retorna lista com histórico mensal default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/queries/buscarHistoricoFinanceiroAcumulado: post: description: Retorna histórico financeiro acumulado tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – competencia properties: competencia: type: object allOf: – #/definitions/recCompetencia description: Recebe uma data de início e fim da competencia desejada responses: 200: description: Ok schema: type: object required: – historicoAcumulado properties: historicoAcumulado: type: object allOf: – #/definitions/recHistoricoAcumulado description: Retorna histórico acumulado default: description: Error response schema: #/definitions/genericError get: description: Retorna histórico financeiro acumulado tags: – Queries x-senior-visibility: PRIVATE parameters: – name: competencia in: query required: true type: object allOf: – #/definitions/recCompetencia responses: 200: description: Ok schema: type: object required: – historicoAcumulado properties: historicoAcumulado: type: object allOf: – #/definitions/recHistoricoAcumulado description: Retorna histórico acumulado default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/queries/buscarMovimentosTituloFinanceiro: post: description: Retorna as movimentações dos títulos financeiros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – competencia – pagina properties: competencia: type: object allOf: – #/definitions/recCompetencia description: Recebe uma data de início e fim da competencia desejada pagina: type: object allOf: – #/definitions/recPagina description: Número da paginação responses: 200: description: Ok schema: type: object required: – movimentosFinanceiros – totalRegistros properties: movimentosFinanceiros: type: array items: type: object allOf: – #/definitions/recMovimentosFinanceiros minimum: 1 description: Retorna as movimentações de títulos financeiros totalRegistros: type: integer format: int64 description: Total de registros para paginação default: description: Error response schema: #/definitions/genericError get: description: Retorna as movimentações dos títulos financeiros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: competencia in: query required: true type: object allOf: – #/definitions/recCompetencia – name: pagina in: query required: true type: object allOf: – #/definitions/recPagina responses: 200: description: Ok schema: type: object required: – movimentosFinanceiros – totalRegistros properties: movimentosFinanceiros: type: array items: type: object allOf: – #/definitions/recMovimentosFinanceiros minimum: 1 description: Retorna as movimentações de títulos financeiros totalRegistros: type: integer format: int64 description: Total de registros para paginação default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/queries/buscarCotacao: post: description: Retorna cotações do fornecedor tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – situacao properties: situacao: type: string allOf: – #/definitions/enumSituacaoCotacao description: Situação da cotação responses: 200: description: Ok schema: type: object required: – cotacoes properties: cotacoes: type: array items: type: object allOf: – #/definitions/entCotacao minimum: 1 description: Retorna lista de cotações default: description: Error response schema: #/definitions/genericError get: description: Retorna cotações do fornecedor tags: – Queries x-senior-visibility: PRIVATE parameters: – name: situacao in: query required: true type: string allOf: – #/definitions/enumSituacaoCotacao responses: 200: description: Ok schema: type: object required: – cotacoes properties: cotacoes: type: array items: type: object allOf: – #/definitions/entCotacao minimum: 1 description: Retorna lista de cotações default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/queries/buscarItemCotacao: post: description: Retorna itens da cotação tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – cotacao properties: cotacao: type: object allOf: – #/definitions/entCotacao description: Cotação selecionada responses: 200: description: Ok schema: type: object required: – itens properties: itens: type: array items: type: object allOf: – #/definitions/entCotacaoItem minimum: 1 description: Retorna lista dos itens da cotação default: description: Error response schema: #/definitions/genericError get: description: Retorna itens da cotação tags: – Queries x-senior-visibility: PRIVATE parameters: – name: cotacao in: query required: true type: object allOf: – #/definitions/entCotacao responses: 200: description: Ok schema: type: object required: – itens properties: itens: type: array items: type: object allOf: – #/definitions/entCotacaoItem minimum: 1 description: Retorna lista dos itens da cotação default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/queries/buscarItensCotacao: post: description: Retorna itens da cotação tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – dataInicio – dataFim – pagina properties: pesquisa: type: string description: Campo de pesquisa responsável por filtrar os dados a serem pesquisados, com base no código e descrição dataInicio: type: string format: date description: Data início dataFim: type: string format: date description: Data fim pagina: type: object allOf: – #/definitions/recPagina description: Número da paginação responses: 200: description: Ok schema: type: object required: – itens – totalRegistros properties: itens: type: array items: type: object allOf: – #/definitions/entCotacaoItem minimum: 1 description: Retorna lista dos itens da cotação totalRegistros: type: integer format: int64 description: Total de registros para paginação default: description: Error response schema: #/definitions/genericError get: description: Retorna itens da cotação tags: – Queries x-senior-visibility: PRIVATE parameters: – name: pesquisa in: query type: string – name: dataInicio in: query required: true type: string format: date – name: dataFim in: query required: true type: string format: date – name: pagina in: query required: true type: object allOf: – #/definitions/recPagina responses: 200: description: Ok schema: type: object required: – itens – totalRegistros properties: itens: type: array items: type: object allOf: – #/definitions/entCotacaoItem minimum: 1 description: Retorna lista dos itens da cotação totalRegistros: type: integer format: int64 description: Total de registros para paginação default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/queries/buscarOrdemCompra: post: description: Retorna ordens de compra do fornecedor tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – filtro – pagina properties: filtro: type: object allOf: – #/definitions/recFiltroOrdemCompra description: Filtro pagina: type: object allOf: – #/definitions/recPagina description: Número da paginação responses: 200: description: Ok schema: type: object required: – ordensCompra – totalRegistros properties: ordensCompra: type: array items: type: object allOf: – #/definitions/entOrdemCompra minimum: 1 description: Retorna lista de ordens de compra totalRegistros: type: integer format: int64 description: Total de registros para paginação default: description: Error response schema: #/definitions/genericError get: description: Retorna ordens de compra do fornecedor tags: – Queries x-senior-visibility: PRIVATE parameters: – name: filtro in: query required: true type: object allOf: – #/definitions/recFiltroOrdemCompra – name: pagina in: query required: true type: object allOf: – #/definitions/recPagina responses: 200: description: Ok schema: type: object required: – ordensCompra – totalRegistros properties: ordensCompra: type: array items: type: object allOf: – #/definitions/entOrdemCompra minimum: 1 description: Retorna lista de ordens de compra totalRegistros: type: integer format: int64 description: Total de registros para paginação default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/queries/buscarItemOrdemCompra: post: description: Retorna itens da ordem de compra tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – ordemCompra properties: ordemCompra: type: object allOf: – #/definitions/entOrdemCompra description: Ordem de compra selecionada responses: 200: description: Ok schema: type: object required: – itens properties: itens: type: array items: type: object allOf: – #/definitions/entOrdemCompraItem minimum: 1 description: Retorna lista dos itens da ordem de compra default: description: Error response schema: #/definitions/genericError get: description: Retorna itens da ordem de compra tags: – Queries x-senior-visibility: PRIVATE parameters: – name: ordemCompra in: query required: true type: object allOf: – #/definitions/entOrdemCompra responses: 200: description: Ok schema: type: object required: – itens properties: itens: type: array items: type: object allOf: – #/definitions/entOrdemCompraItem minimum: 1 description: Retorna lista dos itens da ordem de compra default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/queries/pesquisarCondicaoPagamento: post: description: Retorna as condições de pagamento tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – empresa properties: empresa: type: integer format: int64 description: Código da empresa responses: 200: description: Ok schema: type: object required: – condicoes properties: condicoes: type: array items: type: object allOf: – #/definitions/entCondicaoPagamento minimum: 1 description: Retorna lista de condições de pagamento default: description: Error response schema: #/definitions/genericError get: description: Retorna as condições de pagamento tags: – Queries x-senior-visibility: PRIVATE parameters: – name: empresa in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – condicoes properties: condicoes: type: array items: type: object allOf: – #/definitions/entCondicaoPagamento minimum: 1 description: Retorna lista de condições de pagamento default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/queries/buscarCotacaoTotal: post: description: Retorna totais das cotações tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – dataInicio – dataFim properties: dataInicio: type: string format: date description: Data início dataFim: type: string format: date description: Data fim responses: 200: description: Ok schema: type: object required: – cotacoesPendentes – produtosPendentes – itensPendentes – valorPendente – quantidadeEmCotacao – valorEmCotacao – quantidadeCotada – valorCotada – quantidadeEmCompra – valorEmCompra – quantidadeCancelada – valorCancelada properties: cotacoesPendentes: type: integer format: int64 description: Retorna quantidade pendente total de cotações produtosPendentes: type: number format: double description: Retorna quantidade de produtos pendentes de cotações itensPendentes: type: number format: double description: Retorna quantidade pendente total de itens de cotações valorPendente: type: number format: double description: Retorna valor pendente total das cotações quantidadeEmCotacao: type: number format: double description: Retorna quantidade em cotação total de cotações valorEmCotacao: type: number format: double description: Retorna valor em cotação total das cotações quantidadeCotada: type: number format: double description: Retorna quantidade cotada total de cotações valorCotada: type: number format: double description: Retorna valor cotada total das cotações quantidadeEmCompra: type: number format: double description: Retorna quantidade em compra total de cotações valorEmCompra: type: number format: double description: Retorna valor em compra total das cotações quantidadeCancelada: type: number format: double description: Retorna quantidade cancelada total de cotações valorCancelada: type: number format: double description: Retorna valor cancelada total das cotações default: description: Error response schema: #/definitions/genericError get: description: Retorna totais das cotações tags: – Queries x-senior-visibility: PRIVATE parameters: – name: dataInicio in: query required: true type: string format: date – name: dataFim in: query required: true type: string format: date responses: 200: description: Ok schema: type: object required: – cotacoesPendentes – produtosPendentes – itensPendentes – valorPendente – quantidadeEmCotacao – valorEmCotacao – quantidadeCotada – valorCotada – quantidadeEmCompra – valorEmCompra – quantidadeCancelada – valorCancelada properties: cotacoesPendentes: type: integer format: int64 description: Retorna quantidade pendente total de cotações produtosPendentes: type: number format: double description: Retorna quantidade de produtos pendentes de cotações itensPendentes: type: number format: double description: Retorna quantidade pendente total de itens de cotações valorPendente: type: number format: double description: Retorna valor pendente total das cotações quantidadeEmCotacao: type: number format: double description: Retorna quantidade em cotação total de cotações valorEmCotacao: type: number format: double description: Retorna valor em cotação total das cotações quantidadeCotada: type: number format: double description: Retorna quantidade cotada total de cotações valorCotada: type: number format: double description: Retorna valor cotada total das cotações quantidadeEmCompra: type: number format: double description: Retorna quantidade em compra total de cotações valorEmCompra: type: number format: double description: Retorna valor em compra total das cotações quantidadeCancelada: type: number format: double description: Retorna quantidade cancelada total de cotações valorCancelada: type: number format: double description: Retorna valor cancelada total das cotações default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/queries/buscarItensMaisVendidos: post: description: Busca os itens mais vendidos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – dataInicio – dataFim – pagina properties: empresa: type: integer format: int64 description: Código da empresa dataInicio: type: string format: date description: Data início dataFim: type: string format: date description: Data fim pagina: type: object allOf: – #/definitions/recPagina description: Número da paginação responses: 200: description: Ok schema: type: object properties: maisVendidosQuantidade: type: array items: type: object allOf: – #/definitions/recMaisVendidos description: Retorno com os itens mais vendidos por quantidade maisVendidosValor: type: array items: type: object allOf: – #/definitions/recMaisVendidos description: Retorno com os itens mais vendidos por quantidade default: description: Error response schema: #/definitions/genericError get: description: Busca os itens mais vendidos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: empresa in: query type: integer format: int64 – name: dataInicio in: query required: true type: string format: date – name: dataFim in: query required: true type: string format: date – name: pagina in: query required: true type: object allOf: – #/definitions/recPagina responses: 200: description: Ok schema: type: object properties: maisVendidosQuantidade: type: array items: type: object allOf: – #/definitions/recMaisVendidos description: Retorno com os itens mais vendidos por quantidade maisVendidosValor: type: array items: type: object allOf: – #/definitions/recMaisVendidos description: Retorno com os itens mais vendidos por quantidade default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/queries/getMetadata: post: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: metadataFormat: type: string description: responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: default: description: Error response schema: #/definitions/genericError get: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: metadataFormat in: query type: string responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/queries/exportEmpresa: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: config in: query required: true type: object allOf: – #/definitions/exportConfig responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/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 /pfo_perfilfornecedor/actions/salvarOrdemCompra: post: description: Salva Ordem de Compra tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – codigoEmpresa – codigoFilial – tipo – codigoFornecedor – fecharOrdemCompra – itens properties: codigoEmpresa: type: integer format: int64 description: Código da empresa codigoFilial: type: integer format: int64 description: Código da filial codigoTransacaoServico: type: string maxLength: 5 description: Código da transação de serviço codigoTransacaoProduto: type: string maxLength: 5 description: Código da transação de produto tipo: type: string allOf: – #/definitions/enumOrdemCompraTipo description: Tipo de ordem de compra codigoFornecedor: type: integer format: int64 description: Código do fornecedor fecharOrdemCompra: type: boolean description: Indicativo para fechar a OC itens: type: array items: type: object allOf: – #/definitions/recOrdemCompraItens minimum: 1 description: Itens da Ordem de Compra responses: 200: description: Ok schema: type: object required: – dummy properties: dummy: type: boolean description: Retorno default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/actions/iniciarCotacao: post: description: Inicia o processo de cotação para informar os valores de seus respectivos itens tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – cotacao properties: cotacao: type: object allOf: – #/definitions/entCotacao description: Cotação que está sendo iniciada responses: 200: description: Ok schema: type: object required: – dummy properties: dummy: type: boolean description: Retorno default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/actions/salvarCotacao: post: description: Grava as informações da tela tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – cotacao – itens properties: cotacao: type: object allOf: – #/definitions/entCotacao description: Cotação alterada itens: type: array items: type: object allOf: – #/definitions/entCotacaoItem minimum: 1 description: Itens que estão sendo cotados responses: 200: description: Ok schema: type: object required: – dummy properties: dummy: type: boolean description: Retorno default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/actions/enviarCotacao: post: description: Envia a cotação após informar todos os valores de seus itens tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – cotacao – itens properties: cotacao: type: object allOf: – #/definitions/entCotacao description: Cotação alterada itens: type: array items: type: object allOf: – #/definitions/entCotacaoItem minimum: 1 description: Itens que estão sendo cotados responses: 200: description: Ok schema: type: object required: – dummy properties: dummy: type: boolean description: Retorno default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/actions/salvarObservacaoOrdemCompraItem: post: description: Grava observação informada no item tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – item properties: item: type: object allOf: – #/definitions/entOrdemCompraItem description: Item da ordem de compra responses: 200: description: Ok schema: type: object required: – dummy properties: dummy: type: boolean description: Retorno default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/actions/gravarFornecedorUsuario: post: description: Gravar vínculo fornecedor com usuário tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – fornecedorUsuario properties: fornecedorUsuario: type: object allOf: – #/definitions/entFornecedorUsuario description: Recebe o identificador do fornecedor e do usuário logado responses: 200: description: Ok schema: type: object required: – fornecedorUsuario properties: fornecedorUsuario: type: object allOf: – #/definitions/entFornecedorUsuario description: Retorna o vínculo entre fornecedor e do usuário logado default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/actions/gravarFornecedorLegado: post: description: Grava vínculo fornecedor com usuário tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – fornecedorLegado properties: fornecedorLegado: type: object allOf: – #/definitions/entFornecedorLegado description: Recebe o identificador do fornecedor G7 + fornecedor do legado G5 responses: 200: description: Ok schema: type: object required: – fornecedorLegado properties: fornecedorLegado: type: object allOf: – #/definitions/entFornecedorLegado description: Retorna o vínculo entre fornecedor G7 + fornecedor legado G5 default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/actions/gravarFornecedor: post: description: Gravar fornecedor, contato e documentos tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – fornecedor properties: fornecedor: type: object allOf: – #/definitions/entFornecedor description: Recebe o cadastro do fornecedor contato: type: array items: type: object allOf: – #/definitions/entFornecedorContato description: Recebe o cadastro contatos para o fornecedor anexo: type: array items: type: object allOf: – #/definitions/entFornecedorAnexo description: Recebe o cadastro de documentos para o fornecedor responses: 200: description: Ok schema: type: object required: – fornecedor properties: fornecedor: type: object allOf: – #/definitions/entFornecedor description: Retorna o cadastro do fornecedor contato: type: array items: type: object allOf: – #/definitions/entFornecedorContato description: Retorna o cadastro do contato anexo: type: array items: type: object allOf: – #/definitions/entFornecedorAnexo description: Retorna o cadastro do documento default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/actions/submeterFornecedorAprovacao: post: description: Submete o fornecedor para aprovação tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – fornecedor properties: fornecedor: type: object allOf: – #/definitions/entFornecedor description: Recebe o cadastro do fornecedor responses: 200: description: Ok schema: type: object required: – fornecedor properties: fornecedor: type: object allOf: – #/definitions/entFornecedor description: Retorna o fornecedor submetido para aprovação default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/actions/processarAprovacaoFornecedor: post: description: Processa aprovação do fornecedor tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – fornecedor properties: fornecedor: type: object allOf: – #/definitions/entFornecedor description: Recebe o cadastro do fornecedor motivo: type: string description: Motivo da aprovação responses: 200: description: Ok schema: type: object required: – dummy properties: dummy: type: boolean description: Retorno (True/False) da aprovação default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/actions/processarReprovacaoFornecedor: post: description: Processa aprovação do fornecedor tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – fornecedor – motivo properties: fornecedor: type: object allOf: – #/definitions/entFornecedor description: Recebe o cadastro do fornecedor motivo: type: string description: Motivo da reprovação responses: 200: description: Ok schema: type: object required: – dummy properties: dummy: type: boolean description: Retorno (True/False) da reprovação default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/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 /pfo_perfilfornecedor/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 /pfo_perfilfornecedor/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 properties: codigoAcesso: type: string description: Identificador do arquivo nas estruturas do WEBDAV nome: type: string description: Nome do arquivo 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 /pfo_perfilfornecedor/actions/isDownloadAvailable: 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: – isAvailable properties: isAvailable: type: boolean description: Retorno (True/False) do processo default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/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 /pfo_perfilfornecedor/entities/entFornecedor: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entFornecedor responses: 200: description: The created resource schema: #/definitions/entFornecedor default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entFornecedor responses: 200: description: The created resource schema: #/definitions/entFornecedor default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entFornecedor default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entFornecedor/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entFornecedor responses: 200: description: Ok schema: #/definitions/entFornecedor default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entFornecedor responses: 200: description: Ok schema: #/definitions/entFornecedor default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entFornecedor default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entFornecedor/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/entFornecedor responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entFornecedorContato: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entFornecedorContato responses: 200: description: The created resource schema: #/definitions/entFornecedorContato default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entFornecedorContato responses: 200: description: The created resource schema: #/definitions/entFornecedorContato default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entFornecedorContato default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entFornecedorContato/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entFornecedorContato responses: 200: description: Ok schema: #/definitions/entFornecedorContato default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entFornecedorContato responses: 200: description: Ok schema: #/definitions/entFornecedorContato default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entFornecedorContato default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entFornecedorContato/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/entFornecedorContato responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entFornecedorAnexo: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entFornecedorAnexo responses: 200: description: The created resource schema: #/definitions/entFornecedorAnexo default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entFornecedorAnexo responses: 200: description: The created resource schema: #/definitions/entFornecedorAnexo default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entFornecedorAnexo default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entFornecedorAnexo/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entFornecedorAnexo responses: 200: description: Ok schema: #/definitions/entFornecedorAnexo default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entFornecedorAnexo responses: 200: description: Ok schema: #/definitions/entFornecedorAnexo default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entFornecedorAnexo default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entFornecedorAnexo/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/entFornecedorAnexo responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entFornecedorUsuario: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entFornecedorUsuario responses: 200: description: The created resource schema: #/definitions/entFornecedorUsuario default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entFornecedorUsuario responses: 200: description: The created resource schema: #/definitions/entFornecedorUsuario default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entFornecedorUsuario default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entFornecedorUsuario/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entFornecedorUsuario responses: 200: description: Ok schema: #/definitions/entFornecedorUsuario default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entFornecedorUsuario responses: 200: description: Ok schema: #/definitions/entFornecedorUsuario default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entFornecedorUsuario default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entFornecedorUsuario/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/entFornecedorUsuario responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entFornecedorLegado: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entFornecedorLegado responses: 200: description: The created resource schema: #/definitions/entFornecedorLegado default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entFornecedorLegado responses: 200: description: The created resource schema: #/definitions/entFornecedorLegado default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entFornecedorLegado default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entFornecedorLegado/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entFornecedorLegado responses: 200: description: Ok schema: #/definitions/entFornecedorLegado default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entFornecedorLegado responses: 200: description: Ok schema: #/definitions/entFornecedorLegado default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entFornecedorLegado default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entFornecedorLegado/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/entFornecedorLegado responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entLogProcesso: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entLogProcesso responses: 200: description: The created resource schema: #/definitions/entLogProcesso default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entLogProcesso responses: 200: description: The created resource schema: #/definitions/entLogProcesso default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entLogProcesso default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entLogProcesso/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entLogProcesso responses: 200: description: Ok schema: #/definitions/entLogProcesso default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entLogProcesso responses: 200: description: Ok schema: #/definitions/entLogProcesso default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entLogProcesso default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entLogProcesso/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/entLogProcesso responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entPais: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entPais responses: 200: description: The created resource schema: #/definitions/entPais default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entPais responses: 200: description: The created resource schema: #/definitions/entPais default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entPais default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entPais/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entPais responses: 200: description: Ok schema: #/definitions/entPais default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entPais responses: 200: description: Ok schema: #/definitions/entPais default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entPais default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entPais/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/entPais responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entEstado: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entEstado responses: 200: description: The created resource schema: #/definitions/entEstado default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entEstado responses: 200: description: The created resource schema: #/definitions/entEstado default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entEstado default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entEstado/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entEstado responses: 200: description: Ok schema: #/definitions/entEstado default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entEstado responses: 200: description: Ok schema: #/definitions/entEstado default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entEstado default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entEstado/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/entEstado responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entCidade: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entCidade responses: 200: description: The created resource schema: #/definitions/entCidade default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entCidade responses: 200: description: The created resource schema: #/definitions/entCidade default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entCidade default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entCidade/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entCidade responses: 200: description: Ok schema: #/definitions/entCidade default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entCidade responses: 200: description: Ok schema: #/definitions/entCidade default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entCidade default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entCidade/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/entCidade responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/empresa: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/empresa responses: 200: description: The created resource schema: #/definitions/empresa default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/empresa responses: 200: description: The created resource schema: #/definitions/empresa default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/empresa default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/empresa/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/empresa responses: 200: description: Ok schema: #/definitions/empresa default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/empresa responses: 200: description: Ok schema: #/definitions/empresa default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/empresa default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/empresa/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/empresa responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entFilial: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entFilial responses: 200: description: The created resource schema: #/definitions/entFilial default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entFilial responses: 200: description: The created resource schema: #/definitions/entFilial default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entFilial default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entFilial/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entFilial responses: 200: description: Ok schema: #/definitions/entFilial default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entFilial responses: 200: description: Ok schema: #/definitions/entFilial default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entFilial default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entFilial/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/entFilial responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entCotacao: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entCotacao responses: 200: description: The created resource schema: #/definitions/entCotacao default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entCotacao responses: 200: description: The created resource schema: #/definitions/entCotacao default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entCotacao default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entCotacao/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entCotacao responses: 200: description: Ok schema: #/definitions/entCotacao default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entCotacao responses: 200: description: Ok schema: #/definitions/entCotacao default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entCotacao default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entCotacao/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/entCotacao responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entCotacaoItem: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entCotacaoItem responses: 200: description: The created resource schema: #/definitions/entCotacaoItem default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entCotacaoItem responses: 200: description: The created resource schema: #/definitions/entCotacaoItem default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entCotacaoItem default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entCotacaoItem/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entCotacaoItem responses: 200: description: Ok schema: #/definitions/entCotacaoItem default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entCotacaoItem responses: 200: description: Ok schema: #/definitions/entCotacaoItem default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entCotacaoItem default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entCotacaoItem/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/entCotacaoItem responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entUnidadeMedida: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entUnidadeMedida responses: 200: description: The created resource schema: #/definitions/entUnidadeMedida default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entUnidadeMedida responses: 200: description: The created resource schema: #/definitions/entUnidadeMedida default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entUnidadeMedida default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entUnidadeMedida/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entUnidadeMedida responses: 200: description: Ok schema: #/definitions/entUnidadeMedida default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entUnidadeMedida responses: 200: description: Ok schema: #/definitions/entUnidadeMedida default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entUnidadeMedida default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entUnidadeMedida/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/entUnidadeMedida responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entCondicaoPagamento: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entCondicaoPagamento responses: 200: description: The created resource schema: #/definitions/entCondicaoPagamento default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entCondicaoPagamento responses: 200: description: The created resource schema: #/definitions/entCondicaoPagamento default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entCondicaoPagamento default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entCondicaoPagamento/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entCondicaoPagamento responses: 200: description: Ok schema: #/definitions/entCondicaoPagamento default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entCondicaoPagamento responses: 200: description: Ok schema: #/definitions/entCondicaoPagamento default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entCondicaoPagamento default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entCondicaoPagamento/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/entCondicaoPagamento responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entSku: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entSku responses: 200: description: The created resource schema: #/definitions/entSku default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entSku responses: 200: description: The created resource schema: #/definitions/entSku default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entSku default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entSku/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entSku responses: 200: description: Ok schema: #/definitions/entSku default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entSku responses: 200: description: Ok schema: #/definitions/entSku default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entSku default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entSku/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/entSku responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entOrdemCompra: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entOrdemCompra responses: 200: description: The created resource schema: #/definitions/entOrdemCompra default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entOrdemCompra responses: 200: description: The created resource schema: #/definitions/entOrdemCompra default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entOrdemCompra default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entOrdemCompra/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entOrdemCompra responses: 200: description: Ok schema: #/definitions/entOrdemCompra default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entOrdemCompra responses: 200: description: Ok schema: #/definitions/entOrdemCompra default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entOrdemCompra default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entOrdemCompra/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/entOrdemCompra responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entOrdemCompraItem: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entOrdemCompraItem responses: 200: description: The created resource schema: #/definitions/entOrdemCompraItem default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entOrdemCompraItem responses: 200: description: The created resource schema: #/definitions/entOrdemCompraItem default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entOrdemCompraItem default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entOrdemCompraItem/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entOrdemCompraItem responses: 200: description: Ok schema: #/definitions/entOrdemCompraItem default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entOrdemCompraItem responses: 200: description: Ok schema: #/definitions/entOrdemCompraItem default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entOrdemCompraItem default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entOrdemCompraItem/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/entOrdemCompraItem responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entEnderecoEntrega: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entEnderecoEntrega responses: 200: description: The created resource schema: #/definitions/entEnderecoEntrega default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entEnderecoEntrega responses: 200: description: The created resource schema: #/definitions/entEnderecoEntrega default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entEnderecoEntrega default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entEnderecoEntrega/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entEnderecoEntrega responses: 200: description: Ok schema: #/definitions/entEnderecoEntrega default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entEnderecoEntrega responses: 200: description: Ok schema: #/definitions/entEnderecoEntrega default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entEnderecoEntrega default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entEnderecoEntrega/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/entEnderecoEntrega responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entTransacao: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entTransacao responses: 200: description: The created resource schema: #/definitions/entTransacao default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entTransacao responses: 200: description: The created resource schema: #/definitions/entTransacao default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entTransacao default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entTransacao/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entTransacao responses: 200: description: Ok schema: #/definitions/entTransacao default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entTransacao responses: 200: description: Ok schema: #/definitions/entTransacao default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entTransacao default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entTransacao/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/entTransacao responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entTitulo: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entTitulo responses: 200: description: The created resource schema: #/definitions/entTitulo default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entTitulo responses: 200: description: The created resource schema: #/definitions/entTitulo default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entTitulo default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entTitulo/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entTitulo responses: 200: description: Ok schema: #/definitions/entTitulo default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entTitulo responses: 200: description: Ok schema: #/definitions/entTitulo default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entTitulo default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entTitulo/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/entTitulo responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entMoeda: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entMoeda responses: 200: description: The created resource schema: #/definitions/entMoeda default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/entMoeda responses: 200: description: The created resource schema: #/definitions/entMoeda default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/entMoeda default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entMoeda/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entMoeda responses: 200: description: Ok schema: #/definitions/entMoeda default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/entMoeda responses: 200: description: Ok schema: #/definitions/entMoeda default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/entMoeda default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /pfo_perfilfornecedor/entities/entMoeda/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: – #/definitions/entMoeda responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError definitions: enumOrdemCompraTipo: description: Tipo de ordem de compra type: string enum: – ServicoTerceirizacaoIndustrializacao – MaterialUsoConsumo – Servico enumFornecedorTipo: description: Tipo de fornecedor type: string enum: – PESSOA_JURIDICA – PESSOA_FISICA enumFornecedorSituacao: description: Situação do fornecedor type: string enum: – EM_DIGITACAO – EM_APROVACAO – APROVADO – REPROVADO enumMovimentoSituacao: description: Situação do movimento type: string enum: – RECEBIDO – VENDIDO – DEVOLVIDO enumFrete: description: Tipo de Frete type: string enum: – FOB – CIF enumSituacaoCotacao: description: Situação da cotação type: string enum: – PENDENTE_COTACAO – EM_COTACAO – COTADA – EM_PROCESSO_COMPRA – CANCELADA enumSituacaoVencimento: description: Situação do vencimento type: string enum: – ATRASADO – LIMITE – NORMAL – ENCERRADO enumSituacaoOrdemCompra: description: Situação da ordem de compra type: string enum: – EM_ABERTO – LIQUIDADA – NAO_FECHADO – CANCELADO enumTipoSKU: description: Enumerador de tipo de SKU type: string enum: – NaoClassificado – Mercadoria – MateriaPrima – Intermediario – Embalagem – Manufatura – EmFabricacao – Subproduto – UsoCosumo – AtivoImobilizado – Servico – OutrosInsumos – Outros 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 recOrdemCompraItens: description: Itens da Ordem de Compra type: object required: – sequencia – codigoSKU – preco – tipoSKU properties: sequencia: type: integer format: int64 description: Sequência do item da Ordem de Compra codigoSKU: type: string maxLength: 23 description: Código SKU codigoTransacao: type: string maxLength: 5 description: Código da transação do SKU quantidade: type: number format: double description: Quantidade do SKU preco: type: number format: double description: Preço unitário do SKU tipoSKU: type: string allOf: – #/definitions/enumTipoSKU description: Indicativo produto recFiltroOrdemCompra: description: Filtro da ordem de compra type: object properties: numero: type: string description: Número situacao: type: string allOf: – #/definitions/enumSituacaoOrdemCompra description: Situação dataInicio: type: string format: date-time description: Data início dataFim: type: string format: date-time description: Data fim recUsuario: description: Usuário type: object required: – id – nome – nomeCompleto – email properties: id: type: string description: Identificador único do usuário nome: type: string description: Nome nomeCompleto: type: string description: Nome completo email: type: string description: E-mail recDadosAcessoArquivo: description: Dados de acesso ao arquivo type: object required: – codigoAcesso – nome – versao – url properties: codigoAcesso: type: string description: Código de acesso nome: type: string description: Nome versao: type: string description: Versão url: type: string description: URL recCompetencia: description: Competência type: object required: – inicio – fim properties: inicio: type: string format: date-time description: Início fim: type: string format: date-time description: Fim recHistorico: description: Histórico type: object required: – competencia – receber – recebido – devolucao properties: competencia: type: string format: date-time description: Competência receber: type: number format: double description: Valor a receber recebido: type: number format: double description: Valor recebido devolucao: type: number format: double description: Valor de devolução recHistoricoAcumulado: description: Histórico acumulado type: object required: – receber – recebido – devolvido – saldo properties: receber: type: number format: double description: Valor a receber recebido: type: number format: double description: Valor recebido devolvido: type: number format: double description: Valor de devolução saldo: type: number format: double description: Saldo recMovimentosFinanceiros: description: Movimentos financeiros type: object required: – numeroTitulo – parcela – vencimento – dataMovimento – situacao – valorTitulo – valorMovimento – valorAberto properties: numeroTitulo: type: string description: Número do título parcela: type: string description: Parcela vencimento: type: string format: date-time description: Vencimento dataMovimento: type: string format: date-time description: Data do movimento situacao: type: string allOf: – #/definitions/enumMovimentoSituacao description: Situação valorTitulo: type: number format: double description: Valor do título valorMovimento: type: number format: double description: Valor do movimento valorAberto: type: number format: double description: Valor em aberto recPagina: description: Página type: object required: – offset – limit properties: offset: type: integer format: int64 description: Deslocamento limit: type: integer format: int64 description: Limite recMaisVendidos: description: Record dos itens mais vendidos type: object required: – sku – codigoFonecedor – quantidadeVendida – valorVendido – precoMenor – precoMedio – precoMaior – dataInicio – dataFim properties: empresa: type: object allOf: – #/definitions/empresa description: Empresa sku: type: object allOf: – #/definitions/entSku description: SKU codigoFonecedor: type: integer format: int64 description: Fornecedor quantidadeVendida: type: number format: double description: Quantidade valorVendido: type: number format: double description: Valor precoMenor: type: number format: double description: Menor preço precoMedio: type: number format: double description: Preço médio precoMaior: type: number format: double description: Maior preço dataInicio: type: string format: date description: Data início dataFim: type: string format: date description: Data fim entFornecedor: description: Cadastro do fornecedor type: object required: – cnpjcpf – nome – pais – estado – cidade – endereco – numero – bairro – cep – email – telefone properties: id: type: integer format: int64 description: Identificador único, deve ser informado nas operações de atualização e exclusão cnpjcpf: type: string description: CNPJ/CPF nome: type: string description: Nome nomeFantasia: type: string description: Nome fantasia pais: type: integer format: int64 description: País estado: type: integer format: int64 description: Estado cidade: type: integer format: int64 description: Cidade endereco: type: string description: Endereço numero: type: string description: Número complemento: type: string description: Complemento bairro: type: string description: Bairro cep: type: string description: CEP inscricaoEstadual: type: string description: Inscrição estadual inscricaoMunicipal: type: string description: Inscrição municipal site: type: string description: Site email: type: string description: E-mail telefone: type: string description: Telefone situacao: type: string allOf: – #/definitions/enumFornecedorSituacao description: Situação do fornecedor tipo: type: string allOf: – #/definitions/enumFornecedorTipo description: Tipo do fornecedor contatos: type: array items: type: object allOf: – #/definitions/entFornecedorContato description: Contatos anexos: type: array items: type: object allOf: – #/definitions/entFornecedorAnexo description: Anexos ocorrencias: type: array items: type: object allOf: – #/definitions/entLogProcesso description: Ocorrências dataGeracao: type: string format: date-time description: Data de geração usuarioGeracao: type: string description: Usuário de geração dataAlteracao: type: string format: date-time description: Data de alteração usuarioAlteracao: type: string description: Usuário de alteração entFornecedorContato: description: Outros contatos do fornecedor type: object required: – nome – telefone – email properties: id: type: integer format: int64 description: Identificador único, deve ser informado nas operações de atualização e exclusão fornecedor: type: integer format: int64 description: Identificador único do fornecedor nome: type: string description: Nome cargo: type: string description: Cargo telefone: type: string description: Telefone email: type: string description: E-mail dataGeracao: type: string format: date-time description: Data de geração usuarioGeracao: type: string description: Usuário de geração dataAlteracao: type: string format: date-time description: Data de alteração usuarioAlteracao: type: string description: Usuário de alteração entFornecedorAnexo: description: Documentos para validação do fornecedor type: object required: – nome – codigoAcesso – versao properties: id: type: integer format: int64 description: Identificador único, deve ser informado nas operações de atualização e exclusão fornecedor: type: integer format: int64 description: Identificador único do fornecedor nome: type: string description: Nome codigoAcesso: type: string description: Código de acesso versao: type: string description: Versão dataGeracao: type: string format: date-time description: Data de geração usuarioGeracao: type: string description: Usuário de geração dataAlteracao: type: string format: date-time description: Data de alteração usuarioAlteracao: type: string description: Usuário de alteração entFornecedorUsuario: description: Usuários vinculados ao fornecedor type: object required: – fornecedor – usuario properties: id: type: integer format: int64 description: Identificador único, deve ser informado nas operações de atualização e exclusão fornecedor: type: integer format: int64 description: Identificador único do fornecedor usuario: type: object allOf: – #/definitions/recUsuario description: Usuário entFornecedorLegado: description: Vínculo do fornecedor legado ao fornecedor G7 type: object required: – id – fornecedor – fornecedorLegado properties: id: type: integer format: int64 description: Identificador único, deve ser informado nas operações de atualização e exclusão fornecedor: type: integer format: int64 description: Identificador único do fornecedor fornecedorLegado: type: integer format: int64 description: Identificador único do fornecedor legado entLogProcesso: description: Log para processos type: object properties: id: type: integer format: int64 description: Identificador único, deve ser informado nas operações de atualização e exclusão idOrigem: type: integer format: int64 description: Identificador único de origem mensagem: type: string description: Mensagem situacao: type: string description: Situação dataGeracao: type: string format: date-time description: Data de geração usuarioGeracao: type: string description: Usuário de geração dataAlteracao: type: string format: date-time description: Data de alteração usuarioAlteracao: type: string description: Usuário de alteração entPais: description: País type: object required: – codigo – descricao properties: id: type: integer format: int64 description: Identificador único, deve ser informado nas operações de atualização e exclusão codigo: type: string description: Código descricao: type: string description: Descrição dataGeracao: type: string format: date-time description: Data de geração usuarioGeracao: type: string description: Usuário de geração dataAlteracao: type: string format: date-time description: Data de alteração usuarioAlteracao: type: string description: Usuário de alteração entEstado: description: Estado type: object required: – codigo – descricao – abreviatura properties: id: type: integer format: int64 description: Identificador único, deve ser informado nas operações de atualização e exclusão codigo: type: string description: Código descricao: type: string description: Descrição abreviatura: type: string description: Abreviatura dataGeracao: type: string format: date-time description: Data de geração usuarioGeracao: type: string description: Usuário de geração dataAlteracao: type: string format: date-time description: Data de alteração usuarioAlteracao: type: string description: Usuário de alteração entCidade: description: Cidade type: object required: – codigo – descricao properties: id: type: integer format: int64 description: Identificador único, deve ser informado nas operações de atualização e exclusão codigo: type: string description: Código descricao: type: string description: Descrição dataGeracao: type: string format: date-time description: Data de geração usuarioGeracao: type: string description: Usuário de geração dataAlteracao: type: string format: date-time description: Data de alteração usuarioAlteracao: type: string description: Usuário de alteração empresa: description: Empresa type: object required: – codigo – nome properties: id: type: integer format: int64 description: Identificador único, deve ser informado nas operações de atualização e exclusão codigo: type: string description: Código nome: type: string description: Nome fantasia: type: string description: Nome fantasia dataGeracao: type: string format: date-time description: Data de geração usuarioGeracao: type: string description: Usuário de geração dataAlteracao: type: string format: date-time description: Data de alteração usuarioAlteracao: type: string description: Usuário de alteração entFilial: description: Filial type: object required: – empresa_id – codigo – nome properties: id: type: integer format: int64 description: Identificador único, deve ser informado nas operações de atualização e exclusão empresa_id: type: integer format: int64 description: Identificador único da empresa codigo: type: string description: Código nome: type: string description: Nome nomeFantasia: type: string description: Nome fantasia dataGeracao: type: string format: date-time description: Data de geração usuarioGeracao: type: string description: Usuário de geração dataAlteracao: type: string format: date-time description: Data de alteração usuarioAlteracao: type: string description: Usuário de alteração entCotacao: description: Cotação type: object required: – empresa – filial – fornecedor – numero – situacao properties: id: type: integer format: int64 description: Identificador único, deve ser informado nas operações de atualização e exclusão empresa: type: object allOf: – #/definitions/empresa description: Empresa filial: type: object allOf: – #/definitions/entFilial description: Filial fornecedor: type: object allOf: – #/definitions/entFornecedor description: Fornecedor numero: type: string description: Número situacao: type: string allOf: – #/definitions/enumSituacaoCotacao description: Situação situacaoVencimento: type: string allOf: – #/definitions/enumSituacaoVencimento description: Situação do vencimento vencimento: type: string format: date-time description: Data do vencimento dataGeracao: type: string format: date-time description: Data de geração usuarioGeracao: type: string description: Usuário de geração dataAlteracao: type: string format: date-time description: Data de alteração usuarioAlteracao: type: string description: Usuário de alteração entCotacaoItem: description: Cotação item type: object required: – sku – unidadeMedida – sequencia – quantidadeSolicitada – quantidadeCotada properties: id: type: integer format: int64 description: Identificador único, deve ser informado nas operações de atualização e exclusão sku: type: object allOf: – #/definitions/entSku description: SKU unidadeMedida: type: object allOf: – #/definitions/entUnidadeMedida description: Unidade de medida condicaoPagamento: type: object allOf: – #/definitions/entCondicaoPagamento description: Condição de pagamento sequencia: type: integer format: int64 description: Sequência quantidadeSolicitada: type: number format: double description: Quantidade solicitada quantidadeCotada: type: number format: double description: Quantidade cotada desconto: type: number format: double description: Desconto valorDesconto: type: number format: double description: Valor do desconto preco: type: number format: double description: Preço prazoEntrega: type: string format: date-time description: Prazo de entrega frete: type: string allOf: – #/definitions/enumFrete description: Frete valorFrete: type: number format: double description: Valor do frete observacao: type: string description: Observação dataGeracao: type: string format: date-time description: Data de geração usuarioGeracao: type: string description: Usuário de geração dataAlteracao: type: string format: date-time description: Data de alteração usuarioAlteracao: type: string description: Usuário de alteração situacao: type: string allOf: – #/definitions/enumSituacaoCotacao description: Situação da cotação entUnidadeMedida: description: Unidade de medida type: object required: – codigo – descricao – quantidadeDecimais properties: id: type: integer format: int64 description: Identificador único, deve ser informado nas operações de atualização e exclusão codigo: type: string description: Código descricao: type: string description: Descrição quantidadeDecimais: type: integer format: int64 description: Quantidade de decimais dataGeracao: type: string format: date-time description: Data de geração usuarioGeracao: type: string description: Usuário de geração dataAlteracao: type: string format: date-time description: Data de alteração usuarioAlteracao: type: string description: Usuário de alteração entCondicaoPagamento: description: Condição de pagamento type: object required: – empresa – codigo – descricao – abreviatura – situacao properties: id: type: integer format: int64 description: Identificador único, deve ser informado nas operações de atualização e exclusão empresa: type: object allOf: – #/definitions/empresa description: Empresa codigo: type: string description: Código descricao: type: string description: Descrição abreviatura: type: string description: Abreviatura situacao: type: string description: Situação dataGeracao: type: string format: date-time description: Data de geração usuarioGeracao: type: string description: Usuário de geração dataAlteracao: type: string format: date-time description: Data de alteração usuarioAlteracao: type: string description: Usuário de alteração entSku: description: SKU – produto/serviço type: object required: – codigo – descricao – tipoProduto – situacao properties: id: type: integer format: int64 description: Identificador único, deve ser informado nas operações de atualização e exclusão codigo: type: string description: Código descricao: type: string description: Descrição descricaoComplementar: type: string description: Descrição complementar tipoProduto: type: integer format: int64 description: Tipo de produto tipoReposicao: type: integer format: int64 description: Tipo de reposição tipoQualidade: type: integer format: int64 description: Tipo de Qualidade situacao: type: string description: Situação dataGeracao: type: string format: date-time description: Data de geração usuarioGeracao: type: string description: Usuário de geração dataAlteracao: type: string format: date-time description: Data de alteração usuarioAlteracao: type: string description: Usuário de alteração entOrdemCompra: description: Ordem de compra type: object required: – empresa – filial – fornecedor – numero – situacao properties: id: type: integer format: int64 description: Identificador único, deve ser informado nas operações de atualização e exclusão empresa: type: object allOf: – #/definitions/empresa description: Empresa filial: type: object allOf: – #/definitions/entFilial description: Filial fornecedor: type: object allOf: – #/definitions/entFornecedor description: Fornecedor numero: type: string description: Número situacao: type: string allOf: – #/definitions/enumSituacaoOrdemCompra description: Situação enderecoEntrega: type: object allOf: – #/definitions/entEnderecoEntrega description: Endereço de entrega condicaoPagamento: type: object allOf: – #/definitions/entCondicaoPagamento description: Condição de pagamento dataGeracao: type: string format: date-time description: Data de geração usuarioGeracao: type: string description: Usuário de geração dataAlteracao: type: string format: date-time description: Data de alteração usuarioAlteracao: type: string description: Usuário de alteração entOrdemCompraItem: description: Ordem compra item type: object required: – sku – unidadeMedida – sequencia – quantidade – preco properties: id: type: integer format: int64 description: Identificador único, deve ser informado nas operações de atualização e exclusão sku: type: object allOf: – #/definitions/entSku description: SKU unidadeMedida: type: object allOf: – #/definitions/entUnidadeMedida description: Unidade de medida sequencia: type: integer format: int64 description: Sequência quantidade: type: number format: double description: Quantidade preco: type: number format: double description: Preço prazoEntrega: type: string format: date-time description: Prazo de entrega observacao: type: string description: Observação dataGeracao: type: string format: date-time description: Data de geração usuarioGeracao: type: string description: Usuário de geração dataAlteracao: type: string format: date-time description: Data de alteração usuarioAlteracao: type: string description: Usuário de alteração entEnderecoEntrega: description: Endereços de entrega type: object required: – empresa – filial – sequencia – endereco – cidade – estado – cep properties: id: type: integer format: int64 description: Identificador único, deve ser informado nas operações de atualização e exclusão empresa: type: object allOf: – #/definitions/empresa description: Empresa filial: type: object allOf: – #/definitions/entFilial description: Filial sequencia: type: integer format: int64 description: Sequência endereco: type: string description: Endereço complemento: type: string description: Complemento cidade: type: object allOf: – #/definitions/entCidade description: Cidade estado: type: object allOf: – #/definitions/entEstado description: Estado bairo: type: string description: Bairro cep: type: string description: CEP dataGeracao: type: string format: date-time description: Data de geração usuarioGeracao: type: string description: Usuário de geração dataAlteracao: type: string format: date-time description: Data de alteração usuarioAlteracao: type: string description: Usuário de alteração entTransacao: description: Transacao type: object required: – empresa – codigo – descricao – modulo properties: id: type: integer format: int64 description: Identificador único, deve ser informado nas operações de atualização e exclusão empresa: type: object allOf: – #/definitions/empresa description: Empresa codigo: type: string description: Código descricao: type: string description: Descrição modulo: type: string description: Módulo operacaoBaixa: type: integer format: int64 description: Operação de baixa tipoBaixa: type: string description: Tipo de baixa dataGeracao: type: string format: date-time description: Data de geração usuarioGeracao: type: string description: Usuário de geração dataAlteracao: type: string format: date-time description: Data de alteração usuarioAlteracao: type: string description: Usuário de alteração entTitulo: description: Titulo type: object required: – empresa – filial – fornecedor – moeda – transacao – numero – parcela – valorOriginal – vencimento – origem properties: id: type: integer format: int64 description: Identificador único, deve ser informado nas operações de atualização e exclusão empresa: type: object allOf: – #/definitions/empresa description: Empresa filial: type: object allOf: – #/definitions/entFilial description: Filial fornecedor: type: object allOf: – #/definitions/entFornecedor description: Fornecedor moeda: type: object allOf: – #/definitions/entMoeda description: Moeda transacao: type: object allOf: – #/definitions/entTransacao description: Transação numero: type: string description: Número parcela: type: string description: Parcela valorOriginal: type: number format: double description: Valor original vencimento: type: string format: date-time description: Data de vencimento origem: type: string description: Origem documentoDevolucao: type: string description: Documento de devolução dataGeracao: type: string format: date-time description: Data de geração usuarioGeracao: type: string description: Usuário de geração dataAlteracao: type: string format: date-time description: Data de alteração usuarioAlteracao: type: string description: Usuário de alteração entMoeda: description: Moeda type: object required: – codigo – nome – sigla – tipo properties: id: type: integer format: int64 description: Identificador único, deve ser informado nas operações de atualização e exclusão codigo: type: string description: Código nome: type: string description: Nome sigla: type: string description: Sigla tipo: type: string description: Tipo dataGeracao: type: string format: date-time description: Data de geração usuarioGeracao: type: string description: Usuário de geração dataAlteracao: type: string format: date-time description: Data de alteração usuarioAlteracao: type: string description: Usuário de alteração notifyUserEventPayload: description: Represents a regular user event notification payload discriminator: _discriminator type: object required: – notificationKind – notificationPriority – notificationSubject – notificationContent – sourceDomain – sourceService – destinationUser – _discriminator properties: notificationOrigin: type: string description: Origin of notification. Free text. Optional. notificationKind: type: string allOf: – #/definitions/userNotificationKind description: Notification kind. notificationPriority: type: string allOf: – #/definitions/userNotificationPriority description: Notification priority. notificationSubject: type: string description: Notification subject. notificationContent: type: string description: Notification content. sourceDomain: type: string description: Domain that generates the notification. sourceService: type: string description: Service that generates the notification. destinationUser: type: string description: Username of the destination user. link: type: string description: Notification link _discriminator: type: string description: emailNotifyUserEventPayload: description: Represents an email notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – from properties: from: type: string description: Email sender address sendTo: type: array items: type: string description: Additional recipients to send the email to format: type: string allOf: – #/definitions/eventEmailFormat description: Email format pushNotifyUserEventPayload: description: Represents a push notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – applicationId properties: applicationId: type: string description: Apple/Google application id blobReference: description: Default blob reference type. Every service defines its own. type: object required: – targetObjectId properties: domainName: type: string description: The domain the blob belongs to. serviceName: type: string description: The service the blob belongs to. targetObjectId: type: string description: The basic id of the blob. targetCopyId: type: string description: The id of the blob copy. basicErrorPayload: description: Default error payload type. Every service defines its own. type: object properties: message: type: string description: The user-facing error message, if any. errorCode: type: string description: The program-accessible (and service-specific) error code. importError: description: type: object required: – errorType – lineNumber – bean – message – exceptionClass properties: errorType: type: string allOf: – #/definitions/errorType description: lineNumber: type: integer format: int64 description: bean: type: string description: message: type: string description: exceptionClass: type: string description: fielddto: description: type: object required: – id – name – fieldType properties: id: type: integer format: int64 description: name: type: string description: fieldType: type: string allOf: – #/definitions/fieldType description: start: type: integer format: int64 description: size: type: integer format: int64 description: maskPattern: type: string description: hookdto: description: type: object required: – hookFunction – script properties: hookFunction: type: string allOf: – #/definitions/hookFunction description: script: type: string description: layoutdto: description: type: object required: – id – description – fileFormat – errorStrategy – skipLines – fields properties: id: type: integer format: int64 description: description: type: string description: fileFormat: type: string allOf: – #/definitions/fileFormat description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: delimiter: type: string description: skipLines: type: integer format: int64 description: fields: type: array items: type: object allOf: – #/definitions/fielddto minimum: 1 description: hooks: type: array items: type: object allOf: – #/definitions/hookdto description: importReport: description: type: object required: – id – startTime – endTime – uri – beanClass – serviceClass – layout – sucessCount – errorsCount – filteredCount – skippedCount properties: id: type: string description: startTime: type: string format: date-time description: endTime: type: string format: date-time description: uri: type: string description: beanClass: type: string description: serviceClass: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: sucessCount: type: integer format: int64 description: errorsCount: type: integer format: int64 description: filteredCount: type: integer format: int64 description: skippedCount: type: integer format: int64 description: importErrors: type: array items: type: object allOf: – #/definitions/importError description: exportEventStatus: description: type: object required: – importerId – eventType – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: recordCount: type: integer format: int64 description: importEventStatus: description: type: object required: – importerId – eventType – status – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: status: type: string allOf: – #/definitions/status description: errorMessage: type: string description: recordCount: type: integer format: int64 description: importReport: type: object allOf: – #/definitions/importReport description: exportConfig: description: type: object required: – uri – layout – async – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: errorStrategy: type: string description: importConfig: description: type: object required: – uri – layout – async – batchSize – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: batchSize: type: integer format: int64 description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: dependency: description: Represents a service dependency type: object required: – domain – service – version properties: domain: type: string description: Domain of the dependency service service: type: string description: Name of the dependency service type: string description: Version of the dependency service genericError: properties: message: type: string description: Messaging describing the error. reason: type: string description: A symbolic code identifying the category of the reason of the error. enum: – BAD_REQUEST – UNAUTHORIZED – PAYMENT_REQUIRED – FORBIDDEN – OBJECT_NOT_FOUND – REQUEST_TIMEOUT – GONE – UNPROCESSABLE – INTERNAL_ERROR – NOT_IMPLEMENTED – SERVICE_UNAVAILABLE – INSUFFICIENT_STORAGE