General settings API

General settings for timetracker API

This API is used to get the general settings in the time tracker.

Request URL:

http://people.zoho.com/people/api/timetracker/gettimetrackersettings?authtoken=<authtoken>

Request parameter:

authtokenSpecify the authentication token

Example URL:

http://people.zoho.com/people/api/timetracker/gettimetrackersettings?authtoken=28ac426a249678c8867a0d93bb373912

XML response:

<?xml version="1.0" response uri="/api/timetracker/gettimetrackersettings">
<status>0</status>
<message>Timetracker general settings fetched successfully</message>
<result>
<settings>
<TS_BillnoPrefix>ABC</TS_BillnoPrefix>
<TS_manualLog>true</TS_manualLog>
<TS_Schedule>281496000000151265</TS_Schedule>
<TS_sendMailForJobComplete>true</TS_sendMailForJobComplete>
<TS_jobOwners>2</TS_jobOwners>
<TS_timerEdit>0</TS_timerEdit>
<TS_automaticLog>true</TS_automaticLog>
<TS_hoursLog>true</TS_hoursLog>
<TS_DefaultView>1</TS_DefaultView>
<TS_billingtimesheetType>2</TS_billingtimesheetType>
<TS_clienttimesheetType>0</TS_clienttimesheetType>
<TS_startEndLog>true</TS_startEndLog>
<TS_BillnoAuto>1</TS_BillnoAuto>
<TS_Billno>1030</TS_Billno>
<TS_BillnoStarts>10003</TS_BillnoStarts>
<TS_sendMailForJobAdd>true</TS_sendMailForJobAdd>
<TS_defaultbillingType>1</TS_defaultbillingType>
<TS_timesheetOwners>0</TS_timesheetOwners>
</settings>
</result>
</response>

JSON response:

{ "response": { "message": "Timetracker general settings fetched successfully", "result": { "TS_BillnoPrefix": "ABC", "TS_manualLog": "true", "TS_Schedule": "281496000000151265", "TS_sendMailForJobComplete": "true", "TS_jobOwners": "2", "TS_timerEdit": "0", "TS_automaticLog": "true", "TS_hoursLog": "true", "TS_DefaultView": "1", "TS_billingtimesheetType": "2", "TS_clienttimesheetType": "0", "TS_startEndLog": "true", "TS_BillnoAuto": "1", "TS_Billno": "1030", "TS_BillnoStarts": "10003", "TS_sendMailForJobAdd": "true", "TS_defaultbillingType": "1", "TS_timesheetOwners": "0" }, "status": 0, "uri": "/api/timetracker/gettimetrackersettings" } }

Interpretations:

  • TS_manualLog: true - manual time log is allowed
  • TS_automaticLog: true - timer log is allowed
  • TS_BillnoAuto: 0 - manual entry for bill number; 1- automatic bill number generation
  • TS_defaultbillingType: 0 - billable; 1 - non-billable
  • TS_jobOwners: 0 - anyone can add jobs; 1 - only reporting manager can add jobs; 2 - only admin can add jobs
  • TS_timerEdit: 0 - anyone can edit timer entries; 1 - only reporting manager can add jobs; 2 - only admin can add jobs
  • TS_DefaultView: 0 - daily view; 1 - weekly view; 2 - monthly view