{"ref":"content:sap-cap-consume-sap-api-hub-sandbox-data-as-an-external-service-part-1","page":"/content/sap-cap-consume-sap-api-hub-sandbox-data-as-an-external-service-part-1","json":"/content/sap-cap-consume-sap-api-hub-sandbox-data-as-an-external-service-part-1.json","generated":"2026-11-15","drafted_with_ai":true,"entity":{"id":"sap-cap-consume-sap-api-hub-sandbox-data-as-an-external-service-part-1","title":"SAP CAP: Consume SAP API Hub Sandbox Data as an external service Part- 1","url":"https://community.sap.com/t5/technology-blog-posts-by-members/sap-cap-consume-sap-api-hub-sandbox-data-as-an-external-service-part-1/ba-p/13527861","content_type":"blog","published_on":"source:sap-community","explains":["capability:service-integration"],"summary":"Walks through consuming SAP API Business Hub's Business Partner sandbox API from a CAP Node.js project: [@sap/cds-dk](artifact:sap-cds-dk)'s `cds import` turns the downloaded EDMX into a CSN model and a `cds.requires` entry, a projection service exposes it, and a custom handler forwards reads to the proxy through [@sap/cds](artifact:sap-cds)'s `cds.connect.to` and `bp.run(req.query)`. Reaching the sandbox needs the API key added as a header on that same `credentials` block, since the destination service that would carry it is left for a promised part two.","short":"Consuming the API Hub Business Partner sandbox from CAP Node.js","author":"DebashishDas","published":"2022-03-17","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"cap-tag"}],"first_seen":"2026-09-28"},"drafted_with_ai":true},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"poor","evidence":"published 56 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2022-03-17"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":7629,"unit":"views"},{"value":0,"unit":"comments"},{"value":8,"unit":"likes"}]},"signals":{"views":7629,"likes":8,"comments":0,"metrics_at":"2026-11-01"},"series":null,"edges":{"authors":[]}}