Get data from APIrequest gives null values
Hello,
We are facing problem with geting values from CRMAPIrequest.
The function was executed when a contract was signed by zoho sign, the data was sent by zoho CRM API rest, and then function was getting recipient email to match the deal and then fill deal sign date.
But today when I wanted to change this function a litlle bit to the function stop working.
When I try to get recipient email info info function gives me null body values.
I really don't know what happend, I tried already to reset and update the API URL, but still it doesn't work.
The code:- Email = crmAPIRequest.get("recipient_email");
- searchParam = "(Deal_Email:equals:" + Email + ")";
- deal = zoho.crm.searchRecords("Deals",searchParam);
- deal = deal.get(0);
- id = deal.get("id");
- date = zoho.currentdate;
- mp = Map();
- mp.put("Data_podpisania",date);
- resp = zoho.crm.updateRecord("Deals",id,mp);
- workdriveid = deal.get("Projekty_folder_ID");
- return "";
Code that gives me null values:
Does any one have any solution?
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.