on 02-27-2021 2:54 PM
Hi All,
I am able to capture user response by using #INTERVAL Gold Entity, and stored into memory.
But when i am trying to post the data from CAI to gateway using POST call getting an below error. Please help to fix the issueerror-log.png.
issue resolved after using the formatDate like {{formatDate memory.period.begin "YYYY-MM-DDTHH:MM:SS" "-00:00"}}.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel,
Thanks for your quick response.
I have tried different formatDate handlebars like {{formatDate memory.period.begin "YYYY-MM-DDTHH:mm:ss" "-02:00"}} to pass the payload data but no luck.
Actually we are using standard OData API service to post the data.
is there any other way to fix this issue.
Thanksℜgards:
Rajesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please see this post about data types in the back end: https://answers.sap.com/questions/11331676/date-parsing-in-gateway-odata-post.html
Also, if you need, use the formatDate handlebars helper function to send the date in a different format. You may want to try without the offset -- I see in the ES5 service the dates are Edm.DateTime and returned in OData without the offset. At least worth a test.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.