Sync opportunity data from SQL Server via API
API toolDatabaseMarketing
What it does
When someone makes an API request, this automation queries the Test_RoofData table in SQL Server. The response includes all matching records so the caller gets the data in real time.
Who it's for
Data and analytics teams who need to access opportunity records from SQL Server through an API without direct database access.
Apps used
How teams use this
Expose roof data through an API
Build an API endpoint that queries the Test_RoofData table and returns results to any caller. The team can integrate this endpoint into other systems without exposing the database directly.
Let sales access opportunity records
Point the same API to a sales dashboard or CRM so the sales team can pull opportunity data on demand. The query and response stay the same, only the consumer changes.
Filter results by status or date
Add filter parameters to the API request so only rows where the status is open are returned. The caller can pass these filters as request parameters to narrow the results.
How it works
- Receive the API request. Someone calls the API endpoint with the defined request parameters. The automation listens for incoming requests in real time.
- Query the Test_RoofData table. SQL Server searches the uam.Test_RoofData table for rows that match the request parameters. All matching records are prepared for the response.
- Send the data back. Return the rows from SQL Server to the API caller so they receive the opportunity data in the response payload.