How to use Quoted/Invoiced_Items custom fields APIs in Deluge ?
Hi,
I'm trying to do a function to create an invoice from my existing quote, but I can't use some datas in the mandatory Quoted_Items Subform as it's from custom fields I've created and it's available only using APIs V2.1.
So I tried what I found in the Zoho CRM Apis documentation for this version, using invokurl. I can successfully get the datas I was looking for, but I fail to put it in my invoice.
I tried to directly create the invoice :
res1 = invokeurl
[
type:POST
parameters:parameters
connection:"workdrive_crm"
];
info res1;
Or to update the invoice already created :
res1 = invokeurl
[
type:PUT
parameters:parameters
connection:"workdrive_crm"
];
info res1;
But in every cas I have the same error : {"code":"INVALID_DATA","details":{"expected_data_type":"jsonobject"},"message":"body","status":"error"}
Which I can't understand, my parameters are a map and I use only jasonobjects. I don't know what do to !
I even tried this : response = zoho.crm.updateRecord("Invoices",invoiceid,updateInvoice); and then I have the errors :
- {"code":"INVALID_MODULE","details":{},"message":"the given module is not supported in api","status":"error"}. I can't believe Invoices aren't a valid module...
Anyone has an idea ? Thank you :)
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Sticky Posts
Extension pointers for integrating Zoho CRM with Zoho products #8: Upload and manage Zoho Workdrive folders and files from within Zoho CRM
Keeping records on your customers and business prospects is essential for tracking data, conducting follow-ups, and running a business smoothly. When you use two separate applications, and store relevant data in each, checking and tracking data becomes
Extension pointers: Handle cases with personalized solutions using custom actions
In our last post, we detailed the steps involved in creating a custom action and the workflow from the developer and end user's side. Now let's look at a working example of how we can create a custom action and implement it in a Zoho CRM account to make
Extension pointers - Simple yet significant pointers #13: On change of field value for CRM variables
CRM variables provide global access to a variable across an entire extension. They also help in the storage of user-specific data provided by the user at the time of installation, which can later be fetched to perform data functionalities. Additionally,
Extension pointers: Extend end-user benefits and allow personalization by implementing extensions with custom actions
From our earlier post on custom actions, we know that we can create templated actions, share them with end users, and allow them to reuse those actions to achieve personalized outcomes. In this post, we'll look at how custom actions make it easy for users
Extension pointers - Simple yet significant pointers #12: Functions for Zoho CRM extensions
Functions are essential in achieving logical functionality for an extension. You can easily code your functions in Deluge using drag-and-drop tools to meet your requirements. How to create functions for Zoho CRM extensions in Sigma Go to Sigma and select
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.