CrmServiceClient.GetEntityDataById Method (String, Guid, List<String>, Guid)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Gets a List of variables from the account based on the list of field specified in the Fields List
Namespace: Microsoft.Xrm.Tooling.Connector
Assembly: Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)
Syntax
public Dictionary<string, object> GetEntityDataById(
string searchEntity,
Guid entityId,
List<string> fieldList,
Guid batchId = null
)
Public Function GetEntityDataById (
searchEntity As String,
entityId As Guid,
fieldList As List(Of String),
batchId As Guid
) As Dictionary(Of String, Object)
Parameters
searchEntity
Type: System.StringThe entity to be searched.
entityId
Type: System.GuidID of Entity to query
batchId
Type: System.GuidOptional: 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
fieldList
Type: System.Collections.Generic.List<String>Populated Array of Key value pairs with the Results of the Search
Return Value
Type: System.Collections.Generic.Dictionary<String, Object>
See Also
CrmServiceClient Class
Microsoft.Xrm.Tooling.Connector Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright