Retrieving CDM Data for Joule
You can use the SAP Build Work Zone CDM Content API for Procurement to get the data regarding access to deep links in Joule based on user role, in the CDM format.
Prerequisites
-
To create an application and request access to use the SAP Ariba APIs relevant to this feature, you must have access to the SAP Ariba Developer Portal. For details refer to Steps to Start Using the SAP Ariba APIs in Help for the SAP Ariba Developer Portal.
-
All queries made to this API must be authenticated using OAuth authentication. For details refer to SAP Ariba Developer Portal Authentication in Help for the SAP Ariba Developer Portal.
Context
You can use the GET /cdmForJoule endpoint to retrieve the data.
Procedure
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": "Executive_Approver",
"title": "Executive Approver",
"entityType": "role"
},
"payload": {
"apps": [
{
"id": "sap.ariba.gb.req.view"
},
{
"id": "sap.ariba.gb.favorites"
},
{
"id": "sap.ariba.gb.myrequests"
},
{
"id": "sap.ariba.gb.myapprovals"
},
{
"id": "sap.ariba.gb.catalogsearch"
},
{
"id": "sap.ariba.gb.adhocCheckout"
},
{
"id": "sap.ariba.gb.checkoutPage"
}
]
}
},
{
"_version": "3.2",
"identification": {
"id": "sap.ariba.gb.req.view",
"title": "Requisition view event",
"entityType": "businessapp"
},
"payload": {
"targetAppConfig": {
"sap.app": {
"crossNavigation": {
"inbounds": {
"sap.ariba.gb.req.view.display.inbound": {
"semanticObject": "GBViewReq",
"action": "display",
"signature": {
"parameters": {
"DOCUMENTID": {
"required": true
}
},
"additionalParameters": "ignored"
}
}
}
}
},
"sap.integrations": [
{
"navMode": "inplace",
"urlTemplateId": "sap.ariba.deeplink.urltemplate.pathstyle",
"urlTemplateParams": {
"path": "/gb/viewRequisition"
}
}
]
}
}
}