Real-Time Data Patterns with FileMaker OData
BeginnerOData is request-response only -- understand how to build near-real-time data feeds using polling and webhooks alongside OData.
What you'll learn
- The limitations of OData for real-time data
- Polling strategies with OData $filter on timestamps
- FileMaker script-based webhooks for push notifications
- When polling vs. webhooks is the right choice
OData is a stateless request-response protocol -- it has no push notifications or real-time streaming. If your integration needs to react to data changes in near-real time, you need to combine OData polling with FileMaker-side change detection, or use FileMaker scripts that push notifications to an external webhook when records change.
1/4
1
Polling with ModifiedAt timestamps
Poll only changed records by filtering on a ModifiedAt timestamp field. Store the last successful poll timestamp and use it in the next request:
HTTP
// First poll: get all records GET /fmi/odata/v4/DB/Contacts // Subsequent polls: only records modified since last poll GET /fmi/odata/v4/DB/Contacts ?$filter=ModifiedAt gt 2024-06-15T10:00:00Z &$orderby=ModifiedAt asc
Sign in to track your progress and pick up where you left off.
Sign in to FM Dojo