Fix error messaging format in API response

Error messaging format has been changed to be identical with all endpoints.

Issue-ID: NONRTRIC-913
Signed-off-by: aravind.est <aravindhan.a@est.tech>
Change-Id: Iba0ef643af29bbde63873890d88dad925a53c194
3 files changed