Get Project Details From Zoho Projects
Table of Contents
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"
}