Share via


CrmServiceClient.GetEntityDataById Method

Definition

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

public System.Collections.Generic.Dictionary<string,object> GetEntityDataById (string searchEntity, Guid entityId, System.Collections.Generic.List<string> fieldList, Guid batchId = default);
member this.GetEntityDataById : string * Guid * System.Collections.Generic.List<string> * Guid -> System.Collections.Generic.Dictionary<string, obj>
Public Function GetEntityDataById (searchEntity As String, entityId As Guid, fieldList As List(Of String), Optional batchId As Guid = Nothing) As Dictionary(Of String, Object)

Parameters

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

Returns

Applies to