on 07-13-2017 12:09 PM
Hi,
I want to set an error HTTP status code (e.g. 400) for some requests contained in a $batch changeset.
The problem I have now is that throwing a /iwbep/cx_mgw_busi_exception in CHANGESET_PROCESS (if I use defer_mode) as well as in PATCH_ENTITY or UPDATE_ENTITY (if I use NON defer_mode) will lead to execution abortion and a response which contains only one changeset response. Namely the one where I've raised the error one and omitting the response for all previous and successful executed requests.
How am I able to set a custom HTTP status code for each $batch changeset request's response?
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.