Description: REST API acts as a communication link between two platforms, enabling interaction through methods like GET (retrieve), POST (create), PUT (update), and DELETE (remove)
Path: (Rest API can be executed using Model and Workflow)
PWR Apps platform > Login > Business Node > Layout > Open a layout
...
> Workflow > Rest API Action
PWR Apps platform > Login > Business Node > Layout > Open a layout > Model
Rest API Using Model
Prerequisite:
Create a connection provider and establish a connection. Refer
Create a Model
Type: API
Connection: Select the connect of which you want to fetch records of
Label: Auto populates same as connection name
Name: Auto populates same as connection name
Execute on load: If the check is check then the records should be fetch on loading of the component
Rest API Using Workflow
Config:
Source API Type: Rest API action can be executed by two methods Model and Request.
Model: It displayed the list of model created on layout designer in model node
Request: Request needs to configure in workflow to execute Rest API Action
Authentication Type
Public
Session
User Token
Connection > Connection
Request
Method
URL
Record Count
Body (Schema Designer Table) > Generate Schema Button > Create New Fields
Query Params
Header
Response
Record Count
Status Code
Body (Schema Designer Table) > Generate Schema Button > Create New Fields
Action Details
Label: Label of workflow action
Name:
Is Async
Description
...