Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 2.41 KB

forms user or role API.md

File metadata and controls

46 lines (36 loc) · 2.41 KB

Formsflow-forms user/role API

There are two ways in which you can access data from the formsflow-forms end points.

Using curl command

  • Download and install curl.

  • Step 1 Go to forms-flow-forms/script directory.

  • Step 2

    • For windows
      • Open command prompt and run resourceId_windows.bat {user email} {password} eg: resourceId_windows.bat [email protected] changeme
    • For Linux and Mac
      • Open command prompt and run ./resourceId_linux.sh {user email} {password} eg: ./resourceId_linux.sh [email protected] changeme
  • Step 3 Copy the ID corresponding to Role Name from Step 2 and paste it against the Environment Variable name from the below table.

Role Name Environment Variable Name
Administrator DESIGNER_ROLE_ID
Anonymous ANONYMOUS_ID
formsflow Client CLIENT_ROLE_ID
formsflow Reviewer REVIEWER_ROLE_ID
User USER_RESOURCE_ID

curl requests are successfully completed. You can skip the remaining sections in this page and continue with other installation steps.

Using POSTMAN API client

**Postman API calls are successfully completed