PANTHEON™ Help

 Toc
 PANTHEON Help - Welcome
[Collapse]PANTHEON
 [Collapse]Guides for PANTHEON
  [Collapse]Guide for PANTHEON
   [Collapse]Settings
    [Expand]Subjects
    [Expand]Items
    [Expand]POS
    [Expand]Manufacturing
    [Expand]Personnel
     Calendar
    [Expand]Financials
    [Expand]Customs
    [Expand]Program
    [Collapse]Documentation
     [Expand]Documents
     [Expand]Mailroom
     [Expand]Send SMS or Email
     [Expand]Classification Scheme
     [Expand]Exchange Settings
     [Expand]To-Do
     [Collapse]Workflow Design
      [Expand]About workflows
      [Expand]Workflow (system) toolbar
       Settings - WF
      [Collapse]Design
        Task edit - general
       [Collapse]Design - Workflow Elements
         Workflow blocks (default)
        [Expand]PANTHEON Forms blocks
        [Collapse]Input/Output blocks
          Open URL
         [Expand]Scan
          Print Files
          MS Office template
          DB to XML
          XML to DB
          XML from/to variables
          REST request
          REST Mailbox
          Send mail
          Send SMS
          Translation
          Print Report
          OAuth authorization
          Check Conditions
        [Expand]Goods/Orders blocks
        [Expand]DMS blocks
       [Expand]Block settings
       [Expand]Design Toolbar
        How To - Resolving Workflow Diagram Loading Error
      [Expand]Workflow - Old topics
     [Expand]PANTHEON DMS Add-in
    [Expand]Change User
   [Expand]Orders
   [Expand]Goods
   [Expand]Manufacturing
   [Expand]POS
   [Expand]Service
   [Expand]Financials
   [Expand]Personnel
   [Expand]Analytics
   [Expand]Desktop
   [Expand]Help
   [Expand]Messages and Warnings
   [Expand]Additional programs
   [Expand]Old products
  [Expand]Guide for PANTHEON Retail
  [Expand]Guide for PANTHEON Vet
  [Expand]Guide for PANTHEON Farming
 [Collapse]User Manuals for PANTHEON
  [Expand]User Manual for PANTHEON
  [Expand]User Manual for PANTHEON Retail
  [Expand]User manual for PANTHEON Vet
  [Expand]User Manual for PANTHEON Farming
[Collapse]PANTHEON Web
 [Collapse]Guides for PANTHEON Web
  [Expand]Guide for PANTHEON Web Light
  [Expand]Guide for PANTHEON Web Terminal
  [Expand]Guide for PANTHEON Web Legal
  [Expand]Old products Archive
 [Collapse]User Manuals for PANTHEON Web
  [Expand]Getting started PANTHEON Web
  [Expand]User Manual for PANTHEON Web Light
  [Expand]User Manual for PANTHEON Web Terminal
  [Expand]User Manual for PANTHEON Web Legal
  [Expand]Old products Archive
[Collapse]PANTHEON Granules
 [Collapse]Guides for PANTHEON Granules
  [Expand]Personnel Granule
  [Expand]Travel Orders Granule
  [Expand]Documents and Tasks Granule
  [Expand]Dashboard Granule
  [Expand]B2B Orders Granule
  [Expand]Field Service Granule
  [Expand]Fixed Assets Inventory Granule
  [Expand]Warehouse Inventory Granule
 [Collapse]User Manuals for PANTHEON Granules
  [Expand]Getting started
  [Expand]Personnel Granule
  [Expand]Travel Orders Granule
  [Expand]Documents and Tasks Granule
  [Expand]B2B Orders Granule
  [Expand]Dashboard Granule
  [Expand]Field Service Granule
  [Expand]Fixed Assets Inventory Granule
  [Expand]Warehouse Inventory Granule
  [Expand]Archive
[Expand]User Site

Load Time: 406.2391 ms
"
  1000000420 | 220261 | 360826 | Updated
Label

REST mailbox

The REST mailbox block enables that any REST can be called from a workflow.

The block can be accessed from the menu Settings | Documentation | Workflow Design by clicking the panel Design | Input/Output.

HINT

REST (Representational State Transfer) is an architecture for exchanging data between web services.

 

Variables are specified in the mailbox and/or workflow and sent to the request. The response is stored to variables and/or a file.

HINT

For the REST mailbox block to work properly, it is necessary to create and properly configure the mailbox in the menu Settings | Program | Administration Panel | Settings | Documentation | Mailboxes in PANTHEON.

Double-clicking the REST mailbox block opens the REST mailbox window, which is divided into two parts for defining the required settings:

 

1. General

In this section, you need to define the general mailbox data to enable data exchange with the web service.

Mailbox

From the drop-down list, select the mailbox you want to use for data exchange with the web service (must have been created beforehand).

HINT

For more information on how to create a mailbox, see the chapter Setting up a REST mailbox in the user manual.

 

Operation

Identifier for retrieving data used in a workflow, such as method type, URL, etc.

Data

Displays any data from the selected mailbox, e.g. the path to use a variable from the mailbox and from the workflow.

Resource

Enter the URL link for the specific action.

Request timeout s

If needed, enter the request timeout in seconds.

2. Tabs

2.1 Body

Request content

Select the type of method (data format) that you want to send to the web service.

Response content

Select the type of method (data format) that you want to receive from the web service.

(Input field)

Enter the request parameters corresponding to the selected method (e.g. in the JSON format as shown in the image above).

2.2 Authentication

Auth type

From the drop-down list, select one of the available Auth types:

  • No Auth – No authentication.
  • API key – Authentication using API key. If selected, the following fields appear:
    • Key – Enter the API key obtained from the web service.
    • Value – Enter the value of the API key.
  • Basic Auth – Authentication using a username and password. If selected, the following fields appear:
    • User – Enter the username.
    • Password – Enter the password.
  • Bearer Token – Authentication using a security token. If selected, the following fields appear:
    • Token – Enter the security token.
  • Token – Authentication using an access token. If selected, the following fields appear:
    • Token – Enter the access token.

2.3. Custom headers

In the tab, you can customize the request header.

Key

Enter the name of the key.

Value

Enter the value of the key.

 

There are 3 buttons at the bottom of the window:

Reset

Returns all field values to default or empty.

OK

Saves information and closes the window.

Cancel

Closes window without saving.

 

 


 

Rate this topic
Was this topic usefull?
Comments
Comment will also bo visible in forum!