JFSBulkOperations questions
![](http://jazz.net/_images/myphoto/c5632bfbf6b0b3557f5ab57efc0d8855.jpg)
At https://jazz.net/wiki/bin/view/Main/AppSdkConsumingStorage, in Batching Storage Service Requests, there is an example explaining how to do a POST in a batch request.
1) I am getting back the contents of what I posted. Is there an option to not get back the contents of what I posted in the response entity? It is taking a while to parse the content because of that. I am just interested in status (i.e. whether it succeeded or failed).
At https://jazz.net/wiki/bin/view/Main/JFSBulkOperations, "A batched request may succeed (200), even though individual parts did fail individually"
2) Is there an option to make the status of the main request report that an error occurred when one of the individual parts fails? This would also save a lot of time taken in the client for parsing.
Accepted answer
![](http://jazz.net/_images/myphoto/c5632bfbf6b0b3557f5ab57efc0d8855.jpg)
For the first question, please file an enhancement request, for the second question, let's first establish what the expected behavior would be. Also, if you have the enhancement for the first question, the second question would be less of a concern (and less ambiguous)
Comments
![](http://jazz.net/_images/myphoto/c5632bfbf6b0b3557f5ab57efc0d8855.jpg)
Thanks for your reply, Simon.
I have submitted https://jazz.net/jazz/web/projects/Jazz%20Foundation#action=com.ibm.team.workitem.viewWorkItem&id=217357
The reason for the two options is sometimes I am interested in the headers (1), and sometimes I am not (2). I assume that (2) would be faster than (1). As you point out, the option for (1) would make (2) less of a concern.