Posting data to multiple tables with joins

From DreamFactory
Jump to: navigation, search
DreamFactoryTutorialsPosting data to multiple tables with joins
      1. Tutorial

POST records to multiple SQL tables related by foreign key. Try these examples in the 'API Docs' tab of the DreamFactory Admin Console or from the command line with cURL.

      1. API Endpoint
POST https://{url}/api/v2/{api_name}/_table/{table_name}
      1. API Docs Screenshot


      1. Example - Post multiple contact records
  • Table name: contact
  • Body parameter in API call:
"resource": [ { "first_name": "Alice", "last_name": "Jones" }, { "first_name": "Bob", "last_name": "Simpson" } ] }
  • Request URL: