I cannot create an entity that relates to an existing one with NN constrains

Please can you provide an example of how to create an object using the REST API that relates to an already existing object. Every time I try, it either creates the related object too, or fails because it tries to create a related object but cannot because it has NotNull fields that I do not provide.
For example I have 2 tables one called Person and one called address. If you can have more than one person at the same address I would like to insert a new Person object that relates to the address that exists.

It’s ok… I got it now. The errors I was seeing were due to some post save business logic that was running.

Hi Ian,

I’m glad you figured it out. I assigned a ticket to a developer to get that info for you, but you beat us to it.

Regards,
Mark