Get Portals From Zoho Projects
Table of Contents
Description
The zoho.projects.getPortals task fetches the details of all your portals in Zoho Projects.
Syntax
<response> = zoho.projects.getPortals([<connection>]);
where:
Params | Data type | Description |
<response> | KEY-VALUE | The details of all your portals in Zoho projects. |
<connection> (optional) | TEXT | The link name of the connection. |
Example
The following script fetches the details of all the portals in Zoho Projects:
response = zoho.projects.getPortals();
where:
response
Response Format
Success Response
The success response will be returned in the following format:
{
"login_id": "58XXXX70",
"portals": [
{
"trial_enabled": true,
"gmt_time_zone": "(GMT 5:30) India Standard Time",
"project_count": {
"active": 1
},
"role": "admin",
"avail_user_count": 24,
"is_crm_partner": false,
"link": {
"project": {
"url": "https://projects.zoho.com/restapi/portal/58572595/projects/"
}
},
"bug_plan": "Enterprise",
"locale": {
"country": "United States",
"code": "en_US",
"language": "English"
},
"layouts": {
"projects": {
"module_id": "548XXXXXXXXXXX005"
},
"tasks": {
"module_id": "548XXXXXXXXXXX001"
}
},
"new_user_plan": true,
"available_projects": -1,
"default": true,
"id": 58XXXX95,
"bug_plural": "Issues",
"is_new_plan": true,
"plan": "Enterprise",
"percentage_calculation": "based_on_status",
"settings": {
"business_hours": {
"business_end": 1440,
"business_start": 0
},
"default_dependency_type": "finish-start",
"working_days": [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
],
"timelog_period": {
"log_future_time": {
"allowed": false
},
"log_past_time": {
"allowed": true
}
},
"time_zone": "Asia/Kolkata",
"startday_of_week": "sunday",
"task_date_format": "MM-dd-yyyy",
"timesheet": {
"is_timesheet_approval_enabled": false,
"default_billing_status": "Billable"
},
"holidays": [
],
"is_budget_enabled": false,
"company_name": "Zylker",
"date_format": "MM-dd-yyyy hh:mm aaa",
"has_budget_permission": true
},
"is_display_taskprefix": true,
"bug_singular": "Issue",
"trial_end_time": 1566412200000,
"is_display_projectprefix": true,
"project_prefix": "TE-",
"is_time_log_restrcition_enabled": false,
"max_user_count": 25,
"extensions": {
"locations": {
"app_settings": "548XXXXXXXXXXX161",
"issue_tab": "548XXXXXXXXXXX165",
"task_tab": "548XXXXXXXXXXX163",
"attachment_picker": "548XXXXXXXXXXX171",
"top_band": "548XXXXXXXXXXX169",
"project_tab": "548XXXXXXXXXXX167"
}
},
"trial_daystogo": 10,
"profile_id": 548XXXXXXXXXXX320,
"name": "zylker",
"id_string": "58XXXX95"
}
]
}