DocBits- IDP for Infor ERP
HomeAppStatusAPI
🇮🇹 Italiano
🇮🇹 Italiano
  • Panoramica e nozioni di base
    • DocBits
      • Caratteristiche principali di DocBits
    • Architettura
      • DocBits Infor on Premise Customer
      • Certificazioni
    • Infor Infrastruttura
  • Note della versione
  • Sezione Utenti finali e partner
    • Sezione utente finale
      • Dashboard
        • Strumenti della scheda
        • Unione di Documenti
        • Stato del documento
        • Filtrare Documenti
        • Panoramica dei documenti caricati
        • Contatore di attività
        • Campi estratti validati
        • Flusso Documento
        • Risoluzione dei problemi
        • Scorciatoie da Tastiera
      • Attività
      • Dashboard Spedizioni Anticipate
      • Dashboard degli ordini di acquisto
      • Dashboard Fatture
      • Dashboard Ordini di Spedizione
      • Opzioni di Configurazione Utente
      • Tabella AI
        • Tag della tabella AI
      • Schermo di validazione
        • Dati Fuzzy
        • Codici QR
        • Scorciatoie da Tastiera
      • Scopo e Utilizzo
      • Abbinamento ordine di acquisto
        • Abbinamento Automatico dei Dati degli Ordini di Acquisto
        • Mappa Numero Articolo Fornitore
        • Scorciatoie da Tastiera
      • Contabilità per fattura di costo e vendite indirette
      • Come importare documenti
        • FTP
        • Importazione Manuale
        • Webhook
        • E-mail
          • IMAP
          • OAuth Office365
      • Supporto tecnico in DocBits
        • Crea un ticket
        • Icone di aiuto
      • Corso
        • Introduzione
        • Dashboard
        • Documenti validati
        • Tabella AI
        • Abbinamento principale dell'ordine di acquisto con DocBits
      • Il Nostro Sistema di Priorità dei Documenti
      • Risorse e supporto
        • Supporto utenti
      • Portale Fornitori
        • Registrazione Fornitore
        • Stato del Fornitore
    • Sezione Partner
      • Automazione dei Test delle Fatture con DocBits
  • amministrazione e configurazione
    • Impostazioni
      • Global Settings
        • Informazioni sulla Società
          • Definire il Colore dell'App nelle Impostazioni Aziendali
        • Custom Filters
        • Document Expiry
        • Document Types
          • Layout Manager
            • Navigare il Layout Manager
          • Document Sub Types
          • Table Columns
          • Fields
            • Navigare il Layout Manager
          • Model Training
          • Regex
          • Script
          • EDI
          • More Settings
            • Scopo e utilizzo
            • Migliori pratiche
            • Risoluzione dei problemi
            • Gestione Documenti Duplicati
            • Timbro di approvazione
            • Mappa dei Numeri di Articolo Fornitore - Documentazione Amministrativa
            • Impostazioni di tolleranza per gli ordini di acquisto / Ulteriore tolleranza per gli ordini di acqui
            • Stati di disabilitazione degli ordini di acquisto
            • Table PO dans le Constructeur de Mise en Page
            • Controllo automatico degli aggiornamenti PO
            • Calcolo del prezzo unitario dell'OP
            • Esporta righe di PO non corrispondenti
          • e-docs
            • eSLOG 1.6 e 2.0
        • Notifica Email
          • Configurazione delle Notifiche
          • Gestire le Notifiche
          • Best Practice
          • Risoluzione dei problemi
        • Custom Filters
        • Groups, Users and Permissions
          • Utenti
            • Modifica dei Dettagli Utente
            • Privilegi di Amministratore
          • Sotto-Organizzazioni
            • Come creare una Sotto-Organizzazione
          • Gruppi e Autorizzazioni
            • Scopo e Utilizzo
            • Aggiunta/Modifica dei Gruppi
            • Attivazione dei Permessi
            • Controllo Accessi
            • Risoluzione dei problemi
        • Integrazione
          • API Calls and Examples
        • Dashboard
      • Elaborazione Documenti
        • Documents Expiry
        • Import
        • Gestore delle Regole
        • Ocr Settings
        • Classificazione ed Estrazione
          • Estrazione della tabella per l'elemento di costo
          • Estrazione automatica del codice fiscale
        • Master Data Lookup
        • List Of Values
        • Export
        • Module
          • Modalità Annotazione
          • Approval Before Export
          • Doc Scan
          • Doc Script
          • Aggiornamento IDM ACL
          • Swiss QR Code
        • Alberi Decisionali
      • Log Settings
        • Gestione delle Attività
        • Sincronizzazione dei Dati
      • Licenze API
      • Impostazione del Fornitore
        • Impostazioni Generali del Fornitore
        • Modifica dei Modelli di Email
        • Configurazione dell'esportazione per il Portale fornitori per M3
      • Gestione della Cache
    • Workflow
      • 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
        • Costruttore di Layout
        • 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
      • Installazione di WatchDog
      • Portale Fornitori
  • Infor Integration and Configuration
    • Importing Master Data
      • Field Mappings
      • LN
        • Auto Accounting
        • Suppliers and Purchase Orders
        • Tax Codes
      • M3
        • Auto Accounting
        • Suppliers and Purchase Orders
        • Estrazione della tabella per l'elemento di costo
    • Exporting in DocBits
      • Export Module
    • Exporting to INFOR
      • Creating a BOD Mapping File
      • Creazione di un file di mapping IDM
      • Creating an ION API Endpoint
      • Creating an ION API File
      • Export to M3 Mapping (API)
      • Exporting to IDM
      • M3
        • M3 Configuration
      • LN
        • Esporta Codici Fiscali in LN
        • LN Configuration
  • Funzioni e strumenti avanzati
    • 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
      • Funzioni
      • Generating Extended Invoice Numbers Script for Docbits
      • Generating Extended Invoice Numbers Script for Docbits
    • Postman for DocBits
    • Importazione dei Dati di Fornitori e Ordini di Acquisto in DocBits da File 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. Funzioni e strumenti avanzati

Postman for DocBits

PreviousGenerating Extended Invoice Numbers Script for DocbitsNextImportazione dei Dati di Fornitori e Ordini di Acquisto in DocBits da File 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.