Show TOC

 6.5.2 APIs to Export Detailed Information Locate this document in the navigation structure

 

The NWBC runtime exposes some of the API calls available on the interface IF_NWBC_RUNTIME also as HTTP REST based API calls. Each of the HTTP based API calls just wraps the internal ABAP API call. All calls have effectively the same URL format: ../nwbc/~api/method?parameters. The following methods are provided.

Web Service

Maps to

Description

.../nwbc/~api/GetSystemInfo

IF_NWBC_RUNTIME=>GET_CONFIGURATION and IF_NWBC_RUNTIME=>GET_USER_INFO

The call has no input parameters. It returns an XML response of the GET_CONFIGURATION and GET_USER_INFO calls together in one structure. The XML format follows the normal ABAP identify transformation.

.../nwbc/~api/GetNavigationTree

IF_NWBC_RUNTIME=>GET_NAVIGATION_TREE

The call has no input parameters. It returns an XML response of the GET_NAVIGATION_TREE call. The XML format follows the normal ABAP identify transformation.

.../nwbc/~api/ResolveNavigation

IF_NWBC_RUNTIME=> RESOLVE_NAVIGATION

The call returns an XML response of the RESOLVE_NAVIGATION call. The XML format follows the normal ABAP identify transformation.

This API call accepts a number of incoming parameters that are mapped onto the ABAP-internal API call. The HTTP exposed parameters are: SOURCE, SOURCE_ROLE, etc

For a quick test of the REST based APIs, call the URL .../nwbc/~api directly.