ngocnicholas / airtable.net

Airtable .NET API Client
MIT License
138 stars 34 forks source link

Include CreatedRecords and UpdatedRecords when performing an upsert #79

Closed jomhyre closed 9 months ago

jomhyre commented 10 months ago

When doing an upsert (i.e.passing a performUpsert argument to UpdateMultipleRecords), the docs mention that the response will include two extra arrays, createdRecords and updatedRecords:

The API response for upsert requests will additionally include updatedRecords and createdRecords arrays, indicating which records in the records array already existed and were updated, or did not exist and were created, respectively.

It would be useful to be able to access these arrays using this library, however it seems like this isn't included in AirtableCreateUpdateReplaceMultipleRecordsResponse. Excuse me if I'm just missing something!

ngocnicholas commented 9 months ago

Fixed in 1.4.0