Documentation

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
visionx:rest_services [2022/03/31 09:26]
robot
visionx:rest_services [2022/03/31 09:38] (current)
robot
Line 140: Line 140:
  
   * **Config Parameters:​** these are parameters that are defined when the REST service is added to the application. They do not change when the application is running.\\   * **Config Parameters:​** these are parameters that are defined when the REST service is added to the application. They do not change when the application is running.\\
-Examples of common config parameters are usernames, passwords, and URLs. See also [[#using_data_in_a_visionx_application|Using Data in a VisionX ​Application]]+Examples of common config parameters are usernames, passwords, and URLs. See also [[#using_data_in_an_application|Using Data in an Application]]
   * **Runtime Parameters:​** these are parameters that are used to retrieve values when the application is running. When can use them to modify REST calls based on values in the application data.   * **Runtime Parameters:​** these are parameters that are used to retrieve values when the application is running. When can use them to modify REST calls based on values in the application data.
  
Line 286: Line 286:
   * **Bearer Token**<​html><​br></​html>​ Bearer Token is a very common method. There are different interpretations for each vendor to create the initial Bearer Token. We support - **Google, Microsoft, Dropbox, Salesforce und Adobe Sign**.<​html><​br></​html>​ <​html><​br></​html>​If you check "​Generate",​ then you can choose the vendor. Then fill in the client ID of the registered app, the redirect URL, e.g.: the url of your installed app or localhost, and the scope, i.e. which functions you want to call. After that click on "Get authorization code" to generate the authorization code. This will be automatically filled in the "​Authorization code" field. Please enter the Client Secret and click on "​Generate Token" to generate the Bearer Token. <​html><​br></​html><​html><​br></​html>​**//​Note - If you use another vendor, you have to create the Bearer Token via the vendor interfaces and enter it here as Bearer Token.//**   * **Bearer Token**<​html><​br></​html>​ Bearer Token is a very common method. There are different interpretations for each vendor to create the initial Bearer Token. We support - **Google, Microsoft, Dropbox, Salesforce und Adobe Sign**.<​html><​br></​html>​ <​html><​br></​html>​If you check "​Generate",​ then you can choose the vendor. Then fill in the client ID of the registered app, the redirect URL, e.g.: the url of your installed app or localhost, and the scope, i.e. which functions you want to call. After that click on "Get authorization code" to generate the authorization code. This will be automatically filled in the "​Authorization code" field. Please enter the Client Secret and click on "​Generate Token" to generate the Bearer Token. <​html><​br></​html><​html><​br></​html>​**//​Note - If you use another vendor, you have to create the Bearer Token via the vendor interfaces and enter it here as Bearer Token.//**
  
-====== Using Data in a VisionX ​Application ======+====== Using Data in an Application ======
  
 Once the connection has been configured, you can use the data in VisionX just like a database table. Let’s take a look at how that is done. Once the connection has been configured, you can use the data in VisionX just like a database table. Let’s take a look at how that is done.
Line 396: Line 396:
 Then click Finsh and test the app. A new record with the "​NAME"​ "​Hello"​ will be created on button click. To see the new record in the table click on Reload in the application. Then click Finsh and test the app. A new record with the "​NAME"​ "​Hello"​ will be created on button click. To see the new record in the table click on Reload in the application.
  
-===== REST Connection in the Application =====+===== Connection in the Application =====
  
 The REST connection can be configured in the application by opening the "​REST"​ item on the "​Settings"​ menu. The REST connection can be configured in the application by opening the "​REST"​ item on the "​Settings"​ menu.
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information