In this article, we will learn how to get metadata using Zoho CRM in ASP.NET MVC Web application.
Let’s begin
Please read this article first of all here.
Open the HomeController.cs file and add the below code in it.
module API name =leads, accounts, solutions, products, vendors, pricebooks, quotes, salesorders, purchaseorders, invoices, custom, contacts, deals, campaigns, tasks, cases, events, calls, and notes
public void GetMetaDataForModule() { ZCRMRestClient restClient = ZCRMRestClient.GetInstance(); APIResponse response = restClient.GetModule("Leads"); //module api name ZCRMModule module = (ZCRMModule)response.Data; }
public void GetMataDataForFieds() { ZohoOAuthClient client = ZohoOAuthClient.GetInstance(); ZCRMModule module = ZCRMModule.GetInstance("Leads"); BulkAPIResponse<ZCRMField> response = module.GetAllFields(); List<ZCRMField> records = response.BulkData; }
public void GetMetaDataForLayouts() { ZCRMModule module = ZCRMModule.GetInstance("Leads"); BulkAPIResponse<ZCRMLayout> response = module.GetAllLayouts(); List<ZCRMLayout> layouts = response.BulkData; }
if you have any questions or issues about this article, please let me know and more details here.
In this article, we have to show Create and Used PIPE in angular
In this article, we have to show Create and Used PIPE in angular
In this article, we have to show Create and Used PIPE in angular
View Comments
Is it necessary to use SDK??