AR application configuration

The following steps demonstrate how to configure AR application variables in OIC, which affect the JSON payload that is returned in API calls to the endpoint.

Procedure

  1. From the Integrations page, click the hamburger menu associated with AR Application Configuration and click Edit. The AR Application Configuration page displays.
  2. Click on the Map to GetARConfigs node to expand the section with the buttons. Click the pencil icon to edit the payload and expand the nodes on the right side so that all variables are visible.
    Note that OIC has taken the JSON structure and converted it into a tree structure that can be navigated and edited. In the case of our demo, we are hard-configuring variables that will be returned when an API call is made for the data, as opposed to calling another service to get data or transforming values. You must edit at least the contactId field so that creating an SR in the AR experience will work properly. Edit the other fields based on the requirements of your demo.
  3. Click the contactId text to open the variable editor..
  4. Click the text area modal window and update the field with the proper contact value per your demo.
  5. Click the Close button and save if prompted to do so.
    Follow the same steps to configure the device ID of the IoT object.
  6. Once your changes are made, click the Validate button at the top of the page. If the structure is valid, you will see a success message.
  7. Click the Close button to return to the Integration page.
  8. Click the Close button at the top of the page and save if prompted to do so.