Is it possible to post an object graph more than one level deep natively using the API?
For example, in my application there are Qualifications which comprise Pathways which are themselves a collection of Units:
Qualification --(1:many)–> Pathway --(many:many)–> Unit
The relationship between Pathway and Unit is represented by a many:many table (Pathway Unit) which is just two ID columns.
I can POST a new Qualification and simultaneously create a new Pathway using the tutorial instructions, however if I also try and create the Pathway Unit record at this time nothing seems to happen. The Unit record I’m trying to link to already exists.
I don’t get an error from the API, the call succeeds but only seems to create the structure one level deep. I’m guessing that the API simply doesn’t support this use-case and I need to use a stored procedure, but I wanted to ask first to make sure I’m not simply missing something.