Querying records with an ID list

From DreamFactory
Jump to: navigation, search
DreamFactoryTutorialsQuerying records with an ID list
Line 5: Line 5:
### API Endpoint
### API Endpoint
<pre>GET https://your-url/api/v2/your-api-name/_table/{table_name}?ids=your-id-list</pre>
<pre>GET https://{your-url}/api/v2/{your-api-name}/_table/{table_name}?ids={your-id-list}</pre>
### API Docs Screenshot
### API Docs Screenshot

Revision as of 22:40, 21 September 2015

      1. Tutorial

Query a SQL or NoSQL database with an ID list. Try these examples in the 'API Docs' tab of the DreamFactory Admin Console or from the command line with cURL.

      1. API Endpoint
GET https://{your-url}/api/v2/{your-api-name}/_table/{table_name}?ids={your-id-list}
      1. API Docs Screenshot


      1. Example - Fetch contact records with IDs of 1, 2, and 3
  • Table name: contact
  • IDs parameter in API call:
    1, 2, 3
  • Request URL: