Fixed rest status codes
Converted api-fields to apiFields
API specification updates