Here's an example showing how to bundle multiple UpsertRequests into one ExecuteMultipleRequest:
requests can then be executed to return a list of responses, which can be iterated over. For each response in the iteration, we can determine if a fault occurred and if it did, add the error to a list of errors:
Notes:
- response.RequestIndex is used to aaccess the response's corresponding request by matching their indexes.
- responses.Responses contains a collection of ExecuteMultipleResponseItems.
No comments:
Post a Comment