REST API and respecting Sugar data business rules

We have used a combination of Studio Required checkboxes, before_save logic hooks and dependency files (Required, SetOptions etc) to enforce some data business rules (including conditional logic) within Sugar instances.

I am not a developer, but have a question relating to integration via the Sugar API...

If data is presented to the API (for example to write data in), if that data does not meet the business rules around data within the Sugar instance, does the API call reject the data with appropriate error messages that can be interpreted ?

If not, does it simply let the data through or would you have to do additional programming around the API to maintain data integrity.

Thanks

Neil