REST Get Status Code Response

hi there,

I am wondering how to get status response, like : 

 "StatusCode": 415

, etc.

thank you

Hi Pasar,

I don´t get exactly what you need here?  Did you consuming a rest and needs to get the erros code or are you trying to expose a rest and need to set the 415 response code?