Integrate Oracle B2C Service with Oracle Service Monitoring for Connected Assets

You can integrate Oracle B2C Service with Oracle Service Monitoring for Connected Assets to directly manage your IoT connected assets from Oracle B2C Service. When an incident gets created for an IoT asset in Oracle Service Monitoring for Connected Assets, the incident rule automatically creates a corresponding incident in Oracle B2C Service.

To export incidents, Oracle Service Monitoring for Connected Assets connects to Oracle B2C Service through Oracle Integration Cloud (Oracle Integration Service).

Once you change the status of the incident in Oracle B2C Service, the incident status automatically gets updated in Oracle Service Monitoring for Connected Assets.

The following table maps the Oracle B2C Service entities with their corresponding IoT entries:
Oracle B2C Service IoT Map Definition
Sales Product Asset Type Sales product Id
Asset Asset Sales product Id + SKU (serial number)
Incident Incident Incident Id

Note:

This integration is available only for Oracle Service Monitoring for Connected Assets, it is not available in the standard version of Oracle IoT Asset Monitoring Cloud Service.

Add an Oracle B2C Service Integration

Use the Integrations page in your IoT application to add an integration for Oracle Fusion Cloud Maintenance.

To enable integration with Oracle B2C Service:
  1. In your IoT application, click Menu (Menu icon), and then click Settings.

    You can access Oracle Service Monitoring for Connected Assets at the following URL:

    https://hostname/smca

    Here, hostname is the host name of your Oracle Internet of Things Intelligent Applications Cloud instance.

    If you are in the Design Center, you need to click Previous (Previous icon) before you see the Settings option in the menu.
  2. Click Integrations.
  3. Click Add Add icon to add a new integration.
  4. In the Add Integration dialog, select Oracle B2C Service and click Add.
    Tip: You can also search for an integration name in the list.

    Add Integration Dialog (Described in Steps)

    Note:

    You cannot use Oracle B2C Service integration and Oracle B2B Service integration at the same time.
    Oracle B2C Service integration gets added to the Integrations page.
  5. On the Integrations page, under Oracle B2C Service, click Connect.
  6. Specify the Service URL for your Oracle Integration Cloud instance.
    To export incidents, Oracle Service Monitoring for Connected Assets connects to Oracle B2C Service through the Oracle Integration Service.
    The Service URL is the URL of your Oracle Integration Cloud host.
    For example: https://MyIntCloud.oraclecloud.com.
  7. Specify the User Name to connect to Oracle Integration Service.
  8. Specify the Password to connect to Oracle Integration Service.
  9. Click Save to save the connection settings.

Enable and Configure the Oracle B2C Service Integration

To start using Oracle B2C Service integration, enable and configure the integration for Oracle B2C Service on the Integrations page.

To export incidents, Oracle Service Monitoring for Connected Assets connects to Oracle B2C Service through the Oracle Integration Service.

To enable integration with Oracle B2C Service:

  1. In your IoT application, click Menu (Menu icon), and then click Settings.
  2. Click Integrations.
  3. Under Oracle B2C Service, click Edit Configuration.
  4. Toggle the Integration Status switch to ON.
    This enables your Oracle B2C Service integration.
  5. Under Primary Contact for Incidents, specify the email address of the primary contact for incidents.
    The email address typically belongs to the asset owner in Oracle B2C Service. This user can create incidents in Oracle B2C Service.
  6. Download the ICS par file (Iot_Svcs.par) to configure your Oracle Integration Cloud instance to connect to Oracle B2C Service.
  7. Click Save to save the configuration settings you specified in the Oracle B2C Service Configuration dialog.
  8. Log in to Oracle Integration Service:
    1. Open a web browser, enter the URL for yourOracle Integration Service instance in the address field, and then press Enter.
    2. Enter your user name and password and then click Sign In.
  9. Click Integrations.
  10. Click the Menu (Menu icon) icon next to Oracle Integration Cloud, click Designer, and then click Packages.
  11. Import the Iot_Svcs.par file:
    1. Click Import.
    2. Click Browse and browse to the location of the .par file you downloaded in step 6.
    3. Double-click the Iot_Svcs.par file.
    4. Click Import.
  12. Click the Menu (Menu icon) icon next to Oracle Integration Cloud, click Designer, and then click Connections.
  13. Set up the Iot-Svcs RightNow Connection:
    1. Select the Iot-Svcs RightNow Connection.
    2. Click the Menu (Menu icon) icon and then select Edit.
    3. Click Configure Connectivity.
    4. Complete the Connection URL field. Use this format: https://<ServiceInstanceHostName>/cgi-bin/<yourinterface>.cfg/services/soap?wsdl=typed.
    5. Click OK.
    6. Click Configure Security.
    7. Complete the Username, Password, and Confirm Password fields.
    8. Click Save.
  14. Set up the Iot-Svcs dev Connection:
    1. Select the Iot-Svcs dev Connection.
    2. Click the Menu (Menu icon) icon and then select Edit.
    3. Click Configure Connectivity.
    4. Select a connection type in the Connection Type list.
    5. Select a TLS version in the TLS Version list.
    6. Complete the Connection URL field. Use this format: https://<ServiceInstanceHostName>/services/rest/connect/v1.3.
    7. Click OK.
    8. Click Configure Security.
    9. Complete the Username, Password, and Confirm Password fields.
    10. Click OK.
    11. Click Save.
  15. Click the Menu (Menu icon) icon next to Oracle Integration Cloud, click Designer, and then click Integrations.
  16. Select IotSvcsIncidentGetInteg and then click the slider to activate the integration.
  17. Repeat the previous step for these integrations:
    • iotSvcsStatusTypeName
    • iotSvcsBulkIncidentQuery
    • Create SVCS INCIDENT
    • Sales-Product-To-AssetType-Integration
    • SearchContact
    • SvcS Asset Creation
    • SvcsRightNowInteg4Exp
    • UpdateIncident
  18. Log out of Oracle Integration Service.