Skip to Content
0

SAP HANA Metadata REST API Request parameters.

May 29, 2017 at 05:36 PM

25

avatar image

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();

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers