How to find Zoho Project APIs names using Zoho CRM

07.02.21 11:55 AM By Andy

This tutorial will show you how to use Zoho CRM to find Zoho Project's APIs names, for system fields and custom fields. This has been tested using Zoho One, and Zoho CRM+.

Part 1: Adding a new connection

  1. In CRM, go to developer space and the to connections
  2. Click on Add new connection, and select ZohoOAuth
  3. Connection name: relateproject
  4. Connection Link name: relateproject
  5. Scope: choose these two variables: ZohoCRM.modules.ALL and ZohoProjects.projects.ALL
  6. Click on "create and connect", and when a new window pops up, click on "accept"


Part 2: Creating a new function and finding custom fields

  1. In CRM, add a new function, name it and select automation as the category
  2. Paste the code listed below in the function body
  3. Make sure the connection name matched the one you created
  4. Replace the portal name in the function with yours
  5. Click on "Save and Execute"
  6. In the new panel you will be able to see the custom field IDs, one per line (ie: UDF_CHAR1)
resp = invokeurl
[
url :"https://projectsapi.zoho.com/restapi/portal/blungo/projects/customfields/"
type :GET
connection:"relateproject"
];
info resp;

Part 3: Find system fields

  1. Go to Zoho Projects and open a project
  2. Copy the Project ID that you can find on the URL (ie: https://projects.zoho.com/portal/blungo#project/1600615000000678899)
  3. In the function, replace "customfields" with the Project ID
  4. Save and execute
resp = invokeurl
[
url :"https://projectsapi.zoho.com/restapi/portal/blungo/projects/1600615000000670007/"
type :GET
connection:"relateproject"
];
info resp;