Add log time method without
Hi,
First to clarify, everyhting is working, I can get a ticket, I can list the project, that timesheet entry.
But when I try to add a log entry in the timesheet with the API but I got this error each time:
'message' => 'Input Parameter missing',
'code' => '6831'
I'm using a perl script to post the data, here's my code:
my $client2 = REST::Client->new();
my $request_url2 = "http://projects.zoho.com/portal/dhconsulting/api/private/xml/log/add?apikey=$apikey&ticket=$ticket";
$client->addHeader('Content-Type', 'application/x-www-form-urlencoded');
$client2->POST($request_url2, "projId=7e234876973661f8750e9a78d8c6dec75508ed8fb781bc5a,logdate=12/12/2010,logtask=7e234876973661f8d73ab6aba3303a63da8d5d1895ff2cca,loghours=1:00,lognotes=cool,billsts=Billable");
$response2 = $client2->responseContent();
print $response2;
my $time = XMLin($response2);
print Dumper($time);
I've two question, is the logtask variable mandatory ?
ANd if yes how can I add an entry without linking this entry with a task, I^m doing this every day whan I enter manuallly (from the web page) a new entry in the timesheet for my customer.
Note: i've tried also with a simple html form:
74.201.154.168 HTTP POST /portal/dhconsulting/api/private/xml/log/add?apikey=23b9df4234a413ef2c9e588ccb928e04&ticket=0c92bad9b50a2a2c858ece4e7f2a7ad0 HTTP/1.1
projId=7e234876973661f8750e9a78d8c6dec75508ed8fb781bc5a&logdate=03/09/2010&logtask=7e234876973661f89178507bebde2afc22383dd80c49acf1&loghours=0:23&lognotes=test&billsts=Billable
and I got <response uri="/api/private/xml/log/add"><error><code>6832</code><message>Problem occured while processing the request</message></error></response>
Thanks for your help.
Cheers,
Damien
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
-
-
-
-
-
-
-
-
-
Sticky Posts
Building extensions #10: Fetch customized user inputs, store them globally at the app level, and access them across entities
This data storage concept enables you to store data related to your extension for both entity properties and extension properties. In our previous piece, we looked at how to store data for entities using entity properties. In this post, we'll look at
Building extensions #9: Store, retrieve, and access entity-specific data in widgets using data storage
Data storage - Overview Storing data related to the extension you are working on is essential. It can be saved as key-value pairs for an entity or extension, known as entity and extension properties, respectively. Data can be saved for the following entities
Building extensions #7: Create custom widgets for a simplified end-user experience
Discover the benefits of using widgets! We explored the significance of widgets, prerequisites, and the availability of JS SDK methods as part of our previous post. In this post, let's go over a detailed example of using widgets along with certain Zoho
Building extensions #6: Custom user interfaces with Widgets
Welcome to our post on Widgets for Zoho Projects! In our last post, we explored the significance of the connections feature, showed how to use it, and provided an example use case. In this article, we'll look at the importance of widgets, another feature
Building extensions #5: Integrating applications with Zoho Projects through Connections
In our last post, we discussed the essential features that a Zoho Projects extension can provide. Starting with this post andin every subsequent post going forward, we'll go through each of those features in depth, one by one, with an example use case.
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.