DocBits- IDP for Infor ERP
HomeAppStatusAPI
🇪🇸 Español
🇪🇸 Español
  • Descripción general y conceptos básicos
    • DocBits
      • Características principales de DocBits
    • Arquitectura
      • DocBits Infor Cliente On Premise
      • Certificaciones
    • Infraestructura de Infor
  • Notas de versión
  • Sección de usuarios finales y socios
    • Sección de usuario final
      • Panel
        • Herramientas del Panel
        • Unir Documentos
        • Estado del documento
        • Filtrar documentos
        • Resumen de documentos cargados
        • Contador de tareas
        • Campos extraídos validados
        • Documento-Flujo
        • Solución de problemas
        • Atajos de Teclado
      • Tareas
      • Cuadro de mandos de envíos anticipados
      • Panel de órdenes de compra
      • Panel de facturación
      • Shipment Order Dashboard
      • Opciones de Configuración del Usuario
      • Tabla AI
        • Etiquetas de la tabla AI
      • Pantalla de Validación
        • Comprobaciones Automáticas en la Pantalla de Validación
        • Datos Difusos
        • Códigos QR
        • Atajos de Teclado
      • Propósito y uso
      • Conciliación de Órdenes de Compra
        • Reglas y Cálculos
        • Conciliación Automática de Datos de Órdenes de Compra
        • Mapa de número de artículo del proveedor
        • Atajos de Teclado
      • Contabilidad para Factura de Costos y Ventas Indirectas
      • Cómo importar documentos
        • Importación Manual
        • Webhook
      • Soporte técnico en DocBits
        • Crear un ticket
        • Iconos de ayuda
      • Curso
        • Introducción
        • Panel
        • Documentos validados
        • Tabla AI
        • Conciliación maestra de órdenes de compra con DocBits
      • Nuestro Sistema de Prioridad de Documentos
      • Portal del Proveedor
        • Registro de Proveedores
        • Estado del Proveedor
      • Recursos y apoyo
        • Soporte para usuarios
        • Estado del Portal de Soporte
    • Sección de Socios
      • Pruebas de Automatización de Facturas con DocBits
  • Administración y configuración
    • Configuración
      • Global Settings
        • Información de la Empresa
          • Definiendo el Color de la Aplicación en la Configuración de la Empresa
        • Custom Filters
        • Document Expiry
        • Document Types
          • Layout Manager
            • Navegando el Administrador de Diseño
          • Document Sub Types
          • Table Columns
          • Fields
            • Agregando y Editando Campos
          • Model Training
          • Regex
          • Script
          • EDI
          • Más ajustes
            • Propósito y uso
            • Mejores prácticas
            • Solución de problemas
            • Detección de duplicados
            • Aprobación
              • Sello de aprobación
            • Orden de compra
              • Tabla de PO en el Constructor de Diseño
              • Verificación automática de actualizaciones de OC
              • Calcular el precio unitario del pedido
              • Exportar líneas de PO no coincidentes
              • Ajuste de tolerancias de órdenes de compra / Tolerancia adicional de órdenes de compra
              • PO desactivar estados
              • Mapa de Números de Artículos de Proveedores - Documentación para Administradores
          • e-docs
            • eSLOG 1.6 y 2.0
        • Notificación por Correo Electrónico
          • Configuración de Notificaciones
          • Gestión de Notificaciones
          • Mejores Prácticas
          • Solución de problemas
        • Plantillas de correo electrónico
        • Custom Filters
        • Groups, Users and Permissions
          • Usuarios
            • Modificando Detalles del Usuario
            • Privilegios de Administrador
          • Suborganizaciones
            • Cómo crear una Suborganización
          • Grupos y Permisos
            • Propósito y Uso
            • Agregar/Editar Grupos
            • Activando Permisos
            • Control de Acceso
            • Solución de problemas
        • Integración
          • API Calls and Examples
        • Panel
      • Procesamiento de documentos
        • Documents Expiry
        • Importar
        • Gestor de Reglas
        • Ocr Settings
        • Clasificación y extracción
          • Extracción de tablas para el elemento de costos
        • Master Data Lookup
        • List Of Values
        • Export
        • Module
          • Modo de Anotación
          • Approval Before Export
          • Doc Scan
          • Doc Script
          • IDM ACL-UPDATOR
          • Swiss QR Code
        • Árboles de Decisión
      • Log Settings
        • Gestión de Tareas
        • Sincronización de Datos
      • Licencias de API
      • Configuración del Proveedor
        • Configuración General del Proveedor
        • Edición de Plantillas de Correo Electrónico
        • Diseño del Proveedor
        • Exportar la configuración del portal de proveedores para M3
        • Permisos del Proveedor
      • Gestión de Caché
    • Flujo de trabajo
      • 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 de Proveedores
      • Instalación de WatchDog
    • Página de Informe
  • Integración y configuración de Infor
    • Importing Master Data
      • Field Mappings
      • LN
        • Auto Accounting
        • Suppliers and Purchase Orders
        • Tax Codes
      • M3
        • Auto Accounting
        • Suppliers and Purchase Orders
        • Extracción de tablas para el elemento de costos
    • Exporting in DocBits
      • Export Module
    • Exporting to INFOR
      • Creating a BOD Mapping File
      • Creando un Archivo de Mapeo 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 de Impuestos a LN
        • LN Configuration
  • Funciones y herramientas avanzadas
    • Scripting in 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
      • Funciones
      • Generating Extended Invoice Numbers Script for Docbits
      • Generating Extended Invoice Numbers Script for Docbits
    • Postman for DocBits
    • Importando Datos de Proveedores y Órdenes de Compra en DocBits desde Archivos 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. Funciones y herramientas avanzadas

Postman for DocBits

PreviousGenerating Extended Invoice Numbers Script for DocbitsNextImportando Datos de Proveedores y Órdenes de Compra en DocBits desde Archivos 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.