Querying for a single record by ID
From DreamFactory
- Tutorial
Query a SQL or NoSQL database for a single record by ID. Try these examples in the 'API Docs' tab of the DreamFactory Admin Console or from the command line with cURL.
- API Endpoint
GET https://your-url/api/v2/your-api-name/_table/{table_name}/id
- API Docs Screenshot
- Example - Fetch contact record with ID 1
- Table name: contact
- IDs parameter in API call:
1
- Request URL:
https://your-url/api/v2/db/_table/contact/1