CrmServiceClient.GetEntityDataBySearchParams CrmServiceClient.GetEntityDataBySearchParams CrmServiceClient.GetEntityDataBySearchParams Method

Definition

Overloads

GetEntityDataBySearchParams(String, Dictionary<String,String>, CrmServiceClient+LogicalSearchOperator, List<String>, Guid) GetEntityDataBySearchParams(String, Dictionary<String,String>, CrmServiceClient+LogicalSearchOperator, List<String>, Guid) GetEntityDataBySearchParams(String, Dictionary<String,String>, CrmServiceClient+LogicalSearchOperator, List<String>, Guid)

Gets a list of accounts based on the search parameters.

GetEntityDataBySearchParams(String, List<CrmServiceClient.CrmSearchFilter>, CrmServiceClient+LogicalSearchOperator, List<String>, Guid) GetEntityDataBySearchParams(String, List<CrmServiceClient.CrmSearchFilter>, CrmServiceClient+LogicalSearchOperator, List<String>, Guid) GetEntityDataBySearchParams(String, List<CrmServiceClient.CrmSearchFilter>, CrmServiceClient+LogicalSearchOperator, List<String>, Guid)

Gets a list of accounts based on the search parameters.

GetEntityDataBySearchParams(String, List<CrmServiceClient.CrmSearchFilter>, CrmServiceClient+LogicalSearchOperator, List<String>, Dictionary<String,CrmServiceClient.LogicalSortOrder>, Int32, Int32, String, String, Boolean, Guid) GetEntityDataBySearchParams(String, List<CrmServiceClient.CrmSearchFilter>, CrmServiceClient+LogicalSearchOperator, List<String>, Dictionary<String,CrmServiceClient.LogicalSortOrder>, Int32, Int32, String, String, Boolean, Guid) GetEntityDataBySearchParams(String, List<CrmServiceClient.CrmSearchFilter>, CrmServiceClient+LogicalSearchOperator, List<String>, Dictionary<String,CrmServiceClient.LogicalSortOrder>, Int32, Int32, String, String, Boolean, Guid)

Searches for data from an entity based on the search parameters.

GetEntityDataBySearchParams(String, Dictionary<String,String>, CrmServiceClient+LogicalSearchOperator, List<String>, Guid) GetEntityDataBySearchParams(String, Dictionary<String,String>, CrmServiceClient+LogicalSearchOperator, List<String>, Guid) GetEntityDataBySearchParams(String, Dictionary<String,String>, CrmServiceClient+LogicalSearchOperator, List<String>, Guid)

Gets a list of accounts based on the search parameters.

public System.Collections.Generic.Dictionary<string,System.Collections.Generic.Dictionary<string,object>> GetEntityDataBySearchParams (string entityName, System.Collections.Generic.Dictionary<string,string> searchParameters, Microsoft.Xrm.Tooling.Connector.CrmServiceClient.LogicalSearchOperator searchOperator, System.Collections.Generic.List<string> fieldList, Guid batchId = null);
member this.GetEntityDataBySearchParams : string * System.Collections.Generic.Dictionary<string, string> * Microsoft.Xrm.Tooling.Connector.CrmServiceClient.LogicalSearchOperator * System.Collections.Generic.List<string> * Guid -> System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, obj>>
Public Function GetEntityDataBySearchParams (entityName As String, searchParameters As Dictionary(Of String, String), searchOperator As CrmServiceClient.LogicalSearchOperator, fieldList As List(Of String), Optional batchId As Guid = null) As Dictionary(Of String, Dictionary(Of String, Object))

Parameters

entityName
String String String

CRM Entity Type Name to search

searchParameters
Dictionary<String,String>

Array of Search Parameters

fieldList
List<String>

List of fields to retrieve, Null indicates all Fields

batchId
Guid Guid 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

List of matching Entity Types.

Remarks

GetEntityDataBySearchParams(String, List<CrmServiceClient.CrmSearchFilter>, CrmServiceClient+LogicalSearchOperator, List<String>, Guid) GetEntityDataBySearchParams(String, List<CrmServiceClient.CrmSearchFilter>, CrmServiceClient+LogicalSearchOperator, List<String>, Guid) GetEntityDataBySearchParams(String, List<CrmServiceClient.CrmSearchFilter>, CrmServiceClient+LogicalSearchOperator, List<String>, Guid)

Gets a list of accounts based on the search parameters.

public System.Collections.Generic.Dictionary<string,System.Collections.Generic.Dictionary<string,object>> GetEntityDataBySearchParams (string entityName, System.Collections.Generic.List<Microsoft.Xrm.Tooling.Connector.CrmServiceClient.CrmSearchFilter> searchParameters, Microsoft.Xrm.Tooling.Connector.CrmServiceClient.LogicalSearchOperator searchOperator, System.Collections.Generic.List<string> fieldList, Guid batchId = null);
member this.GetEntityDataBySearchParams : string * System.Collections.Generic.List<Microsoft.Xrm.Tooling.Connector.CrmServiceClient.CrmSearchFilter> * Microsoft.Xrm.Tooling.Connector.CrmServiceClient.LogicalSearchOperator * System.Collections.Generic.List<string> * Guid -> System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, obj>>
Public Function GetEntityDataBySearchParams (entityName As String, searchParameters As List(Of CrmServiceClient.CrmSearchFilter), searchOperator As CrmServiceClient.LogicalSearchOperator, fieldList As List(Of String), Optional batchId As Guid = null) As Dictionary(Of String, Dictionary(Of String, Object))

Parameters

entityName
String String String

CRM Entity Type Name to search

searchParameters
List<CrmServiceClient.CrmSearchFilter>

Array of Search Parameters

fieldList
List<String>

List of fields to retrieve, Null indicates all Fields

batchId
Guid Guid 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

List of matching Entity Types.

Remarks

GetEntityDataBySearchParams(String, List<CrmServiceClient.CrmSearchFilter>, CrmServiceClient+LogicalSearchOperator, List<String>, Dictionary<String,CrmServiceClient.LogicalSortOrder>, Int32, Int32, String, String, Boolean, Guid) GetEntityDataBySearchParams(String, List<CrmServiceClient.CrmSearchFilter>, CrmServiceClient+LogicalSearchOperator, List<String>, Dictionary<String,CrmServiceClient.LogicalSortOrder>, Int32, Int32, String, String, Boolean, Guid) GetEntityDataBySearchParams(String, List<CrmServiceClient.CrmSearchFilter>, CrmServiceClient+LogicalSearchOperator, List<String>, Dictionary<String,CrmServiceClient.LogicalSortOrder>, Int32, Int32, String, String, Boolean, Guid)

Searches for data from an entity based on the search parameters.

public System.Collections.Generic.Dictionary<string,System.Collections.Generic.Dictionary<string,object>> GetEntityDataBySearchParams (string entityName, System.Collections.Generic.List<Microsoft.Xrm.Tooling.Connector.CrmServiceClient.CrmSearchFilter> searchParameters, Microsoft.Xrm.Tooling.Connector.CrmServiceClient.LogicalSearchOperator searchOperator, System.Collections.Generic.List<string> fieldList, System.Collections.Generic.Dictionary<string,Microsoft.Xrm.Tooling.Connector.CrmServiceClient.LogicalSortOrder> sortParameters, int pageCount, int pageNumber, string pageCookie, out string outPageCookie, out bool isMoreRecords, Guid batchId = null);
member this.GetEntityDataBySearchParams : string * System.Collections.Generic.List<Microsoft.Xrm.Tooling.Connector.CrmServiceClient.CrmSearchFilter> * Microsoft.Xrm.Tooling.Connector.CrmServiceClient.LogicalSearchOperator * System.Collections.Generic.List<string> * System.Collections.Generic.Dictionary<string, Microsoft.Xrm.Tooling.Connector.CrmServiceClient.LogicalSortOrder> * int * int * string * string * bool * Guid -> System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, obj>>
Public Function GetEntityDataBySearchParams (entityName As String, searchParameters As List(Of CrmServiceClient.CrmSearchFilter), searchOperator As CrmServiceClient.LogicalSearchOperator, fieldList As List(Of String), sortParameters As Dictionary(Of String, CrmServiceClient.LogicalSortOrder), pageCount As Integer, pageNumber As Integer, pageCookie As String, ByRef outPageCookie As String, ByRef isMoreRecords As Boolean, Optional batchId As Guid = null) As Dictionary(Of String, Dictionary(Of String, Object))

Parameters

entityName
String String String

Name of the entity to search

searchParameters
List<CrmServiceClient.CrmSearchFilter>

Array of Search Parameters

fieldList
List<String>

List of fields to retrieve, Null indicates all Fields

sortParameters
Dictionary<String,CrmServiceClient.LogicalSortOrder>

Sort order

pageCount
Int32 Int32 Int32

Number records per Page

pageNumber
Int32 Int32 Int32

Current Page number

pageCookie
String String String

inbound place holder cookie

outPageCookie
String String String

outbound place holder cookie

isMoreRecords
Boolean Boolean Boolean

is there more records or not

batchId
Guid Guid 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

List of matching Entity Types.

Remarks

Applies to