DocBits- IDP for Infor ERP
HomeAppStatusAPI
🇵🇹 Português
🇵🇹 Português
  • Visão geral e noções básicas
    • DocBits
      • Principais Recursos do DocBits
    • Arquitetura
      • DocBits Informações sobre Cliente On-Premise
      • Certificações
    • Infraestrutura Infor
  • Notas de versão
  • Secção Utilizador Final e Parceiro
    • Secção Utilizador Final
      • Painel
        • Ferramentas do Painel
        • Fusão de Documentos
        • Status do Documento
        • Filtrando Documentos
        • Visão Geral dos Documentos Enviados
        • Contador de Tarefas
        • Campos Extraídos Validados
        • Fluxo de Documentos
        • Solução de Problemas
        • Atalhos de Teclado
      • Tarefas
      • Painel de Envio Antecipado
      • Painel de pedidos de compra
      • Painel de Faturas
      • Painel de Pedidos de Envio
      • Opções de Configuração do Usuário
      • Tabela de IA
        • Tags de Tabela de IA
      • Tela de Validação
        • Dados Fuzzy
        • Códigos QR
        • Atalhos de Teclado
      • Propósito e Uso
      • Correspondência de Pedido de Compra
        • Correspondência Automática de Dados de Pedido de Compra
        • Mapa de Número de Item do Fornecedor
        • Atalhos de Teclado
      • Contabilização de Fatura de Custo e Vendas Indiretas
      • Como Importar Documentos
        • FTP
        • Importação Manual
        • Webhook
        • Email
          • IMAP
          • OAuth Office365
      • Suporte Técnico no DocBits
        • Criar um ticket
        • Ícones de Ajuda
      • Curso
        • Introdução
        • Painel
        • Documentos Validados
        • Tabela de IA
        • Master PO Matching com DocBits
      • Nosso Sistema de Prioridade de Documentos
      • Portal do Fornecedor
        • Registro de Fornecedor
        • Status do Fornecedor
      • Recursos e suporte
        • Suporte ao Usuário
    • Seção de Parceiros
      • Teste de Automação de Faturas com DocBits
  • Administração e configuração
    • Configurações
      • Global Settings
        • Informações da Empresa
          • Definindo a Cor do App nas Configurações da Empresa
        • Custom Filters
        • Document Expiry
        • Document Types
          • Layout Manager
            • Navegando no Gerenciador de Layout
          • Document Sub Types
          • Table Columns
          • Fields
            • Adicionando e Editando Campos
          • Model Training
          • Regex
          • Script
          • EDI
          • More Settings
            • Propósito e uso
            • Melhores práticas
            • Resolução de Problemas
            • Tratamento de Documentos Duplicados
            • Selo de Aprovação
            • Mapa de Números de Itens do Fornecedor - Documentação do Administrador
            • Configurações de tolerância de pedido de compra / Tolerância adicional de pedido de compra
            • Status de desativação de pedido de compra
            • Tabela de PO no Construtor de Layout
            • Verificação automática de atualizações de PO
            • Calcular preço unitário do PO
            • Exportar linhas de PO não correspondidas
          • e-docs
            • eSLOG 1.6 i 2.0
        • Notificação por Email
          • Configurando Notificações
          • Gerenciando Notificações
          • Melhores Práticas
          • Solução de Problemas
        • Custom Filters
        • Groups, Users and Permissions
          • Usuários
            • Modificando Detalhes do Usuário
            • Privilégios de Administrador
          • Suborganizações
            • Como criar uma Sub-Organização
          • Grupos e Permissões
            • Propósito e Uso
            • Adicionando/Editando Grupos
            • Ativando Permissões
            • Controle de Acesso
            • Resolução de Problemas
        • Integração
          • API Calls and Examples
        • Painel de Controle
      • Processamento de documentos
        • Documents Expiry
        • Import
        • Gerenciador de Regras
        • Ocr Settings
        • Classificação e extração
          • Extração de tabela para elemento de custo
          • Extração automática do código tributário
        • Master Data Lookup
        • List Of Values
        • Export
        • Module
          • Modo de Anotação
          • Approval Before Export
          • Doc Scan
          • Doc Script
          • Atualizador de ACL do IDM
          • Swiss QR Code
        • Árvores de Decisão
      • Log Settings
        • Gerenciamento de Tarefas
        • Sincronização de Dados
      • Licenças da API
      • Configuração do Fornecedor
        • Configurações Gerais do Fornecedor
        • Edição de Modelos de Email
        • Configuração de exportação para o Portal do Fornecedor para M3
      • Gerenciamento de Cache
    • Fluxo de Trabalho
      • When
        • Card description
        • Document Operator for Sub-Organizations
        • Document Type Operation
      • And
        • Assigned User Condition
        • Checkbox Field Condition
        • Checkbox
        • Combined Price of Quantity Difference
        • Compare two fields
        • Compare with Purchase Order
        • Confirmed Delivery Date
        • Docfield is
        • Document Field Comparison
        • Document Field
        • Document Status Condition List
        • Document Type Operation one of
        • In Order Confirmation Purchase Order
        • Single Assigned User Condition
        • Single Document Status Condition
        • Supplier on Invoice
        • Text in field
        • Unit Price Combined with Fields
      • Then
      • Workflow Description: Conditional Export Trigger
      • Workflow Documentation
      • Standard Workflow
        • Above Max Amount
        • Cost Invoice - Export
        • Less than Max Amount
        • Purchase Invoice - 2nd Approval Quantity Export
        • Purchase Invoice - 2nd Approval Quantity
        • Purchase Invoice - 2nd Approval Unit Price Export
        • Purchase Invoice - 2nd Approval Unit Price
      • Material Ordering and Processing Workflow
    • Setup
      • Document Types
        • EDI Data Transformation Process
        • Layout Builder
        • Origin Layouts
        • Regex Manager
      • Document Training
        • Training Header Fields
        • Training Line Fields/Table Training
          • Adding New Columns
          • Advanced Settings
          • Defining Tables and Columns
          • Grouping Function
          • Manual Row Selection
          • Mapping Columns
          • Save and Delete Rules
      • SSO Configuration
      • Testing
        • PO Matching
        • Auto Accounting
          • LN
          • M3
      • Portal do Fornecedor
      • Instalação do WatchDog
  • Integração e configuração Infor
    • Importing Master Data
      • Field Mappings
      • LN
        • Auto Accounting
        • Suppliers and Purchase Orders
        • Tax Codes
      • M3
        • Auto Accounting
        • Suppliers and Purchase Orders
        • Extração de tabela para elemento de custo
    • Exporting in DocBits
      • Export Module
    • Exporting to INFOR
      • Creating a BOD Mapping File
      • Criando um Arquivo de Mapeamento IDM
      • Creating an ION API Endpoint
      • Creating an ION API File
      • Export to M3 Mapping (API)
      • Exporting to IDM
      • M3
        • M3 Configuration
      • LN
        • Exportar códigos fiscais para LN
        • LN Configuration
  • Funções e ferramentas avançadas
    • Scripting em DocBits
      • Calculating Total Charges Script for Docbits
      • Calculating Total Charges Script for Docbits
      • Delete lines with empty quantity and amount
      • Formatting Export Certificate Reference Numbers Script for Docbits
      • Funções
      • Generating Extended Invoice Numbers Script for Docbits
      • Generating Extended Invoice Numbers Script for Docbits
    • Postman for DocBits
    • Importando Dados de Fornecedor e Pedido de Compra no DocBits a partir de Arquivos CSV
Powered by GitBook
On this page
  • Setup
  • DocBits API
  • Create a new Workspace in Postman
  • "GET" Method example
  • "POST" Method example
  • Upload Document
  • "DELETE" Method example
  • "PUT" Method example
  • Change Email Address of a User

Was this helpful?

Edit on GitHub
Export as PDF
  1. Funções e ferramentas avançadas

Postman for DocBits

PreviousGenerating Extended Invoice Numbers Script for DocbitsNextImportando Dados de Fornecedor e Pedido de Compra no DocBits a partir de Arquivos CSV

Last updated 1 year ago

Was this helpful?

This guide will show you how to make HTTP requests to your DocBits organization via Postman. It is easy to use and very useful for organization administrators.

Setup

First, download Postman to your system and sign in/register.

Now follow this step-by-step guide to learn how HTTP requests work in Postman.

Authorization in Postman

Before you can create your HTTP requests, you need to enter your API key from DocBits to authorize them.

  • Click on the `Authorization` tab and choose `API Key` as authorization type.

  • Fill in the values. Enter “X-API-key” in the `Key` field and your API Key as value (found in DocBits Settings menu under Integration) Select Add to `Header`.

  • It should look like this:

DocBits API

Available at https://api.polydocs.io

  • Click on Authorize in the upper right corner

  • Enter your API Key and confirm by clicking `Authorize`

Create a new Workspace in Postman

  • Click on Workspaces and create a new workspace (you can name it whatever you want

  • You have to select the visibility which determines who can access this workspace.

  • After making your selection and clicking `Create Workspace` select Collections on the left side of the application and create a new collection for your HTTP requests by clicking `+`.

In this collection, you can add multiple HTTP requests. To do this, click on the 3 points of the collection and select `Add request`.

"GET" Method example

The GET method is very useful for getting information about users, sub-organizations, processed documents, and much more.

  • Choose the GET method in your HTTP request.

  • Authorize yourself as described above.

  • Open https://api.polydocs.io and add the path of the function behind the Polydocs URL. For example:

  • Now paste this link in the text box next to the GET method in Postman.

Click `Send` and you should receive all the information about every user in your organization.

"POST" Method example

The POST method is usually used to create users or organizations, for example. This method inserts information into the database.

Create User

  • Select the POST Method.

  • Authorize yourself as described above

  • Open https://api.polydocs.io and add the path of the function behind the Polydocs URL. In this case:

  • Now paste this link into the text box next to the POST method in Postman.

  • Select the `Body` tab in your HTTP request and enter the keys and the values ​​for each credential that has a red asterisk next to its name.

When you’re done, it should look like this:

If you want to create an admin account, set the `is_admin` value to true.

Finally, click `Send` and you can see all the credentials you set in the response below. This means the user has been created.

Upload Document

You can also use the POST method to upload a document to DocBits.

  • Select the POST Method.

  • Authorize yourself as described above.

  • Open https://api.polydocs.io and add the path of the function behind the Polydocs URL.

In this case:

  • Now paste this link into the text box next to the POST method in Postman.

  • Select the `Body` tab in your HTTP request and choose `form-data`

Enter file into the `KEY` field where you will find the hidden File dropdown. Select `File` and move to the `VALUE` field where you are able to select your file by clicking `Select Files`.

When you click `Send`, you should see “success”: true in the response.

It should look like this:

"DELETE" Method example

The DELETE method is used to delete, for example, users, organizations and so on.

  • Select the DELETE Method

  • Authorize yourself as described above.

  • Open https://api.polydocs.io and add the path of the function behind the Polydocs URL.

For example:

  • Now paste this link in the text box next to the DELETE method in Postman.

  • Replace the {user_id} at the end of the URL with the actual user ID you want to delete. (You can get the user_id using the GET method).

  • If you included the user_id in the URL, you don’t need to add a body key and value for it.

  • When you click `Send`, you should see “success”: true in the response.

It should look like this:

"PUT" Method example

The PUT method is mainly used to update user or organization data. It is very easy to understand and use.

  • Select the PUT Method.

  • Authorize yourself as described above.

  • Open https://api.polydocs.io and add the path of the function behind the Polydocs URL.

For example:

  • Now paste this link in the text box next to the PUT method in Postman.

  • Replace the {user_id} at the end of the URL with the actual user ID you want to delete. (You can get the user_id using the GET method).

Change Email Address of a User

  • In the body, enter “email” as the key and the new email address as the value.

  • Then just press `Send` and you should see “success” in the response.