cURL
curl --request POST \ --url https://api.decodahealth.com/tenant/insert-many-to-many \ --header 'API-KEY: <api-key>' \ --header 'Content-Type: application/json' \ --header 'TENANT: <tenant>' \ --data ' { "tableName": "<string>", "records": [ {} ] } '
{ "message": "<string>", "tableName": "<string>", "insertedCount": 123 }
Insert records into an arbitrary many-to-many association table. Only inserts records that don’t already exist.
The tenant you are making this request on behalf of
Your api key
Insert records into a many-to-many association table.
Successful Response
Response for inserting into many-to-many table.