CM9 REST alls - Create / Remove record "Related Records"
Our project is integrating with another system that needs to create/remove record relationships and I'm struggling with the REST calls to query/remove them.
From what I can see, querying the URIs of the records is possible using:
This gives me an array of "RecordRelationship" records which I can view, but how do I add them and then remove them via REST, as I can't seem to find anything in the swagger-ui or the API help docs that hints at how to do that.
So, I've found a blog that tells me how to create them, but I've not managed to figure out how to remove the relationships. In looking through the swagger-ui, it looks like "ChildRelationships" has two properties - "Delete" (true/false) and DeleteMainObject (Id, TrimType), but no matter what combination I do with those, I can't get it to delete the relationships between the records.