Monitoring Integration API Requests

Monitor your Integration API requests to view the request payloads, statuses, and any errors.

Use the Integration UI Tool perspective in Backoffice to monitor inbound and outbound requests, and to enable and disable monitoring. You can also monitor inbound and outbound requests through a GET request. For more information about getting monitoring data using the Integration API, see Integration API Request Monitoring.

Monitoring Requests

View the status, payload, and any errors you received for your inbound ExampleProduct request. If you have enabled the payload retention properties, you can download the payload in a text file or view its contents in a browser. See Configuring Payload Retention.

  1. In a web browser, navigate to https://localhost:9002/backoffice/ and log in.
  2. From the drop-down menu at the top, click Administration > Integration UI Tool.
  3. In the menu on the left, click Monitoring > Inbound. The middle pane of the screen shows inbound requests. You can see the ExampleProduct you previously created.
  4. Click the Staged|Default|camera-b52 entry in the listing to populate the Inbound Request Details for the item. See Integration API Request Monitoring for a description of each field.
  5. If payload retention is enabled, double-click the Request Payload field to view the payload of the ExampleProduct. See Configuring Payload Retention for more information.
  6. In the Edit item Payload window, you can view the payload in two ways:
    1. In the General section of the Edit item Payload window, click Download to save a payload file to your default download folder. For JSON, the file is named Payload_<UUID>.octet-stream. For XML, the file is Payload_<UUID>.xml. Open the file in a text editor to view the payload.

    2. In the Properties section, copy the text in the URL field. In a web browser, type http://localhost:9001 and append the copied URL. The resulting URL looks like http://localhost:9001/medias/Payload-52511970-c898-4d7f-bb0d-b450abce3d67?context=bWFzdGVyfHJvb3R8MjI2fHRleHQvcGxhaW58aDk1L2hhMy84Nzk2MjU3ODEyNTEwLnR4dHxmYWE5YTNkYzgyNWE4NWJmYjVjOTcxYjg5ZmM4NTY0Mjc0OTI1YzljNGI0NWVlNGIwMTA2MzQ2YTdiNjNlZWQy. Press Enter to view the item payload.

Enabling and Disabling Monitoring

By default, monitoring is enabled. Use the following instructions to disable and re-enable monitoring for inbound and outbound Integration API requests.

  1. In a web browser, navigate to the SAP Commerce Cloud Administration Console https://localhost:9002 and log in.
  2. Click Platform > Configuration.
  3. In the Search field, enter monitoring and locate the integrationservices.monitoring.enabled property.
  4. Change the value of inboundservices.monitoring.enabled and outboundservices.monitoring.enabled to false. Click the green checkmark to apply the change for each property.
  5. Enable monitoring again by changing the same values to true. Click the green checkmarks to apply the changes.