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: 421.8672 ms
"
  1000000419 | 220260 | 360825 | Updated
Label

REST request

       

The REST request block allows you to send requests to REST web services.

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.

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

Contents 

  1. General
  2. Tabs

2.1 Body

2.2 Authentication

2.2 Custom headers

 

1. General

In this section, general information of the request are defined.

Method

Select the action method from the drop-down list of available methods:

  • GET – Get (retrieve) data.
  • PUT – Edit (update) data.
  • POST – Create new data.
  • DELETE – Delete data.
HINT

The standard HTTP methods listed above are used to access and modify resources.

Base URL

Enter the URL link of the web service.

WARNING

Base URL is a mandatory field.

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

In the tab, you need to specify the content of the request.

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

In the tab, select the type of authentication (access).

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.

 

HINT

For more information on how to use the REST request block, see the chapter REST request in the user manual.

 

 


 

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