How can I add records to a many-to-many relationshipclass in ArcGIS Server using the REST interface?
For a one-to-many relationship it's easy, as you can just grab the foreign key from the source table, and use that to insert (or update) records in the destination.
However, with many-to-many, we would need to add a record to the junction (or 'intermediate') table. I can't seem to find any information about this.
For the curious: When adding the (many to many) relationshipclass to the map, it will actually add the intermediate table. This can be published, so that one can manually add records to that table.