Data Cloud Diaries: Using Ingestion API for Airline Flight Data - Part 2, the C# Bridge Code
Updated 2026-11-14
What's changed since the video
Each change is dated and checked against Salesforce's own documentation.
- Sign in with the JWT bearer flow, not a password. The video gets its Salesforce token with a username and password. Salesforce's Ingestion API page now shows the JWT bearer flow for that first token, and its JDBC guide says "Username-Password Flow and Refresh Token Flow are not supported with ECAs" (external client apps, which replace new connected apps since February 21, 2026). The second step, exchanging that token for a Data 360 token, is the same as in the video. (Get Started with Ingestion API, Salesforce Developers and Set up and Configure JDBC, Data 360 Query Guide, checked 2026-11-14.)
- Build the key from the scheduled time. The video's key includes a time it chose. The course builds the flight event's key from the scheduled time, which doesn't move, so every update to a delayed flight lands on the same row (chapter 3, module 3). Not a platform change.
Still right
- Make sure the source API works first, in a tool like Postman, with a small sample.
- Read the source's JSON into classes, flatten it into the one object Data 360 expects, and build the schema file from that object.
- An AI assistant can draft the classes and the schema in seconds. It's not always right: check every line, because the schema defines a stream you'll live with.
- Wrap the records in a data envelope, `{ "data": [ ... ] }`, and send them to the connector's name and the object's name.
- Validate with the test path (`actions/test`) until the payload passes, then send it for real.
- Exchange the Salesforce token for a Data 360 token before you call the API.
- Streamed data shows up a few minutes later.
All videos in this series: Data 360
A video loads from YouTube only when you click it.