Skip to Content
0
Sep 14, 2018 at 05:35 AM

POST some vlaues to external REST API from SAP HANA 2.0 SPS03 (XSA/WebIDE)

78 Views Last edit Sep 03, 2019 at 02:48 PM 2 rev

Hello Experts.

Thank you for your time in reading my issues.

Requirement:- POST some vlaues (insert) to external REST API from SAP HANA 2.0 SPS03 (reading data from HANA from XSA/WebIDE)

I have to pass some values to an External REST API from HANA (may be by using XSA or any stored procedures), could you let me know how can i achieve this.

Following is the example illustrates from a POSTMAN currently this is how we are passing values manually for testing purpose, and would like elaborate and make user any of HANA feature available to pass similar values.

Basic Auth:

User - UserNAme

Password - Password

JSON body:

{ "command": "Import",

"calenarSeq": "223453533535349",

"stagesfsfeSeq": "3543546234464358697",

"tracesdfsrwerLevel": "stasdftus",

"usesdfsfrId": "Adminsdistrsdfator",

"runsfsfsMsdfsode": "fsall",

"batchsdfsName": "BsdOne1",

"modfsfdule": "TransasdfctionalData",

"stagsdfeTdfables": ["TransacsdftionAndCredit"],

"runSsdfstats": "false"

}

Regards

Kishore