Get Project Details From Zoho Projects
Table of Contents
Note:
- Each time the zoho.projects.getProjectDetails integration task is executed, it triggers an API request in the back-end. This call is deducted from the external calls limit available for the service from which the task is executed, based on your pricing plan.
- Only actual executions that receive a response (whether success or failure) are counted, not the number of times the task appears in the script. For example, if zoho.projects.getProjectDetails integration task is placed inside a for each task that iterates five times, the number of external calls consumed will be five, even though the task appears only once in the script.
Description
The zoho.projects.getProjectDetails task fetches all the projects from the specified portal in Zoho Projects.
Syntax
<response> = zoho.projects.getProjectDetails(<portal>, [<status>], [<connection>]);
where:
| Params | Data type | Description |
| <response> | KEY-VALUE | The list of all projects from the specified portal, as well as their respective IDs and statuses. |
| <portal> | TEXT/ NUMBER | The name or ID of the portal from which the project details need to be fetched. Note: You can get the name or ID of the portal using the get portals task. Click here to learn more about it. |
<status> (optional) | TEXT | The status of the project. Allowed values:
Note: This parameter is applicable to all Zoho services, except Zoho Creator. |
<connection> (optional) | TEXT | The link name of the connection. Note: This parameter is applicable to all Zoho services that has connections support, except Zoho Creator. |
Example
The following script fetches all the active projects from the portal - zylker:
response = zoho.projects.getProjectDetails("zylker", "active");
where:
response"zylker""active"Response Format
Success Response
The success response will be returned in the following format:
{
"name": "ERP",
"id": 548XXXXXXXXXXX771,
"status": "active"
},
{
"name": "Explore Zoho Projects!",
"id": 5489XXXXXXXXXXX671,
"status": "active"
}