Share via


BatchExtensions.RetrieveBatchResponse(ServiceClient, Guid) Method

Definition

Executes the batch command and then parses the retrieved items into a list. If there exists a exception then the LastException would be filled with the first item that has the exception.

public static System.Collections.Generic.List<System.Collections.Generic.Dictionary<string,System.Collections.Generic.Dictionary<string,object>>> RetrieveBatchResponse (this Microsoft.PowerPlatform.Dataverse.Client.ServiceClient serviceClient, Guid batchId);
static member RetrieveBatchResponse : Microsoft.PowerPlatform.Dataverse.Client.ServiceClient * Guid -> System.Collections.Generic.List<System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, obj>>>
<Extension()>
Public Function RetrieveBatchResponse (serviceClient As ServiceClient, batchId As Guid) As List(Of Dictionary(Of String, Dictionary(Of String, Object)))

Parameters

serviceClient
ServiceClient

ServiceClient

batchId
Guid

ID of the batch to run

Returns

results which is a list of responses(type List<Dictionary<string, Dictionary<string, object>>> ) in the order of each request or null or complete failure

Applies to