LMDB Public REST API
Public API to read LMDB landscape and content repository data of systems, hosts, installed software components, and installed products in LMDB.
Public API to read LMDB landscape and content repository data of systems, hosts, installed software components, and installed products in LMDB.
Within SAP Focused Run 4.0 FP02 we now provide a public API to read LMDB landscape and content repository data of systems, hosts, installed software components, and installed products in LMDB. The API is designed as a REST API.
Please note: This release is a beta version which could be slightly changed within the next feature pack.
You activate the REST ICF service as follows:
The general authorization concept applies also to the technical user (e.g. Communications Data) that will be used to access the ICF service "landscape_api".
The user accessing the landscape_api service needs one of the following roles:
Assign roles according to the least privilege principle, that is, define and assign only those roles that are explicitly needed, and nothing else.
While basic authentication is a possible option, it is recommended to use Client Certificate-based authentication to consume the /sap/frun/landscape/landscape_api REST service.
Refer to this page for additional details: Using X.509 Client Certificates on the AS ABAP
You can call the landscape_api REST service using the URL:
http(s)://<frun-host>:<frun-port>/sap/frun/landscape/landscape_api/<landscape_api_category>?sap_client=<client number>&$filter= <filter_expression>
You can use one of the following values as <landscape_api_category>:
Different filters are available for the different categories. The filter expression may include combinations of expressions with query options divided by “and” and “or”.
The following table contains the available filter options by category.
Category | Filter Options |
---|---|
landscape_api_hosts |
|
landscape_api_systems |
|
landscape_api_installed_software_components |
|
landscape_api_installed_product_versions |
|
landscape_api_technical_instances |
|
landscape_api_abap_clients |
|
For the filter SYSTEM_TYPE you can use the following values:
System Type | Description |
---|---|
ABAP | Application Server ABAP |
ATC | Apache Tomcat Server |
BOBJ | SAP BusinessObjects Cluster |
CLOUD_CONN | SAP Cloud Platform Cloud Connector |
DBSYSTEM | Database System |
DIAGNAGENT | Diagnostics Agent |
EXT_SRV | External Service |
HANADB | SAP HANA Database |
IS_EM | Introscope Enterprise Manager (Standalone) |
IS_MOM | Introscope Enterprise Manager (Cluster) |
JAVA | Application Server Java |
LIVE_CACHE | SAP liveCache |
MDM | SAP NetWeaver Master Data Management Server |
MSIISINST | Microsoft Internet Information Services |
MS_.NET | .NET System |
SUP | SAP Mobile Platform |
TREX | TREX System |
UNSP3TIER | Unspecific 3-Tier System |
UNSPAPP | Unspecific Standalone Application System |
UNSPECIFIC | Unspecific Cluster System |
WEBDISP | SAP Web Dispatcher |
WEBSPHERE | IBM WebSphere Application Server |
In this section you find some sample queries for the LMDB Public REST API: