ERP senior X Vendas (erpx_com_ven)

Pedido (pedido)

71 views 27/02/2020 13/05/2021 integrador 0

2.0info: 1.25.2 Pedido description: Serviço de Pedidos do ERPX x-senior-domain: erpx_com_ven x-senior-domain-path: erpx_com_ven x-senior-service-path: pedido 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/erpx_com_vensecurityDefinitions: APIKeyHeader: type: apiKey in: header name: Authorizationsecurity: – APIKeyHeader: [] – application/json – application/jsonpaths: /pedido/queries/listPedidos: post: description: Listagem de pedidos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – page properties: empresas: type: array items: type: string description: Ids das Empresas filiais: type: array items: type: string description: Ids das Filiais numeroPedido: type: array items: type: integer format: int64 description: Números dos pedidos dataEmiIni: type: string format: date description: Data emissão inicial dataEmiFim: type: string format: date description: Data emissão final clientes: type: array items: type: string description: Ids dos clientes representantes: type: array items: type: string description: Ids dos representantes condicoesPagamento: type: array items: type: string description: Condições de pagamentos sitPed: type: array items: type: string allOf: – #/definitions/enumSitPed description: Situações do pedido pedBlo: type: boolean description: Pedido bloqueado? usuGer: type: array items: type: string description: Usuários que fizeram a geração usuAlt: type: array items: type: string description: Usuários que fizeram alteração getItens: type: boolean description: Buscar Item default: false tipPed: type: array items: type: string allOf: – #/definitions/enumTipPed description: Tipo do pedido page: type: object allOf: – #/definitions/recPageRequest description: Página responses: 200: description: Ok schema: type: object required: – totalElements properties: recE120ped: type: array items: type: object allOf: – #/definitions/recE120ped description: Lista pedidos totalElements: type: integer format: int64 description: Total 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente 401: description: Usuário ou senha inválido default: description: Error response schema: #/definitions/genericError /pedido/queries/listGroupPreparedOrders: post: description: Listar agrupamentos no atendimento tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – preparationId – page properties: preparationId: type: string description: Identificador da filial page: type: object allOf: – #/definitions/recPageRequest description: Dados da paginação responses: 200: description: Ok schema: type: object required: – totalPages – totalElements properties: totalPages: type: integer format: int64 description: Total de páginas totalElements: type: integer format: int64 description: Totals de elementos contents: type: array items: type: object allOf: – #/definitions/preparedOrderOutput description: Lista com os registros encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/queries/listItemPedido: post: description: Busca de itens do pedido tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – pedidoId – page properties: pedidoId: type: string description: Identificador do pedido sequencia: type: integer format: int64 description: Sequencia do item codigo: type: string description: Código de produto ou serviço descricao: type: string description: Descrição do produto ou serviço page: type: object allOf: – #/definitions/recPageRequest description: Pagina responses: 200: description: Ok schema: type: object required: – totalElements properties: itens: type: array items: type: object allOf: – #/definitions/recE120ipd description: Lista de itens do pedido totalElements: type: integer format: int64 description: Total 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/queries/listItemPedidoLookup: post: description: Busca de itens do pedido tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – pedidoId – page properties: pedidoId: type: string description: Identificador do pedido sequencia: type: integer format: int64 description: Sequencia do item codigo: type: string description: Código de produto ou serviço descricao: type: string description: Descrição do produto ou serviço page: type: object allOf: – #/definitions/recPageRequest description: Pagina responses: 200: description: Ok schema: type: object required: – totalElements properties: itens: type: array items: type: object allOf: – #/definitions/recE120ipd description: Lista de itens do pedido totalElements: type: integer format: int64 description: Total 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/queries/getItemPedido: post: description: Retorno para edição dos itens do pedido tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – e120ipd properties: e120ipd: type: string description: Id dos Itens do Pedido responses: 200: description: Ok schema: type: object properties: e120ipd: type: object allOf: – #/definitions/recE120ipd description: Itens do pedido 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorno para edição dos itens do pedido tags: – Queries x-senior-visibility: PRIVATE parameters: – name: e120ipd description: Id dos Itens do Pedido in: query required: true type: string responses: 200: description: Ok schema: type: object properties: e120ipd: type: object allOf: – #/definitions/recE120ipd description: Itens do pedido 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/queries/getDadosGeraisPedido: post: description: Obter dados gerais do pedido tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – e120ped properties: e120ped: type: string description: Id do pedido responses: 200: description: Ok schema: type: object properties: dadosGerais: type: object allOf: – #/definitions/recDadosGerais description: Dados gerais do pedido 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente 401: description: Usuário ou senha inválido default: description: Error response schema: #/definitions/genericError get: description: Obter dados gerais do pedido tags: – Queries x-senior-visibility: PRIVATE parameters: – name: e120ped description: Id do pedido in: query required: true type: string responses: 200: description: Ok schema: type: object properties: dadosGerais: type: object allOf: – #/definitions/recDadosGerais description: Dados gerais do pedido 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente 401: description: Usuário ou senha inválido default: description: Error response schema: #/definitions/genericError /pedido/queries/listPreparingOrders: post: description: Lista de pedidos preparados para faturamento tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – page properties: numberService: type: integer format: int64 description: Numero de atendimento status: type: string allOf: – #/definitions/enumSitIpn description: Situação do lote branchId: type: string description: Filial de faturamento customerId: type: string description: Customer orderNumber: type: integer format: int64 description: Number order productsId: type: array items: type: string description: Products id servicesId: type: array items: type: string description: Services id demandSituation: type: string allOf: – #/definitions/enumSituacaoDemanda description: Situação demanda page: type: object allOf: – #/definitions/recPageRequest description: Pagina responses: 200: description: Ok schema: type: object required: – totalElements properties: preparedOrders: type: array items: type: object allOf: – #/definitions/recPreparedOrder description: Lista de pedidos preparados para faturamento totalElements: type: integer format: int64 description: Total 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/queries/listDefaultOrderTransacations: post: description: Query de transação padrão tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – branchId – destinationStateId – taxPayer properties: branchId: type: string description: Id da Filial destinationStateId: type: string description: Id da UF de destino taxPayer: type: boolean description: Indicativo de cliente contribuinte de ICMS productType: type: string allOf: – #/definitions/enumTipPro description: Tipo de produto responses: 200: description: Ok schema: type: object properties: transactions: type: array items: type: object allOf: – #/definitions/recTransaction description: Transação padrão 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/queries/getSaleOrderItem: post: description: Query de informações do pedido do item tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – itemId properties: itemId: type: string description: Id do Item do Pedido responses: 200: description: Ok schema: type: object properties: saleOrder: type: object allOf: – #/definitions/recSaleOrder description: Informações do pedido 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Query de informações do pedido do item tags: – Queries x-senior-visibility: PRIVATE parameters: – name: itemId description: Id do Item do Pedido in: query required: true type: string responses: 200: description: Ok schema: type: object properties: saleOrder: type: object allOf: – #/definitions/recSaleOrder description: Informações do pedido 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/queries/getAdditionalSaleInformation: post: description: Primitiva para obter informações adicionais tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – e120inf properties: e120inf: type: string description: id das informações adicionais responses: 200: description: Ok schema: type: object properties: e120inf: type: object allOf: – #/definitions/recE120inf description: Informações adicionais 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Primitiva para obter informações adicionais tags: – Queries x-senior-visibility: PRIVATE parameters: – name: e120inf description: id das informações adicionais in: query required: true type: string responses: 200: description: Ok schema: type: object properties: e120inf: type: object allOf: – #/definitions/recE120inf description: Informações adicionais 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/queries/getBillingInformation: post: description: Primitiva para obter dados de cobrança do pedido tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – orderId properties: orderId: type: string description: id do pedido responses: 200: description: Ok schema: type: object properties: recBillingInformation: type: object allOf: – #/definitions/recBillingInformation description: Informações adicionais 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente 401: description: Usuário ou senha inválido default: description: Error response schema: #/definitions/genericError get: description: Primitiva para obter dados de cobrança do pedido tags: – Queries x-senior-visibility: PRIVATE parameters: – name: orderId description: id do pedido in: query required: true type: string responses: 200: description: Ok schema: type: object properties: recBillingInformation: type: object allOf: – #/definitions/recBillingInformation description: Informações adicionais 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente 401: description: Usuário ou senha inválido default: description: Error response schema: #/definitions/genericError /pedido/queries/listObservacoesPedido: post: description: Lista as observações do pedido tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – idPedido – page properties: idPedido: type: string description: Identificador do pedido page: type: object allOf: – #/definitions/recPageRequest description: Página responses: 200: description: Ok schema: type: object required: – totalElements properties: e120obs: type: array items: type: object allOf: – #/definitions/recE120obs description: lista de observações totalElements: type: integer format: int64 description: Total 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente 401: description: Usuário ou senha inválido default: description: Error response schema: #/definitions/genericError /pedido/queries/getPedidoConferencia: post: description: Recupera as informações para conferência do pedido tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – idPedido properties: idPedido: type: string description: Identificador do pedido responses: 200: description: Ok schema: type: object properties: e120pedConf: type: object allOf: – #/definitions/recE120pedConf description: Pedido para ser conferido 401: description: Invalid Credentials 404: description: Pedido não encontrado default: description: Error response schema: #/definitions/genericError get: description: Recupera as informações para conferência do pedido tags: – Queries x-senior-visibility: PRIVATE parameters: – name: idPedido description: Identificador do pedido in: query required: true type: string responses: 200: description: Ok schema: type: object properties: e120pedConf: type: object allOf: – #/definitions/recE120pedConf description: Pedido para ser conferido 401: description: Invalid Credentials 404: description: Pedido não encontrado default: description: Error response schema: #/definitions/genericError /pedido/queries/getSaleDetails: post: description: Obter os detalhes de uma venda tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – saleId properties: saleId: type: string description: Id da venda responses: 200: description: Ok schema: type: object required: – saleType – status properties: saleType: type: string allOf: – #/definitions/enumTipVenda description: Tipo da venda status: type: string allOf: – #/definitions/enumSitPed description: Situação da venda budgetOrderNumber: type: integer format: int64 description: Número do pedido criado pelo orçamento approvalDateTime: type: string format: date-time description: Data e hora de confirmação do orçamento reasonCode: type: string description: Código do motivo de rejeição do orçamento reasonDescription: type: string description: Descrição do motivo de rejeição do orçamento reasonNote: type: string description: Observação do motivo closingDateTime: type: string format: date-time description: Data e hora do encerramento do orçamento budgetOriginNumber: type: integer format: int64 description: Número do orçamento origem do pedido 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obter os detalhes de uma venda tags: – Queries x-senior-visibility: PRIVATE parameters: – name: saleId description: Id da venda in: query required: true type: string responses: 200: description: Ok schema: type: object required: – saleType – status properties: saleType: type: string allOf: – #/definitions/enumTipVenda description: Tipo da venda status: type: string allOf: – #/definitions/enumSitPed description: Situação da venda budgetOrderNumber: type: integer format: int64 description: Número do pedido criado pelo orçamento approvalDateTime: type: string format: date-time description: Data e hora de confirmação do orçamento reasonCode: type: string description: Código do motivo de rejeição do orçamento reasonDescription: type: string description: Descrição do motivo de rejeição do orçamento reasonNote: type: string description: Observação do motivo closingDateTime: type: string format: date-time description: Data e hora do encerramento do orçamento budgetOriginNumber: type: integer format: int64 description: Número do orçamento origem do pedido 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/queries/listSaleOrderInstallments: post: description: Obtém as parcelas do pedido tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – orderId – page properties: orderId: type: string description: Id do pedido page: type: object allOf: – #/definitions/recPageRequest description: Página responses: 200: description: Ok schema: type: object required: – totalElements properties: recListSaleOrderInstallments: type: array items: type: object allOf: – #/definitions/recListSaleOrderInstallments description: Lista das parcelas do pedido installmentsTotalValue: type: string description: Valor total de todas as parcelas totalElements: type: integer format: int64 description: Total de registros 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente 401: description: Usuário ou senha inválido default: description: Error response schema: #/definitions/genericError /pedido/queries/listPreparedOrder: post: description: Lista de pedidos preparados para faturamento tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – preparedOrderId – page properties: preparedOrderId: type: string description: Id dos pedidos preparados groupId: type: string description: Id do agrupamento page: type: object allOf: – #/definitions/recPageRequest description: Pagina responses: 200: description: Ok schema: type: object required: – totalElements properties: recInvoice: type: array items: type: object allOf: – #/definitions/recInvoice description: Informações de retorno do pedido totalElements: type: integer format: int64 description: Total prepareOrderId: type: string description: Id da preparação groupSituation: type: string allOf: – #/definitions/enumSitAgr description: Situacao do agrupamento prepareOrderStatus: type: string allOf: – #/definitions/enumSitIpn description: Status da preparação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/queries/listPreparedOrderItens: post: description: Listagem dos itens preparados para faturamento tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – orderId – preparedOrderId – page properties: orderId: type: string description: Id do pedido preparedOrderId: type: string description: Id da preparação do pedido page: type: object allOf: – #/definitions/recPageRequest description: Pagina responses: 200: description: Ok schema: type: object required: – totalElements properties: recPreparedOrderItens: type: array items: type: object allOf: – #/definitions/recPreparedOrderItens description: Informações dos itens preparados para faturamento totalElements: type: integer format: int64 description: Total recInvoiceParameters: type: object allOf: – #/definitions/recInvoiceParameters description: Parâmetros de faturamento 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/queries/getBudgetStatusSuggestion: post: description: Obter sugestão da situação do orçamento para encerramento tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – budgetId properties: budgetId: type: string description: Id do orçamento responses: 200: description: Ok schema: type: object required: – status properties: status: type: string description: Situação sugerida 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obter sugestão da situação do orçamento para encerramento tags: – Queries x-senior-visibility: PRIVATE parameters: – name: budgetId description: Id do orçamento in: query required: true type: string responses: 200: description: Ok schema: type: object required: – status properties: status: type: string description: Situação sugerida 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/queries/healthcheck: post: description: Query para o SRE verificar a disponibilidade do serviço tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/upDown description: Status geral do serviço checks: type: array items: type: object allOf: – #/definitions/checkData minimum: 1 description: Verificações para assegurar o status 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Query para o SRE verificar a disponibilidade do serviço tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/upDown description: Status geral do serviço checks: type: array items: type: object allOf: – #/definitions/checkData minimum: 1 description: Verificações para assegurar o status 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/queries/getBudgetPaymentTerms: post: description: Query para retornar as condições de pagamento de um orçamento tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – budgetId properties: budgetId: type: string description: Id do orçamento responses: 200: description: Ok schema: type: object required: – paymentTerms properties: paymentTerms: type: array items: type: object allOf: – #/definitions/recBudgetPaymentTerm minimum: 1 description: Lista das condições de pagamento 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Query para retornar as condições de pagamento de um orçamento tags: – Queries x-senior-visibility: PRIVATE parameters: – name: budgetId description: Id do orçamento in: query required: true type: string responses: 200: description: Ok schema: type: object required: – paymentTerms properties: paymentTerms: type: array items: type: object allOf: – #/definitions/recBudgetPaymentTerm minimum: 1 description: Lista das condições de pagamento 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/queries/allowsReleaseReservation: post: description: Query para verificar se é permitida a liberação de reservas do item do pedido de vendas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – orderItemId properties: orderItemId: type: string description: Identificador do item do pedido de venda responses: 200: description: Ok schema: type: object required: – orderItemId – releaseAction properties: orderItemId: type: string description: Identificador do item do pedido de venda releaseAction: type: string allOf: – #/definitions/enumReleaseReservation description: Ação para liberação message: type: string description: Mensagem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Query para verificar se é permitida a liberação de reservas do item do pedido de vendas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: orderItemId description: Identificador do item do pedido de venda in: query required: true type: string responses: 200: description: Ok schema: type: object required: – orderItemId – releaseAction properties: orderItemId: type: string description: Identificador do item do pedido de venda releaseAction: type: string allOf: – #/definitions/enumReleaseReservation description: Ação para liberação message: type: string description: Mensagem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/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 /pedido/queries/exportE120ped: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/queries/exportE120imd: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/queries/exportE120integ: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/queries/exportE120pre: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/queries/exportValoresPedido: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/queries/exportE028cpg: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/queries/getDependencies: post: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PUBLIC responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PUBLIC responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/updateOrderStatusIntegration: post: description: Atualizar situação do pedido após finalização de etapa de integração\n ### Resources:\n – res://senior.com.br/erpx_com_ven/pedido/actions/updateOrderStatusIntegration – Processar\n tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: Id do pedido responses: 200: description: Ok schema: type: object required: – id properties: id: type: string description: Id do pedido 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente 401: description: Usuário ou senha inválido 403: description: Permissão negada 404: description: Entidade ou Registro não encontrado default: description: Error response schema: #/definitions/genericError /pedido/actions/approveBudget: post: description: Confirmar o orçamento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – budgetId – approvalDateTime – closeOrder – paymentTermId properties: budgetId: type: string description: Id do orçamento approvalDateTime: type: string format: date-time description: Data e hora da confirmação closeOrder: type: boolean description: Indicativo para fechar o pedido paymentTermId: type: string description: Id da condição de pagamento responses: 200: description: Ok schema: type: object required: – orderId properties: orderId: type: string description: Id do pedido gerado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/saleOrderChargeback: post: description: Estorno do pedido de venda tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – saleInvoiceId – chargebackType properties: saleInvoiceId: type: string description: ID da nota fiscal chargebackType: type: string allOf: – #/definitions/enumTipEstPed description: Tipo de estorno integrationType: type: string allOf: – #/definitions/enumIntegrationStep description: Tipo de integracao do step na nota fiscal de saída responses: 200: description: Ok schema: type: object required: – saleInvoiceId properties: saleInvoiceId: type: string description: ID da nota fiscal 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/persistSaleOrderInstallments: post: description: Persistência da parcela do pedido de venda tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – orderId properties: orderId: type: string description: Id do pedido installmentId: type: string description: Id da parcela installmentDays: type: integer format: int64 description: Quantidade de dias da parcela minimum: 0 maximum: 999 installmentDueDate: type: string format: date description: Data de vencimento da parcela installmentPercentage: type: number format: double description: Percentual da parcela minimum: 0.00 maximum: 999.99 installmentValue: type: string description: Valor da parcela minimum: 0.00 maximum: 9999999999999.99 paymentMethodId: type: string description: Id da forma de pagamento installmentNote: type: string maxLength: 250 description: Observação da parcela cardCompanyTaxNumber: type: string maxLength: 14 description: CNPJ da credenciadora de cartão de crédito/débito cardBrand: type: string allOf: – #/definitions/enumBanOpe description: Bandeira da operadora de cartão de crédito/débito authorizationNumber: type: string maxLength: 100 description: Número de autorização da operação cartão de crédito/débito paymentMethodType: type: string allOf: – #/definitions/enumIndPag description: Indicativo da forma de pagamento responses: 200: description: Ok schema: type: object properties: installmentId: type: string description: Id da parcela 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/persistBillingInformation: post: description: Persistência dos dados de cobrança do pedido tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – orderId properties: orderId: type: string description: Id do pedido billingAddressId: type: string description: Id do endereço de cobrança paymentTermId: type: string description: Id da condição de pagamento keepInstallments: type: boolean description: Manter parcelas no recebimento default: false responses: 200: description: Ok schema: type: object properties: orderId: type: string description: Id do pedido 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/persistAdditionalSaleInformation: post: description: Action para gravação das informações adicionais tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – e120ped properties: id: type: string description: ID inf adicional e120ped: type: string description: Número Pedido obsPed: type: string maxLength: 999 description: Observação do Pedido e001endEnt: type: string description: Endereço de entrega e001pesTra: type: string description: Transportadora e001pesRed: type: string description: Redespacho e008rai: type: string description: Cidade do recolhimento do ISS codVia: type: string allOf: – #/definitions/enumCodVia description: Via de transporte plaVei: type: string maxLength: 10 description: Placa Veículo vlrFre: type: string description: Valor/Percentual/CIF ou FOB do Frete minimum: 0.00 maximum: 9999999999999.99 cifFob: type: string allOf: – #/definitions/enumCifFob description: Frete CIF ou FOB vlrSeg: type: string description: Valor/Percentual Seguro minimum: 0.00 maximum: 9999999999999.99 vlrEmb: type: string description: Valor/Percentual Embalagens minimum: 0.00 maximum: 9999999999999.99 vlrEnc: type: string description: Valor/Percentual Encargos minimum: 0.00 maximum: 9999999999999.99 vlrOut: type: string description: Valor/Percentual Outras Despesas minimum: 0.00 maximum: 9999999999999.99 vlrFrd: type: string description: Valor Frete Destacado minimum: 0.00 maximum: 9999999999999.99 vlrOud: type: string description: Valor Outras Despesas Destacado minimum: 0.00 maximum: 9999999999999.99 vlrDad: type: string description: Valor desconto do cliente minimum: 0.00 maximum: 9999999999999.99 perDad: type: number format: double description: % Desconto do cliente minimum: 0.00 maximum: 999.99 e021mot: type: string description: Motivo obsMot: type: string maxLength: 250 description: Observação Motivo acePar: type: boolean description: Aceita Faturamento Parcial default: false e070filFat: type: string description: Filial de Faturamento pedCli: type: string maxLength: 20 description: Nº Pedido Cliente datEnt: type: string format: date description: Data prevista de entrega datFat: type: string format: date description: Data prevista de faturamento indPre: type: string allOf: – #/definitions/enumIndPre description: Indicativo de presença do consumidor indicativeIntermediation: type: string allOf: – #/definitions/enumIndicativeIntermediation description: Indicativo de intermediação intermediaryTaxNumber: type: string maxLength: 14 description: CNPJ do Intermediador da Transação intermediaryRegistration: type: string maxLength: 60 description: Identificador cadastrado no intermediador responses: 200: description: Ok schema: type: object required: – e120inf properties: e120inf: type: object allOf: – #/definitions/e120inf description: Informações adicionais do pedido 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/persistItens: post: description: Action para gravação de itens tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – e120ped properties: id: type: string description: Id do item e120ped: type: string description: Número Pedido e075der: type: string description: Produto pedCli: type: string maxLength: 20 description: Pedido do Cliente seqPcl: type: string maxLength: 10 description: Sequência Pedido Cliente cplIpd: type: string maxLength: 250 description: Complemento qtdPed: type: number format: double description: Quantidade Pedida minimum: 0.00 maximum: 999999999.99999 qtdCan: type: number format: double description: Quantidade Cancelada minimum: 0.00 maximum: 999999999.99999 default: 0.0 qtdFat: type: number format: double description: Quantidade Faturada minimum: 0.00 maximum: 999999999.99999 default: 0.0 e081tab: type: string description: Tabela de Preço preUni: type: string description: Preço Unitário/Fixo minimum: 0.00 maximum: 99999999999.9999999999 perDsc: type: number format: double description: % Desconto minimum: 0.00 maximum: 999.99 perCom: type: number format: double description: % Comissão minimum: 0.00 maximum: 999.99 datEnt: type: string format: date description: Previsão Entrega datFat: type: string format: date description: Data prevista de faturamento vlrDsc: type: string description: Valor Desconto minimum: 0.00 maximum: 9999999999999.99 vlrCom: type: string description: Valor Comissão minimum: 0.00 maximum: 9999999999999.99 vlrBco: type: string description: Valor Base de Comissão minimum: 0.00 maximum: 9999999999999.99 sitIpd: type: string allOf: – #/definitions/enumSitPed description: Situação e021mot: type: string description: Motivo obsMot: type: string maxLength: 250 description: Observação Motivo e015medVen: type: string description: Unidade Medida Venda qtdVen: type: number format: double description: Quantidade Unidade Medida Venda minimum: 0.00 maximum: 999999999.99999 preVen: type: string description: Preço Unidade Medida Venda minimum: 0.00 maximum: 99999999999.9999999999 obsIpd: type: string maxLength: 999 description: Observação do item produto Pedido e001pesRep: type: string description: Representante e067fin: type: string description: Finalidade de Venda indBrd: type: boolean description: Brinde Promocional proSer: type: string allOf: – #/definitions/enumProSer description: Produto ou Serviço e001tnsIte: type: string description: Transação Produto e080ser: type: string description: Serviço codTri: type: string maxLength: 5 description: Código Tributação p/ DARF e120pedUsuAlt: type: string description: Último usuário de alteração do pedido e120imi: type: array items: type: object allOf: – #/definitions/e120imi description: Impostos e091plf: type: string description: Conta financeira e044ccu: type: string description: Centro de custo responses: 200: description: Ok schema: type: object required: – totalElements properties: recE120ipd: type: array items: type: object allOf: – #/definitions/recE120ipd description: Lista pedidos e120pedUsuAlt: type: string description: Usuário da última alteração do pedido totalElements: type: integer format: int64 description: Total 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/persistPedido: post: description: Persistência do Pedido de venda tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – currencyId properties: id: type: string description: Id do pedido e070emp: type: string description: Empresa e070fil: type: string description: Filial dthEmi: type: string format: date-time description: Data/Hora Emissão + Hora Emissão e001pesCli: type: string description: Cliente e001pesRep: type: string description: Representante/Vendedor e001tnsPro: type: string description: Transação Produto e001tnsSer: type: string description: Transação Serviço indPre: type: string allOf: – #/definitions/enumIndPre description: Indicativo de presença do consumidor tipPed: type: string allOf: – #/definitions/enumTipPed description: Indicativo Orçamento/Pedido vctOrc: type: string format: date description: Data de vencimento do orçamento tipVen: type: string allOf: – #/definitions/enumTipVenda description: Tipo de venda currencyId: type: string description: Id da moeda currencyDate: type: string format: date description: Data de cotação da moeda currencyValue: type: string description: Valor da cotação minimum: 0.00 maximum: 9999999999999.9999999999 default: 0 closedCurrency: type: boolean description: Indicativo se o valor da cotação da moeda é fechado responses: 200: description: Ok schema: type: object properties: dadosGerais: type: object allOf: – #/definitions/recDadosGerais description: Dados gerais do pedido 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/persistObservacao: post: description: Action para persistir as observações tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – e120ped – obsPed properties: id: type: string description: id das observações e120ped: type: string description: Id Pedido e120ipd: type: string description: Seq. Item Produto obsPed: type: string description: Texto de Observação do Pedido tipObs: type: string allOf: – #/definitions/enumTipOpd description: Tipo da Observação e021mot: type: string description: Motivo tipInf: type: string allOf: – #/definitions/enumTipLog description: Tipo de Informação areObs: type: string allOf: – #/definitions/enumAreEmp description: Área da Observação aprRpr: type: string allOf: – #/definitions/enumAprRpr description: Aprovação do Pedido pela Área responses: 200: description: Ok schema: type: object required: – e120obs properties: e120obs: type: object allOf: – #/definitions/e120obs description: Observação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/generateOrderReport: post: description: Ação para geração de relatório tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – orderId properties: orderId: type: array items: type: string minimum: 1 description: IDs dos pedidos responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/updatePedidoFechamento: post: description: Action para fechamento do pedido tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – ids properties: ids: type: array items: type: string minimum: 1 description: Lista de Ids de pedido print: type: boolean description: Indicativo para imprimir pedido/orçamento default: false responses: 200: description: Ok schema: type: object properties: recFechamentoPedido: type: array items: type: object allOf: – #/definitions/recFechamentoPedido description: Lista resultado do fechamento dos pedidos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/updatePedidoCancelamento: post: description: Action para cancelamento do pedido tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – ids properties: ids: type: array items: type: string minimum: 1 description: Lista de Ids de pedido responses: 200: description: Ok schema: type: object properties: recCancelamentoPedido: type: array items: type: object allOf: – #/definitions/recFechamentoPedido description: Lista resultado do cancelamento dos pedidos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/cancelOrders: post: description: Cancelamento do pedido\n ### Resources:\n – res://senior.com.br/erpx_com_ven/pedido/actions/cancelOrders – Processar\n tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – ids properties: ids: type: array items: type: string minimum: 1 description: Lista de ids dos pedidos a serem cancelados responses: 200: description: Ok schema: type: object properties: result: type: array items: type: object allOf: – #/definitions/cancelOrderResult description: Lista com o resultado do cancelamento dos pedidos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/updatePedidoReabilitacao: post: description: Action para reabilitar do pedido tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – ids properties: ids: type: array items: type: string minimum: 1 description: Lista de Ids de pedido responses: 200: description: Ok schema: type: object properties: recReabilitacaoPedido: type: array items: type: object allOf: – #/definitions/recReabilitacaoPedido description: Lista pedidos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/deletePedido: post: description: Action para exclusão do pedido tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – ids properties: ids: type: array items: type: string minimum: 1 description: Lista de Ids de pedido responses: 200: description: Ok schema: type: object properties: recAcoesPedido: type: array items: type: object allOf: – #/definitions/recAcoesPedido description: Lista pedidos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/deleteItemPedido: post: description: Action para exclusão do pedido tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – idPedido – ids properties: idPedido: type: string description: Id do pedido ids: type: array items: type: string minimum: 1 description: Lista de Ids de pedido responses: 200: description: Ok schema: type: object properties: recExclusaoItemPedido: type: array items: type: object allOf: – #/definitions/recExclusaoItemPedido description: Lista pedidos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/generateSaleOrderInstallments: post: description: Ação para gerar as parcelas com base na condição de pagamento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – orderId – paymentTermId properties: orderId: type: string description: ID do pedido de venda paymentTermId: type: string description: ID da condição de pagamento billingAddressId: type: string description: Id do endereço de cobrança responses: 200: description: Ok schema: type: object properties: orderId: type: string description: Retorno da geração das parcelas com base na condição de pagamento 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/deleteAttendedItems: post: description: Realiza a exclusão do(s) item(ns) do pedido no atendimento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – e140nfsId – idItems properties: e140nfsId: type: string description: Id da nota fiscal idItems: type: array items: type: string minimum: 1 description: IDs dos itens que serão excluídos do atendimento responses: 200: description: Ok schema: type: object required: – idItems properties: idItems: type: array items: type: string minimum: 1 description: IDs dos itens que foram excluídos do atendimento 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/deleteOrderInstallment: post: description: Query para retornar as parcelas do pedido tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – orderId – installmentId properties: orderId: type: string description: Id do pedido installmentId: type: string description: Id da parcela responses: 200: description: Ok schema: type: object required: – orderId properties: orderId: type: string description: Id do pedido 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/recalculateInstallments: post: description: Ação para calcular as parcelas com base no valor financeiro tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – orderId properties: orderId: type: string description: Id do pedido responses: 200: description: Ok schema: type: object properties: orderId: type: string description: Id do pedido 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/recalculateSaleOrder: post: description: Ação para calcular o pedido tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: orderIds: type: array items: type: string description: Ids dos pedidos que devem ser recalculados responses: 200: description: Ok schema: type: object properties: recRecalculateSaleOrder: type: array items: type: object allOf: – #/definitions/recRecalculateSaleOrder description: Record de retorno informando o status do recálculo do pedido 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/updateSaleOrderStatus: post: description: Ação para suspender ou reativar o pedido e seus itens tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: orderIds: type: array items: type: string description: Ids dos pedidos que devem ser suspensos suspendOrders: type: boolean description: Indicativo para suspender ou reativar os pedidos responses: 200: description: Ok schema: type: object properties: recUpdateSaleOrderStatus: type: array items: type: object allOf: – #/definitions/recUpdateSaleOrderStatus description: Lista de pedidos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/prepareInvoice: post: description: Preparar os itens do pedido para faturamento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – orderIds properties: orderIds: type: array items: type: string minimum: 1 description: Ids dos pedidos restoreItems: type: boolean description: Restaurar itens default: false prepareOrderId: type: string description: Id da preparação responses: 200: description: Ok schema: type: object properties: recInvoice: type: array items: type: object allOf: – #/definitions/recInvoice description: Informações de retorno do pedido prepareOrderId: type: string description: Id da preparação prepareOrderStatus: type: string allOf: – #/definitions/enumSitIpn description: Status da preparação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/persistPreparedOrderItem: post: description: Persistir os itens preparados para faturamento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – cancelRemainingQuantity – prepareOrderId properties: id: type: string description: Id do item cancelRemainingQuantity: type: boolean description: Indicativo se o saldo cancelado invoiceQuantity: type: number format: double description: Quantidade a faturar updatedBy: type: string description: Usuário da última alteração do registro updateDateTime: type: string format: date-time description: Data e hora da última atualização do registro prepareOrderId: type: string description: Id da preparação responses: 200: description: Ok schema: type: object properties: orderItemId: type: string description: Itens 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/persistSelectedItems: post: description: Persistir a seleção dos itens para faturamento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – prepareOrderId properties: orderId: type: string description: Id do pedido allChecked: type: boolean description: Indicativo se todos os itens estão marcados ou desmarcados items: type: array items: type: string description: Ids dos itens que são exceção do allChecked prepareOrderId: type: string description: Id da preparação responses: 200: description: Ok schema: type: object properties: orderId: type: string description: Id do pedido invoiceValue: type: string description: Valor total a faturar 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/removeSaleOrders: post: description: Remover pedido da preparação de faturamento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – orderIds – preparedOrderId properties: orderIds: type: array items: type: string minimum: 1 description: Id do pedido preparedOrderId: type: string description: Id da preparaçãp responses: 200: description: Ok schema: type: object required: – orderId properties: orderId: type: array items: type: string minimum: 1 description: Id do pedido 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/deletePreparedInvoice: post: description: action para excluir atendimentos tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – preparedOrderId properties: preparedOrderId: type: string description: Id da preparação groupId: type: string description: Id do agrupamento responses: 200: description: Ok schema: type: object required: – preparedOrderId properties: preparedOrderId: type: string description: Id do pedido 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/generateInvoicesFromPreparedOrders: post: description: action para geração de nota a partir de um atendimento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – preparedOrderId – groupOrders – automaticallyIssue properties: preparedOrderId: type: string description: Id do atendimento groupOrders: type: boolean description: Indicativo se os pedidos devem ser agrupados em uma única nota fiscal automaticallyIssue: type: boolean description: Indicativo se as notas fiscais devem ser emitidas automaticamente responses: 200: description: Ok schema: type: object required: – preparedOrderId properties: preparedOrderId: type: string description: Id do pedido 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/reprocessInvoicesFromPreparedOrders: post: description: action para reprocessar o faturamento via pedido tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – groupId properties: groupId: type: string description: Id do agrupamento responses: 200: description: Ok schema: type: object required: – groupId properties: groupId: type: string description: Id do agrupamento 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/persistEquipment: post: description: Persistir equipamento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – orderId properties: orderId: type: string description: Id do pedido equipmentId: type: string description: Id do equipamento newEquipmentDescription: type: string description: Descrição de um novo equipamento responses: 200: description: Ok schema: type: object required: – orderId properties: orderId: type: string description: Id do pedido 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/persistAlternativePaymentTerms: post: description: Persistência das condições de pagamento alternativas do orçamento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – budgetId – paymentTerms properties: budgetId: type: string description: Id do orçamento paymentTerms: type: array items: type: string minimum: 1 description: Lista de ids de condições de pagamento responses: 200: description: Ok schema: type: object required: – budgetId properties: budgetId: type: string description: Id do orçamento 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/closeBudget: post: description: Primitiva para encerrar orçamento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – budgetId – reasonId – dateClosed – status properties: budgetId: type: string description: Id do orçamento reasonId: type: string description: Id do motivo de encerramento reasonNote: type: string description: Observação do motivo dateClosed: type: string format: date-time description: Data do encerramento status: type: string allOf: – #/definitions/enumSitPed description: Situação do orçamento responses: 200: description: Ok schema: type: object required: – budgetId properties: budgetId: type: string description: Id do orçamento 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/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 /pedido/actions/importE120ped: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/importE120imd: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/importE120integ: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/importE120pre: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/importValoresPedido: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/actions/importE028cpg: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/signals/checkExpiredBudgets: post: description: Atualizar orçamentos vencidos tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – reasonCode properties: reasonCode: type: integer format: int64 description: Código do motivo responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /pedido/events/saleOrderChargebackProcessingCreated: post: description: Evento para validação da nota x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – saleInvoiceId – chargebackType properties: saleInvoiceId: type: string description: ID da nota fiscal chargebackType: type: string allOf: – #/definitions/enumTipEstPed description: Tipo de estorno integrationType: type: string allOf: – #/definitions/enumIntegrationStep description: Tipo de integracao do step na nota fiscal de saída responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /pedido/events/externalServiceOrderFinished: post: description: Evento para validação da nota x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object properties: externalServiceOrderFinished: type: object allOf: – #/definitions/recExternalServiceOrder description: ID da nota fiscal responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /pedido/events/saleOrderChargebackSuccess: post: description: Evento de sucesso do estorno do pedido de venda x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – saleInvoiceId properties: saleInvoiceId: type: string description: ID da nota fiscal responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /pedido/events/saleOrderChargebackError: post: description: Evento de erro do estorno do pedido de venda x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – saleInvoiceId – messageError properties: saleInvoiceId: type: string description: ID da nota fiscal messageError: type: string description: Mensagem de erro responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /pedido/events/saleOrderGroupCreated: post: description: Evento de grupo criado para geração x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – groupData properties: groupData: type: string description: Dados sobre o grupo criado em JSON responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /pedido/events/saleOrderClosed: post: description: Evento Pedido Fechado x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – pedidoId properties: pedidoId: type: string description: Id do pedido responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /pedido/events/saleBudgetClosed: post: description: Evento Orçamento Fechado x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – pedidoId properties: pedidoId: type: string description: Id do pedido responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /pedido/events/preparedOrderStatusChanged: post: description: Evento para atualizar a situação do agrupamento de pré-fatura no frontend via websocket x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – groupingId – status properties: groupingId: type: string description: Id do agrupamento status: type: string allOf: – #/definitions/enumSitAgr description: situação do agrupamento validationMessage: type: string maxLength: 500 description: Mensagem de erro numNfs: type: integer format: int64 description: número da nota fiscal serNfs: type: string description: descrição da série da nota fiscal e140nfs: type: string description: Id da nota fiscal responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /pedido/events/importE120pedEvent: 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 /pedido/events/exportE120pedEvent: 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 /pedido/events/importE120ipdEvent: 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 /pedido/events/exportE120ipdEvent: 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 /pedido/events/importE120infEvent: 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 /pedido/events/exportE120infEvent: 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 /pedido/events/importE120obsEvent: 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 /pedido/events/exportE120obsEvent: 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 /pedido/events/importE120imdEvent: 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 /pedido/events/exportE120imdEvent: 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 /pedido/events/importE120pedCondicoesPgtoEvent: 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 /pedido/events/exportE120pedCondicoesPgtoEvent: 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 /pedido/events/importE120imiEvent: 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 /pedido/events/exportE120imiEvent: 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 /pedido/events/importE120parEvent: 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 /pedido/events/exportE120parEvent: 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 /pedido/events/importE120integEvent: 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 /pedido/events/exportE120integEvent: 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 /pedido/events/importE120agrEvent: 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 /pedido/events/exportE120agrEvent: 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 /pedido/events/importE120ipnEvent: 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 /pedido/events/exportE120ipnEvent: 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 /pedido/events/importE120preEvent: 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 /pedido/events/exportE120preEvent: 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 /pedido/events/importValoresPedidoEvent: 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 /pedido/events/exportValoresPedidoEvent: 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 /pedido/events/importE028cpgEvent: 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 /pedido/events/exportE028cpgEvent: 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 /pedido/entities/e120ped: 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/e120ped responses: 200: description: The created resource schema: #/definitions/e120ped 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/e120ped responses: 200: description: The created resource schema: #/definitions/e120ped 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 responses: 200: description: Ok schema: type: array items: #/definitions/e120ped 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120ped/{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/e120ped responses: 200: description: Ok schema: #/definitions/e120ped 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/e120ped responses: 200: description: Ok schema: #/definitions/e120ped 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/e120ped 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 /pedido/entities/e120ped/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/e120ped responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120ipd: 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/e120ipd responses: 200: description: The created resource schema: #/definitions/e120ipd 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/e120ipd responses: 200: description: The created resource schema: #/definitions/e120ipd 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 responses: 200: description: Ok schema: type: array items: #/definitions/e120ipd 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120ipd/{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/e120ipd responses: 200: description: Ok schema: #/definitions/e120ipd 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/e120ipd responses: 200: description: Ok schema: #/definitions/e120ipd 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/e120ipd 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 /pedido/entities/e120ped/{parentId}/e120ipd: 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/e120ipd responses: 200: description: The created resources schema: type: array items: #/definitions/e120ipd 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/e120ipd responses: 200: description: The created resources schema: type: array items: #/definitions/e120ipd 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 responses: 200: description: Ok schema: type: array items: #/definitions/e120ipd 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120ped/{parentId}/e120ipd/{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/e120ipd responses: 200: description: Ok schema: #/definitions/e120ipd 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/e120ipd responses: 200: description: Ok schema: #/definitions/e120ipd 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/e120ipd 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 /pedido/entities/e120ipd/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/e120ipd responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120inf: 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/e120inf responses: 200: description: The created resource schema: #/definitions/e120inf 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/e120inf responses: 200: description: The created resource schema: #/definitions/e120inf 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 responses: 200: description: Ok schema: type: array items: #/definitions/e120inf 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120inf/{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/e120inf responses: 200: description: Ok schema: #/definitions/e120inf 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/e120inf responses: 200: description: Ok schema: #/definitions/e120inf 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/e120inf 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 /pedido/entities/e120ped/{parentId}/e120inf: 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: object allOf: – #/definitions/e120inf responses: 200: description: The created resource schema: #/definitions/e120inf 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: object allOf: – #/definitions/e120inf responses: 200: description: The created resource schema: #/definitions/e120inf 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 responses: 200: description: Ok schema: type: array items: #/definitions/e120inf 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120ped/{parentId}/e120inf/{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/e120inf responses: 200: description: Ok schema: #/definitions/e120inf 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/e120inf responses: 200: description: Ok schema: #/definitions/e120inf 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/e120inf 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 /pedido/entities/e120inf/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/e120inf responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120obs: 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/e120obs responses: 200: description: The created resource schema: #/definitions/e120obs 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/e120obs responses: 200: description: The created resource schema: #/definitions/e120obs 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 responses: 200: description: Ok schema: type: array items: #/definitions/e120obs 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120obs/{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/e120obs responses: 200: description: Ok schema: #/definitions/e120obs 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/e120obs responses: 200: description: Ok schema: #/definitions/e120obs 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/e120obs 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 /pedido/entities/e120ped/{parentId}/e120obs: 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/e120obs responses: 200: description: The created resources schema: type: array items: #/definitions/e120obs 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/e120obs responses: 200: description: The created resources schema: type: array items: #/definitions/e120obs 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 responses: 200: description: Ok schema: type: array items: #/definitions/e120obs 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120ped/{parentId}/e120obs/{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/e120obs responses: 200: description: Ok schema: #/definitions/e120obs 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/e120obs responses: 200: description: Ok schema: #/definitions/e120obs 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/e120obs 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 /pedido/entities/e120obs/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/e120obs responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120imd: 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/e120imd responses: 200: description: The created resource schema: #/definitions/e120imd 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/e120imd responses: 200: description: The created resource schema: #/definitions/e120imd 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 responses: 200: description: Ok schema: type: array items: #/definitions/e120imd 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120imd/{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/e120imd responses: 200: description: Ok schema: #/definitions/e120imd 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/e120imd responses: 200: description: Ok schema: #/definitions/e120imd 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/e120imd 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 /pedido/entities/e120imd/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/e120imd responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120pedCondicoesPgto: 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/e120pedCondicoesPgto responses: 200: description: The created resource schema: #/definitions/e120pedCondicoesPgto 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/e120pedCondicoesPgto responses: 200: description: The created resource schema: #/definitions/e120pedCondicoesPgto 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 responses: 200: description: Ok schema: type: array items: #/definitions/e120pedCondicoesPgto 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120pedCondicoesPgto/{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/e120pedCondicoesPgto responses: 200: description: Ok schema: #/definitions/e120pedCondicoesPgto 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/e120pedCondicoesPgto responses: 200: description: Ok schema: #/definitions/e120pedCondicoesPgto 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/e120pedCondicoesPgto 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 /pedido/entities/e120ped/{parentId}/e120pedCondicoesPgto: 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/e120pedCondicoesPgto responses: 200: description: The created resources schema: type: array items: #/definitions/e120pedCondicoesPgto 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/e120pedCondicoesPgto responses: 200: description: The created resources schema: type: array items: #/definitions/e120pedCondicoesPgto 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 responses: 200: description: Ok schema: type: array items: #/definitions/e120pedCondicoesPgto 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120ped/{parentId}/e120pedCondicoesPgto/{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/e120pedCondicoesPgto responses: 200: description: Ok schema: #/definitions/e120pedCondicoesPgto 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/e120pedCondicoesPgto responses: 200: description: Ok schema: #/definitions/e120pedCondicoesPgto 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/e120pedCondicoesPgto 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 /pedido/entities/e120pedCondicoesPgto/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/e120pedCondicoesPgto responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120imi: 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/e120imi responses: 200: description: The created resource schema: #/definitions/e120imi 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/e120imi responses: 200: description: The created resource schema: #/definitions/e120imi 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 responses: 200: description: Ok schema: type: array items: #/definitions/e120imi 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120imi/{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/e120imi responses: 200: description: Ok schema: #/definitions/e120imi 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/e120imi responses: 200: description: Ok schema: #/definitions/e120imi 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/e120imi 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 /pedido/entities/e120ipd/{parentId}/e120imi: 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/e120imi responses: 200: description: The created resources schema: type: array items: #/definitions/e120imi 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/e120imi responses: 200: description: The created resources schema: type: array items: #/definitions/e120imi 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 responses: 200: description: Ok schema: type: array items: #/definitions/e120imi 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120ipd/{parentId}/e120imi/{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/e120imi responses: 200: description: Ok schema: #/definitions/e120imi 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/e120imi responses: 200: description: Ok schema: #/definitions/e120imi 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/e120imi 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 /pedido/entities/e120imi/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/e120imi responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120par: 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/e120par responses: 200: description: The created resource schema: #/definitions/e120par 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/e120par responses: 200: description: The created resource schema: #/definitions/e120par 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 responses: 200: description: Ok schema: type: array items: #/definitions/e120par 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120par/{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/e120par responses: 200: description: Ok schema: #/definitions/e120par 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/e120par responses: 200: description: Ok schema: #/definitions/e120par 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/e120par 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 /pedido/entities/e120ped/{parentId}/e120par: 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/e120par responses: 200: description: The created resources schema: type: array items: #/definitions/e120par 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/e120par responses: 200: description: The created resources schema: type: array items: #/definitions/e120par 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 responses: 200: description: Ok schema: type: array items: #/definitions/e120par 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120ped/{parentId}/e120par/{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/e120par responses: 200: description: Ok schema: #/definitions/e120par 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/e120par responses: 200: description: Ok schema: #/definitions/e120par 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/e120par 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 /pedido/entities/e120par/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/e120par responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120integ: 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 responses: 200: description: Ok schema: type: array items: #/definitions/e120integ 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120agr: 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/e120agr responses: 200: description: The created resource schema: #/definitions/e120agr 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/e120agr responses: 200: description: The created resource schema: #/definitions/e120agr 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 responses: 200: description: Ok schema: type: array items: #/definitions/e120agr 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120agr/{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/e120agr responses: 200: description: Ok schema: #/definitions/e120agr 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/e120agr responses: 200: description: Ok schema: #/definitions/e120agr 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/e120agr 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 /pedido/entities/e120pre/{parentId}/e120agr: 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/e120agr responses: 200: description: The created resources schema: type: array items: #/definitions/e120agr 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/e120agr responses: 200: description: The created resources schema: type: array items: #/definitions/e120agr 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 responses: 200: description: Ok schema: type: array items: #/definitions/e120agr 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120pre/{parentId}/e120agr/{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/e120agr responses: 200: description: Ok schema: #/definitions/e120agr 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/e120agr responses: 200: description: Ok schema: #/definitions/e120agr 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/e120agr 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 /pedido/entities/e120agr/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/e120agr responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120ipn: 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/e120ipn responses: 200: description: The created resource schema: #/definitions/e120ipn 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/e120ipn responses: 200: description: The created resource schema: #/definitions/e120ipn 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 responses: 200: description: Ok schema: type: array items: #/definitions/e120ipn 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120ipn/{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/e120ipn responses: 200: description: Ok schema: #/definitions/e120ipn 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/e120ipn responses: 200: description: Ok schema: #/definitions/e120ipn 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/e120ipn 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 /pedido/entities/e120agr/{parentId}/e120ipn: 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/e120ipn responses: 200: description: The created resources schema: type: array items: #/definitions/e120ipn 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/e120ipn responses: 200: description: The created resources schema: type: array items: #/definitions/e120ipn 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 responses: 200: description: Ok schema: type: array items: #/definitions/e120ipn 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120agr/{parentId}/e120ipn/{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/e120ipn responses: 200: description: Ok schema: #/definitions/e120ipn 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/e120ipn responses: 200: description: Ok schema: #/definitions/e120ipn 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/e120ipn 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 /pedido/entities/e120ipn/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/e120ipn responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120pre: 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/e120pre responses: 200: description: The created resource schema: #/definitions/e120pre 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/e120pre responses: 200: description: The created resource schema: #/definitions/e120pre 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 responses: 200: description: Ok schema: type: array items: #/definitions/e120pre 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e120pre/{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/e120pre responses: 200: description: Ok schema: #/definitions/e120pre 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/e120pre responses: 200: description: Ok schema: #/definitions/e120pre 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/e120pre 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 /pedido/entities/e120pre/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/e120pre responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/valoresPedido: 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 responses: 200: description: Ok schema: type: array items: #/definitions/valoresPedido 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e028cpg: 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/e028cpg responses: 200: description: The created resource schema: #/definitions/e028cpg 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/e028cpg responses: 200: description: The created resource schema: #/definitions/e028cpg 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 responses: 200: description: Ok schema: type: array items: #/definitions/e028cpg 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /pedido/entities/e028cpg/{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/e028cpg responses: 200: description: Ok schema: #/definitions/e028cpg 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/e028cpg responses: 200: description: Ok schema: #/definitions/e028cpg 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/e028cpg 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 /pedido/entities/e028cpg/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/e028cpg responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError definitions: enumSitAgr: description: Situação do agrupamento type: string enum: – CANCELADO – PENDENTE – PROCESSANDO – GERADO – FECHAMENTO – SUCESSO – ERRO – INUTILIZADO – ENVIADO enumTipVen: description: Indicativo do tipo de venda type: string enum: – V1 – V8 – V20 enumTipVenda: description: Tipo de venda type: string enum: – V1 – V2 enumSimNao: description: Sim e Não type: string enum: – VS – VN enumTipPed: description: Tipos de venda type: string enum: – V1 – V2 – V3 – V4 – V5 – V6 enumTipEstPed: description: Tipo de estorno do pedido de venda type: string enum: – V1 – V2 enumSitPed: description: Situação dos pedidos type: string enum: – V1 – V2 – V3 – V4 – V5 – V6 – V7 – V8 – V9 – V10 – V11 – V12 – V13 enumIndicativeIntermediation: description: Indicativo de intermediação type: string enum: – V0 – V1 – V9 enumVenTip: description: Tipo de venda type: string enum: – VN – VT – VB enumSitReg: description: Situação registro type: string enum: – VA – VI enumLisMod: description: Módulo da transação type: string enum: – VVEP – VVEO – VVEC – VVEF – VVES – VVEN – VESN – VESR – VESB – VESC – VESF – VCRE – VCRP – VCRB – VCRA – VRAM – VCRV – VCOO – VCSO – VCOF – VCOS – VCON – VCPE – VCPP – VCPB – VCPM – VCPA – VPAM – VCPV – VCBC – VCBM – VFTC – VPCP – VCFB – VPAT – VPRJ – VCCR – VCCP enumDiaEsp: description: Enumeração de dia especial type: string enum: – V1 – V2 – V3 – V4 – V5 – V6 – V7 – V8 – V9 – VA – VS – VD – VQ – VM enumAplCpg: description: Enumeração de aplicação da condição de pagamento type: string enum: – VV – VC – VA enumTipPar: description: Enumeração do tipo de parcela type: string enum: – V1 – V2 – V3 enumTipOpd: description: Tipo Observação type: string enum: – VM – VA enumAreEmp: description: Área empresa type: string enum: – VCPR – VRH – VDIR – VCTB – VCUS – VENG – VPCP – VFIN – VVEN – VIMP enumAprRpr: description: Aprovação Pedido type: string enum: – VA – VR – VN – VI – VE – VC enumTipLog: description: Tipo de informação type: string enum: – V1 – V2 – V3 enumIndPre: description: Indicativo de presença do consumidor type: string enum: – V0 – V1 – V2 – V3 – V4 – V5 – V9 enumPrcPed: description: Procedência da venda type: string enum: – V1 – V2 – V99 enumCodVia: description: Vias de Transporte type: string enum: – V0 – V1 – V2 – V3 – V4 – V5 – V6 enumCifFob: description: Tipo de frete type: string enum: – V0 – V1 – V2 – V3 – V4 – V9 enumMotDes: description: Mot Des type: string enum: – V0 – V1 – V2 – V3 – V4 – V5 – V6 – V7 – V8 – V9 – V10 – V11 – V12 – V16 – V90 enumIndPag: description: Forma de pagamento type: string enum: – V0 – V1 enumBanOpe: description: Bandeira da operadora de cartão de crédito/débito type: string enum: – V01 – V02 – V03 – V04 – V05 – V06 – V07 – V08 – V09 – V10 – V11 – V12 – V13 – V14 – V15 – V16 – V17 – V18 – V19 – V20 – V21 – V22 – V23 – V24 – V25 – V26 – V27 – V99 enumTipImpDoc: description: Tipo de imposto documento type: string enum: – IPI – IPI_PRESUMIDO – IPI_DEVOLVIDO – IPI_CREDITADO – ICMS – ICMS_SIMPLES – ICMS_FUTURO – ICMS_DIFERIDO – ICMS_DESONERADO – ICMS_ST – ICMS_UF_DESTINO – ICMS_ISENTAS_OUTRAS – ICMS_CREDITADO – ICMS_EFETIVO – ICMS_ST_RETIDO_ANT – ICMS_ST_FUTURO – ICMS_ST_SOLIDARIO – ICMS_IMPORTACAO – ICMS_DESTINO – FCP – FCP_ST – FCP_UF_DESTINO – FCP_ST_RETIDO_ANT – ISS – COFINS – COFINS_RETIDO – COFINS_RECUPERAR_IMPORTACAO – COFINS_RECUPERAR – COFINS_DEVOLVIDO – PIS – PIS_RETIDO – PIS_RECUPERAR_IMPORTACAO – PIS_RECUPERAR – PIS_DEVOLVIDO – CSLL – ISS_RETIDO – IRRF – INSS – INSS_PATRONAL – IMPOSTO_IMPORTACAO – DIFAL – DIFAL_DEVOLVIDO – CIDE_TECNOLOGIA enumSituacaoDemanda: description: Situação da demanda type: string enum: – NAO_GERADA – GERADA – EM_ATENDIMENTO – FINALIZADA – CANCELADA – EM_CANCELAMENTO enumServico: description: Serviço integração chamdo type: string enum: – GERAR_DEMANDA – ATENDIMENTO_DEMANDA – CANCELAR_DEMANDA – FINALIZAR_DEMANDA – LIBERAR_SALDO_RESERVA enumSitProcesso: description: Situação de processo type: string enum: – NAO_PROCESSADO – EM_PROCESSAMENTO – PROCESSADO – ERRO enumTipoIntegracao: description: Situação de processamento type: string enum: – DEMANDAS enumTypeOrder: description: Enumeração para o tipo de ordenação type: string enum: – Asc – Desc enumProSer: description: Enumeração de Produto Serviço type: string enum: – VP – VS enumTipPro: description: tipo de produto type: string enum: – VP – VC – VS enumTipInt: description: Enumeração do tipo de Integração type: string enum: – V1 – V2 – V3 enumAplLiq: description: Enumeração do tipo de aplicação do valor do imposto type: string enum: – VA – VS – VN enumSitIpn: description: Situações da preparação do pedido type: string enum: – V1 – V2 – V3 – V4 – V5 – V6 upDown: description: Up or down type: string enum: – UP – DOWN enumIntegrationStep: description: Módulo da integração da nota fiscal de saída gerada type: string enum: – CANCELAMENTO_ESTORNO_PEDIDO_VENDA – INUTILIZACAO_ESTORNO_PEDIDO_VENDA enumRegControleRet: description: Tipo de regime de controle de retenção type: string enum: – CAIXA – COMPETENCIA enumReleaseReservation: description: Enumerador para a ação de liberação de reserva type: string enum: – ALLOWED – NOT_ALLOWED – ALLOWED_WITH_CONFIRMATION userNotificationKind: description: User notification kind. type: string enum: – Operational – Management – News userNotificationPriority: description: User notification priority. type: string enum: – Error – Alert – None eventEmailFormat: description: Format of the email type: string enum: – HTML – PLAIN_TEXT fieldType: description: type: string enum: – BINARY – BOOLEAN – DATE – DATETIME – DOUBLE – ENUM – INTEGER – MONEY – STRING – TIME fileFormat: description: type: string enum: – CSV – FLAT – JSON – XML hookFunction: description: type: string enum: – BEFORE_PARSE – BEFORE_CONVERSION – ON_ERROR – VALIDATE eventType: description: type: string enum: – CHUNK – DOWNLOAD – ERROR – FINISH – START errorStrategy: description: type: string enum: – CALL_SCRIPT – IGNORE – STOP status: description: type: string enum: – DONE – DONE_WITH_ERRORS – DOWNLOADING – ERROR – NOT_STARTED – RUNNING errorType: description: type: string enum: – CONVERT_ERROR – SERVICE_ERROR recExternalServiceOrder: description: Record do pedido finalizado para o sistema de gestão de ordens de serviço type: object properties: orderId: type: string description: Id do pedido company: type: object allOf: – #/definitions/company description: Empresa do pedido branch: type: object allOf: – #/definitions/branch description: Filial do pedido customer: type: object allOf: – #/definitions/customer description: Cliente do pedido orderNumber: type: integer format: int64 description: Número do pedido issueDateTime: type: string format: date-time description: Data e hora de emissão do pedido equipmentId: type: string description: Id do equipamento do pedido newEquipmentDescription: type: string description: descrição do novo equipamento items: type: array items: type: object allOf: – #/definitions/recItem description: lista com os itens do pedido recItem: description: Item do pedido type: object properties: id: type: string description: Id do item do pedido sequence: type: integer format: int64 description: Sequência do item itemService: type: object allOf: – #/definitions/recService description: Dados do serviço do item itemProduct: type: object allOf: – #/definitions/recProduct description: Dados do serviço do item quantity: type: number format: double description: Quantidade do item price: type: string description: Preço do item discount: type: string description: Desconto do item netValue: type: string description: Valor líquido do item recInvoiceParameters: description: Parâmetros de faturamento type: object properties: partialInvoiceAllowed: type: boolean description: Permite faturar parcialmente branchOverQuantityAllowed: type: boolean description: Filial permite acima da quantidade permitida userOverQuantityAllowed: type: boolean description: Usuário permite acima da quantidade permitida percentageOverQuantityAllowed: type: number format: double description: Porcentagem acima da quantidade permitida recPreparedOrderItens: description: Record de informações dos itens preparados para faturamento type: object required: – invoiceQuantity – cancelRemainingQuantity properties: recProduct: type: object allOf: – #/definitions/recProduct description: Informações de produto recService: type: object allOf: – #/definitions/recService description: Informações de serviço recMeasureUnit: type: object allOf: – #/definitions/recMeansureUnit description: Informações de unidade de medida recE120ipd: type: object allOf: – #/definitions/recE120ipd description: Informações do item recUser: type: object allOf: – #/definitions/recUser description: Informações de usuário invoiceQuantity: type: number format: double description: Quantidade a faturar cancelRemainingQuantity: type: boolean description: Indicativo se o saldo cancelado preparedOrderItemId: type: string description: Id do item em preparação recUser: description: Informações de usuário de alteração e geração type: object properties: generationUser: type: string description: Usuário de geração generationDate: type: string format: date-time description: Data de geração changeDate: type: string format: date-time description: Data de alteração changeUser: type: string description: Usuário de alteração recInvoice: description: Record de informações do pedido type: object properties: company: type: object allOf: – #/definitions/company description: Empresa do pedido branch: type: object allOf: – #/definitions/branch description: Filial do pedido customer: type: object allOf: – #/definitions/customer description: Cliente do pedido orderNumber: type: integer format: int64 description: Número do pedido issueDateTime: type: string format: date-time description: Data e hora de emissão do pedido netValue: type: string description: Valor líquido do pedido invoiceValue: type: string description: Valor líquido a faturar do pedido orderId: type: string description: Id do pedido currencyInitials: type: string description: Sigla da moeda recPageRequest: description: Record de paginação type: object required: – offset – size properties: offset: type: integer format: int64 description: Offset da página size: type: integer format: int64 description: Size da página orderyBy: type: array items: type: object allOf: – #/definitions/recFieldsOrderBy description: Campos da ordenação dos registros a serem pesquisados recFieldsOrderBy: description: Define o registro com os dados dos campos à serem ordenados type: object required: – field – order properties: field: type: string description: Nome do campo a ser ordenado order: type: string allOf: – #/definitions/enumTypeOrder description: Tipo de ordenação do campo (ASC / DESC) recE120ped: description: Record de pedido type: object required: – id – codEmp – sigEmp – codFil – sigFil – numPed – dthEmi – codCli – apePesCli – codRep – apePesRep – codCpg – desCpg – sitPed – pedBlo – vlrBruto – vlrDesconto – vlrLiq – vlrFin properties: id: type: string description: Id do pedido codEmp: type: integer format: int64 description: Código da Empresa sigEmp: type: string description: Nome fantasia da empresa codFil: type: integer format: int64 description: Código da filial sigFil: type: string description: Fantasia numPed: type: integer format: int64 description: Número do pedido dthEmi: type: string format: date-time description: Data e hora da emissão codCli: type: integer format: int64 description: Código do cliente apePesCli: type: string description: Nome fantasia do cliente codRep: type: integer format: int64 description: Código do representante apePesRep: type: string description: Nome fantasia do representante e028cpg: type: string description: id da condição de pagamento codCpg: type: string description: Código de condição de pagamento desCpg: type: string description: Descrição de condição de pagamento sitPed: type: string allOf: – #/definitions/enumSitPed description: Situação do pedido pedBlo: type: boolean description: Pedido bloqueado vlrBruto: type: string description: Valor bruto vlrDesconto: type: string description: Valor do desconto vlrLiq: type: string description: Valor liquido vlrFin: type: string description: Valor Financeiro usuGer: type: string description: Usuário de geração usuAlt: type: string description: Usuário de alteração tipPed: type: string allOf: – #/definitions/enumTipPed description: Tipo do pedido itemIds: type: array items: type: string description: Itens prcPed: type: string allOf: – #/definitions/enumPrcPed description: Procedência sigMoe: type: string description: Sigla da moeda da venda recFechamentoPedido: description: Record de Retorno fechamento do pedido type: object required: – id – codEmp – nomEmp – codFil – sigFil – numPed – dthEmi – codCli – apePes – sitPro properties: id: type: string description: Id do pedido idEmp: type: string description: Id da empresa codEmp: type: integer format: int64 description: Código da Empresa nomEmp: type: string description: Nome da filial idFil: type: string description: Id da filial codFil: type: integer format: int64 description: Código da filial sigFil: type: string description: Nome da filial numPed: type: integer format: int64 description: Número do pedido dthEmi: type: string format: date-time description: Data e hora da emissão idCli: type: string description: Id do cliente codCli: type: integer format: int64 description: Código do cliente apePes: type: string description: Nome do cliente sitPro: type: boolean description: Situação fechamento msgDsc: type: string description: Mensagem sitDsc: type: array items: type: string description: Lista de conferência cancelOrderResult: description: Resultado do cancelamento do pedido type: object required: – id – company – branch – number – issueDateTime – customer – status properties: id: type: string description: Id do pedido company: type: object allOf: – #/definitions/recDefaultData description: Dados da empresa branch: type: object allOf: – #/definitions/recDefaultData description: Dados da filial number: type: integer format: int64 description: Número do pedido issueDateTime: type: string format: date-time description: Data e hora de emissão customer: type: object allOf: – #/definitions/recDefaultData description: Dados do cliente status: type: string description: Situação do cancelamento messages: type: array items: type: string description: Mensagem de retorno recReabilitacaoPedido: description: Record de Retorno fechamento do pedido type: object required: – id – codEmp – nomEmp – codFil – sigFil – numPed – dthEmi – codCli – apePes – sitPro properties: id: type: string description: Id do pedido codEmp: type: integer format: int64 description: Código da Empresa nomEmp: type: string description: Nome da filial codFil: type: integer format: int64 description: Código da filial sigFil: type: string description: Nome da filial numPed: type: integer format: int64 description: Número do pedido dthEmi: type: string format: date-time description: Data e hora da emissão codCli: type: integer format: int64 description: Código do cliente apePes: type: string description: Nome do cliente tipPed: type: string allOf: – #/definitions/enumTipPed description: Indicativo pedido ou orçamento sitPro: type: boolean description: Situação fechamento msgDsc: type: string description: Mensagem sitDsc: type: array items: type: string description: Lista de conferência recExclusaoItemPedido: description: Record de retorno exclusão do item pedido type: object required: – idPedido – id – codEmp – nomEmp – codFil – sigFil – numPed – dthEmi – codCli – apePes – sitPro properties: idPedido: type: string description: Id do pedido id: type: string description: Id do item pedido codEmp: type: integer format: int64 description: Código da Empresa nomEmp: type: string description: Nome da filial codFil: type: integer format: int64 description: Código da filial sigFil: type: string description: Nome da filial numPed: type: integer format: int64 description: Número do pedido dthEmi: type: string format: date-time description: Data e hora da emissão codCli: type: integer format: int64 description: Código do cliente apePes: type: string description: Nome do cliente sitPro: type: boolean description: Situação msgDsc: type: string description: Mensagem sitDsc: type: array items: type: string description: Lista de conferência recAcoesPedido: description: Record de retorno sobre as ações do pedido type: object required: – id – codEmp – nomEmp – codFil – sigFil – numPed – dthEmi – codCli – apePes – sitPro properties: id: type: string description: Id do pedido codEmp: type: integer format: int64 description: Código da Empresa nomEmp: type: string description: Nome da filial codFil: type: integer format: int64 description: Código da filial sigFil: type: string description: Nome da filial numPed: type: integer format: int64 description: Número do pedido dthEmi: type: string format: date-time description: Data e hora da emissão codCli: type: integer format: int64 description: Código do cliente apePes: type: string description: Nome do cliente sitPro: type: boolean description: Situação fechamento msgDsc: type: string description: Mensagem sitDsc: type: array items: type: string description: Lista de conferência idItens: type: array items: type: string description: Lista de ids dos itens do pedido recSaleOrder: description: Record do pedido type: object required: – codFil – sigFil – seqIpd – numPed properties: codFil: type: integer format: int64 description: Código da filial sigFil: type: string description: Nome fantasia da filial seqIpd: type: integer format: int64 description: Sequência minimum: 0 maximum: 9999 numPed: type: integer format: int64 description: Numero do pedido recE120ipd: description: Record de Item do pedido type: object required: – idItem – seqIpd – e001tnsIte properties: idItem: type: string description: Identificador do item seqIpd: type: integer format: int64 description: Sequência minimum: 0 maximum: 9999 proSer: type: string allOf: – #/definitions/enumProSer description: Produto ou Servico codTnsIte: type: string description: Transação do item do pedido e001tnsIte: type: string description: Id da Transação desTns: type: string description: Descrição da transação codItem: type: string description: Código do produto idProSer: type: string description: Id de Produto desItem: type: string description: Descrição do produto uniMed: type: string description: Unidade Medida e015med: type: string description: Id de unidade de medida desMed: type: string description: Descrição da unidade de medida uniVen: type: string description: Unidade de medida de venda e015medVen: type: string description: Id de unidade de medida desMedVen: type: string description: Descrição unidade de medida de venda qtdPed: type: number format: double description: Quantidade do produto do pedido qtdVen: type: number format: double description: Quantidade do produto na unidade de medida de venda do item qtdAbe: type: number format: double description: Quantidade do produto na unidade de medida de venda do item qtdFat: type: number format: double description: Quantidade do produto na unidade de medida de venda do item qtdCan: type: number format: double description: Quantidade do produto na unidade de medida de venda do item preVen: type: string description: Quantidade do produto na unidade de medida de venda do item codTpr: type: string description: Código da tabela de preço do produto do pedido e081tab: type: string description: Id da Tabela de Preço desTpr: type: string description: Descrição preUni: type: string description: Preço unitário do produto do pedido perDsc: type: number format: double description: Percentual de desconto para o produto do pedido vlrDsc: type: string description: Valor do desconto para o produto do pedido perDad: type: number format: double description: Percentual de desconto para o produto do pedido vlrDad: type: string description: Valor do desconto para o produto do pedido vlrBru: type: string description: Valor bruto do produto do pedido vlrLiq: type: string description: Valor líquido do produto do pedido vlrLou: type: string description: Valor líquido de outros espPro: type: integer format: int64 description: Decimais Preço Venda default: 2 sitIpd: type: string allOf: – #/definitions/enumSitPed description: Situação do item do pedido usuAlt: type: string description: Usuário de alteração dthAlt: type: string format: date-time description: Data/hora de alteração pedCli: type: string description: Pedido do Cliente seqPcl: type: string description: Sequência Pedido Cliente cplIpd: type: string description: Complemento perCom: type: number format: double description: % Comissão datEnt: type: string format: date description: Data prevista para entrega datFat: type: string format: date description: Data prevista de faturamento codMot: type: string description: Código do Motivo e021mot: type: string description: Id do Motivo desMot: type: string description: Descrição obsMot: type: string description: Observação Motivo obsIpd: type: string description: Observação do item produto Pedido codRep: type: string description: Código do representante e001pesRep: type: string description: Id de Representante apePes: type: string description: Nome da pessoa codFin: type: string description: Código da finalidade de venda e067fin: type: string description: Id da Finaldade de venda desFin: type: string description: Descrição indBrd: type: boolean description: Brinde Promocional codTri: type: string description: Código Tributação p/ DARF e120imi: type: array items: type: object allOf: – #/definitions/recE120imi description: Lista de impostos qtdDecEst: type: integer format: int64 description: Quantidade de casas decimais da unidade de estoque qtdDecVen: type: integer format: int64 description: Quantidade de casas decimais da unidade de venda iteCli: type: string description: Código do item no cliente desCli: type: string description: Descrição do item do cliente sitDem: type: string allOf: – #/definitions/enumSituacaoDemanda description: Situação demanda qtdResAtdDem: type: number format: double description: Quantidade reservada atendimento demanda vlrAft: type: string description: Valor líquido a faturar e091plf: type: string description: id Conta financeira ctafin: type: string description: código da Conta financeira descta: type: string description: descrição da Conta financeira e044ccu: type: string description: id Centro de custo codccu: type: string description: código da Centro de custo desccu: type: string description: descrição da Centro de custo do item do pedido de compra recE120imi: description: Dados gerais dos pedidos type: object required: – id properties: id: type: string description: Id da entidade de impostos tipImp: type: string allOf: – #/definitions/enumTipImpDoc description: Tipo de imposto basImp: type: string description: Base de c?lculo do imposto aliImp: type: number format: double description: Al?quota do imposto vlrImp: type: string description: Valor do imposto perRed: type: number format: double description: Percentual de redu??o da base do imposto perMva: type: number format: double description: Percentual da margem de valor Adicionado do ICMS ST motDes: type: string allOf: – #/definitions/enumMotDes description: Motivo de desoneração de ICMS e027str: type: string description: Id da situação tributária codStr: type: string description: Código da situação tributária de ICMS desStr: type: string description: Descrição da situação tributária impMan: type: boolean description: Aplicação manual de imposto aliDes: type: number format: double description: Alíquota do imposto no destino vlrRec: type: number format: double description: Valor recolhido pelo substituto supCon: type: number format: double description: Suportado consumidor final vlrRet: type: number format: double description: Valor Icms St retido recDadosGerais: description: Record dos dados gerais do pedido type: object required: – id – e070emp – codEmp – sigEmp – e070fil – codFil – sigFil – codCpg – desCpg properties: id: type: string description: Id do pedido e070emp: type: string description: Id da empresa codEmp: type: integer format: int64 description: Código da Empresa sigEmp: type: string description: Nome fantasia da empresa e070fil: type: string description: Id da filial e070filUfs: type: string description: Id da UF da filial codFil: type: integer format: int64 description: Código da filial sigFil: type: string description: Nome fantasia da filial numPed: type: integer format: int64 description: Número do pedido dthEmi: type: string format: date-time description: Data e hora da emissão vctOrc: type: string format: date description: Data do vencimento do orçamento e001tnsPro: type: string description: Transação Produto codTnsPro: type: string description: Código da transação desTnsPro: type: string description: Descrição da transação e001tnsSer: type: string description: Transação Serviço codTnsSer: type: string description: Código da transação desTnsSer: type: string description: Descrição da transação e001pesCli: type: string description: Id do cliente e001pesCliUfs: type: string description: Id da UF do cliente codPesCli: type: integer format: int64 description: Código cliente apePesCli: type: string description: Nome fantasia do cliente e001pesRep: type: string description: Id do Representante codPesRep: type: integer format: int64 description: Código representante apePesRep: type: string description: Nome do representante indPre: type: string allOf: – #/definitions/enumIndPre description: Indicativo de presença do consumidor sitPed: type: string allOf: – #/definitions/enumSitPed description: Situação do pedido pedBlo: type: boolean description: Pedido bloqueado qtdItens: type: integer format: int64 description: Quantidade de itens vlrTotalBruto: type: string description: Valor bruto vlrTotalLiq: type: string description: Valor liquido pesBru: type: number format: double description: Peso Bruto pesLiq: type: number format: double description: Peso Líquido usuGer: type: string description: Usuário de geração dthGer: type: string format: date-time description: Data/hora de geração usuAlt: type: string description: Usuário de alteração dthAlt: type: string format: date-time description: Data/hora de alteração e064cat: type: string description: Categoria tipPed: type: string allOf: – #/definitions/enumTipPed description: Tipo Pedido prcPed: type: string allOf: – #/definitions/enumPrcPed description: Procedência vlrDad: type: string description: Valor Desconto Adicional minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrBpr: type: string description: Valor/Desconto Produtos minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrBse: type: string description: Valor/Desconto Serviços minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrDpr: type: string description: Desconto Produtos minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrDse: type: string description: Desconto Serviços minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrLiq: type: string description: Valor Líquido Pedido minimum: -9999999999999.99 maximum: 9999999999999.99 default: 0 vlrFin: type: string description: Valor Líquido para Financeiro minimum: -9999999999999.99 maximum: 9999999999999.99 default: 0 vlrBco: type: string description: Base/Valor Comissão minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrCom: type: string description: Valor Comissão minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrLpr: type: string description: Valor Líquido Produtos minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrLse: type: string description: Valor Líquido Serviços minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrLou: type: string description: Valor Líquido Outros minimum: -9999999999999.99 maximum: 9999999999999.99 default: 0 temPar: type: boolean description: Tem Parcelas Especiais default: false e076mar: type: string description: Marca/Etiqueta vinculada ao pedido usuApr: type: string description: Usuário Aprovação dthApr: type: string format: date-time description: Data Hora da aprovação do pedido usuBlo: type: string description: Usuário Bloqueio dthBlo: type: string format: date-time description: Data Hora de bloqueio do pedido usuFec: type: string description: Usuário Fechamento dthFec: type: string format: date-time description: Data Hora de fechamento do pedido numInt: type: string maxLength: 20 description: Número do documento externo (Integrado) e028cpg: type: string description: Condição de pagamento codCpg: type: string description: Código de condição de pagamento desCpg: type: string description: Descrição de condição de pagamento tipVen: type: string allOf: – #/definitions/enumTipVenda description: Tipo de venda saleCurrency: type: object allOf: – #/definitions/recCurrency description: Moeda da venda currencyDate: type: string format: date description: Data de cotação da moeda currencyValue: type: string description: Valor da cotação da moeda minimum: 0.00 maximum: 9999999999999.9999999999 default: 0 closedCurrency: type: boolean description: Indicativo se o valor da cotação da moeda é fechado companyCurrency: type: object allOf: – #/definitions/recCurrency description: Moeda da empresa serviceOrderIntegration: type: boolean description: Integração sistema de gestão de ordens de serviço recCurrency: description: Record de dados da moeda allOf: – #/definitions/recDefaultData – type: object properties: initials: type: string description: Sigla da moeda recE120obs: description: Record com as observações do pedido type: object properties: id: type: string description: Id das observação tipObs: type: string description: Tipo da Observação tipInf: type: string description: Tipo da Informação obsPed: type: string description: Texto de Observação do Pedido e120ipdId: type: string description: id do item do pedido e021mot: type: string description: id do motivo de situação específica da observação codMot: type: string description: codigo do motivo de situação específica da observação desMot: type: string description: descricao do motivo de situação específica da observação usuGer: type: string description: usuário de geração dthGer: type: string description: data e hora de geração usuAlt: type: string description: usuário de alteração dhtAlt: type: string description: data e hora de alteração seqIpd: type: string description: Sequência do item do pedido que gerou a observação cplIpd: type: string description: Descrição do item do pedido e080ser: type: string description: Id do serviço e075der: type: string description: Id do produto codDer: type: string description: Código do produto quando o item do pedido for um produto codSer: type: string description: Código do serviço quando o item do pedido for um serviço recE120pedConf: description: Record com informações do pedido para conferência type: object required: – cifFob properties: vlrBpr: type: string description: Valor/Desconto Produtos minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrBse: type: string description: Valor/Desconto Serviços minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrDpr: type: string description: Desconto Produtos minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrDse: type: string description: Desconto Serviços minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrLiq: type: string description: Valor Líquido Pedido minimum: -9999999999999.99 maximum: 9999999999999.99 default: 0 vlrFin: type: string description: Valor Líquido para Financeiro minimum: -9999999999999.99 maximum: 9999999999999.99 default: 0 vlrBco: type: string description: Base/Valor Comissão minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrCom: type: string description: Valor Comissão minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrLpr: type: string description: Valor Líquido Produtos minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrLse: type: string description: Valor Líquido Serviços minimum: 0.00 maximum: 9999999999999.99 default: 0 cifFob: type: string allOf: – #/definitions/enumCifFob description: Frete CIF ou FOB vlrFre: type: string description: Valor/Percentual/CIF ou FOB do Frete minimum: 0.00 maximum: 9999999999999.99 vlrSeg: type: string description: Valor/Percentual Seguro minimum: 0.00 maximum: 9999999999999.99 vlrSegSomado: type: string description: Valor Seguro Somado minimum: 0.00 maximum: 9999999999999.99 vlrEmb: type: string description: Valor/Percentual Embalagens minimum: 0.00 maximum: 9999999999999.99 vlrEnc: type: string description: Valor/Percentual Encargos minimum: 0.00 maximum: 9999999999999.99 vlrOut: type: string description: Valor/Percentual Outras Despesas minimum: 0.00 maximum: 9999999999999.99 vlrFrd: type: string description: Valor Frete Destacado minimum: 0.00 maximum: 9999999999999.99 vlrOud: type: string description: Valor Outras Despesas Destacado minimum: 0.00 maximum: 9999999999999.99 vlrDad: type: string description: Valor Desconto Adicional minimum: 0.00 maximum: 9999999999999.99 default: 0 orderCurrencyInitials: type: string description: Sigla da moeda do pedido companyCurrencyInitials: type: string description: Sigla da moeda da empresa companyCurrencyValues: type: object allOf: – #/definitions/recCompanyCurrencyValues description: Valores na moeda da empresa e120imd: type: array items: type: object allOf: – #/definitions/recE120imd description: Impostos infRep: type: array items: type: object allOf: – #/definitions/recInfRep description: Record que contém a totalização da base e valor de cada representante recCompanyCurrencyValues: description: Record com os valores do pedido na moeda da empresa type: object properties: productValue: type: string description: Valor dos produtos minimum: 0.00 maximum: 9999999999999.99 default: 0 serviceValue: type: string description: Valor dos serviços minimum: 0.00 maximum: 9999999999999.99 default: 0 productDiscount: type: string description: Desconto dos produtos minimum: 0.00 maximum: 9999999999999.99 default: 0 serviceDiscount: type: string description: Desconto dos serviços minimum: 0.00 maximum: 9999999999999.99 default: 0 netValue: type: string description: Valor líquido minimum: -9999999999999.99 maximum: 9999999999999.99 default: 0 financialValue: type: string description: Valor financeiro minimum: -9999999999999.99 maximum: 9999999999999.99 default: 0 comissionBasis: type: string description: Base da comissão minimum: 0.00 maximum: 9999999999999.99 default: 0 comissionValue: type: string description: Valor da comissão minimum: 0.00 maximum: 9999999999999.99 default: 0 productNetValue: type: string description: Valor líquido de produtos minimum: 0.00 maximum: 9999999999999.99 default: 0 serviceNetValue: type: string description: Valor líquido de serviços minimum: 0.00 maximum: 9999999999999.99 default: 0 freightValue: type: string description: Valor do frete minimum: 0.00 maximum: 9999999999999.99 insuranceValue: type: string description: Valor do seguro minimum: 0.00 maximum: 9999999999999.99 sumInsuranceValue: type: string description: Valor de seguro somado minimum: 0.00 maximum: 9999999999999.99 packingValue: type: string description: Valor de embalagens minimum: 0.00 maximum: 9999999999999.99 chargesValue: type: string description: Valor de encargos minimum: 0.00 maximum: 9999999999999.99 otherExpensesValue: type: string description: Valor de outras despesas minimum: 0.00 maximum: 9999999999999.99 statedFreightValue: type: string description: Valor de frete destacado minimum: 0.00 maximum: 9999999999999.99 statedOtherExpensesValue: type: string description: Valor de outras despesas destacado minimum: 0.00 maximum: 9999999999999.99 additionalDiscountValue: type: string description: Valor Desconto Adicional minimum: 0.00 maximum: 9999999999999.99 default: 0 recTransaction: description: Record com dados de transação type: object properties: id: type: string description: ID da transação code: type: string description: Código da transação description: type: string description: Descrição da transação module: type: string allOf: – #/definitions/enumLisMod description: Módulo da transação details: type: string description: Detalhes status: type: string allOf: – #/definitions/enumSitReg description: Status manualOperationAllowed: type: boolean description: Aceita lançamentos manuais saleType: type: string allOf: – #/definitions/enumVenTip description: Tipo da venda itemType: type: string allOf: – #/definitions/enumProSer description: Tipo da operação recInfRep: description: Record que contém a totalização da base e valor de cada representante type: object properties: codRep: type: integer format: int64 description: Código do representante sigRep: type: string description: Nome fantasia vlrBco: type: string description: Totalizador base de cálculo vlrCom: type: string description: Totalizador valor da comissão vlrBcoMoedaEmpresa: type: string description: Totalizador base de cálculo na moeda da empresa vlrComMoedaEmpresa: type: string description: Totalizador valor da comissão na moeda da empresa recE120imd: description: Record representando informações da E120IMD type: object properties: basImp: type: string description: Valor Base minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrImp: type: string description: Valor Base minimum: 0.00 maximum: 9999999999999.99 default: 0 tipImp: type: string allOf: – #/definitions/enumTipImpDoc description: Tipo de imposto recE120inf: description: Record de informações adicionais do pedido type: object properties: id: type: string description: id das infos adicionais obsPed: type: string description: Texto de observação e021mot: type: string description: Id do motivo codMot: type: string description: Código do motivo de situação específica do pedido desMot: type: string description: Descrição do motivo de situação específica do pedido obsMot: type: string description: Observação do motivo da situação específica do pedido aceParClienteComGer: type: boolean description: Indicativo se a pessoa na filial aceita faturamento parcial acePar: type: boolean description: Indicativo se o pedido aceita faturamento parcial e070filfat: type: string description: ID da filial de faturamento do pedido codFil: type: string description: Código da filial de faturamento do pedido sigFil: type: string description: Nome fantasia da filial de faturamento do pedido pedCli: type: string description: Número do pedido do cliente e001endEnt: type: string description: ID do endereço de entrega do cliente nenEndEnt: type: string description: Número do endereço da entrega cplEndEnt: type: string description: Complemento cepEndEnt: type: integer format: int64 description: Cep do endereço de entrega endPesEnt: type: string description: Endereço de entrega baiEndEnt: type: string description: Bairro de entrega cidEndEnt: type: string description: Cidade de entrega sigUfsEnt: type: string description: Sigla da UF de entrega e001pesTra: type: string description: ID da transportadora para o pedido codPesTra: type: string description: Código da transportadora apePesTra: type: string description: Nome fantasia da transportadora e001pesRed: type: string description: ID da transportadora de redespacho do pedido codPesRed: type: string description: Código da transportadora de redespacho apePesRed: type: string description: Nome fantasia da transportadora de redespacho codVia: type: string description: Código da via de transporte do pedido plaVei: type: string description: Placa do veículo para o transporte do pedido vlrFre: type: string description: Valor do frete para o pedido cifFob: type: string description: Indicativo se o frete é CIF ou FOB vlrFrd: type: string description: Valor frete destacado vlrSeg: type: string description: Valor do seguro para o pedido vlrEmb: type: string description: Valor das embalagens para o pedido vlrEnc: type: string description: Valor dos encargos para o pedido vlrOut: type: string description: Valor das outras despesas para o pedido vlrOud: type: string description: Valor outras despesas destacado perDad: type: number format: double description: Percentual de desconto do cliente vlrDad: type: string description: Valor do desconto do cliente e064cat: type: string description: ID da categoria do cliente nomCat: type: string description: Descrição da categoria do cliente catCli: type: string description: Categoria do cliente (prioridade para faturamento) datEnt: type: string format: date description: Data prevista para entrega datFat: type: string format: date description: Data prevista de faturamento e120obs: type: array items: type: object allOf: – #/definitions/recE120obs description: Lista com as observações do pedido indPre: type: string allOf: – #/definitions/enumIndPre description: Indicativo de presença do consumidor e008rai: type: object allOf: – #/definitions/recE008rai description: Record e008rai indicativeIntermediation: type: string allOf: – #/definitions/enumIndicativeIntermediation description: Indicativo de intermediação intermediaryTaxNumber: type: string description: CNPJ do Intermediador da Transação intermediaryRegistration: type: string description: Identificador cadastrado no intermediador recE008rai: description: Record e008rai type: object properties: id: type: string description: ID da cidade nomCid: type: string description: Nome da cidade codRai: type: integer format: int64 description: Código da cidade e007ufs: type: object allOf: – #/definitions/recE007ufs description: Estado recE007ufs: description: Record e007ufs type: object properties: id: type: string description: ID do estado nomUfs: type: string description: Nome do estado sigUfs: type: string description: Sigla do estado recBudgetPaymentTerm: description: Record com os dados da condição de pagamento do orçamento type: object required: – paymentTerm – totalValue – mainPaymentTerm properties: paymentTerm: type: object allOf: – #/definitions/recDefaultData description: Condição de pagamento totalValue: type: string description: Valor total do orçamento nessa condição installmentValue: type: string description: Valor da parcela nessa condição mainPaymentTerm: type: boolean description: Indicativo se é a condição de pagamento principal preparedOrderOutput: description: Record com os dados do agrupamento type: object properties: id: type: string description: id do agrupamento msgErr: type: string description: Situação do lote numNfs: type: integer format: int64 description: número da nota fiscal serNfs: type: string description: descrição da série da nota fiscal e140nfs: type: string description: Id da nota fiscal sitAgr: type: string allOf: – #/definitions/enumSitAgr description: Situacao e120pre: type: object allOf: – #/definitions/e120pre description: Id da preparacao numPfa: type: integer format: int64 description: Número do atendimento customer: type: object allOf: – #/definitions/customer description: Cliente do pedido recBillingInformation: description: Record dos dados de cobrança do pedido type: object properties: billingAddressId: type: string description: ID do endereço de cobrança do cliente billingAddress: type: string description: Endereço de cobrança billingAddressNumber: type: string description: Número do endereço da entrega billingAddressComplement: type: string description: Complemento billingAddressPostalCode: type: integer format: int64 description: Cep do endereço de entrega billingAddressNeighborhood: type: string description: Bairro de cobrança billingAddressCity: type: string description: Cidade de cobrança billingAddressState: type: string description: Sigla da UF de cobrança paymentTermId: type: string description: ID da condição de pagamento paymentTermCode: type: string description: Código da condição de pagamento paymentTermDescription: type: string description: Descrição da condição de pagamento keepInstallments: type: boolean description: Manter parcelas no recebimento recListSaleOrderInstallments: description: Record de retorno das parcelas do pedido type: object properties: installmentId: type: string description: Id da parcela orderId: type: string description: Id do pedido installmentIndex: type: string description: Sequência da parcela installmentDays: type: integer format: int64 description: Quantidade de dias da parcela installmentDueDate: type: string format: date description: Data de vencimento da parcela installmentPercentage: type: number format: double description: Percentual da parcela installmentValue: type: string description: Valor da parcela paymentMethodId: type: string description: Id da forma de pagamento paymentMethodCode: type: integer format: int64 description: Código da forma de pagamento paymentMethodDescription: type: string description: Descrição da forma de pagamento installmentNote: type: string description: Observação da parcela recRecalculateSaleOrder: description: type: object required: – codEmp – nomEmp – codFil – sigFil – numPed – codCli – apePes properties: orderId: type: string description: Id do pedido recalculatingSituation: type: boolean description: Indicativo se o pedido foi recalculado validationMessages: type: array items: type: string description: Mensagens de validação que ocorreram no recálculo do pedido codEmp: type: integer format: int64 description: Código da Empresa nomEmp: type: string description: Nome da Empresa codFil: type: integer format: int64 description: Código da filial sigFil: type: string description: Nome da filial numPed: type: integer format: int64 description: Número do pedido codCli: type: integer format: int64 description: Código do cliente apePes: type: string description: Nome do cliente recUpdateSaleOrderStatus: description: Record de retorno de suspensão do pedido type: object required: – orderId – companyCode – branchCode – branchTradeName – orderNumber – customerCode – customerTradeName – updateStatusSituation properties: orderId: type: string description: Id do pedido companyCode: type: integer format: int64 description: Código da Empresa companyTradeName: type: string description: Nome Fantasia Empresa branchCode: type: integer format: int64 description: Código da filial branchTradeName: type: string description: Nome da filial orderNumber: type: integer format: int64 description: Número do pedido customerCode: type: integer format: int64 description: Código do cliente customerTradeName: type: string description: Nome do cliente updateStatusSituation: type: boolean description: Situação suspensão validationMessages: type: array items: type: string description: Mensagem recDefaultData: description: Record padrão de registros discriminator: _discriminator type: object required: – _discriminator properties: id: type: string description: Id do registro code: type: string description: Código do registro description: type: string description: Descrição do registro tradeName: type: string description: Nome fantasia do registro _discriminator: type: string description: company: description: Record de empresa allOf: – #/definitions/recDefaultData – type: object branch: description: Record de filial allOf: – #/definitions/recDefaultData – type: object customer: description: Record de cliente allOf: – #/definitions/recDefaultData – type: object recProduct: description: Record com dados do produto allOf: – #/definitions/recDefaultData – type: object properties: ctrLot: type: boolean description: Controla lote ctrSep: type: boolean description: Controla série recService: description: Record com dados do serviço allOf: – #/definitions/recDefaultData – type: object recMeansureUnit: description: Record de Unidade de Medida allOf: – #/definitions/recDefaultData – type: object properties: decimals: type: integer format: int64 description: casas decimais measureUnit: type: string description: unidade de medida recPreparedOrder: description: Record com dados de preparação de pedido type: object required: – id – numAte – status properties: id: type: string description: Id da preparação numAte: type: integer format: int64 description: Número do atendimento status: type: string allOf: – #/definitions/enumSitIpn description: Situação do lote emiNfe: type: string allOf: – #/definitions/enumSimNao description: Emitir nota fiscal automaticamente agrPed: type: string allOf: – #/definitions/enumSimNao description: Agrupa pedido usuAlt: type: string description: Usuário de alteração dthAlt: type: string format: date-time description: Data/hora de alteração usuGer: type: string description: Usuário de geração dthGer: type: string format: date-time description: Data/hora de geração checkData: description: Dados do healthcheck type: object required: – name – status properties: name: type: string description: Nome do healthcheck status: type: string allOf: – #/definitions/upDown description: Status do healthcheck e120ped: description: Vendas – Pedidos – Dados Gerais type: object required: – e070emp – e070fil – numPed – dthEmi – e001pesCli – e001pesRep – tipVen properties: id: type: string format: uuid description: Id da entidade e070emp: type: string format: uuid description: Empresa e070fil: type: string format: uuid description: Filial numPed: type: integer format: int64 description: Número Pedido minimum: 0 maximum: 99999999 dthEmi: type: string format: date-time description: Data/Hora Emissão + Hora Emissão e001pesCli: type: string format: uuid description: Cliente e064cat: type: string format: uuid description: Categoria tipPed: type: string allOf: – #/definitions/enumTipPed description: Tipo Pedido prcPed: type: string allOf: – #/definitions/enumPrcPed description: Procedência e001pesRep: type: string format: uuid description: Representante/Vendedor vlrBpr: type: string description: Valor/Desconto Produtos minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrBse: type: string description: Valor/Desconto Serviços minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrDpr: type: string description: Desconto Produtos minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrDse: type: string description: Desconto Serviços minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrLiq: type: string description: Valor Líquido Pedido minimum: -9999999999999.99 maximum: 9999999999999.99 default: 0 vlrFin: type: string description: Valor Líquido para Financeiro minimum: -9999999999999.99 maximum: 9999999999999.99 default: 0 vlrBco: type: string description: Base/Valor Comissão minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrCom: type: string description: Valor Comissão minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrLpr: type: string description: Valor Líquido Produtos minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrLse: type: string description: Valor Líquido Serviços minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrLou: type: string description: Valor Líquido Outros minimum: -9999999999999.99 maximum: 9999999999999.99 default: 0 sitPed: type: string allOf: – #/definitions/enumSitPed description: Situação e001tnsPro: type: string format: uuid description: Transação Produto e001tnsSer: type: string format: uuid description: Transação Serviço e120ipd: type: array items: type: object allOf: – #/definitions/e120ipd description: Lista de itens e120par: type: array items: type: object allOf: – #/definitions/e120par description: Lista de parcelas e120obs: type: array items: type: object allOf: – #/definitions/e120obs description: Lista de observações e120pedCondicoesPgto: type: array items: type: object allOf: – #/definitions/e120pedCondicoesPgto description: Condições de pagamento adicionais pedBlo: type: boolean description: Pedido bloqueado default: false e076mar: type: string format: uuid description: Marca/Etiqueta vinculada ao pedido usuApr: type: string description: Usuário Aprovação dthApr: type: string format: date-time description: Data Hora da aprovação do pedido usuBlo: type: string description: Usuário Bloqueio dthBlo: type: string format: date-time description: Data Hora de bloqueio do pedido usuFec: type: string description: Usuário Fechamento dthFec: type: string format: date-time description: Data Hora de fechamento do pedido numInt: type: string maxLength: 20 description: Número do documento externo (Integrado) e120inf: type: object allOf: – #/definitions/e120inf description: Informações adicionais vctOrc: type: string format: date description: Data de vencimento do orçamento dthCnv: type: string format: date-time description: Data de conversão do orçamento para pedido dthEnc: type: string format: date-time description: Data e hora do encerramento do orçamento budget: type: string format: uuid description: Id do orçamento tipVen: type: string allOf: – #/definitions/enumTipVenda description: Tipo de venda e031moe: type: string format: uuid description: Moeda do pedido datMoe: type: string format: date description: Data cotação moeda cotMoe: type: string description: Cotação da moeda minimum: 0.00 maximum: 9999999999999.9999999999 default: 0 fecMoe: type: boolean description: Indicativo cotação fechada default: false usuger: type: string description: dthger: type: string format: date-time description: usualt: type: string description: dthalt: type: string format: date-time description: e120ipd: description: Pedidos – Itens do Pedido type: object required: – sitIpd – e015medVen – qtdVen – preVen – indBrd – proSer – e001tnsIte properties: id: type: string format: uuid description: Id da entidade e120ped: type: object allOf: – #/definitions/e120ped description: Número Pedido seqIpd: type: integer format: int64 description: Sequência minimum: 0 maximum: 9999 e075der: type: string format: uuid description: Produto pedCli: type: string maxLength: 20 description: Pedido do Cliente seqPcl: type: string maxLength: 10 description: Sequência Pedido Cliente cplIpd: type: string maxLength: 250 description: Complemento qtdPed: type: number format: double description: Quantidade Pedida minimum: 0.00 maximum: 999999999.99999 qtdFat: type: number format: double description: Quantidade Faturada minimum: 0.00 maximum: 999999999.99999 default: 0.0 qtdCan: type: number format: double description: Quantidade Cancelada minimum: 0.00 maximum: 999999999.99999 default: 0.0 qtdAbe: type: number format: double description: Quantidade Aberta minimum: 0.00 maximum: 999999999.99999 default: 0.0 e015med: type: string format: uuid description: Unidade Medida e081tab: type: string format: uuid description: Tabela de Preço preUni: type: string description: Preço Unitário/Fixo minimum: 0.00 maximum: 99999999999.9999999999 perDsc: type: number format: double description: % Desconto minimum: 0.00 maximum: 999.99 perDad: type: number format: double description: % Desconto minimum: 0.00 maximum: 999.99 perCom: type: number format: double description: % Comissão minimum: 0.00 maximum: 999.99 datEnt: type: string format: date description: Previsão Entrega datFat: type: string format: date description: data prevista de faturamento vlrFre: type: string description: Valor Frete minimum: 0.00 maximum: 9999999999999.99 default: 0.0 vlrSeg: type: string description: Valor Seguro minimum: 0.00 maximum: 9999999999999.99 default: 0.0 vlrEmb: type: string description: Valor Embalagem minimum: 0.00 maximum: 9999999999999.99 default: 0.0 vlrEnc: type: string description: Valor Encargos minimum: 0.00 maximum: 9999999999999.99 default: 0.0 vlrOut: type: string description: Valor Outras Despesas minimum: 0.00 maximum: 9999999999999.99 default: 0.0 vlrFrd: type: string description: Valor Frete Destacado minimum: 0.00 maximum: 9999999999999.99 default: 0.0 vlrOud: type: string description: Valor Outras Despesas Destacado minimum: 0.00 maximum: 9999999999999.99 default: 0.0 vlrBru: type: string description: Valor/Desconto Bruto Produto minimum: 0.00 maximum: 9999999999999.99 default: 0.0 vlrDsc: type: string description: Valor Desconto minimum: 0.00 maximum: 9999999999999.99 default: 0.0 vlrDad: type: string description: Valor Desconto minimum: 0.00 maximum: 9999999999999.99 default: 0.0 vlrBco: type: string description: Base/Valor Comissão minimum: 0.00 maximum: 9999999999999.99 default: 0.0 vlrCom: type: string description: Valor Comissão minimum: 0.00 maximum: 9999999999999.99 default: 0.0 vlrLou: type: string description: Valor Outros minimum: -9999999999999.99 maximum: 9999999999999.99 default: 0.0 vlrLiq: type: string description: Valor Líquido Item minimum: -9999999999999.99 maximum: 9999999999999.99 default: 0.0 vlrFin: type: string description: Valor para Financeiro minimum: -9999999999999.99 maximum: 9999999999999.99 default: 0.0 vlrLpr: type: string description: Valor Produto minimum: 0.00 maximum: 9999999999999.99 default: 0.0 sitIpd: type: string allOf: – #/definitions/enumSitPed description: Situação e021mot: type: string format: uuid description: Motivo obsMot: type: string maxLength: 250 description: Observação Motivo e015medVen: type: string format: uuid description: Unidade Medida Venda qtdVen: type: number format: double description: Quantidade Unidade Medida Venda minimum: 0.00 maximum: 999999999.99999 preVen: type: string description: Preço Unidade Medida Venda minimum: 0.00 maximum: 99999999999.9999999999 obsIpd: type: string maxLength: 999 description: Observação do item produto Pedido e001pesRep: type: string format: uuid description: Representante usuApr: type: string description: Usuário Aprovação dthApr: type: string format: date-time description: Data Aprovação + Hora Aprovação e067fin: type: string format: uuid description: Finalidade de Venda indBrd: type: boolean description: Brinde Promocional e140ipv: type: string format: uuid description: Seq. Item N.F. Cobrança numInt: type: string maxLength: 20 description: Documento Integrado proSer: type: string allOf: – #/definitions/enumProSer description: Produto ou Serviço e001tnsIte: type: string format: uuid description: Transação Produto e080ser: type: string format: uuid description: Serviço codTri: type: string maxLength: 5 description: Código Tributação p/ DARF vlrIte: type: string description: Valor Produto minimum: 0.00 maximum: 9999999999999.99 e420ipo: type: string format: uuid description: Sequência e120imi: type: array items: type: object allOf: – #/definitions/e120imi description: Impostos sitDem: type: string allOf: – #/definitions/enumSituacaoDemanda description: Situação da Demanda qtdResAtdDem: type: number format: double description: Quantidade reservada atendimento demanda minimum: 0.00 maximum: 999999999.99999 e091plf: type: string format: uuid description: Conta financeira e044ccu: type: string format: uuid description: Centro de custo usuger: type: string description: dthger: type: string format: date-time description: usualt: type: string description: dthalt: type: string format: date-time description: e120inf: description: Informações Adicionais type: object properties: id: type: string format: uuid description: Id da entidade e120ped: type: object allOf: – #/definitions/e120ped description: Número Pedido obsPed: type: string maxLength: 999 description: Observação do Pedido e001endSeqEnt: type: string format: uuid description: Endereço de entrega e001endSeqCob: type: string format: uuid description: Endereço de cobrança e028cpg: type: string format: uuid description: Condição Pagamento e073pesCodtra: type: string format: uuid description: Transportadora e073pesCodred: type: string format: uuid description: Redespacho codVia: type: string allOf: – #/definitions/enumCodVia description: Via de transporte plaVei: type: string maxLength: 10 description: Placa Veículo vlrFre: type: string description: Valor/Percentual/CIF ou FOB do Frete minimum: 0.00 maximum: 9999999999999.99 cifFob: type: string allOf: – #/definitions/enumCifFob description: Frete CIF ou FOB vlrSeg: type: string description: Valor/Percentual Seguro minimum: 0.00 maximum: 9999999999999.99 vlrEmb: type: string description: Valor/Percentual Embalagens minimum: 0.00 maximum: 9999999999999.99 vlrEnc: type: string description: Valor/Percentual Encargos minimum: 0.00 maximum: 9999999999999.99 vlrOut: type: string description: Valor/Percentual Outras Despesas minimum: 0.00 maximum: 9999999999999.99 vlrFrd: type: string description: Valor Frete Destacado minimum: 0.00 maximum: 9999999999999.99 vlrOud: type: string description: Valor Outras Despesas Destacado minimum: 0.00 maximum: 9999999999999.99 vlrDad: type: string description: Valor desconto do cliente minimum: 0.00 maximum: 9999999999999.99 perDad: type: number format: double description: % Desconto do cliente minimum: 0.00 maximum: 999.99 temPar: type: boolean description: Indicativo se deve manter as parcelas do faturamento default: false e021mot: type: string format: uuid description: Motivo obsMot: type: string maxLength: 250 description: Observação Motivo acePar: type: boolean description: Aceita Faturamento Parcial default: false e070filFat: type: string format: uuid description: Filial de Faturamento pedCli: type: string maxLength: 20 description: Nº Pedido Cliente datEnt: type: string format: date description: data de previsão de entrega datFat: type: string format: date description: data prevista de faturamento indPre: type: string allOf: – #/definitions/enumIndPre description: Indicativo de presença do consumidor e008raiCodRai: type: string format: uuid description: Código da cidade para recolhimento do ISS (Tabela RAIS) equipment: type: string format: uuid description: Equipamento de terceiro newEquipmentDescription: type: string maxLength: 250 description: Descrição de novo equipamento indicativeIntermediation: type: string allOf: – #/definitions/enumIndicativeIntermediation description: Indicativo de intermediação intermediaryTaxNumber: type: string maxLength: 14 description: CNPJ do Intermediador da Transação intermediaryRegistration: type: string maxLength: 60 description: Identificador cadastrado no intermediador usuger: type: string description: dthger: type: string format: date-time description: usualt: type: string description: dthalt: type: string format: date-time description: e120obs: description: Vendas – Pedidos – Observações type: object required: – obsPed properties: id: type: string format: uuid description: Id da entidade e120ped: type: object allOf: – #/definitions/e120ped description: Número Pedido e120ipd: type: object allOf: – #/definitions/e120ipd description: Seq. Item Produto tipObs: type: string allOf: – #/definitions/enumTipOpd description: Observação: Tipo e021mot: type: string format: uuid description: Motivo obsPed: type: string maxLength: 250 description: Texto areObs: type: string allOf: – #/definitions/enumAreEmp description: Área da Observação aprRpr: type: string allOf: – #/definitions/enumAprRpr description: Aprovação do Pedido pela Área tipInf: type: string allOf: – #/definitions/enumTipLog description: Tipo de Informação usuger: type: string description: dthger: type: string format: date-time description: usualt: type: string description: dthalt: type: string format: date-time description: e120imd: description: Pedido – Totalização de impostos type: object properties: id: type: string format: uuid description: Id da entidade e120ped: type: string format: uuid description: Id do pedido basImp: type: string description: Valor Base minimum: 0.00 maximum: 9999999999999.99 default: 0 vlrImp: type: string description: Valor Base minimum: 0.00 maximum: 9999999999999.99 default: 0 tipImp: type: string allOf: – #/definitions/enumTipImpDoc description: Tipo de imposto usuger: type: string description: dthger: type: string format: date-time description: usualt: type: string description: dthalt: type: string format: date-time description: e120pedCondicoesPgto: description: Condições de pagamento alternativas type: object required: – e028cpg properties: id: type: string format: uuid description: Id da entidade e120ped: type: object allOf: – #/definitions/e120ped description: Id do orçamento e028cpg: type: object allOf: – #/definitions/e028cpg description: Id da condição de pagamento valorTotal: type: string description: Valor total do orçamento minimum: 0.00 maximum: 9999999999999.99 default: 0 valorParcela: type: string description: Valor total da parcela minimum: 0.00 maximum: 9999999999999.99 default: 0 usuger: type: string description: dthger: type: string format: date-time description: usualt: type: string description: dthalt: type: string format: date-time description: e120imi: description: Pedidos – Itens do Pedido – Impostos type: object properties: id: type: string format: uuid description: Id da entidade e120ipd: type: object allOf: – #/definitions/e120ipd description: Item do pedido tipImp: type: string allOf: – #/definitions/enumTipImpDoc description: Tipo de imposto basImp: type: string description: Base de cálculo do imposto minimum: 0.00 maximum: 9999999999999.99 aliImp: type: number format: double description: Alíquota do imposto minimum: 0.00 maximum: 99999999999.9999 vlrImp: type: string description: Valor do imposto minimum: 0.00 maximum: 9999999999999.99 perRed: type: number format: double description: Percentual de redução da base do imposto minimum: 0.00 maximum: 999.99999 perMva: type: number format: double description: Percentual da margem de valor Adicionado do ICMS ST minimum: 0.00 maximum: 999.9999 e027str: type: string format: uuid description: Situação Tributária ICMS motDes: type: string allOf: – #/definitions/enumMotDes description: Motivo desoneração ICMS impMan: type: boolean description: Indica se o imposto é manual default: false aplLiq: type: string allOf: – #/definitions/enumAplLiq description: Aplicação do imposto aliDes: type: number format: double description: Alíquota do imposto no destino minimum: 0.00 maximum: 99999999999.9999 vlrRec: type: number format: double description: Valor recolhido pelo substituto minimum: 0.00 maximum: 99999999999.9999 supCon: type: number format: double description: Suportado consumidor final minimum: 0.00 maximum: 99999999999.9999 vlrRet: type: number format: double description: Valor Icms St retido minimum: 0.00 maximum: 99999999999.9999 regimeControleRetencao: type: string allOf: – #/definitions/enumRegControleRet description: Tipo de regime de controle de retenção usuger: type: string description: dthger: type: string format: date-time description: usualt: type: string description: dthalt: type: string format: date-time description: e120par: description: Pedidos – Parcelamento type: object properties: id: type: string format: uuid description: Id da entidade e120ped: type: object allOf: – #/definitions/e120ped description: Id Pedido seqPar: type: integer format: int64 description: Sequência minimum: 0 maximum: 9999 default: 0 diaPar: type: integer format: int64 description: Quantidade de dias para a parcela minimum: 0 maximum: 9999 default: 0 vctPar: type: string format: date description: Data de vencimento da parcela perPar: type: number format: double description: Percentual do valor da parcela minimum: 0.0000 maximum: 999.9999 default: 0.0 vlrPar: type: string description: Valor da parcela minimum: 0.00 maximum: 9999999999999.99 default: 0.0 e066fpg: type: string format: uuid description: Forma de pagamento da parcela obsPar: type: string maxLength: 250 description: Observação da parcela tipInt: type: string allOf: – #/definitions/enumTipInt description: Tipo de integração da parcela vlrTro: type: string description: valor do troco minimum: 0.00 maximum: 9999999999999.99 default: 0.0 cnpCre: type: string maxLength: 15 description: CNPJ da credenciadora de cartão de crédito/débito banOpe: type: string allOf: – #/definitions/enumBanOpe description: Bandeira da operadora de cartão de crédito/débito catExt: type: string maxLength: 100 description: número de autorização da operação cartão de crédit/débito indPag: type: string allOf: – #/definitions/enumIndPag description: indicativo da forma de pagamento usuger: type: string description: dthger: type: string format: date-time description: usualt: type: string description: dthalt: type: string format: date-time description: e120integ: description: Integração processo vendas type: object required: – tipInt – itemId – servico – transactionId – situacao properties: id: type: string format: uuid description: Id da entidade tipInt: type: string allOf: – #/definitions/enumTipoIntegracao description: Tipo de integração itemId: type: string format: uuid description: Id do item de venda servico: type: string allOf: – #/definitions/enumServico description: Serviço chamado transactionId: type: string description: Id da transação situacao: type: string allOf: – #/definitions/enumSitProcesso description: Situação da integração excluido: type: boolean description: Indica se o registro foi excluido default: false usuger: type: string description: dthger: type: string format: date-time description: usualt: type: string description: dthalt: type: string format: date-time description: e120agr: description: agrupamento dos itens de pedidos para faturamento type: object required: – sitAgr – numPfa – tipVen properties: id: type: string format: uuid description: id do agrupamento msgErr: type: string maxLength: 500 description: Situação do lote numNfs: type: integer format: int64 description: número da nota fiscal minimum: 0 maximum: 99999999 serNfs: type: string description: descrição da série da nota fiscal e140nfsBatch: type: string format: uuid description: Id do lote de geração da nota fiscal e140nfs: type: string format: uuid description: Id da nota fiscal e020snf: type: string format: uuid description: Id da série da nota fiscal sitAgr: type: string allOf: – #/definitions/enumSitAgr description: Situacao e120pre: type: object allOf: – #/definitions/e120pre description: Id da preparacao numPfa: type: integer format: int64 description: Número do atendimento e120ipn: type: array items: type: object allOf: – #/definitions/e120ipn description: lista de itens tipVen: type: string allOf: – #/definitions/enumTipVen description: Indicativo do tipo de venda usuger: type: string description: dthger: type: string format: date-time description: usualt: type: string description: dthalt: type: string format: date-time description: e120ipn: description: Armazena temporariamente os itens do pedido que devem ser faturados type: object required: – codAgr – canSal properties: id: type: string format: uuid description: id do item do pedido e120pre: type: object allOf: – #/definitions/e120pre description: Preparação e120agr: type: object allOf: – #/definitions/e120agr description: Agrupamento e120ipd: type: object allOf: – #/definitions/e120ipd description: item do pedido qtdAft: type: number format: double description: quantidade a faturar do item codAgr: type: integer format: int64 description: código do agrupamento de pedidos canSal: type: boolean description: usuger: type: string description: dthger: type: string format: date-time description: usualt: type: string description: dthalt: type: string format: date-time description: e120pre: description: Armazena os lotes de preparação de pedidos para faturamento type: object required: – numAte – status properties: id: type: string format: uuid description: id do lote numAte: type: integer format: int64 description: Número do atendimento status: type: string allOf: – #/definitions/enumSitIpn description: Situação do lote emiNfe: type: boolean description: Emitir nota fiscal automaticamente default: false agrPed: type: boolean description: tipo default: false e120agr: type: array items: type: object allOf: – #/definitions/e120agr description: Agrupamentos usuger: type: string description: dthger: type: string format: date-time description: usualt: type: string description: dthalt: type: string format: date-time description: valoresPedido: description: View – Valores do Pedido type: object required: – proSer properties: id: type: string format: uuid description: Id do pedido e120ped: type: string format: uuid description: Id do pedido proSer: type: string description: Tipo de item vlrBru: type: string description: Base de cálculo do imposto minimum: 0.00 maximum: 9999999999999.99 vlrDsc: type: string description: Base de cálculo do imposto minimum: 0.00 maximum: 9999999999999.99 vlrIte: type: string description: Base de cálculo do imposto minimum: 0.00 maximum: 9999999999999.99 vlrLiq: type: string description: Base de cálculo do imposto minimum: 0.00 maximum: 9999999999999.99 vlrFin: type: string description: Base de cálculo do imposto minimum: 0.00 maximum: 9999999999999.99 vlrBco: type: string description: Base de cálculo do imposto minimum: 0.00 maximum: 9999999999999.99 vlrCom: type: string description: Base de cálculo do imposto minimum: 0.00 maximum: 9999999999999.99 vlrLou: type: string description: Base de cálculo do imposto minimum: 0.00 maximum: 9999999999999.99 usuger: type: string description: dthger: type: string format: date-time description: usualt: type: string description: dthalt: type: string format: date-time description: e028cpg: description: Condição de pagamento – Foundation type: object required: – codCpg – desCpg – abrCpg – aplCpg – sitCpg – qtdPar – diaEsp – tipPar – frePar – segPar – embPar – outPar – ipiPar – icmPar – subPar – encPar properties: id: type: string format: uuid description: Id da entidade codCpg: type: string maxLength: 6 description: Código da condição de pagamento desCpg: type: string maxLength: 50 description: Descrição da condição de pagamento abrCpg: type: string maxLength: 10 description: Abreviatura aplCpg: type: string allOf: – #/definitions/enumAplCpg description: Aplicação sitCpg: type: string allOf: – #/definitions/enumSitReg description: Situação przMed: type: integer format: int64 description: Prazo Médio minimum: 0 maximum: 999 qtdPar: type: integer format: int64 description: Quantidade Parcelas minimum: 0 maximum: 999 diaEsp: type: string allOf: – #/definitions/enumDiaEsp description: Dia Vencimento Semana tipPar: type: string allOf: – #/definitions/enumTipPar description: Tipo Parcela diaMe1: type: integer format: int64 description: Primeiro dia especial do mês para vencimento das parcelas minimum: 0 maximum: 31 diaMe2: type: integer format: int64 description: Segundo dia especial do mês para vencimento das parcelas minimum: 0 maximum: 31 diaMe3: type: integer format: int64 description: Terceiro dia especial do mês para vencimento das parcelas minimum: 0 maximum: 31 frePar: type: boolean description: Indicativo se o valor total do frete deve estar na 1ª parcela segPar: type: boolean description: Indicativo se o valor total do seguro deve estar na 1ª parcela embPar: type: boolean description: Indicativo se o valor total das embalagens deve estar na 1ª parcela outPar: type: boolean description: Indicativo se o valor total das outras despesas deve estar na 1ª parcela ipiPar: type: boolean description: Indicativo se o valor total do IPI deve estar na 1ª parcela icmPar: type: boolean description: Indicativo se o valor total do ICMS deve estar na 1ª parcela subPar: type: boolean description: Indicativo se o valor total do ICMS substituído deve estar na 1ª parcela encPar: type: boolean description: Indicativo se o valor total dos encargos deve estar na 1ª parcela issPar: type: boolean description: Indicativo se o valor total do ISS deve estar na 1ª parcela perEnc: type: number format: double description: Percentual de encargos maximum: 100.00 retIss: type: boolean description: Indicativo se o valor total do ISS retido deve ser descontado da 1ª parcela irfPar: type: boolean description: Indicativo se o valor total do irrf deve estar na 1ª parcela diaFix: type: boolean description: Indicativo se o dia do vencimento é fixo para períodos de 30 em 30 dias venDsc: type: number format: double description: Percentual a acrescentar ou diminuir para formação do preço de venda minimum: -999.99 maximum: 999.99 perCom: type: number format: double description: Percentual a acrescentar ou diminuir à comissão do representante minimum: -999.99 maximum: 999.99 redCom: type: number format: double description: Percentual redutor do valor base comissão minimum: 0.00 maximum: 999.99 excluido: type: boolean description: Indica se o registro foi excluído default: false usuger: type: string description: dthger: type: string format: date-time description: usualt: type: string description: dthalt: type: string format: date-time description: notifyUserEventPayload: description: Represents a regular user event notification payload discriminator: _discriminator type: object required: – notificationKind – notificationPriority – notificationSubject – notificationContent – sourceDomain – sourceService – destinationUser – _discriminator properties: notificationClass: type: string description: Class of notification notificationOrigin: type: string description: Origin of notification. Free text. Optional. notificationKind: type: string allOf: – #/definitions/userNotificationKind description: Notification kind. notificationPriority: type: string allOf: – #/definitions/userNotificationPriority description: Notification priority. notificationSubject: type: string description: Notification subject. notificationContent: type: string description: Notification content. sourceDomain: type: string description: Domain that generates the notification. sourceService: type: string description: Service that generates the notification. destinationUser: type: string description: Username of the destination user. link: type: string description: Notification link _discriminator: type: string description: emailNotifyUserEventPayload: description: Represents an email notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – from properties: from: type: string description: Email sender address sendTo: type: array items: type: string description: Additional recipients to send the email to format: type: string allOf: – #/definitions/eventEmailFormat description: Email format pushNotifyUserEventPayload: description: Represents a push notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – applicationId properties: applicationId: type: string description: Apple/Google application id blobReference: description: Default blob reference type. Every service defines its own. type: object required: – targetObjectId properties: domainName: type: string description: The domain the blob belongs to. serviceName: type: string description: The service the blob belongs to. targetObjectId: type: string description: The basic id of the blob. targetCopyId: type: string description: The id of the blob copy. basicErrorPayload: description: Default error payload type. Every service defines its own. type: object properties: message: type: string description: The user-facing error message, if any. errorCode: type: string description: The program-accessible (and service-specific) error code. importError: description: type: object required: – errorType – lineNumber – bean – message – exceptionClass properties: errorType: type: string allOf: – #/definitions/errorType description: lineNumber: type: integer format: int64 description: bean: type: string description: message: type: string description: exceptionClass: type: string description: fielddto: description: type: object required: – id – name – fieldType properties: id: type: integer format: int64 description: name: type: string description: fieldType: type: string allOf: – #/definitions/fieldType description: start: type: integer format: int64 description: size: type: integer format: int64 description: maskPattern: type: string description: hookdto: description: type: object required: – hookFunction – script properties: hookFunction: type: string allOf: – #/definitions/hookFunction description: script: type: string description: layoutdto: description: type: object required: – id – description – fileFormat – errorStrategy – skipLines – fields properties: id: type: integer format: int64 description: description: type: string description: fileFormat: type: string allOf: – #/definitions/fileFormat description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: delimiter: type: string description: skipLines: type: integer format: int64 description: fields: type: array items: type: object allOf: – #/definitions/fielddto minimum: 1 description: hooks: type: array items: type: object allOf: – #/definitions/hookdto description: importReport: description: type: object required: – id – startTime – endTime – uri – beanClass – serviceClass – layout – sucessCount – errorsCount – filteredCount – skippedCount properties: id: type: string description: startTime: type: string format: date-time description: endTime: type: string format: date-time description: uri: type: string description: beanClass: type: string description: serviceClass: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: sucessCount: type: integer format: int64 description: errorsCount: type: integer format: int64 description: filteredCount: type: integer format: int64 description: skippedCount: type: integer format: int64 description: importErrors: type: array items: type: object allOf: – #/definitions/importError description: exportEventStatus: description: type: object required: – importerId – eventType – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: recordCount: type: integer format: int64 description: importEventStatus: description: type: object required: – importerId – eventType – status – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: status: type: string allOf: – #/definitions/status description: errorMessage: type: string description: recordCount: type: integer format: int64 description: importReport: type: object allOf: – #/definitions/importReport description: exportConfig: description: type: object required: – uri – layout – async – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: errorStrategy: type: string description: importConfig: description: type: object required: – uri – layout – async – batchSize – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: batchSize: type: integer format: int64 description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: dependency: description: Represents a service dependency type: object required: – domain – service – version properties: domain: type: string description: Domain of the dependency service service: type: string description: Name of the dependency service type: string description: Version of the dependency service genericError: properties: message: type: string description: Messaging describing the error. reason: type: string description: A symbolic code identifying the category of the reason of the error. enum: – BAD_REQUEST – UNAUTHORIZED – PAYMENT_REQUIRED – FORBIDDEN – OBJECT_NOT_FOUND – REQUEST_TIMEOUT – GONE – UNPROCESSABLE – INTERNAL_ERROR – NOT_IMPLEMENTED – SERVICE_UNAVAILABLE – INSUFFICIENT_STORAGE

Este artigo foi útil para você?

Leave A Comment