Get Project Details From Zoho Projects

Get Project Details From Zoho Projects

Description

The zoho.projects.getProjectDetails task fetches all the projects from the specified portal in Zoho Projects.

Note: For security reasons, if you execute Zoho Projects integration tasks for more than 100 times under 2 minutes, you will be restricted to execute any Zoho Projects integration task for the next 30 mins.

Syntax

<response>=zoho.projects.getProjectDetails(<portal>, [<status>], [<connection>]);

where:

ParamsData typeDescription

<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:

  • active - Lists all the active projects.
  • archived - Lists all the archived projects.
  • template - Lists all the project templates.

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
The KEY-VALUE response returned by Zoho Projects.
"zylker"
The TEXT that represents the name of the portal from which the projects need to be fetched.
"active"
The TEXT that represents the status of the project. Here, only the active projects are fetched.

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"
      }

Related Links

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohodeluge.com