PANTHEON™ Help

 Toc
 Početna stranica
[Collapse]PANTHEON
 [Collapse]PANTHEON priručnici
  [Expand]Vodič kroz Datalab PANTHEON Farming
  [Expand]Vodič za mobilni POS
  [Expand]Vodič po DataLab PANTHEON™-u
  [Expand]Vodič po PANTHEON Vet
 [Collapse]PANTHEON korisnički priručnici
  [Expand]Korisnički priručnik za DataLab PANTHEON™
  [Expand]Korisnički priručnik za PANTHEON Vet
  [Expand]Korisnički priručnik za PANTHEON maloprodaju
[Collapse]PANTHEON Web
 [Collapse]Vodiči po PANTHEON Web
  [Expand]Vodič po PANTHEON Web Light-u
  [Expand]Vodič za PANTHEON Web Terminal
  [Expand]Arhiva starih proizvoda
  [Expand]Vodič po PANTHEON Web Legal
 [Collapse]Korisnički priručnici za PANTHEON Web
  [Expand]Početak rada s PANTHEON Web-om
  [Expand]Korisnički priručnik za PANTHEON Web Light
  [Expand]Korisnički priručnik za PANTHEON Web Terminal
  [Expand]Korisnički priručnik za PANTHEON Web Legal
  [Expand]Arhiva starih proizvoda
[Collapse]PANTHEON Granule
 [Collapse]Vodič po PANTHEON Granulama
  [Expand]Granule za Servis na terenu
  [Expand]Granula Kadrovi
  [Expand]Granula Putni nalozi
  [Expand]Granula Dokumenti i Zadaci
  [Expand]Granula Kontrolna tabla
  [Expand]Granula B2B narudžbe
  [Expand]Inventar Fiksne Imovine Granula
  [Expand]Inventar Skladišta Granula
 [Collapse]Korisnički priručnik za PANTHEON Granule
   Početak
   Korištenje PANTHEON Granula u imaginarnom poduzeću Tecta
  [Expand]PANTHEON Granule i aktivacija
  [Expand]Granula Kadrovi
  [Expand]Granula Putni nalozi
  [Expand]Granula Dokumenti i zadaci
  [Expand]Granula B2B narudžbe
  [Expand]Granula Nadzorna ploča
  [Expand]Granula Servis na terenu
   Česta pitanja i odgovori
  [Expand]Inventar dugotrajne imovine
  [Expand]Granula Inventura skladišta
   Arhiva

Load Time: 468,7313 ms
"
  6613 | 1 | |
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!