|
Home
Get Ticket
Get API Key
API Reference
Projects
Dashboard
Milestones
Tasklists
Meetings
Documents
Timesheet
Forums
Users
Error Codes
|
Timesheet API
|
|
|
Method Name :
http://projects.zoho.com/portal/{PortalName}/api/private/xml/logs
API Description :
Given the ticket, apikey,projectId returns the user timelog on successful authentication.
Parameters to be passed :
ticket, apikey, projId |
| Sample Call |
<form method="post"
action="http://projects.zoho.com/portal/{PortalName}/api/private/xml/logs?apikey=[ApiKey]"&ticket=[ticket]>
Project Id<input type="text" name="projId" value=""/>
<input type="submit" value="Get User Timelog">
</form> |
| Output XML |
<response>
<uri>/api/private/xml/logs</uri>
<result>
<TimeLogDetails>
<TimeLogDetail>
<lognotes>Set budget template</lognotes>
<logdate> yyyy-mm-dd HH:MM </logdate>
<taskbilling>Non Billable</taskbilling>
<loginname>John</loginname>
<loghours>1.15</loghours>
<login_uid>Mjh+pwI9Q5M=</login_uid>
<task>Budget Review</task>
<tlog_id>LRMRg7/jxbN7EVSI1Oco/A==</tlog_id>
</TimeLogDetail>
</TimeLogDetails>
<TimeLogDetails>
<TimeLogDetail>
<lognotes>Seminar on cash flow reports</lognotes>
<logdate> yyyy-mm-dd HH:MM</logdate>
<taskbilling>Billable</taskbilling>
<loginname>John</loginname>
<loghours>3.20</loghours>
<login_uid>Mjh+pwI9Q5M=</login_uid>
<task>Seminar on cash flow reports</task>
<tlog_id>LRMRg7/jxbNSMLnbTyax4Q==</tlog_id>
</TimeLogDetail>
</TimeLogDetails>
</result>
</response> |
| Output JSON |
{"response ":{"uri":"/api/private/json/logs","result":{"TimeLogDetails":[{"TimeLogDetail":{"lognotes":"Set Budget Templates","logdate":"yyyy-mm-dd HH:MM","taskbilling":"Non Billable","loginname":"John","loghours":"1.15","login_uid":"Mjh+pwI9Q5M=","task":"Budget Review","tlog_id":"LRMRg7/jxbN7EVSI1Oco/A=="}},{"TimeLogDetail":{"lognotes":"Seminar on cash flow reports","logdate":"yyyy-mm-dd HH:MM","taskbilling":"Billable","loginname":"John","loghours":"3.20","login_uid":"Mjh+pwI9Q5M=","task":"Seminar on cash flow reports","tlog_id":"LRMRg7/jxbNSMLnbTyax4Q=="}}]}}}
|
|
Method Name :
http://projects.zoho.com/portal/{PortalName}/api/private/xml/log/add
API Description :
Given the ticket, apikey,projectId,logdate,taskid,hrs and notes logs the time on successful authentication.
Parameters to be passed :
ticket, apikey, projectId,logdate,taskid,hours and notes |
| Sample Call |
<form
method="post"
action="http://projects.zoho.com/portal/{PortalName}/api/private/xml/log/add?apikey=[ApiKey]&ticket=[ticket]">
ProjectId<input type="text" name="projId" value=""/>
Log Date<input type="text" name="logdate" value="">(mm-dd-yyyy)
Log Taskid<input type="text" name="logtask" value="">
Log Hours<input type="text" name="loghours" value="">
(ex:0:23, 0:45)
Log Notes<input type="text" name="lognotes" value="">
Bill Status<input type="text" name="billsts" value="Billable">(or Non Billable)
<input type="submit" value="Add User Timelog">
</form> |
| Output XML |
<response>
<uri>/api/private/xml/log/add</uri>
<result>
<TimeLogDetails>
<TimeLogDetail>
<lognotes>Send this week's customer reports</lognotes>
<logdate> yyyy-mm-dd HH:MM</logdate>
<taskbilling>Billable</taskbilling>
<task_id>LRMRg7/jxbPq/AIZspzgqw==</task_id>
<loginname>John</loginname>
<loghours>0.23</loghours>
<login_uid>Mjh+pwI9Q5M=</login_uid>
<tlog_id>LRMRg7/jxbMCKRPiBoHX7A==</tlog_id>
</TimeLogDetail>
</TimeLogDetails>
</result>
</response> |
| Output JSON |
{"response ":{"uri":"/api/private/json/log/add","result":{"TimeLogDetails":[{"TimeLogDetail":{"lognotes":"Send this week's customer reports","logdate":"yyyy-mm-dd HH:MM","taskbilling":"Billable","task_id":"LRMRg7/jxbPq/AIZspzgqw==","loginname":"john","loghours":"0.23","login_uid":"Mjh+pwI9Q5M=","tlog_id":"LRMRg7/jxbM0SUo7XdevyA=="}}]}}}
|
|
Method Name :
http://projects.zoho.com/portal/{PortalName}/api/private/xml/log/update/
API Description :
Given the ticket, apikey,projectId,logdate,taskid,hours,notes and logid on successful authentication.
Parameters to be passed :
ticket, apikey,projId,name,folderid,tags,uploadstat |
| Sample Call |
<form
method="post"
action="http://projects.zoho.com/portal/{PortalName}/api/private/xml/log/update?apikey=[ApiKey]&ticket=[ticket]">
ProjectId<input type="text" name="projId" value=""/>
Log Taskid<input type="text" name="logtask" value="">
Log Hours<input type="text" name="loghours" value="">(ex: 0:25, 0:45)
Log Notes<input type="text" name="lognotes" value="">
Log Id<input type="text" name="logid" value="">
Bill Status<input type="text" name="billsts" value="Billable">(or Non Billable)
<input type="submit" value="update user Timelog">
</form> |
| Output XML |
<response>
<uri>/api/private/xml/log/update</uri>
<result>
<TimeLogDetails>
<TimeLogDetail>
<lognotes>Send this week's customer reports to all as soon as possible</lognotes>
<logdate> yyyy-mm-dd HH:MM</logdate>
<taskbilling>Billable</taskbilling>
<task_id>LRMRg7/jxbPq/AIZspzgqw==</task_id>
<loginname>John</loginname>
<loghours>0.35</loghours>
<login_uid>Mjh+pwI9Q5M=</login_uid>
<tlog_id>LRMRg7/jxbN79BZeIPxOYQ==</tlog_id>
</TimeLogDetail>
</TimeLogDetails>
</result>
</response> |
| Output JSON |
{"response ":{"uri":"/api/private/json/log/update","result":{"TimeLogDetails":[{"TimeLogDetail":{"lognotes":"Send this week's customer reports to all as soon as possible","logdate":"yyyy-mm-dd HH:MM","taskbilling":"Billable","task_id":"LRMRg7/jxbPq/AIZspzgqw==","loginname":"John","loghours":"0.35","login_uid":"Mjh+pwI9Q5M=","tlog_id":"LRMRg7/jxbN79BZeIPxOYQ=="}}]}}}
|
|
Method Name :
http://projects.zoho.com/portal/{PortalName}/api/private/xml/log/delete
API Description :
Given the ticket, apikey,logId deletes the loghrs on successful authentication.
Parameters to be passed :
ticket, apikey, logid,projId |
| Sample Call |
<form
method="post"
action="http://projects.zoho.com/portal/{PortalName}/api/private/xml/log/delete?apikey=[ApiKey]&ticket=[ticket]">
ProjectId<input type="text" name="projId" value=""/>
LogId<input type="text" name="logid" value=""/>
<input type="submit" value="Delete Loghrs">
</form> |
| Output XML |
| <result>
</result> |
| Output JSON |
{"result":"Deleted Successfully"}
|
|