Self Client, Zoho Projects, and User-level authentication
Hey everyone, I'm new to this style of development, and have some questions. I'm looking to develop a C# application that hooks into a company's Zoho Projects to read/write/do whatever. I have a Self Client setup, and the OAuth2 working just fine. What I'm looking to achieve is require the users of the application to authenticate or login using their Zoho account against the company's project permissions. I may be poorly wording it, so for example. - I launch the application, and generate the application's
Kaizen #49 - Share Records #API
Hello Everyone! Welcome back to another week of Kaizen! In this post, we will discuss Share Records via Zoho CRM API. Record-level sharing In Zoho CRM, users can share individual records from any module with other users in the organization. You can share records using share records API. Pre-requisite Users with the Administrator profile can always share records with other users in the organization. For users with other profiles, the sharing permission must be enabled. To enable share permission,
The New Error Codes in CRM API - RECORD_LOCKED and NOT_APPROVED
Hello everyone! As you all are aware, Zoho CRM offers an option to upload images for a record. When a user uploads images, Zia vision checks if the record meets any Zia vision configuration rules' criteria, and validates them. Click here to know more about Zia vision. As a part of our upcoming enhancement, we are going to support the image processing state for the records. We have added two new error codes related to the same in the Zoho CRM APIs. 1. RECORD_LOCKED Zia image processing state In our
Setting a custom lookup field with PHP SDK
I have a custom module "investments" that has a lookup field to the contacts module. If I get an instance of ZCRMRecord with the correct entity id etc can I just set this relationship using something like $contact value is returned from a call to searchRecordsByEmail $investment->setFieldValue("Investor", $contact); However this throws an invalid data error. Couldnt find any examples of the correct way to do this.
AttributeError: 'AttributeError' object has no attribute 'message'
Hello. I'm trying to read all records of any given module (In this case is 'Contacts'). I've successfully got token and authenticated. I've used the example i've found on documentation. Just ported to Python 3.x. My environment is Python 3.7.5 (also tried with 3.5.7), latest zcrm-python-sdk. Traceback (most recent call last): File "/home/thiras/.local/share/virtualenvs/wtcrm2zoho-KRDZy6H-/lib/python3.7/site-packages/zcrmsdk/Request.py", line 65, in get_bulk_api_response return BulkAPIResponse(response,response.status_code,self.url,self.request_api_key,self.request_method)
C# api - Products GetRecord loop Timeout?
Hi Guyz, I am trying to get products' details of a product list. I get the Deals list, then looping through the deals ang get deal related product record. But my loop freezes on 6th request and gives a Request Timeout Exception after awhile. But its weird It freezes on 6th request every time I tried. Below is my code; ZCRMModule moduleIns = ZCRMModule.GetInstance("Deals"); BulkAPIResponse<ZCRMRecord> response = moduleIns.GetRecords(CustomViewId) List<ZCRMRecord> DealRecords = response.BulkData;
API is not working
Hello, I'm working on a requirement to fetch data from Zoho and load into MySQL. Earlier the get_records() , get_instances() for individual modules were working but now it's giving me error as below, even though I refresh the token and reconnect. Please check on priority and assist me on the same : Traceback (most recent call last): File "C:\Users\Amitkumarsahu\AppData\Local\Programs\Python\Python37-32\lib\site-packages\zcrmsdk\OAuthClient.py", line 139, in get_access_token return oAuthTokens.get_access_token()
How to get User id from crm
How can i get the user id from zoho crm and assigned a task to user.
Connect to API without access token
Hi Dev, I want to insert lead data into my CRM. My app is simple when the user submits their data and then we just save data into leads in Zoho. Is there any ways to connect to Zoho without oauth2? maybe using secret_key or client_id only. Thanks
Kaizen #48 - Related Lists and Related Records #API
Hello everyone! Welcome back to another post in the Kaizen series. This week, we will discuss everything about Related lists and records. In this post, we will cover the following: What are related lists and related records in Zoho CRM? How to retrieve metadata of related lists? How to fetch the records of a related list? How to add/update records to a related list? How to delete a record from a related list? 1. What are related lists and related records in Zoho CRM? A record usually contains extra
LOGIN REST api for Zoho CRM
I'm developing a mobile app which is using Zoho CRM apis i.e fetching list of CRM users, records and insert record. Is there any Zoho CRM api for user login? I've generated access token from web portal able to get response of insert/get records apis. Before accessing all these records, to validate users credentials(email id and password), which api should be used? Note: I have checked generating access token api which inputs password which will be generated from web portal. Account password can't
Finding a Zoho CRM developer
Hi, Im a php developer. I know a little about Zoho CRM and the functionality within it. I have a client who wants a very basic CRM, however theres a custom form needed and I just cant figure out how to do it. Ive tried contact a few people on UpWork, but they come back with over-engineered expensive solutions with features that are just needed! They all want to build it outside of Zoho CRM! Is there a developer here who can interface with Zoho's API and want to discuss the project? As I say, its
Can access zoho data from moodle ?
Is it possible to access zoho crm's data from moodle? If yes then what API available for this?? And what steps do i need to take to access zoho user's data from moodle.
Workflow Trigger
If I mass update a date/time field in the CRM and trigger a workflow based on that time, will updaterecord() trigger further workflows if I pass "trigger"{["workflow]} in the options map? filename = "" + fname + " " + lname + ""; rez = zoho.workdrive.createFolder(filename,"dtosffcc9acdc23d644558d260cbe1a37aca5","attach_workdrive"); data = rez.get("data"); conWD = data.get("id"); attributes = data.get("attributes"); conWDurl = attributes.get("download_url"); update = Map(); update.put("zohoworkdriveforcrm__Workdrive_Folder_ID",conWD);
Update to Search Records for New Sign-ups from September 15, 2020
Hi everyone! This post is to inform all the developers who work with functions (DRE) of an update to Search Records. We all know the Search Records API filters records based on certain criteria and gives the response. You can make the search records request from one of the following places: Functions (DRE calls) API calls When you search for records through a function (with a single criterion), your criterion can contain one of the comparators such as not_equal, greater_equal, greater_than, less_equal,
I catch ZohoOAuthException
Hi! I have a problem with my code: require 'vendor/autoload.php'; ZCRMRestClient::initialize(); try { $oAuthClient = ZohoOAuth::getClientInstance(); $grantToken = '1000.297767e7a02214c5e4432dcc1906f615.c1198106e59644b6539e110f684f4a27'; $oAuthTokens = $oAuthClient->generateAccessToken($grantToken); } catch (ZohoOAuthException $e) { echo $e; } result: Notice: Undefined offset: 1 in D:\phpProjects\zoho_form\vendor\zohocrm\php-sdk\src\com\zoho\oauth\client\ZohoOAuthClient.php on line 185 Warning:
Conditional Show/Hide Fields on Webform
Is there a way to make the display of fields on a Webform conditional upon the value of another field?
Enable Notification using ZOHO CRM Notification Api , is there any wrong thing i did?please Replay ASAP
Url https://www.zohoapis.com/crm/v2/actions/watch Header scope:ZohoCRM.notifications.ALL Authorization: Zoho-oauthtoken 1000.f5971d88a8a89d5ee73242850ebf5ac7.f601a579fdb39f9294363a9388543444 Content-Type:application/json sample Input { "watch": [ { "channel_id": "1003330068002", "events": [ "Leads.all", "Deals.all" ], "channel_expiry": "2019-06-06T16:30:00+05:30", "token": "T1000000068002",
Cannot update Contact Field values via API after renaming them
Hello. I think we have recently stumbled upon an issue/bug from your end. Our team is using the Upsert Records endpoint for Contacts in order to insert or update them. We are using a custom layout. After we rename an already created field (Single line) of the layout we will be unable to update the value of it for every contact through the API call. We can only update it if we use the Old name (the one we had set before renaming it, which does not make sense) For example if we created a field and
Extension pointers #10: Define and raise a signal to receive timely notifications in Zoho CRM
Customer relationship management is a significant factor involved in the success of a business. When interaction with customers at all touch points is properly targeted, customers are satisfied and business flourishes. This makes it a necessity to stay
Related List - linking Contacts to a new module's related list.
Hi all, and thank you for any help you can provide. I have created a new module. I would like to create a related list in that new module that links the contacts to into the new module's related list. (I need the new module to have the Contacts like the Account module currently does) Thank you for your help, it would be greatly appreciated.
Kaizen #45 - Handling Attachments API in Java and Java SDK (Part 2/2)
Hello everyone! Welcome back to yet another post in the Kaizen series. In our last post, we started our discussion about handling the attachments in Java and Java SDK where we discussed listing the attachments and uploading the attachments to a record in Zoho CRM. This week, we will discuss the other two operations in attachments API. 1. Download an attachment 2. Delete an attachment. 1. Download an Attachment To download a file attached to a record. Request method: GET Request URL: {{api-domain}}/crm/v2/{module_api_name}/{record_id}/Attachments/{attachment_id}
Kaizen #44 - Handling Attachments API in Java and Java SDK (Part 1/2)
Hello everyone! Welcome back to yet another post in the Kaizen series. This week, we will discuss about the attachments API in Java and Java SDK. 1. Introduction to Attachments API Attachments in Zoho CRM are an important aspect of any record as they
Sub-concurrency for Complex APIs
Hello everyone! We all know API calls are metered through credits. Concurrency and sub-concurrency limits are applied based on the CRM edition and the type of request, respectively. Earlier, we applied sub-concurrency to only a few APIs individually, as mentioned in an older post. However, to maintain optimal performance, avoid slowness, and maintain resource availability, we have now grouped the below as complex APIs, and set the sub-concurrency limit to 10 for this group. This sub-concurrency limit
Migration of Zoho CRM APIs and Functions to v2.0 - Updated!
Hello everyone, A year back, we released the CRM API Version 2.0 that provides a lot more than what we have in API v1.0. Along with that, we also announced the deprecation of API v1.0 and its sunset on December 31, 2019. Here is the link to the previous announcement. We would like to remind you to migrate to the latest version of CRM APIs as soon as possible, as the older version will not be available next year onwards. If your code still uses the version 1.0 of the APIs they will stop working from
Google signin's track in Zoho
Hello, In our website, the user will sign in using google API's and we want to record each user in Zoho CRM. will It be possible to directly record the user name and email as soon as they sign in into the website. [We were new to Zoho and want to use this CRM to store all leads] if this can be done we are happy. in case this not possible then if there are any alternatives, please share. that will be a great help.
CRM Webform Email Validation
Hello! I've been trying to use CRM Webforms to collect data about future leads on a landing page. However, I have stumbled upon a very big problem. The form does not actually validate that the e-mail that was filled in has a valid structure. I checked out the code for embedding the form into another website and found a possible typo in the validateEmail function and will post my solution here (though I'd rather it be fixed so I can embed the form into a Zoho Sites website without tinkering with the
How to fetch data from ZOHO CRM using C#
Hi Everyone, I am new in ZOHO CRM Development. Actually, i wanted to retrieve data from Account entity through C#. So i have developed windows application, now i need to connect ZOHO CRM and retrieve the Account entity data. Please let me know, what are the steps involved to Authenticate CRM through C# and retrieving Account Entity Data. If you have any sample code, please share. I am totally new in ZOHO CRM development. Thanks in Advance. John
SDK-PHP
Hola Tengo un codigo en php que se conecta a CRM para hacer unos insert, pero el problema es que el codigo tiene duracion de 10 minutos, hay forma de generar token que teng apersistencia, que no teng alimite de tiempo, adjunto codigo: function generate_refresh_token () { $ publicación = [ 'código' => '1000.xxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxx', 'redirect_uri' => 'http://example.com/callbackurl', 'client_id' => '1000.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'client_secret'
Authorization to api 2.0 via C#
Hello, I get my access token and look it like: 1000.5d4d69ddff7ad0a6c08e6189237c77a3.8w4e28634ae391ab75ghd9b81c444c5 But in guide this token is shorter: Authorization: Zoho-oauthtoken 8133e286d4ae391ab755dd9b81c444c5. So i need cut something from my? Oh how it use in my C# code: var request = (HttpWebRequest)WebRequest.Create("https://www.zohoapis.com/crm/v2/accounts"); request.Method = "GET"; request.Headers.Add("Authorization", "Zoho-oauthtoken " + access_token); //request.Headers[Authorization]
Updates to Functions and the Activities Module
Hi everyone! This post is to inform you of the following enhancements we have made to our Developer Space. 1. Functions a. Request object binding b. Update in argument mapping for CRM variables 2. Buttons a. Creating buttons in the Activities module's View page b. Accessing the users' location through buttons in mobiles 1.a. Request object binding We have introduced an object called Request in the argument mapping section of functions that are associated with buttons and custom
Getting previous Lead ID for New Contact
When a lead is converted to a new contact is there any way to get the original lead id the contact was created from? I have a webhook that is called when a new contact is created and I am trying to associate the contact with the lead from which it was created.
Kaizen#42 - Parameters in all GET Requests #API
Hello everyone! Welcome back to another post in the Kaizen series! Today, we will discuss all the parameters available in all GET requests. What is a parameter in a request URL? A parameter or param is a name/key-value pair that is included in the request URL and it forms the query string. Consider this example: https://www.myexample.com?id=123 Here, the request URL is https://www.myexample.com, while the parameter is id whose value is 123. You can also have multiple parameters separated by an ampersand
Zoho CRM REST V2 Api returns "AUTHENTICATION_FAILURE" with no details
Hi All, I am trying to log a call in Zoho crm using V2 Rest API's. I am able to exchange the refresh token and get a new access token, fetch the details of the call already saved within zoho crm etc. But whenever I send a POST request to https://www.zohoapis.com/crm/v2/Calls as explained in https://www.zoho.com/crm/help/api/v2/insert-records-examples.html#insert-calls I always get the following error. {"code":"AUTHENTICATION_FAILURE","details":{},"message":"Authentication failed","status":"error"}
API Token
Hi, Our web developer has asked if I can set up API access into Zoho CRM, so he can run GET requests against the contacts. I've found the help document here: https://www.zoho.com/crm/developer/docs/api/get-records.html Which gives me the API Get URL and the header, but I can't figure out how to create the API Authentication token. I've gone to https://api-console.zoho.com.au/ and logged in with a CRM account. I've set up (I believe) the API for access. My API Authentication configuration: - Server-based
how to match records of create record with the record id from the response?
I'd like to create several contacts at once and afterwards add some related list items. However, it seems there is not a streight way to match the input data to the id. Whats your suggestion?
Kaizen #15 - Java SDK for Self Client
Hello everyone! Welcome to yet another post in the Kaizen series. This week, we are going to discuss the Java SDK for a self client . What is a Software Development Kit (SDK)? A software development kit contains all the tools (compiler, debugger, code samples, and so on) that are needed to create applications in one package. SDKs are language-specific and thus used to build client applications in a specific programming language. Java Software Development Kit Java SDK allows you to create
Kaizen #41 - System-defined fields and their default values in the Inventory Modules #API
Hello everyone! Welcome back to another post in the Kaizen series! This week, we will discuss the system-defined fields and their default values in the inventory modules in Zoho CRM. To know what are system-defined fields in a module, and how to identify system-defined fields, refer to Kaizen #40 System-defined fields and their default values in Leads #API. The inventory modules in Zoho CRM include Quotes, Invoices, Sales Orders, and Purchase Orders. We will cover the following in this post: System-defined
Trying to generate access code and refresh token with self client in sanbox
here is my request what am I doing wrong? I can get it to work in production but not in the sandbox method: POST url: "https://sandbox.zohoapis.com/oauth/v2/token?code={code}&grant_type=authorization_code&client_id={client_id}&client_secret={secret}"
Associate task with Lead
Hello, I have to associate task with lead. Can anyone help me to associate the task with lead? I have checked the XMLdata for task. It has ContactId as parameter but could not find the LeadId there. Regards, Saurabh
Next Page