I have implemented custom service in D365fO returning response code 200 with body containing status 'failed' or 'succeeded'.
To avoid additional analysis of response's body I'd like to return error specific response code (not 200).
Is that possible to specify any different custom response code for custom service's response?