QueryExtensions.GetEntityDataById Method

Definition

Gets a List of variables from the account based on the list of field specified in the Fields List

public static System.Collections.Generic.Dictionary<string,object> GetEntityDataById (this Microsoft.PowerPlatform.Dataverse.Client.ServiceClient serviceClient, string searchEntity, Guid entityId, System.Collections.Generic.List<string> fieldList, Guid batchId = default, bool bypassPluginExecution = false);
static member GetEntityDataById : Microsoft.PowerPlatform.Dataverse.Client.ServiceClient * string * Guid * System.Collections.Generic.List<string> * Guid * bool -> System.Collections.Generic.Dictionary<string, obj>
<Extension()>
Public Function GetEntityDataById (serviceClient As ServiceClient, searchEntity As String, entityId As Guid, fieldList As List(Of String), Optional batchId As Guid = Nothing, Optional bypassPluginExecution As Boolean = false) As Dictionary(Of String, Object)

Parameters

serviceClient
ServiceClient

ServiceClient

searchEntity
String

The entity to be searched.

entityId
Guid

ID of Entity to query

fieldList
List<String>

Populated Array of Key value pairs with the Results of the Search

batchId
Guid

Optional: if set to a valid GUID, generated by the Create Batch Request Method, will assigned the request to the batch for later execution, on fail, runs the request immediately

bypassPluginExecution
Boolean

Adds the bypass plugin behavior to this request. Note: this will only apply if the caller has the prvBypassPlugins permission to bypass plugins. If its attempted without the permission the request will fault.

Returns

Applies to