cancel
Showing results for 
Search instead for 
Did you mean: 

How to send json payload with Post Request in SAP conversational AI

1,161

Hi Experts ,

i am implementing a crud operation using conversational AI , i am successfully able to connect S/4 HANA to conversational AI through ODATA provisioning and able to read the data from ODATA service , Now my doubt is in creation/updation of record at S/4 HANA i want to send the Json payload from conversational AI along with my ODATA Service URL , but i am not getting any documents or blog how to do it .

View Entire Topic
0 Kudos

json-payload.pngHi Rajesh ,

OData service URL is only accepting post request , i am using standard API of sales order simulate where i am doing pricing simulation ,i am able to get the data but not able to Post .

One more issue i am getting data in XML Format in OData service as a response $format=json is not supported and Bot only understand the json format , from where i can change the data in Conversational AI from XML to json ? can we write script any where in BOT

i am passing below URI in Consume API in Actions of conversational AI and passing the json payload in Body

gattumahesh_at
Explorer
0 Kudos
where you able to post mutiple records in POST ?