odata-client-php
odata-client-php copied to clipboard
$batch requests using post - Change set errors not parsed
trafficstars
When using post() to fire a $batch based request containing one or more change sets, the response is returned as a HTTP 200 status. However if one or more of the change sets have failed and have, for example, a 500 status with a JSON error returned, these messages are not parsed.
$test = $oDataClient->post('$batch', $body);
Is there a returnType to give to getResponseAsObject() to pull the change set responses into something to iterate over and check?
