Esempio n. 1
0
 /// <summary>
 /// To get role of the Organization based on role Id.
 /// </summary>
 /// <returns>APIResponse class instance.</returns>
 /// <param name="roleId">Id (Long) of the Organization role.</param>
 public APIResponse GetRole(long roleId)
 {
     return(OrganizationAPIHandler.GetInstance().GetRole(roleId));
 }
Esempio n. 2
0
 /// <summary>
 /// To get user of the Organization based on used Id.
 /// </summary>
 /// <returns>APIResponse class instance.</returns>
 /// <param name="userId">Id (Long) of the Organization user.</param>
 public APIResponse GetUser(long userId)
 {
     return(OrganizationAPIHandler.GetInstance().GetUser(userId));
 }
Esempio n. 3
0
 /// <summary>
 /// To get all roles of the Organization.
 /// </summary>
 /// <returns>BulkAPIResponse&lt;ZCRMRole&gt; class instance.</returns>
 public BulkAPIResponse <ZCRMRole> GetAllRoles()
 {
     return(OrganizationAPIHandler.GetInstance().GetAllRoles());
 }
Esempio n. 4
0
 /// <summary>
 /// To get current user of the Organization.
 /// </summary>
 /// <returns>APIResponse class instance.</returns>
 public APIResponse GetCurrentUser()
 {
     return(OrganizationAPIHandler.GetInstance().GetCurrentUser());
 }
Esempio n. 5
0
 /// <summary>
 /// To get all active confirmed admins of the Organization based on page and perPage.
 /// </summary>
 /// <returns>BulkAPIResponse&lt;ZCRMUser&gt; class instance.</returns>
 /// <param name="page">Starting page index (Integer)</param>
 /// <param name="perPage">Number of records per page (Integer)</param>
 public BulkAPIResponse <ZCRMUser> GetAllActiveConfirmedAdmins(int page, int perPage)
 {
     return(OrganizationAPIHandler.GetInstance().GetAllActiveConfirmedAdmins(page, perPage));
 }
Esempio n. 6
0
 /// <summary>
 /// To get all in active users of the Organization based on page and perPage.
 /// </summary>
 /// <returns>BulkAPIResponse&lt;ZCRMUser&gt; class instance.</returns>
 /// <param name="page">Starting page index (Integer)</param>
 /// <param name="perPage">Number of records per page (Integer)</param>
 public BulkAPIResponse <ZCRMUser> GetAllInActiveUsers(int page, int perPage)
 {
     return(OrganizationAPIHandler.GetInstance().GetAllDeactivatedUsers(page, perPage));
 }
Esempio n. 7
0
 /// <summary>
 /// To get all user of the Organization based on modifiedSince(Header), page and perPage.
 /// </summary>
 /// <returns>BulkAPIResponse&l;ZCRMUser&gt; class instance.</returns>
 /// <param name="modifiedSince">DateTime(ISO8601 format) to display users which are modified after the given input datetime (String)</param>
 /// <param name="page">Starting page index (Integer)</param>
 /// <param name="perPage">Number of records per page (Integer)</param>
 public BulkAPIResponse <ZCRMUser> GetAllUsers(string modifiedSince, int page, int perPage)
 {
     return(OrganizationAPIHandler.GetInstance().GetAllUsers(modifiedSince, page, perPage));
 }
Esempio n. 8
0
 /// <summary>
 /// To get ZohoCRM Organization Details.
 /// </summary>
 /// <returns>APIResponse class instance.</returns>
 public APIResponse GetOrganizationDetails()
 {
     return(OrganizationAPIHandler.GetInstance().GetOrganizationDetails());
 }