I have a Create Related action for a collection in my Incident process that I'd like to call via the REST interface. I seem to missing something, because every time I try this in the browser, I get the window I would expect to see if I clicked on the action manually, and when I try it via cURL, I get the json definition of the incident. What I don't get is an error message.
Here's my url:
My _AutosysInterestedParty object has one mandatory field (_Title) and one optional field (_InterestedParty, which links to the User object). It also has an optional field to link back to the incident and some persistence fields for Create User and Update User.
I tried adding &_Incident.Guid=b80f236c-19a3-4353-be86-e6630cdf713c to the tail end but that didn't help.
I tried adding &class_name=IncidentManagement._AutosysInterestedParty after the function_name argument, but that gave me the following error:
Invalid class type: IncidentManagement.Incident,IncidentManagement._AutosysInterestedParty.
I also tried adding &child_class_name=IncidentManagement._AutosysInterestedParty after the function_name argument. It accepted the argument but ignored it, behaving the same way as excluding the argument altogether did. That said, when I mistyped the value as Incident._AutosysInterestedParty it generated an error about an invalid module Id, so I know it's paying attention; I just don't know what else I'm missing.