Skip to Content
avatar image
Former Member

SAP HANA Metadata REST API Request parameters.

Hi,

I found some code in SAP HANA Metadata REST API Request parameters.

HANA Experts, can you please explain this code.Which code it is?

var strPayloadFromJava ="{\"isSynonymSearch\":false,\"isCaseInsensitiveSearch\":false,\"metadata\":[{\"name\":\"P_USERS_\",\"context\":[{\"schema\":\"SYS\",\"mode\":[{\"main\":\"RT\"},{\"main\":\"DT\"}],\"type\":[{\"main\":\"TABLE\"},{\"main\":\"VIEW\"},{\"main\":\"PROCEDURE\"}]}]}]}";;
var strSapBackPack = strPayloadFromJava;
var request =new $.net.http.Request($.net.http.GET,"/sap/hana/xs/dt/base/metadata/validation_result");
request.headers.set('SapBackPack', strSapBackPack);
request.headers.set('Service-Name', strHeaderServiceName);
var response = client.request(request, destination).getResponse();

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers