Connect to Intelligent Track and Trace APIs Using Identity Propagation

This authentication method passes the logged in VBCS user credentials to Intelligent Track and Trace application and then enforce the appropriate access control while invoking Track and Trace REST APIs. For this type of authentication, the VBCS user must be a Track and Trace user.

To connect endpoint URLs by using Oracle Cloud Account or by using OAuth 2.0 User Assertion (Single Sign-On) authentication:
Create a Service Connection in VBCS
  1. Sign in to the Visual Builder Studio from the Oracle Cloud home page.
  2. From the Navigator bar, click Services ( ).
  3. In the Services pane, click () and then click Service Connection.
  4. Click Define by Endpoint as a service connection source.
  5. Enter the endpoint URL of the Intelligent Track and Trace API.
    To get response from the Trading Partners API, use the endpoint URL of your Intelligent Track and Trace instance URL. For example, https://<OITT-Instance>/bca/api/businessNetworks/v2/networks/local/tradingPartners

    If you know what type of action you want to perform, select it in the Action Hint drop-down list. For example, if you select a GET method, you can choose Get Many to retrieve multiple records.
  6. Click Next.
  7. In the Overview tab, provide the Service Name, Title, and Version. Optionally, enter a description.
  8. Click Service tab and provide the following Authentication details:
    1. From the Authentication drop-down, select Oracle Cloud Account or OAuth 2.0 User Assertion.
    2. Under Scope, enter the resource URL of the Intelligent Track and Trace API.
      For example, https://<OITT-Instance.oraclecloud.com>/bca/api

    3. From the Connection Type drop-down, select Dynamic , the service supports CORS.
      The Cross-Origin Resource Sharing (CORS) support allows VBCS users from the different identity domains to access the Intelligent Track and Trace REST services. This implements a Single Sign-On authentication instead of passing IDCS client IDs, client secrets, token URLs to authenticate VBCS users separately.
  9. In the Headers section, click Add Header and enter the Tanent ID name and its corresponding value.
  10. Under Test tab, click Send Request.
    The response from the Trading Partner API is successful.