DocBits- IDP for Infor ERP
HomeAppStatusAPI
🇫🇷 Français
🇫🇷 Français
  • Vue d'ensemble et principes de base
    • DocBits
      • Caractéristiques principales de DocBits
    • Architecture
      • DocBits Infor sur le client sur site
      • Certifications
    • Infrastructure Infor
  • Notes de version
  • Section utilisateurs et partenaires
    • Section utilisateur final
      • Tableau de bord
        • Outils du tableau de bord
        • Fusion de Documents
        • Statut du document
        • Filtrage des documents
        • Aperçu des documents téléchargés
        • Compteur de tâches
        • Champs extraits validés
        • Flux De Documents
        • Dépannage
        • Raccourcis Clavier
      • Tâches
      • Advance Shipment Dashboard
      • Tableau de bord des bons de commande
      • Tableau de bord des factures
      • Shipment Order Dashboard
      • Options de Configuration de l'Utilisateur
      • Tableau AI
        • Étiquettes de tableau AI
      • Écran de validation
        • Données Floues
        • Codes QR
        • Raccourcis Clavier
      • Objectif et Utilisation
      • Appariement des Bons de Commande
        • Correspondance Automatique des Données de Bon de Commande
        • Correspondance des numéros d'article du fournisseur
        • Raccourcis Clavier
      • Comptabilité pour les factures de coûts et les ventes indirectes
      • Comment importer des documents
        • FTP
        • Importation Manuelle
        • Webhook
        • E-mail
          • IMAP
          • OAuth Office365
      • Support technique dans DocBits
        • Créer un ticket
        • Icônes d'aide
      • Cours
        • Introduction
        • Tableau de bord
        • Documents validés
        • Tableau AI
        • Appariement principal des bons de commande avec DocBits
      • Notre Système de Priorité des Documents
      • Portail Fournisseur
        • Inscription du Fournisseur
        • Statut du Fournisseur
      • Ressources et support
        • Support utilisateur
    • Section Partenaire
      • Automatisation des Tests de Factures avec DocBits
  • Administration et configuration
    • Paramètres
      • Global Settings
        • Informations sur l'entreprise
          • Définir la couleur de l'application dans les paramètres de l'entreprise
        • Custom Filters
        • Document Expiry
        • Document Types
          • Layout Manager
            • Navigation dans le Gestionnaire de Mise en Page
          • Document Sub Types
          • Table Columns
          • Fields
            • Ajout et Édition de Champs
          • Model Training
          • Regex
          • Script
          • EDI
          • More Settings
            • Objectif et utilisation
            • Meilleures pratiques
            • Dépannage
            • Gestion des documents en double
            • Cachet d'approbation
            • Carte des Numéros d'Article Fournisseur - Documentation Administrateur
            • Paramètres de tolérance de commande d'achat / Tolérance de commande d'achat supplémentaire
            • Statuts de désactivation de commande d'achat
            • Table PO dans le Constructeur de Mise en Page
            • Vérification automatique des mises à jour de CA
            • Calculer le prix unitaire de la commande
            • Export des lignes de commande non appariées
          • e-docs
            • eSLOG 1.6 et 2.0
        • Notification par e-mail
          • Configuration des Notifications
          • Gestion des Notifications
          • Meilleures Pratiques
          • Dépannage
        • Custom Filters
        • Groups, Users and Permissions
          • Utilisateurs
            • Modification des détails de l'utilisateur
            • Privilèges d'Administration
          • Sous-Organisations
            • Comment créer une Sous-Organisation
          • Groupes et Autorisations
            • Objectif et utilisation
            • Ajout/Modification de Groupes
            • Activation des autorisations
            • Contrôle d'Accès
            • Dépannage
        • Intégration
          • API Calls and Examples
        • Tableau de bord
      • Traitement des documents
        • Documents Expiry
        • Import
        • Gestionnaire de Règles
        • Ocr Settings
        • Classification et extraction
          • Extraction de tableaux pour le calcul des coûts
          • Extraction automatique du code fiscal
        • Master Data Lookup
        • List Of Values
        • Export
        • Module
          • Mode Annotation
          • Approval Before Export
          • Doc Scan
          • Doc Script
          • Mise à jour de l'ACL IDM
          • Swiss QR Code
        • Arbres de Décision
      • Log Settings
        • Gestion des tâches
        • Synchronisation des données
      • Licences API
      • Paramètres du Fournisseur
        • Paramètres Généraux du Fournisseur
        • Modification des Modèles d'Email
        • Configuration de l'exportation pour le portail des fournisseurs pour M3
      • Gestion du 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
        • 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
      • Portail Fournisseur
      • WatchDog Installation
  • Intégration et configuration d'Infor
    • Importing Master Data
      • Field Mappings
      • LN
        • Auto Accounting
        • Suppliers and Purchase Orders
        • Tax Codes
      • M3
        • Auto Accounting
        • Suppliers and Purchase Orders
        • Extraction de tableaux pour le calcul des coûts
    • Exporting in DocBits
      • Export Module
    • Exporting to INFOR
      • Creating a BOD Mapping File
      • Création d'un fichier de mappage IDM
      • Creating an ION API Endpoint
      • Creating an ION API File
      • Export to M3 Mapping (API)
      • Exporting to IDM
      • M3
        • M3 Configuration
      • LN
        • Exporter les codes de taxe vers LN
        • LN Configuration
  • Fonctions et outils avancés
    • Scripting dans 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
      • Fonctions
      • Generating Extended Invoice Numbers Script for Docbits
      • Generating Extended Invoice Numbers Script for Docbits
    • Postman for DocBits
    • Importation des données de fournisseur et de commande d'achat dans DocBits à partir de fichiers 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. Fonctions et outils avancés

Postman for DocBits

PreviousGenerating Extended Invoice Numbers Script for DocbitsNextImportation des données de fournisseur et de commande d'achat dans DocBits à partir de fichiers 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.