I followed https://openexchange.intersystems.com/package/iris-rest-api-template to construct some API and the GetAll used JSONExport, but when you work with JavaScript projections to the objects is nice convert the JSON to object. With no ID return you need write an additional instruction to set the ID. After the insert operation, in the master detail forms, get the ID after persist the master, help us to build conditional detail forms.