Get Zoho Analytics Data from the Table by Analytics API
Hello
If you are looking for a solution to get the data of Zoho Analytics Data by the API, Please have a look below
email = Zoho Analytics Owner Email
workspaceName = Zoho Analytics Work Space Name
viewName = Table / Report Name
Scope will be use:- ZohoAnalytics.data/ ZohoAnalytics.aLL
- email = zoho.encryption.urlEncode("");
- workspaceName = zoho.encryption.urlEncode("");
- viewName = zoho.encryption.urlEncode("");
- paramsMap = Map();
- paramsMap.put("ZOHO_ACTION","EXPORT");
- paramsMap.put("ZOHO_OUTPUT_FORMAT","JSON");
- paramsMap.put("ZOHO_ERROR_FORMAT","JSON");
- paramsMap.put("ZOHO_API_VERSION","1.0");
- hearmap = Map();
- hearmap.put("Content-Type", "application/json");
- AnalyticsData = invokeurl
- [
- url: "https://analyticsapi.zoho.com/api/"+email+"/"+workspaceName+"/"+viewName
- type: GET
- parameters:paramsMap
- headers:hearmap
- connection: "zohocrm"
- ];
- data = AnalyticsData.get("response").getJSON("result");
In the Data Variable, all Results will be saved and you can use it anywhere.
if you facing any issues please let me know.
Thanks & Regards
Piyush Goyal
Zoho Developer || 3+ years Experience
+91-8619164837
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.