CrmServiceClient.GetActivitiesBy CrmServiceClient.GetActivitiesBy CrmServiceClient.GetActivitiesBy Method

Definition

Overloads

GetActivitiesBy(String, Guid, List<String>, CrmServiceClient+LogicalSearchOperator, Dictionary<String,String>, Dictionary<String,CrmServiceClient>, Int32, Int32, String, String, Boolean, Guid) GetActivitiesBy(String, Guid, List<String>, CrmServiceClient+LogicalSearchOperator, Dictionary<String,String>, Dictionary<String,CrmServiceClient>, Int32, Int32, String, String, Boolean, Guid) GetActivitiesBy(String, Guid, List<String>, CrmServiceClient+LogicalSearchOperator, Dictionary<String,String>, Dictionary<String,CrmServiceClient>, Int32, Int32, String, String, Boolean, Guid)

Returns all Activities Related to a given Entity ID. Only Account, Contact and Opportunity entities are supported.

GetActivitiesBy(String, Guid, List<String>, CrmServiceClient+LogicalSearchOperator, List<CrmServiceClient>, Dictionary<String,CrmServiceClient>, Int32, Int32, String, String, Boolean, Guid) GetActivitiesBy(String, Guid, List<String>, CrmServiceClient+LogicalSearchOperator, List<CrmServiceClient>, Dictionary<String,CrmServiceClient>, Int32, Int32, String, String, Boolean, Guid) GetActivitiesBy(String, Guid, List<String>, CrmServiceClient+LogicalSearchOperator, List<CrmServiceClient>, Dictionary<String,CrmServiceClient>, Int32, Int32, String, String, Boolean, Guid)

Returns all Activities Related to a given Entity ID. Only Account, Contact and Opportunity entities are supported.

GetActivitiesBy(String, Guid, List<String>, CrmServiceClient+LogicalSearchOperator, Dictionary<String,String>, Dictionary<String,CrmServiceClient>, Int32, Int32, String, String, Boolean, Guid) GetActivitiesBy(String, Guid, List<String>, CrmServiceClient+LogicalSearchOperator, Dictionary<String,String>, Dictionary<String,CrmServiceClient>, Int32, Int32, String, String, Boolean, Guid) GetActivitiesBy(String, Guid, List<String>, CrmServiceClient+LogicalSearchOperator, Dictionary<String,String>, Dictionary<String,CrmServiceClient>, Int32, Int32, String, String, Boolean, Guid)

Returns all Activities Related to a given Entity ID. Only Account, Contact and Opportunity entities are supported.

public System.Collections.Generic.Dictionary<string,System.Collections.Generic.Dictionary<string,object>> GetActivitiesBy (string searchEntity, Guid entityId, System.Collections.Generic.List<string> fieldList, Microsoft.Xrm.Tooling.Connector.CrmServiceClient.LogicalSearchOperator searchOperator, System.Collections.Generic.Dictionary<string,string> searchParameters, 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.GetActivitiesBy : string * Guid * System.Collections.Generic.List<string> * Microsoft.Xrm.Tooling.Connector.CrmServiceClient.LogicalSearchOperator * System.Collections.Generic.Dictionary<string, 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 GetActivitiesBy (searchEntity As String, entityId As Guid, fieldList As List(Of String), searchOperator As CrmServiceClient.LogicalSearchOperator, searchParameters As Dictionary(Of String, 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

searchEntity
String String String

Type of Entity to search against

entityId
Guid Guid Guid

ID of the entity to search against.

fieldList
List<String>

List of Field to return for the entity , null indicates all fields.

searchParameters
Dictionary<String,String>

Filters responses based on search prams.

sortParameters
Dictionary<String,CrmServiceClient.LogicalSortOrder>

Sort order

pageCount
Int32 Int32 Int32

Number of Pages

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

Array of Activities

Remarks

GetActivitiesBy(String, Guid, List<String>, CrmServiceClient+LogicalSearchOperator, List<CrmServiceClient>, Dictionary<String,CrmServiceClient>, Int32, Int32, String, String, Boolean, Guid) GetActivitiesBy(String, Guid, List<String>, CrmServiceClient+LogicalSearchOperator, List<CrmServiceClient>, Dictionary<String,CrmServiceClient>, Int32, Int32, String, String, Boolean, Guid) GetActivitiesBy(String, Guid, List<String>, CrmServiceClient+LogicalSearchOperator, List<CrmServiceClient>, Dictionary<String,CrmServiceClient>, Int32, Int32, String, String, Boolean, Guid)

Returns all Activities Related to a given Entity ID. Only Account, Contact and Opportunity entities are supported.

public System.Collections.Generic.Dictionary<string,System.Collections.Generic.Dictionary<string,object>> GetActivitiesBy (string searchEntity, Guid entityId, System.Collections.Generic.List<string> fieldList, Microsoft.Xrm.Tooling.Connector.CrmServiceClient.LogicalSearchOperator searchOperator, System.Collections.Generic.List<Microsoft.Xrm.Tooling.Connector.CrmServiceClient.CrmSearchFilter> searchParameters, 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.GetActivitiesBy : string * Guid * System.Collections.Generic.List<string> * Microsoft.Xrm.Tooling.Connector.CrmServiceClient.LogicalSearchOperator * System.Collections.Generic.List<Microsoft.Xrm.Tooling.Connector.CrmServiceClient.CrmSearchFilter> * 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 GetActivitiesBy (searchEntity As String, entityId As Guid, fieldList As List(Of String), searchOperator As CrmServiceClient.LogicalSearchOperator, searchParameters As List(Of CrmServiceClient.CrmSearchFilter), 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

searchEntity
String String String

Type of Entity to search against

entityId
Guid Guid Guid

ID of the entity to search against.

fieldList
List<String>

List of Field to return for the entity , null indicates all fields.

searchParameters
List<CrmServiceClient.CrmSearchFilter>

Filters responses based on search prams.

sortParameters
Dictionary<String,CrmServiceClient.LogicalSortOrder>

Sort order

pageCount
Int32 Int32 Int32

Number of Pages

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

Array of Activities

Remarks

Applies to