Skip to Content

XSJS Batch Response

Sep 04, 2017 at 12:32 PM


avatar image
Former Member

Dear All,

I have been struggling in order to parse the response from XSJS for ODATA Batch Services..I am able to trigger and send request to backend but the response parsing is somewhat strange.

I am trying to do this and able to see there is some data beneath response.entities but not able to view it.

$.response.setBody(response.status + " \n-\n " + JSON.stringify(response.headers)

+ "\n-\n" + JSON.stringify(response.entities) + "\n-\n" + response.contentType

+ "\n-\n" + JSON.stringify(response.body));

Can anyone suggest.

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

0 Answers