Retrieving CDM Data for Joule

You can use the SAP Build Work Zone CDM Content API for Sourcing to get the data regarding access to deep links in Joule based on user role, in the CDM format.

Prerequisites

Context

You can use the GET /cdmForJoule endpoint to retrieve the data.

Procedure

To get the data in CDM format, use the GET /cdmForJoule endpoint as follows:
GET {{base_url}}/cdmForJoule

Where base_url is the desired runtime URL from the Environment Details table on the SAP Ariba Developer Portal discovery page for this API.

The endpoint returns the CDM data. The following code sample is a portion of the response that the API returns:

{
      "_version": "3.2.0",
      "identification": {
        "id": "Operational_Junior_Sourcing_Agent",
        "title": "Operational Junior Sourcing Agent",
        "entityType": "role"
      },
      "payload": {
        "apps": [
          {
            "id": "sap.ariba.sourcing.view.event"
          },
          {
            "id": "sap.ariba.sourcing.view.project"
          },
          {
            "id": "sap.ariba.sourcing.rfx.app"
          },
          {
            "id": "sap.ariba.sourcing.rfp.app"
          }
        ]
      }
    },
    {
      "_version": "3.2.0",
      "identification": {
        "id": "Category_Buyer",
        "title": "Category Buyer",
        "entityType": "role"
      },
      "payload": {
        "apps": [
          {
            "id": "sap.ariba.sourcing.dashboard"
          }
        ]
      }
    },

    {
      "_version": "3.2",
      "identification": {
        "id": "sap.ariba.sourcing.rfx.app",
        "title": "Sourcing view events",
        "entityType": "businessapp"
      },
      "payload": {
        "targetAppConfig": {
          "sap.app": {
            "crossNavigation": {
              "inbounds": {
                "sap.ariba.sourcing.rfx.app.display.inbound": {
                  "semanticObject": "SourcingEvents",
                  "action": "display",
                  "signature": {
                    "parameters": {
                      "eventId": {
                        "required": true
                      }
                    },
                    "additionalParameters": "ignored"
                  }
                }
              }
            }
          },
          "sap.integrations": [
            {
              "navMode": "explace",
              "urlTemplateId": "sap.ariba.deeplink.urltemplate.querystyle",
              "urlTemplateParams": {
                "path": "/Sourcing/Main/ad/viewEventPage/ariba.sourcing.rfxui.ASPViewEventDirectAction"
              }
            }
          ]
        }
      }
    }