2.0info: 4.2.1 tco_tabelacompra description: Serviço de tabela de compra x-senior-domain: erp_sup x-senior-domain-path: erp_sup x-senior-service-path: tco_tabelacompra contact: name: Senior X Platform url: https://dev.senior.com.br email: seniorx-dev@senior.com.brhost: platform.senior.com.br /t/senior.com.br/bridge/1.0/rest/erp_supsecurityDefinitions: APIKeyHeader: type: apiKey in: header name: Authorizationsecurity: – APIKeyHeader: [] – application/json – application/jsonpaths: /tco_tabelacompra/queries/buscarTabelasCompras: post: description: Lista as tabelas de compras tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – pagina properties: empresasFiliais: type: array items: type: object allOf: – #/definitions/recEmpresaIn description: Dados da empresa/filiais codigosFornecedores: type: array items: type: integer format: int64 description: Códigos dos fornecedores skus: type: array items: type: string description: SKUs codigo: type: string description: Código da tabela de compra descricao: type: string description: Descrição da tabela de compra situacoes: type: array items: type: string allOf: – #/definitions/enumAtivoInativo description: Situacao da tabela de compra dataInicioVigencia: type: string format: date description: Data início da vigência dataFimVigencia: type: string format: date description: Data fim da vigência pagina: type: object allOf: – #/definitions/recPagina description: Paginação orderby: type: string description: Campos para ordenação responses: 200: description: Ok schema: type: object required: – totalRegistros properties: tabelasCompras: type: array items: type: object allOf: – #/definitions/tabelaCompra description: Tabelas de compras totalRegistros: type: integer format: int64 description: Total de registros 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/buscarTabelaCompraVigencias: post: description: Lista as vigências da tabela de compra tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – idTabelaCompra – pagina properties: idTabelaCompra: type: string description: Identificador da tabela de compra pagina: type: object allOf: – #/definitions/recPagina description: Paginação orderby: type: string description: Campos para ordenação responses: 200: description: Ok schema: type: object required: – existeVigenciaAtiva – totalRegistros properties: vigencias: type: array items: type: object allOf: – #/definitions/tabelaCompraVigencia description: Vigências da Tabela de compra existeVigenciaAtiva: type: boolean description: Indica se existe alguma vigência ativa totalRegistros: type: integer format: int64 description: Total de registros 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/buscarTabelaCompra: post: description: Retorna as informações da tabela de compra tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: Identificador da tabela de compra responses: 200: description: Ok schema: type: object required: – tabelaCompra properties: tabelaCompra: type: object allOf: – #/definitions/recTabelaCompraDetalhe description: Tabela de compra 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna as informações da tabela de compra tags: – Queries x-senior-visibility: PUBLIC parameters: – name: id description: Identificador da tabela de compra in: query required: true type: string responses: 200: description: Ok schema: type: object required: – tabelaCompra properties: tabelaCompra: type: object allOf: – #/definitions/recTabelaCompraDetalhe description: Tabela de compra 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/obterUrlUploadAnexo: post: description: Cria o local para armazenamento e busca URL para upload do anexo tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – nomeAnexo properties: nomeAnexo: type: string description: nome do arquivo anexo responses: 200: description: Ok schema: type: object required: – targetObject – url – nome – versao properties: targetObject: type: string description: targetObject do arquivo necessário no blobService url: type: string description: URL para upload do arquivo nome: type: string description: nome do arquivo, informado no input versao: type: string description: versão do arquivo criado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Cria o local para armazenamento e busca URL para upload do anexo tags: – Queries x-senior-visibility: PUBLIC parameters: – name: nomeAnexo description: nome do arquivo anexo in: query required: true type: string responses: 200: description: Ok schema: type: object required: – targetObject – url – nome – versao properties: targetObject: type: string description: targetObject do arquivo necessário no blobService url: type: string description: URL para upload do arquivo nome: type: string description: nome do arquivo, informado no input versao: type: string description: versão do arquivo criado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/obterUrlDownloadAnexo: post: description: Obtém a URL para download do anexo tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – nomeAnexo – versao properties: targetObject: type: string description: targetObject do arquivo necessario no blobService nomeAnexo: type: string description: nome do anexo versao: type: string description: Versão do arquivo responses: 200: description: Ok schema: type: object required: – url properties: url: type: string description: URL para download do recuro 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém a URL para download do anexo tags: – Queries x-senior-visibility: PUBLIC parameters: – name: targetObject description: targetObject do arquivo necessario no blobService in: query type: string – name: nomeAnexo description: nome do anexo in: query required: true type: string – name: versao description: Versão do arquivo in: query required: true type: string responses: 200: description: Ok schema: type: object required: – url properties: url: type: string description: URL para download do recuro 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/obterPreco: post: description: Retorna o preço de compra do produto de acordo com a data da consulta, o fornecedor, a filial e a quantidade solicitada tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – codigoEmpresa – codigoFilial – codigoFornecedor – codigoSku – quantidade properties: codigoEmpresa: type: string description: Código da empresa que deseja saber o preço codigoFilial: type: string description: Código da filial que deseja saber o preço codigoFornecedor: type: string description: Código do fornecedor do qual será consultado o preço codigoSku: type: string description: Código do produto quantidade: type: number format: double description: Quantidade solicitada do produto responses: 200: description: Ok schema: type: object required: – preco properties: preco: type: string description: Preço do produto sugerido com base 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna o preço de compra do produto de acordo com a data da consulta, o fornecedor, a filial e a quantidade solicitada tags: – Queries x-senior-visibility: PUBLIC parameters: – name: codigoEmpresa description: Código da empresa que deseja saber o preço in: query required: true type: string – name: codigoFilial description: Código da filial que deseja saber o preço in: query required: true type: string – name: codigoFornecedor description: Código do fornecedor do qual será consultado o preço in: query required: true type: string – name: codigoSku description: Código do produto in: query required: true type: string – name: quantidade description: Quantidade solicitada do produto in: query required: true type: number format: double responses: 200: description: Ok schema: type: object required: – preco properties: preco: type: string description: Preço do produto sugerido com base 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/pesquisarEmpresa: post: description: Retorna informações da(s) empresa(s) paginado tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – pagina properties: pesquisa: type: string description: Campo de pesquisa responsável por filtrar os dados a serem pesquisados, com base na pesquisa presente texto: type: string description: Campo de pesquisa responsável por filtrar os dados a serem pesquisados, com base na pesquisa presente codigo: type: integer format: int64 description: Código da empresa nome: type: string description: Nome da empresa pagina: type: object allOf: – #/definitions/recPagina description: Dados para paginação orderby: type: string description: Campos para ordenação responses: 200: description: Ok schema: type: object required: – empresas – totalRegistros properties: empresas: type: array items: type: object allOf: – #/definitions/empresa minimum: 1 description: Retorna a(s) empresa(s) do(s) filtro(s) informado(s) totalRegistros: type: integer format: int64 description: Retorna quantidade total de registros 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/buscarEmpresa: post: description: Retorna informações da(s) empresa(s) tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object properties: ids: type: array items: type: integer format: int64 description: Identificador único da empresa codigos: type: array items: type: string description: Código da empresa, se ids for informado o código não é usado. responses: 200: description: Ok schema: type: object required: – empresas properties: empresas: type: array items: type: object allOf: – #/definitions/empresa minimum: 1 description: Retorna a(s) empresa(s) do(s) id(s) informado(s) 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna informações da(s) empresa(s) tags: – Queries x-senior-visibility: PUBLIC parameters: – name: ids description: Identificador único da empresa in: query type: array items: type: integer format: int64 – name: codigos description: Código da empresa, se ids for informado o código não é usado. in: query type: array items: type: string responses: 200: description: Ok schema: type: object required: – empresas properties: empresas: type: array items: type: object allOf: – #/definitions/empresa minimum: 1 description: Retorna a(s) empresa(s) do(s) id(s) informado(s) 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/buscarIdsTodasEmpresas: post: description: Retorna todos os IDs das empresas tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object required: – empresaIds properties: empresaIds: type: array items: type: integer format: int64 minimum: 1 description: IDs das empresas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna todos os IDs das empresas tags: – Queries x-senior-visibility: PUBLIC parameters: responses: 200: description: Ok schema: type: object required: – empresaIds properties: empresaIds: type: array items: type: integer format: int64 minimum: 1 description: IDs das empresas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/buscarFilial: post: description: Retorna informações da(s) filial(s) tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object properties: empresaId: type: integer format: int64 description: Identificador da empresa para o qual a filial pertence ids: type: array items: type: integer format: int64 description: Identificador único da filial codigos: type: array items: type: string description: Código da filial, se ids for informado o empresaId e código não são usados. responses: 200: description: Ok schema: type: object required: – filiais properties: filiais: type: array items: type: object allOf: – #/definitions/filial minimum: 1 description: Retorna filial(s) do(s) filtro(s) informado(s). 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna informações da(s) filial(s) tags: – Queries x-senior-visibility: PUBLIC parameters: – name: empresaId description: Identificador da empresa para o qual a filial pertence in: query type: integer format: int64 – name: ids description: Identificador único da filial in: query type: array items: type: integer format: int64 – name: codigos description: Código da filial, se ids for informado o empresaId e código não são usados. in: query type: array items: type: string responses: 200: description: Ok schema: type: object required: – filiais properties: filiais: type: array items: type: object allOf: – #/definitions/filial minimum: 1 description: Retorna filial(s) do(s) filtro(s) informado(s). 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/buscarIdsFiliaisPorEmpresas: post: description: Buscar IDs das filiais por empresas. tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – empresaIds properties: empresaIds: type: array items: type: integer format: int64 minimum: 1 description: IDs das empresas responses: 200: description: Ok schema: type: object required: – filialIds properties: filialIds: type: array items: type: integer format: int64 minimum: 1 description: IDs das filiais 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Buscar IDs das filiais por empresas. tags: – Queries x-senior-visibility: PUBLIC parameters: – name: empresaIds description: IDs das empresas in: query required: true type: array items: type: integer format: int64 minimum: 1 responses: 200: description: Ok schema: type: object required: – filialIds properties: filialIds: type: array items: type: integer format: int64 minimum: 1 description: IDs das filiais 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/buscarFiliaisMultiplasEmpresas: post: description: Pesquisar filiais de múltiplas empresas tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – todas – pagina properties: texto: type: string description: Busca por nome ou código das filiais todas: type: boolean description: Se todas a empresas devem ser buscadas somente: type: array items: type: integer format: int64 description: Somente buscar pelos IDs das empresas exceto: type: array items: type: integer format: int64 description: Todas as empresas, exceto as listadas pagina: type: object allOf: – #/definitions/recPagina description: Paginação responses: 200: description: Ok schema: type: object required: – empresas properties: empresas: type: array items: type: object allOf: – #/definitions/recEmpresaComFiliais minimum: 1 description: Filiais agrupadas por empresa 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/pesquisarFilial: post: description: Retorna filial tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – pagina properties: codigoEmpresa: type: integer format: int64 description: Empresa para pesquisar empresaId: type: integer format: int64 description: Id da empresa para pesquisar codigo: type: integer format: int64 description: Código da filial nome: type: string description: Nome da filial pesquisa: type: string description: Campo de pesquisa responsável por filtrar os dados a serem pesquisados, com base no código e descrição do item presente texto: type: string description: Campo de pesquisa responsável por filtrar os dados a serem pesquisados, com base no código e descrição do item presente pagina: type: object allOf: – #/definitions/recPagina description: Dados para paginação orderby: type: string description: Campos para ordenação responses: 200: description: Ok schema: type: object required: – filiais – totalRegistros properties: filiais: type: array items: type: object allOf: – #/definitions/filial minimum: 1 description: Retorna a lista de filial totalRegistros: type: integer format: int64 description: Retorna quantidade total de registros 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/getMetadata: post: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: metadataFormat: type: string description: responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: metadataFormat description: in: query type: string responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/exportEmpresa: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/exportFilial: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/exportFornecedor: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/exportTabelaCompra: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/exportTabelaCompraVigencia: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/exportTabelaCompraItem: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/exportTabelaCompraItemPreco: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/exportTabelaCompraFilialFornecedor: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/exportSku: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/exportSkuFilial: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/exportSkuFilialFornecedor: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/getDependencies: post: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/queries/healthcheck: post: description: HealthCheck plataforma tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/healthcheckDTO description: Status de retorno checks: type: object allOf: – #/definitions/checkDTO description: Checks executados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: HealthCheck plataforma tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/healthcheckDTO description: Status de retorno checks: type: object allOf: – #/definitions/checkDTO description: Checks executados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/actions/realizarImportacaoTabelaCompra: post: description: Inicia a importação da tabela de compra e chama o signals importarTabelaCompra tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – vigenciaId properties: vigenciaId: type: string description: Identificador da vigência responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/actions/gravarTabelaCompra: post: description: Realiza a gravação da tabela de preço de compras tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – codigoEmpresa – codigo – situacao – codigosFiliais – codigosFornecedores properties: id: type: string description: Id do registro em caso de alteração codigoEmpresa: type: integer format: int64 description: Código da empresa codigo: type: string maxLength: 20 description: Código da tabela de compras descricao: type: string maxLength: 250 description: Nome da categoria situacao: type: string allOf: – #/definitions/enumAtivoInativo description: Situação da tabela de compra codigosFiliais: type: array items: type: integer format: int64 minimum: 1 description: Código das filiais codigosFornecedores: type: array items: type: integer format: int64 minimum: 1 description: Código dos fornecedores responses: 200: description: Ok schema: type: object required: – idTabelaCompra properties: idTabelaCompra: type: string description: Identificador da tabela de compra 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/actions/gravarTabelaCompraVigencia: post: description: Realiza a gravação da vígencia da tabela de compras tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – idTabelaCompra – dataInicio – situacao properties: id: type: string description: Id do registro em caso de alteração idTabelaCompra: type: string description: Identificador da tabela de compra dataInicio: type: string format: date description: Início da vigência da tabela de compra dataFim: type: string format: date description: Fim da vigência da tabela de compra situacao: type: string allOf: – #/definitions/enumAtivoInativo description: Situação da tabela de compra nomeArquivoImportacao: type: string description: nome do anexo versaoArquivoImportacao: type: string description: versão do anexo targetObject: type: string description: target Object necessario para o blobService responses: 200: description: Ok schema: type: object required: – idTabelaCompraVigencia properties: idTabelaCompraVigencia: type: string description: Identificador da tabela de compra 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/actions/salvarAnexo: post: description: Confirma a gravação do arquivo no serviço na versão em que ocorreu o upload tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – nomeAnexo – versao properties: targetObject: type: string description: targetObject do arquivo necessário no blobService nomeAnexo: type: string description: nome do anexo versao: type: string description: versão do anexo (obtida no retorno da primitiva obterUrlUploadAnexo) responses: 200: description: Ok schema: type: object required: – result properties: result: type: string description: Resultado da operação (OK) 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/actions/excluirAnexo: post: description: Exclui o anexo do repositório tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – nomeAnexo properties: targetObject: type: string description: targetObject do arquivo necessario no blobService nomeAnexo: type: string description: nome do anexo responses: 200: description: Ok schema: type: object required: – result properties: result: type: string description: Resultado da operação (OK) 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/actions/odata: post: description: tags: – Actions x-senior-visibility: PRIVATE responses: 204: description: No response 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/actions/importEmpresa: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/actions/importFilial: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/actions/importFornecedor: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/actions/importTabelaCompra: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/actions/importTabelaCompraVigencia: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/actions/importTabelaCompraItem: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/actions/importTabelaCompraItemPreco: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/actions/importTabelaCompraFilialFornecedor: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/actions/importSku: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/actions/importSkuFilial: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/actions/importSkuFilialFornecedor: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/signals/importarTabelaCompra: post: description: Importa a tabela de compra tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – vigenciaId properties: vigenciaId: type: string description: Identificador da vigência responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/events/importEmpresaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/events/exportEmpresaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/events/importFilialEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/events/exportFilialEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/events/importFornecedorEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/events/exportFornecedorEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/events/importTabelaCompraEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/events/exportTabelaCompraEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/events/importTabelaCompraVigenciaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/events/exportTabelaCompraVigenciaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/events/importTabelaCompraItemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/events/exportTabelaCompraItemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/events/importTabelaCompraItemPrecoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/events/exportTabelaCompraItemPrecoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/events/importTabelaCompraFilialFornecedorEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/events/exportTabelaCompraFilialFornecedorEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/events/importSkuEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/events/exportSkuEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/events/importSkuFilialEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/events/exportSkuFilialEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/events/importSkuFilialFornecedorEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/events/exportSkuFilialFornecedorEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/empresa responses: 200: description: The created resource schema: #/definitions/empresa 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: array items: #/definitions/empresa 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/empresa responses: 200: description: Ok schema: #/definitions/empresa 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/empresa 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/filial: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/filial responses: 200: description: The created resource schema: #/definitions/filial 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/filial responses: 200: description: The created resource schema: #/definitions/filial 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: array items: #/definitions/filial 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/filial/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/filial responses: 200: description: Ok schema: #/definitions/filial 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/filial responses: 200: description: Ok schema: #/definitions/filial 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/filial 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/filial/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/filial responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/fornecedor: post: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/fornecedor responses: 200: description: The created resource schema: #/definitions/fornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/fornecedor responses: 200: description: The created resource schema: #/definitions/fornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: array items: #/definitions/fornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/fornecedor/{id}: put: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/fornecedor responses: 200: description: Ok schema: #/definitions/fornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/fornecedor responses: 200: description: Ok schema: #/definitions/fornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/fornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/fornecedor/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/fornecedor responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/tabelaCompra: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/tabelaCompra responses: 200: description: The created resource schema: #/definitions/tabelaCompra 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/tabelaCompra responses: 200: description: The created resource schema: #/definitions/tabelaCompra 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: array items: #/definitions/tabelaCompra 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/tabelaCompra/{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/tabelaCompra responses: 200: description: Ok schema: #/definitions/tabelaCompra 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/tabelaCompra responses: 200: description: Ok schema: #/definitions/tabelaCompra 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/tabelaCompra 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/tabelaCompra/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/tabelaCompra responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/tabelaCompraVigencia: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/tabelaCompraVigencia responses: 200: description: The created resource schema: #/definitions/tabelaCompraVigencia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/tabelaCompraVigencia responses: 200: description: The created resource schema: #/definitions/tabelaCompraVigencia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: array items: #/definitions/tabelaCompraVigencia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/tabelaCompraVigencia/{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/tabelaCompraVigencia responses: 200: description: Ok schema: #/definitions/tabelaCompraVigencia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/tabelaCompraVigencia responses: 200: description: Ok schema: #/definitions/tabelaCompraVigencia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/tabelaCompraVigencia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/tabelaCompraVigencia/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/tabelaCompraVigencia responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/tabelaCompraItem: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/tabelaCompraItem responses: 200: description: The created resource schema: #/definitions/tabelaCompraItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/tabelaCompraItem responses: 200: description: The created resource schema: #/definitions/tabelaCompraItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: array items: #/definitions/tabelaCompraItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/tabelaCompraItem/{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/tabelaCompraItem responses: 200: description: Ok schema: #/definitions/tabelaCompraItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/tabelaCompraItem responses: 200: description: Ok schema: #/definitions/tabelaCompraItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/tabelaCompraItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/tabelaCompraVigencia/{parentId}/tabelaCompraItem: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/tabelaCompraItem responses: 200: description: The created resources schema: type: array items: #/definitions/tabelaCompraItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/tabelaCompraItem responses: 200: description: The created resources schema: type: array items: #/definitions/tabelaCompraItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: array items: #/definitions/tabelaCompraItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/tabelaCompraVigencia/{parentId}/tabelaCompraItem/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/tabelaCompraItem responses: 200: description: Ok schema: #/definitions/tabelaCompraItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/tabelaCompraItem responses: 200: description: Ok schema: #/definitions/tabelaCompraItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/tabelaCompraItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/tabelaCompraItem/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/tabelaCompraItem responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/tabelaCompraItemPreco: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/tabelaCompraItemPreco responses: 200: description: The created resource schema: #/definitions/tabelaCompraItemPreco 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/tabelaCompraItemPreco responses: 200: description: The created resource schema: #/definitions/tabelaCompraItemPreco 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: array items: #/definitions/tabelaCompraItemPreco 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/tabelaCompraItemPreco/{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/tabelaCompraItemPreco responses: 200: description: Ok schema: #/definitions/tabelaCompraItemPreco 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/tabelaCompraItemPreco responses: 200: description: Ok schema: #/definitions/tabelaCompraItemPreco 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/tabelaCompraItemPreco 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/tabelaCompraItem/{parentId}/tabelaCompraItemPreco: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/tabelaCompraItemPreco responses: 200: description: The created resources schema: type: array items: #/definitions/tabelaCompraItemPreco 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/tabelaCompraItemPreco responses: 200: description: The created resources schema: type: array items: #/definitions/tabelaCompraItemPreco 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: array items: #/definitions/tabelaCompraItemPreco 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/tabelaCompraItem/{parentId}/tabelaCompraItemPreco/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/tabelaCompraItemPreco responses: 200: description: Ok schema: #/definitions/tabelaCompraItemPreco 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/tabelaCompraItemPreco responses: 200: description: Ok schema: #/definitions/tabelaCompraItemPreco 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/tabelaCompraItemPreco 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/tabelaCompraItemPreco/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/tabelaCompraItemPreco responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/tabelaCompraFilialFornecedor: post: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/tabelaCompraFilialFornecedor responses: 200: description: The created resource schema: #/definitions/tabelaCompraFilialFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/tabelaCompraFilialFornecedor responses: 200: description: The created resource schema: #/definitions/tabelaCompraFilialFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: array items: #/definitions/tabelaCompraFilialFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/tabelaCompraFilialFornecedor/{id}: put: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/tabelaCompraFilialFornecedor responses: 200: description: Ok schema: #/definitions/tabelaCompraFilialFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/tabelaCompraFilialFornecedor responses: 200: description: Ok schema: #/definitions/tabelaCompraFilialFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/tabelaCompraFilialFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/tabelaCompra/{parentId}/tabelaCompraFilialFornecedor: post: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/tabelaCompraFilialFornecedor responses: 200: description: The created resources schema: type: array items: #/definitions/tabelaCompraFilialFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/tabelaCompraFilialFornecedor responses: 200: description: The created resources schema: type: array items: #/definitions/tabelaCompraFilialFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: array items: #/definitions/tabelaCompraFilialFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/tabelaCompra/{parentId}/tabelaCompraFilialFornecedor/{id}: put: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/tabelaCompraFilialFornecedor responses: 200: description: Ok schema: #/definitions/tabelaCompraFilialFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/tabelaCompraFilialFornecedor responses: 200: description: Ok schema: #/definitions/tabelaCompraFilialFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/tabelaCompraFilialFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/tabelaCompraFilialFornecedor/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/tabelaCompraFilialFornecedor responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/sku: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/sku responses: 200: description: The created resource schema: #/definitions/sku 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/sku responses: 200: description: The created resource schema: #/definitions/sku 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: array items: #/definitions/sku 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/sku/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/sku responses: 200: description: Ok schema: #/definitions/sku 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/sku responses: 200: description: Ok schema: #/definitions/sku 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/sku 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/sku/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/sku responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/skuFilial: post: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/skuFilial responses: 200: description: The created resource schema: #/definitions/skuFilial 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/skuFilial responses: 200: description: The created resource schema: #/definitions/skuFilial 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: array items: #/definitions/skuFilial 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/skuFilial/{id}: put: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/skuFilial responses: 200: description: Ok schema: #/definitions/skuFilial 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/skuFilial responses: 200: description: Ok schema: #/definitions/skuFilial 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/skuFilial 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/skuFilial/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/skuFilial responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/skuFilialFornecedor: post: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/skuFilialFornecedor responses: 200: description: The created resource schema: #/definitions/skuFilialFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/skuFilialFornecedor responses: 200: description: The created resource schema: #/definitions/skuFilialFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: array items: #/definitions/skuFilialFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/skuFilialFornecedor/{id}: put: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/skuFilialFornecedor responses: 200: description: Ok schema: #/definitions/skuFilialFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/skuFilialFornecedor responses: 200: description: Ok schema: #/definitions/skuFilialFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/skuFilialFornecedor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /tco_tabelacompra/entities/skuFilialFornecedor/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/skuFilialFornecedor responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericErrordefinitions: enumSituacaoSKU: description: Enumerador de situação de SKU type: string enum: – Ativo – Inativo – Bloqueado enumSituacaoImportacao: description: situação da importação do anexo da tabela de preço type: string enum: – Pendente – EmImportacao – Concluido – Erro enumAtivoInativo: description: Ativo/Inativo type: string enum: – Ativo – Inativo 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 – LOCALDATETIME – 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 healthcheckDTO: description: Status do healthcheck type: string enum: – UP – DOWN recPagina: description: Dados para paginação de registros type: object required: – offset – limit properties: offset: type: integer format: int64 description: Qual página limit: type: integer format: int64 description: Limite de registros recEmpresaIn: description: Dados da empresa/filial para consulta type: object required: – codigo properties: codigo: type: integer format: int64 description: Código da empresa codigoFiliais: type: array items: type: integer format: int64 description: Códigos das filiais recTabelaCompraDetalhe: description: Dados da tela de detalhes da tabela de compra type: object required: – id – empresa – codigo – descricao – situacao – filiais – fornecedores properties: id: type: string description: Identificador único empresa: type: object allOf: – #/definitions/empresa description: Empresa codigo: type: string maxLength: 20 description: Código descricao: type: string maxLength: 250 description: Descrição situacao: type: string allOf: – #/definitions/enumAtivoInativo description: Situacao da tabela de compra filiais: type: array items: type: object allOf: – #/definitions/filial minimum: 1 description: Filiais fornecedores: type: array items: type: object allOf: – #/definitions/fornecedor minimum: 1 description: Fornecedores recEmpresa: description: Dados da empresa type: object required: – id – codigo – nome – fantasia properties: id: type: integer format: int64 description: Identificador único codigo: type: string description: Código da empresa nome: type: string description: Nome da empresa fantasia: type: string description: Nome fantasia da empresa recFilial: description: Dados da filial type: object required: – id – empresaId – codigo – nome – fantasia properties: id: type: integer format: int64 description: Identificador único empresaId: type: object allOf: – #/definitions/recEmpresa description: Empresa codigo: type: string description: Código da filial nome: type: string description: Nome da filal fantasia: type: string description: Nome fantasia da filial recEmpresaComFiliais: description: Empresa com suas filiais type: object required: – id – codigo – nome – filiais properties: id: type: integer format: int64 description: Id da empresa codigo: type: string description: Código da empresa nome: type: string description: Nome da empresa filiais: type: array items: type: object allOf: – #/definitions/recFilial minimum: 1 description: Filiais empresa: description: Empresa type: object required: – codigo – nome – fantasia properties: id: type: integer format: int64 description: Identificador único, deve ser informado nas operações de atualização e exclusão codigo: type: string maxLength: 4 description: Código nome: type: string maxLength: 100 description: Nome fantasia: type: string maxLength: 10 description: Nome fantasia filiais: type: array items: type: object allOf: – #/definitions/filial description: Filiais da emrpesa usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: filial: description: Filial type: object required: – empresa – codigo – nome – fantasia 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: Identificador único da empresa codigo: type: string maxLength: 4 description: Código nome: type: string maxLength: 100 description: Nome fantasia: type: string maxLength: 30 description: Fantasia usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: fornecedor: description: Fornecedor type: object required: – id – cnpjcpf – codigo – nome properties: id: type: integer format: int64 description: Identificador único cnpjcpf: type: string description: CNPJ/CPF codigo: type: integer format: int64 description: Código do fornecedor nome: type: string description: Nome nomeFantasia: type: string description: Nome fantasia usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: tabelaCompra: description: Tabela de compra type: object required: – empresa – codigo – descricao – situacao properties: id: type: string format: uuid description: Identificador único empresa: type: object allOf: – #/definitions/empresa description: Empresa codigo: type: string maxLength: 20 description: Código descricao: type: string maxLength: 250 description: Descrição situacao: type: string allOf: – #/definitions/enumAtivoInativo description: Situacao da tabela de compra tabelaCompraFilialFornecedor: type: array items: type: object allOf: – #/definitions/tabelaCompraFilialFornecedor description: Filiais/Fornecedores da tabela de compra tabelaCompraVigencia: type: array items: type: object allOf: – #/definitions/tabelaCompraVigencia description: Vigências da tabela de compra usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: tabelaCompraVigencia: description: Vigência da tabela de compra type: object required: – dataInicio – dataFim – situacao properties: id: type: string format: uuid description: Identificador único tabelaCompra: type: object allOf: – #/definitions/tabelaCompra description: Tabela de compra dataInicio: type: string format: date description: Início da vigência da tabela de compra dataFim: type: string format: date description: Fim da vigência da tabela de compra nomeArquivoImportacao: type: string description: Nome do arquivo que a vígência foi importada versaoArquivoImportacao: type: string description: Versão do arquivo que a vígência foi importada targetObject: type: string format: uuid description: TargetObject do arquivo necessario para o blobservice situacao: type: string allOf: – #/definitions/enumAtivoInativo description: Situacao da vigência da tabela de compra situacaoImportacao: type: string allOf: – #/definitions/enumSituacaoImportacao description: Situacao do arquivo de importação erroImportacao: type: string description: Erro reportado do último processo de importação da tabela de compras tabelaCompraItem: type: array items: type: object allOf: – #/definitions/tabelaCompraItem description: Itens da vigência usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: tabelaCompraItem: description: Item da tabela de compra type: object required: – sku properties: id: type: string format: uuid description: Identificador único tabCprVigencia: type: object allOf: – #/definitions/tabelaCompraVigencia description: Vigência da tabela de compra sku: type: object allOf: – #/definitions/sku description: SKU tabelaCompraItemPreco: type: array items: type: object allOf: – #/definitions/tabelaCompraItemPreco description: Preço do item usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: tabelaCompraItemPreco: description: Preço do item da tabela de compra type: object required: – preco – ateQuantidade properties: id: type: string format: uuid description: Identificador único tabCprItem: type: object allOf: – #/definitions/tabelaCompraItem description: Item da tabela de compra preco: type: string description: Preço ateQuantidade: type: number format: double description: Quantidade máxima para este preço. Casa não informado, será 0. usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: tabelaCompraFilialFornecedor: description: Ligação da filial e o fornecedor com a tabela de compra type: object required: – filial – fornecedor properties: id: type: string format: uuid description: Identificador único tabCompra: type: object allOf: – #/definitions/tabelaCompra description: Tabela de compra filial: type: object allOf: – #/definitions/filial description: Filial fornecedor: type: object allOf: – #/definitions/fornecedor description: Fornecedor usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: sku: description: SKU – produto/serviço type: object required: – id – empresa – codigo – descricao – situacao – tipoProduto properties: id: type: integer format: int64 description: Identificador empresa: type: object allOf: – #/definitions/empresa description: Empresa codigo: type: string maxLength: 30 description: Código descricao: type: string description: Descrição descricaoComplementar: type: string description: Descrição complementar situacao: type: string allOf: – #/definitions/enumSituacaoSKU description: Situação tipoProduto: type: string allOf: – #/definitions/enumTipoSKU description: Tipo do SKU usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: skuFilial: description: Ligação Sku/filial type: object required: – id – sku – empresa – filial properties: id: type: string format: uuid description: Identificador único sku: type: object allOf: – #/definitions/sku description: Identificador único da SKU empresa: type: object allOf: – #/definitions/empresa description: Identificador único da empresa filial: type: object allOf: – #/definitions/filial description: Identificador único da Filial usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: skuFilialFornecedor: description: Entidade de ligação do Sku com Filial/Fornecedor type: object required: – id – empresa – fornecedor – situacao properties: id: type: string format: uuid description: Identificador único empresa: type: object allOf: – #/definitions/empresa description: Identificador único da empresa skuFilial: type: object allOf: – #/definitions/skuFilial description: Identificador único da ligacao Sku/Filial fornecedor: type: object allOf: – #/definitions/fornecedor description: Identificador único do fornecedor codigoSkuFornecedor: type: string maxLength: 30 description: Código do SKU no fornecedor situacao: type: string allOf: – #/definitions/enumAtivoInativo description: Indicativo se a ligação está ativa usuarioGeracao: type: string description: dataGeracao: type: string format: date-time description: usuarioAlteracao: type: string description: dataAlteracao: type: string format: date-time description: notifyUserEventPayload: description: Represents a regular user event notification payload discriminator: _discriminator type: object required: – notificationKind – notificationPriority – notificationSubject – notificationContent – sourceDomain – sourceService – destinationUser – _discriminator properties: notificationClass: type: string description: Class of notification notificationOrigin: type: string description: Origin of notification. Free text. Optional. notificationKind: type: string allOf: – #/definitions/userNotificationKind description: Notification kind. notificationPriority: type: string allOf: – #/definitions/userNotificationPriority description: Notification priority. notificationSubject: type: string description: Notification subject. notificationContent: type: string description: Notification content. sourceDomain: type: string description: Domain that generates the notification. sourceService: type: string description: Service that generates the notification. destinationUser: type: string description: Username of the destination user. link: type: string description: Notification link _discriminator: type: string description: emailNotifyUserEventPayload: description: Represents an email notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – from properties: from: type: string description: Email sender address sendTo: type: array items: type: string description: Additional recipients to send the email to format: type: string allOf: – #/definitions/eventEmailFormat description: Email format pushNotifyUserEventPayload: description: Represents a push notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – applicationId properties: applicationId: type: string description: Apple/Google application id blobReference: description: Default blob reference type. Every service defines its own. type: object required: – targetObjectId properties: domainName: type: string description: The domain the blob belongs to. serviceName: type: string description: The service the blob belongs to. targetObjectId: type: string description: The basic id of the blob. targetCopyId: type: string description: The id of the blob copy. basicErrorPayload: description: Default error payload type. Every service defines its own. type: object properties: message: type: string description: The user-facing error message, if any. errorCode: type: string description: The program-accessible (and service-specific) error code. importError: description: type: object required: – errorType – lineNumber – bean – message – exceptionClass properties: errorType: type: string allOf: – #/definitions/errorType description: lineNumber: type: integer format: int64 description: bean: type: string description: message: type: string description: exceptionClass: type: string description: fielddto: description: type: object required: – id – name – fieldType properties: id: type: integer format: int64 description: name: type: string description: fieldType: type: string allOf: – #/definitions/fieldType description: start: type: integer format: int64 description: size: type: integer format: int64 description: maskPattern: type: string description: hookdto: description: type: object required: – hookFunction – script properties: hookFunction: type: string allOf: – #/definitions/hookFunction description: script: type: string description: layoutdto: description: type: object required: – id – description – fileFormat – errorStrategy – skipLines – fields properties: id: type: integer format: int64 description: description: type: string description: fileFormat: type: string allOf: – #/definitions/fileFormat description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: delimiter: type: string description: skipLines: type: integer format: int64 description: fields: type: array items: type: object allOf: – #/definitions/fielddto minimum: 1 description: hooks: type: array items: type: object allOf: – #/definitions/hookdto description: importReport: description: type: object required: – id – startTime – endTime – uri – beanClass – serviceClass – layout – sucessCount – errorsCount – filteredCount – skippedCount properties: id: type: string description: startTime: type: string format: date-time description: endTime: type: string format: date-time description: uri: type: string description: beanClass: type: string description: serviceClass: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: sucessCount: type: integer format: int64 description: errorsCount: type: integer format: int64 description: filteredCount: type: integer format: int64 description: skippedCount: type: integer format: int64 description: importErrors: type: array items: type: object allOf: – #/definitions/importError description: exportEventStatus: description: type: object required: – importerId – eventType – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: recordCount: type: integer format: int64 description: importEventStatus: description: type: object required: – importerId – eventType – status – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: status: type: string allOf: – #/definitions/status description: errorMessage: type: string description: recordCount: type: integer format: int64 description: importReport: type: object allOf: – #/definitions/importReport description: exportConfig: description: type: object required: – uri – layout – async – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: errorStrategy: type: string description: importConfig: description: type: object required: – uri – layout – async – batchSize – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: batchSize: type: integer format: int64 description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: dependency: description: Represents a service dependency type: object required: – domain – service – version properties: domain: type: string description: Domain of the dependency service service: type: string description: Name of the dependency service type: string description: Version of the dependency service checkDTO: description: Retorno status usados de retorno type: object required: – status – name properties: status: type: string allOf: – #/definitions/healthcheckDTO description: Status name: type: string description: Status 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