Get Projects API
This API is used to get the list of projects.
Request URL:
https://people.zoho.com/people/api/timetracker/getprojects?clientId=<clientId>&assignedTo=<assignedTo>
Header:
Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Scope:
ZOHOPEOPLE.timetracker.ALL
OR
ZOHOPEOPLE.timetracker.READ
Possible Operation Types:
ALL - Complete access to data
READ - Only to read data
Request parameter:
Parameters | Values Allowed | Default Value | Description |
assignedTo | < all | ERECNO | Email-ID | Employee-ID > | <current user> | Specify the user whose projects should be listed. |
clientId | < clientId > | all | Specify the client Id to get the projects associated with it. |
projectStatus | all | inprogress | completed | all | Specify the project status |
projectManager | < all | ERECNO | Email-ID | Employee-ID > | all | Specify the project manager |
searchProjectKey | all | equal | notEqual | startsWith | endsWith | contains | notContains | all | Specify the condition to get the projects whose names match the value given in 'searchProjectKey' |
searchProjectName | <Project name search text> | - | Only the projects whose names match this value based on the condition given in 'searchProject-Key' will be listed ('searchProject-Key' must always accompany 'searchProject-Name parameter) |
isUserCount | true | false | false | Fetches the number of users assigned to the project |
isJobCount | true | false | false | Fetches the number of jobs mapped to the project |
sIndex | < sIndex > | 0 | Specify from which record the response should be fetched |
limit | < limit > | 200 | Specify the number of records to be fetched. The maximum value is 200 |
Error Codes & Messages:
Error Code | Error Message |
9000 | Permission denied |
9003 | Wrong value for <parameter_name> parameter |
9005 | Time tracker tab is disabled |
Success Response Format:
Error Response Format:
Threshold Limit: 20 requests | Lock period: 5 minutes
Threshold Limit - Number of API calls allowed within a minute.
Lock Period - Wait time before consecutive API requests.