CData Cloud は、クラウドホスト型のソリューションで、複数の標準サービスやプロトコルにまたがるZoho Projects へのアクセスを実現します。MySQL またはSQL Server データベースに接続できるアプリケーションであれば、CData Cloud を介してZoho Projects に接続できます。
CData Cloud により、他のOData エンドポイントや標準SQL Server / MySQL データベースと同じように、Zoho Projects への接続を標準化し、構成することができます。
このページでは、CData Cloud でのZoho Projects への接続の確立 のガイド、利用可能なリソースに関する情報、および使用可能な接続プロパティのリファレンスについて説明します。
接続の確立 は、CData Cloud にデータベースを作成するためのZoho Projects への認証方法と必要な接続プロパティの設定方法について示します。
利用可能な標準サービスを経由してZoho Projects からデータにアクセスする方法と、CData Cloud の管理については、CData Cloud ドキュメント で詳しく説明します。
Database タブで対応するアイコンを選択して、Zoho Projects に接続します。必須プロパティはSettings にリストされています。Advanced タブには、通常は必要ない接続プロパティが表示されます。
Zoho Projects は、データに接続する2つの方法を提供します。
すべてのOAuth フロー(埋め込みまたはカスタム)で、この認証を有効にするにはAuthScheme をOAuth に設定する必要があります。
以下のサブセクションでは、3つの一般的な認証フローでのZoho Projects への認証について詳しく説明します。
カスタムOAuth アプリケーションの作成についての情報と、埋め込みOAuth 認証情報を持つ認証フローでもカスタムOAuth アプリケーションを作成したほうがよい場合の説明については、カスタムOAuth アプリケーションの作成 を参照してください。
Zoho Projects で利用可能な接続文字列プロパティの全リストは、Connection を参照してください。
アクセストークンの期限が切れたときは、Cloud は自動でアクセストークンをリフレッシュします。
OAuth アクセストークンの自動リフレッシュ:
Cloud がOAuth アクセストークンを自動的にリフレッシュするようにするには、次のように設定します。
OAuth アクセストークンの手動リフレッシュ:
OAuth アクセストークンを手動でリフレッシュするために必要な唯一の値は、OAuth リフレッシュトークンです。
OAuth リフレッシュトークンを保存し、OAuth アクセストークンの有効期限が切れた後に手動でリフレッシュできるようにします。
OAuth requires the authenticating user to interact with Zoho Projects using the browser. Cloud facilitates this in various ways as described below.
Before you get started with authorization and make any calls to the Zoho CRM API, you need to register your application with Zoho CRM. You can follow the procedure below to obtain the OAuthClientId and OAuthClientSecret connection properties.
After creating your custom app, set the following connection properties in order to establish a connection, and click Connect:
The Cloud exposes all of the portals and projects tied to your Zoho Projects account, so you can access all of your Zoho Projects data with a single connection.
You can access:
The Cloud models each portal associated with your account as a catalog, named after the portal, containing a portal-specific schema called "ZohoProjects".
The User Portals section is a generic example of such a portal-specific schema.
The Cloud models each portal associated with your account as a catalog, named after the portal. For every project in each of these catalogs, there is a project-specific schema, which is named after the project.
The User Projects section is a generic example of such a project-specific schema.
The All Portals section contains data pertaining to all portals tied to your account.
The Cloud models each portal associated with your account as a catalog, named after the portal, containing a portal-specific schema called "ZohoProjects".
テーブル describes the available tables. Tables are statically defined to model Zoho Projects entities such as contacts, teams, projects, etc.
ビュー describes the available views. Views are read-only tables that are statically defined to model Zoho Projects entities such as project and task layouts.
The Cloud models the entities for which Zoho Projects provides full or limited CRUD support as tables.
It models each portal tied to your account as a schema with the following tables.
Navigate to an individual table's page for a breakdown of its columns, as well as its supported filters and CRUD operations.
Name | Description |
Contacts | Fetches all client contacts from a portal. |
PortalClients | Returns the list of client companies in the portal. |
ProjectGroups | Gets all the groups for the specified project. |
Projects | Gets all the projects for the logged in user. |
Tags | Fetches all the tags present in a specific portal. |
Teams | Fetch the team details from the portal. |
Users | Gets the details of all the users in a specific project. |
Fetches all client contacts from a portal.
SELECT * FROM Contacts WHERE ClientId = '123456000000045005'
To create a new Contact you can specify the following fields:
INSERT INTO Contacts (WorkProjects, ClientId, FirstName, LastName, Email, Invoicerate) VALUES ('123456000000031899', '123456000000039025', 'TestFirstname222', 'TestLastname222', '[email protected]', '15')
To update a Contact specify the Id field.
UPDATE Contacts SET FirstName = 'updatedname', LastName = 'updatedlastname', email = '[email protected]' WHERE Id = '166135000000038075'
Contacts can be deleted by providing the Id and issuing a DELETE statement.
DELETE FROM Contacts WHERE Id = '123456000000040053'
Name | Type | ReadOnly | Description |
ClientId | String | False |
Contact Client Id. |
Id [KEY] | String | False |
Contact Id. |
CrmContactId | String | False |
Contact Crm Contact Id. |
DisplayName | String | False |
Contact Display Name. |
FirstName | String | False |
Contact First Name. |
LastName | String | False |
Contact Last Name. |
String | False |
Contact Email. | |
InvoiceRate | String | False |
Contact Invoice Rate. |
WorkProjects | String | False |
Array of Project Ids. Multiple Ids can be separated with comma. |
Returns the list of client companies in the portal.
SELECT * FROM PortalClients
To create a new PortalClient you can specify the following fields:
INSERT INTO PortalClients (Name, UserEmail, WebAddress, FirstAddress, SecondAddress, City, State, Country, PrimaryClient, ZipCode) VALUES ('Company12', '[email protected]', 'www.example.com', 'Address line 1', 'Address line 2', 'Budapest', 'Hungary', 'Hungary', 'Yes', '1025')
Name | Type | ReadOnly | Description |
Id [KEY] | String | False |
Client Id. |
Name | String | False |
Client Name. |
City | String | False |
Client City. |
Country | String | False |
Client Country. |
State | String | False |
Client State. |
CrmAccountId | String | False |
Client Crm Account Id. |
FirstAddress | String | False |
Client First Address. |
SecondAddress | String | False |
Client Second Address. |
WebAddress | String | False |
Client Web Address. |
ZipCode | String | False |
Client Zip Code. |
UserId | String | False |
Client User Id. |
UserName | String | False |
Client User Name. |
UserEmail | String | False |
Client User Email. |
UserZpuid | String | False |
Client User Zpuid. |
WorkProjects | String | False |
Client Work Projects. |
PrimaryClient | String | False |
Client Primary Client. 使用できる値は次のとおりです。Yes, No |
Gets all the groups for the specified project.
SELECT * FROM ProjectGroups
To create a new ProjectGroup you can use the below query:
INSERT INTO ProjectGroups (name) VALUES ('New Project Group')
ProjectGroups can be deleted by providing the Id and issuing a DELETE statement.
DELETE FROM ProjectGroups WHERE Id = '123456000000045018'
Name | Type | ReadOnly | Description |
Id [KEY] | String | False |
Project Group Id. |
Name | String | False |
Project Group Name. |
Default | Boolean | False |
Is Default Project Group. |
Gets all the projects for the logged in user.
SELECT * FROM Projects WHERE Id = '123456000000039053'
To create a new Project you can specify the following fields:
To create a new Project specify the following fields:
INSERT INTO Projects (Name, BudgetType, BudgetValue, BillingStatus, BillingType, Currency, Description, Public, BudgetType, BudgetTrackingMethod) VALUES ('New Project', '2', '2.5', 'Billable', '2', 'EUR', 'TestDescription 123', 'no', '2', '4')
You can use the below query to update a Project:
UPDATE Projects SET Currency = 'USD', SingleLinCustomField = 'New Custom Field Value' WHERE Id = '123456000000039053'
Projects can be deleted by providing the Id and issuing a DELETE statement.
DELETE FROM Projects WHERE Id = '123456000000039053'
Name | Type | ReadOnly | Description |
Id [KEY] | String | False |
Project Id. |
Name | String | False |
Project Name. |
Key | String | False |
Project Key. |
BugsEnabled | Boolean | False |
Project Bugs Enabled. |
BillingStatus | String | False |
Project Billing Status. 使用できる値は次のとおりです。Billable, Non Billable |
BillingType | String | False |
Mention the billing method for invoicing. (1 = Based on project hours, 2 = Based on staff hours, 3 = Fixed cost for project, 4 = Based on task / issue hours). 使用できる値は次のとおりです。1, 2, 3, 4 |
BugClientPermission | String | False |
Project Bug Client Permission. |
BugsClosed | Integer | False |
Project Bugs Closed. |
BugsOpen | Integer | False |
Project Bugs Open. |
BugsDefaultView | String | False |
Project Bugs Default View. |
BugsPrefix | String | False |
Project Bugs Prefix. |
CreatedDate | Date | False |
Project Created Date. |
CreatedDateTime | Datetime | False |
Project Created Date Time. |
CustomStatusColor | String | False |
Project Custom Status Color. |
CustomStatusId | String | False |
Project Custom Status Id. |
CustomStatusName | String | False |
Project Custom Status Name. |
Currency | String | False |
The default currency of your project. Example: USD, INR, etc. |
CurrencySymbol | String | False |
Project Currency Symbol. |
Description | String | False |
Project Description. |
EnabledTabs | String | False |
Project Enabled Tabs. |
ChatEnabled | Boolean | False |
Project Chat Enabled. |
ClientAssignBug | String | False |
Project Client Assign Bug. |
Public | String | False |
Project Public. 使用できる値は次のとおりです。yes, no |
SprintsProject | Boolean | False |
Project Sprints Project. |
Strict | String | False |
Project Strict. |
BugLayoutId | String | False |
Project Bug Layout Id. |
BugLayoutName | String | False |
Project Bug Layout Name. |
ProjectLayoutId | String | False |
Project Project Layout Id. |
ProjectLayoutName | String | False |
Project Project Layout Name. |
TaskLayoutId | String | False |
Project Task Layout Id. |
TaskLayoutName | String | False |
Project Task Layout Name. |
ActivityUrl | String | False |
Project Activity Url. |
BugUrl | String | False |
Project Bug Url. |
DocumentUrl | String | False |
Project Document Url. |
EventUrl | String | False |
Project Event Url. |
FolderUrl | String | False |
Project Folder Url. |
ForumUrl | String | False |
Project Forum Url. |
MilestoneUrl | String | False |
Project Milestone Url. |
SelfUrl | String | False |
Project Self Url. |
StatusUrl | String | False |
Project Status Url. |
TaskUrl | String | False |
Project Task Url. |
TasklistUrl | String | False |
Project Tasklist Url. |
TimesheetUrl | String | False |
Project Timesheet Url. |
UserUrl | String | False |
Project User Url. |
MilestoneClosed | Integer | False |
Project Milestone Closed. |
MilestoneOpen | Integer | False |
Project Milestone Open. |
OwnerId | String | False |
Project Owner Id. |
OwnerName | String | False |
Project Owner Name. |
OwnerZpUid | String | False |
Project Owner Zp Uid. |
ProfileId | Long | False |
Project Profile Id. |
ProjectPercent | String | False |
Project Project Percent. |
Role | String | False |
Project Role. |
ShowProjectOverview | Boolean | False |
Project Show Project Overview. |
Status | String | False |
Project Status. 使用できる値は次のとおりです。active, archived, template |
SettingsDate | Boolean | False |
Project Settings Date. |
SettingsLogHours | Boolean | False |
Project Settings Log Hours. |
SettingsPercentage | Boolean | False |
Project Settings Percentage. |
SettingsPlan | Boolean | False |
Project Settings Plan. |
SettingsWorkHours | Boolean | False |
Project Settings Work Hours. |
TaskClosed | Integer | False |
Project Task Closed. |
TaskOpen | Integer | False |
Project Task Open. |
TaskbugPrefix | String | False |
Project Taskbug Prefix. |
UpdatedDate | Date | False |
Project Updated Date. |
UpdatedDateTime | Datetime | False |
Project Updated Date Time. |
WorkspaceId | String | False |
Project Workspace Id. |
BudgetType | String | False |
Type of your budget. Accepted values 0, 1, 2, 3, 4, 5 and 6. (0 = None, 1 = Based on amount, 2 = Based on hours, 3 = Based on milestone amount, 4 = Based on milestone hours, 5 = Based on task amount and 6 = Based on task hours). 使用できる値は次のとおりです。1, 2, 3, 4, 5, 6 |
BudgetTypeValue | String | False |
Project Budget Type Value. |
BudgetValue | String | False |
Project Budget Value. |
Rate | String | False |
Project Rate. |
BudgetTrackingMethod | String | False |
Method to track your project budget. Accepted values 1, 2, and 4. (1 = Project hours, 2 = Staff hours, 4 = Task / Issue hours). |
FixedCost | String | False |
Project Fixed Cost. |
TemplateId | String | False |
Project Template Id. |
Threshold | String | False |
Specify the budget threshold limit (Amount or hours).. |
StartDate | String | False |
Project Start Date. |
EndDate | String | False |
Project End Date. |
EnableRollup | String | False |
Project Enable Rollup. 使用できる値は次のとおりです。Yes, No |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
LastModifiedTime | Datetime |
Project Last Modified Time. |
GroupId | String |
Project Group Id. |
Assignee | String |
Project Assignee. |
Fetches all the tags present in a specific portal.
SELECT * FROM Tags
To create a new Tag you can specify the following fields:
INSERT INTO Tags (Name, ColorClass) VALUES ('New Tag', 'bg-tag16')
To update a Tag specify the Id field.
UPDATE Tags SET Name = 'Updated Name', ColorClass = 'bg-tag99' WHERE Id = '123456000000043057'
Tags can be deleted by providing the Id and issuing a DELETE statement.
DELETE FROM Tags WHERE Id = '123456000000043057'
Name | Type | ReadOnly | Description |
Id [KEY] | String | False |
Tag Id. |
Name | String | False |
Tag Name. |
ColorClass | String | False |
Tag Color Class. |
CreatedBy | String | False |
Tag Created By. |
CreatedByName | String | False |
Tag Created By Name. |
CreatedByEmail | String | False |
Tag Created By Email. |
CreatedByFirstName | String | False |
Tag Created By First Name. |
CreatedByLastName | Unknown | False |
Tag Created By Last Name. |
CreatedByIsClientUser | Boolean | False |
Tag Created By Is Client User. |
CreatedByZpuid | String | False |
Tag Created By Zpuid. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Tags | String |
Fetch the team details from the portal.
SELECT * FROM Teams
To create a new Team you can specify the following fields:
INSERT INTO Teams (GroupName, UserIdArr, TeamLead, ProjIds)" + VALUES ('TestTeam5', '["123456000000031003", "123456000000032055"]', '123456000000032055', '["123456000000031899"]
To update a Team specify the GroupId field.
UPDATE Teams SET TeamLead = '123456000000031003', UserIdArr = '["123456000000031003", "123456000000032055"]', ProjIds = '["123456000000031899"]', GroupName = 'TestTeam5' WHERE GroupId = '123456000000036001'
Teams can be deleted by providing the GroupId and issuing a DELETE statement.
DELETE FROM Teams WHERE GroupId = '123456000000044025'
Name | Type | ReadOnly | Description |
GroupId [KEY] | String | False |
Group Id of the team. |
GroupName | String | False |
Group Name of the team. |
CreatedBy | String | False |
Team Created By. |
CreatedTime | String | False |
Created Time of the team. |
Description | String | False |
Description of the team. |
EmailAlias | String | False |
Email Id of the team. |
EmailVerified | Boolean | False |
Email Verified of the team. |
OrgId | String | False |
Organization Id of the team. |
OwnerEmail | String | False |
Owner Email of the team. |
OwnerName | String | False |
Owner Name of the team. |
OwnerZpuid | String | False |
Owner Zpuid of the team. |
OwnerZuid | String | False |
Owner Zuid of the team. |
Prefix | String | False |
Prefix of the team. |
UpdatedBy | String | False |
Updated By of the team. |
UpdatedTime | String | False |
Updated Time of the team. |
HasGroupEdit | Boolean | False |
Has Group Edit of the team. |
ProjectCount | Integer | False |
Project Count of the team. |
UserCount | Integer | False |
User Count of the team. |
UserIdArr | String | False |
Array of multiple Zpuid. |
UserObj | String | False |
User Object of the team. |
ProjIds | String | False |
Array of multiple project Ids. |
TeamLead | String | False |
ZPuid of the team lead. |
Gets the details of all the users in a specific project.
Name | Type | ReadOnly | Description |
Id [KEY] | String | False |
User Id. |
Name | String | False |
User Name. |
Active | Boolean | False |
User Active. |
ChatAccess | Boolean | False |
User Chat Access. |
String | False |
User Email. | |
PortalProfileName | String | False |
User Portal Profile Name. |
PortalRoleId | String | False |
User Portal Role Id. |
PortalRoleName | String | False |
User Portal Role Name. |
ProfileId | String | False |
User Profile Id. |
ProfileType | String | False |
User Profile Type. |
ProjectProfileId | String | False |
User Project Profile Id. |
Role | String | False |
User Role. 使用できる値は次のとおりです。manager, employee, contractor |
RoleId | String | False |
User Role Id. |
RoleName | String | False |
User Role Name. |
Zpuid | String | False |
User Zpuid. |
WorkProjects | String | False |
User Work Projects. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
UserType | String |
User Type. 使用できる値は次のとおりです。active, inactive |
The Cloud models the entities for which Zoho Projects only provides read-only access as views.
It exposes each portal tied to your account as a schema with the following views.
Navigate to an individual view's page for a breakdown of its columns and supported filters.
Name | Description |
MyBugs | Lists all the bugs created by you or assigned to you. |
MyMilestones | Get all the milestones assigned to a particular user in the given project. |
MyTasks | Gets all your tasks in the portal. |
MyTimelogs | Gets the time logs under a specific bug. |
ProjectCustomFields | Gets all the project custom fields. |
ProjectCustomStatus | Gets list of all project custom status. |
ProjectLayouts | Gets list of project layouts. |
TaskLayouts | View the list of all the task layouts available in your portal. |
TaskStatusHistory | Fetches status history of tasks from the Portal. |
TimesheetCustomFields | Fetch all timesheet custom fields across the project. |
PortalUsersRemaining | Gets the details of all users in a specific portal. |
Lists all the bugs created by you or assigned to you.
SELECT * FROM MyBugs WHERE Owner = '12345021738' AND ViewType = 'owned' AND StatusType = 'open' ORDER BY CreatedDate
Name | Type | Description |
Id [KEY] | String | Bug Id. |
Key | String | Bug Key. |
Title | String | Bug Title. |
AssigneeId | String | Bug Assignee Id. |
AssigneeName | String | Bug Assignee Name. |
AssigneeZpuid | String | Bug Assignee ZPUID. |
AttachmentCount | String | Bug Attachment Count. |
BugPrefix | String | Bug Prefix. |
ClassificationId | Long | Bug Classification Id. |
ClassificationType | String | Bug Classification Type. |
Closed | Boolean | Bug Closed. |
CommentCount | String | Bug Comment Count. |
CreatedDate | Date | Bug Created Date. |
CreatedDateTime | Datetime | Bug Created Date Time. |
Description | String | Bug Description. |
DueDate | Date | Bug Due Date. |
DueDateTime | Date | Bug Due Date Time. |
Flag | String | Bug Flag. |
LinkSelfUrl | String | Bug Link Self Url. |
LinkTimesheetUrl | String | Bug Link Timesheet Url. |
ModuleId | Long | Bug Module Id. |
ModuleName | String | Bug Module Name. |
ProjectId | Long | Bug Project Id. |
ProjectIdString | String | Bug Project Id String. |
ProjectName | String | Bug Project Name. |
ReportedPerson | String | Bug Reported Person. |
ReporterId | String | Bug Reporter Id. |
ReproducibleId | Long | Bug Reproducible Id. |
ReproducibleType | String | Bug Reproducible Type. |
SeverityId | Long | Bug Severity Id. |
SeverityType | String | Bug Severity Type. |
StatusId | Long | Bug Status Id. |
StatusType | String | Bug Status Type.
使用できる値は次のとおりです。open, closed |
UpdatedDate | Date | Bug Updated Date. |
UpdatedDateTime | Datetime | Bug Updated Date Time. |
UpdatedTimeLong | Long | Bug Updated Time Long. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Owner | String | Bug Owner. |
ViewType | String | Bug View Type.
使用できる値は次のとおりです。reported, owned |
LastModifiedTime | Datetime | Bug Last Modified Time. |
Get all the milestones assigned to a particular user in the given project.
SELECT * FROM MyMilestones WHERE ProjectId IN ('12345000000030899', '12345000000033005') AND Flag = 'internal' ORDER BY CreatedDate
Name | Type | Description |
ProjectId | String | Project Id. |
Id [KEY] | String | Milestone Id. |
Name | String | Milestone Name. |
Closed | Boolean | Milestone Closed. |
CreatedDate | Date | Milestone Created Date. |
CreatedDateTime | Datetime | Milestone Created Date Time. |
EndDate | Date | Milestone End Date. |
EndDateTime | Datetime | Milestone End Date Time. |
Flag | String | Milestone Flag.
使用できる値は次のとおりです。internal, external |
IsWorkfieldRemoved | Boolean | Milestone Is Work Field Removed. |
LastUpdatedDate | Date | Milestone Last Updated Date. |
LastUpdatedDateTime | Datetime | Milestone Last Updated Date Time. |
SelfUrl | String | Milestone Self Url. |
StatusUrl | String | Milestone Status Url. |
OwnerId | String | Milestone Owner Id. |
OwnerName | String | Milestone Owner Name. |
OwnerZpuid | String | Milestone Owner ZPUID. |
ProjectName | String | Milestone Project Name. |
Sequence | Integer | Milestone Sequence. |
StartDate | Date | Milestone Start Date. |
StartDateTime | Datetime | Milestone Start Date Time. |
Status | String | Milestone Status. |
StatusColorCode | String | Milestone Status Color Code. |
StatusId | String | Milestone Status Id. |
StatusName | String | Milestone Status Name. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
LastModifiedTime | Datetime | Milestone Last Modified Time. |
Gets all your tasks in the portal.
SELECT * FROM MyTasks WHERE MilestoneId = '12345600000123' AND Priority = 'High'
Name | Type | Description |
ProjectId | String | Project Id. |
Id [KEY] | String | Task Id. |
Name | String | Task Name. |
Key | String | Task Key. |
BillingType | String | Task Billing Type. |
Completed | Boolean | Task Completed. |
CreatedBy | String | Task Created By. |
CreatedByEmail | String | Task Created By Email. |
CreatedByZpuid | String | Task Created By Zpuid. |
CreatedPerson | String | Task Created Person. |
CreatedDate | Date | Task Created Date. |
CreatedDateTime | Datetime | Task Created Date Time. |
Description | String | Task Description. |
Owners | String | Task Owners. |
Duration | String | Task Duration. |
DurationType | String | Task Duration Type. |
EndDate | Date | Task End Date. |
EndDateTime | Datetime | Task End Date Time. |
CommentAdded | Boolean | Task Comment Added. |
DocsAssociated | Boolean | Task Docs Associated. |
ForumAssociated | Boolean | Task Forum Associated. |
RecurrenceSet | Boolean | Task Recurrence Set. |
ReminderSet | Boolean | Task Reminder Set. |
Parent | Boolean | Task Parent. |
LastUpdatedDate | Date | Task Last Updated Date. |
LastUpdatedDateTime | Datetime | Task Last Updated Date Time. |
LinkSelfUrl | String | Task Link Self Url. |
LinkTimesheetUrl | String | Task Link Timesheet Url. |
LinkWebUrl | String | Task Link Web Url. |
LogHoursBillableHours | String | Task Log Hours Billable Hours. |
LogHoursNonBillableHours | String | Task Log Hours Non Billable Hours. |
MilestoneId | String | Task Milestone Id. |
OrderSequence | Integer | Task Order Sequence. |
PercentComplete | String | Task Percent Complete. |
Priority | String | Task Priority.
使用できる値は次のとおりです。none, low, medium, high |
StartDate | Date | Task Start Date. |
StartDateTime | Datetime | Task Start Date Time. |
StatusColorCode | String | Task Status Color Code. |
StatusId | String | Task Status Id. |
StatusName | String | Task Status Name. |
StatusType | String | Task Status Type. |
Subtasks | Boolean | Task Subtasks. |
TaskFollowers | String | Task Task Followers. |
TaskFollowerSize | Integer | Task Task Follower Size. |
TasklistId | String | Task Tasklist Id. |
TasklistIdString | String | Task Tasklist Id String. |
TasklistName | String | Task Tasklist Name. |
Work | String | Task Work. |
WorkForm | String | Task Work Form. |
WorkType | String | Task Work Type. |
GroupNameAssociatedTeamsAnyTeam | String | Task Group Name Associated Teams Any Team. |
GroupNameAssociatedTeamsCount | Integer | Task Group Name Associated Teams Count. |
GroupNameIsTeamUnassigned | Boolean | Task Group Name Is Team Unassigned. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Owner | String | Task Owner. |
Status | String | Task Status.
使用できる値は次のとおりです。completed, notcompleted |
Time | String | Task Time.
使用できる値は次のとおりです。overdue, today, tomorrow |
LastModifiedTime | Datetime | Task Last Modified Time. |
CustomViewId | String | Task Custom View Id. |
Gets the time logs under a specific bug.
SELECT * FROM MyTimelogs WHERE User = '123450000123'
Name | Type | Description |
Id [KEY] | String | Time Log Id. |
AddedByName | String | Time Log Added By Name. |
AddedByZpuid | String | Time Log Added By Zpuid. |
AddedByZuid | Long | Time Log Added By Zuid. |
ApprovalStatus | String | Time Log Approval Status. |
ApproverName | String | Time Log Approver Name. |
BillStatus | String | Time Log Bill Status.
使用できる値は次のとおりです。all, billable, non billable |
CreatedDate | Date | Time Log Created Date. |
CreatedDateTime | Datetime | Time Log Created Date Time. |
StartTime | Datetime | Time Log Start Time. |
EndTime | Datetime | Time Log End Time. |
Notes | String | Time Log Notes. |
HoursDisplay | String | Time Log Hours Display. |
Hours | Integer | Time Log Hours. |
Minutes | Integer | Time Log Minutes. |
IsParent | Boolean | Time Log Is Parent. |
IsSubTask | Boolean | Time Log Is Sub Task. |
LastModifiedDate | Date | Time Log Last Modified Date. |
LastModifiedDateTime | Datetime | Time Log Last Modified Date Time. |
LinkSelfUrl | String | Time Log Link Self Url. |
LogDate | Date | Time Log Date. |
LogDateTime | Datetime | Time Log Date Time. |
OwnerId | String | Time Log Owner Id. |
OwnerName | String | Time Log Owner Name. |
SubTaskLevel | String | Time Log Sub Task Level. |
TaskName | String | Time Log Task Name. |
TaskListId | Long | Time Log Task List Id. |
TaskListName | String | Time Log Task List Name. |
TotalMinutes | Integer | Time Log Total Minutes. |
ProjectId | String | Time Log Project Id. |
ProjectName | String | Time Log Project Name. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Date | Date | Time Log Date. |
User | String | Time Log User. |
ViewType | String | Time Log View Type.
使用できる値は次のとおりです。day, week, month |
ComponentType | String | Time Log Component Type.
使用できる値は次のとおりです。bug, task, general |
Gets all the project custom fields.
SELECT * FROM ProjectCustomFields
Name | Type | Description |
Id [KEY] | String | Custom Field Id. |
Name | String | Custom Field Name. |
FieldType | String | Custom Field Type. |
FieldId | String | Field Id. |
PII | Boolean | Custom Field PII. |
Encrypted | Boolean | Encrypted. |
DefaultValue | String | Custom Field Default Value. |
PickList | String | Custom Field Pick List Options. |
Gets list of all project custom status.
SELECT * FROM ProjectCustomStatus
Name | Type | Description |
Id [KEY] | String | Portal Id. |
Name | String | Portal Name. |
Closed | Boolean | Portal Closed. |
Default | Boolean | Portal Default. |
HasDefaultValue | Boolean | Portal Has Default Value. |
Sequence | Int | Portal Sequence. |
StatusColor | String | Portal Status Color. |
StatusColorHexcode | String | Portal Status Color Hex Code. |
Gets list of project layouts.
SELECT * FROM ProjectLayouts
Name | Type | Description |
Id [KEY] | String | Project Layout Id. |
Name | String | Project Layout Name. |
Default | Boolean | Is Default Project Layout. |
View the list of all the task layouts available in your portal.
SELECT * FROM TaskLayouts
Name | Type | Description |
Id [KEY] | String | Task Layout Id. |
Name | String | Task Layout Name. |
Default | Boolean | Task Layout Default. |
Fetches status history of tasks from the Portal.
SELECT * FROM TaskStatusHistory ORDER BY LastModifiedTime
Name | Type | Description |
Id [KEY] | String | Task Status History Id. |
Name | String | Task Status History Name. |
StatusId | String | Task Status History Status Id. |
StatusName | String | Task Status History Status Name. |
PreviousStatusId | String | Task Status History Previous Status Id. |
PreviousStatusName | String | Task Status History Previous Status Name. |
UpdatedStatusId | String | Task Status History Updated Status Id. |
UpdatedStatusName | String | Task Status History Updated Status Name. |
TransitionTimeMillis | String | Task Status History Transition Time Millis. |
TransitionTimeDuration | String | Task Status History Transition Time Duration. |
UpdatedBy | String | Task Status History Updated By. |
UpdatedByName | String | Task Status History Updated By Name. |
UpdatedByEmail | String | Task Status History Updated By Email. |
UpdatedOn | Datetime | Task Status History Updated On. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
LastModifiedTime | Datetime | Task Status History Last Modified Time. |
Fetch all timesheet custom fields across the project.
SELECT * FROM TimesheetCustomFields
Name | Type | Description |
Id [KEY] | String | Time Sheet Custom Field Id. |
FieldName | String | Time Sheet Custom Field Name. |
DataType | String | Time Sheet Custom Field Data Type. |
UniqueColumn | String | Time Sheet Custom Field Unique Column. |
Gets the details of all users in a specific portal.
Name | Type | Description |
AvailableUsersCount | String | Available User Count. |
The Cloud models each portal associated with your account as a catalog, named after the portal. For every project in each of these catalogs, there is a project-specific schema, which is named after the project.
テーブル describes the available tables. Tables are statically defined to model Zoho Projects entities such as bugs, events, tasks, etc.
ビュー describes the available views. Views are read-only tables that are statically defined to model Zoho Projects entities such as activities, clients, documents, etc.
The Cloud models the entities for which Zoho Projects provides full or limited CRUD support as tables.
It models each project tied to your account as a schema with the following tables.
Navigate to an individual table's page for a breakdown of its columns, as well as its supported filters and CRUD operations.
Name | Description |
BugAssociatedTasks | Fetches the details of the task associated with a bug. |
BugComments | Fetch comments for the bug. |
BugEntityProperties | Retrieves the data stored against an entity. The argument of this method should be the key that was used when the same data was stored. |
BugFollowers | Get list of followers for the bug. |
Bugs | Gets all the tasks in the given project. It fetches only the main tasks and not the subtasks. |
BugTimelogs | Gets the time logs under a specific bug. |
Events | Fetches all the tags present in a specific portal. |
ForumCategories | Gets all the forum categories. |
ForumComments | Gets all the forum comments. |
Forums | Gets all the forums in the given project. |
Milestones | Gets list of project layouts. |
ProjectEntityProperties | Retrieves the data stored against an entity. The argument of this method should be the key that was used when the same data was stored. |
ProjectUsers | Gets the details of all the users in a specific project. |
Statuses | Gets the statuses for the given project. |
TaskActivities | Retrieve details of who modified a specific task and when. |
TaskComments | Get all the task comments. |
TaskCustomfields | Usage information for the operation TaskCustomfields.rsd. |
TaskEntityProperties | Retrieves the data stored against an entity. The argument of this method should be the key that was used when the same data was stored. |
Tasklists | Get all the task lists in the given project. |
Tasks | Gets all the tasks in the given project. It fetches only the main tasks and not the subtasks. |
TaskSubtasks | View all the subtasks of the given task. |
TaskTimelogs | Gets the time logs under a specific task. |
TeamUsers | Fetch details of a particular team. |
Fetches the details of the task associated with a bug.
This table shows associations between Bugs and Tasks.
SELECT * FROM BugAssociatedTasks WHERE BugId = '123439000000045005'
To add a new bug-task association specify the BugId and TaskId fields.
INSERT INTO BugAssociatedTasks (BugId, TaskId) VALUES ('123418000000045005', '["123418000000044005"]')
To delete an existing bug-task association specify the BugId and TaskId fields.
DELETE FROM BugAssociatedTasks WHERE BugId = '123418000000045005' AND TaskId = '123418000000044005'
Name | Type | ReadOnly | Description |
BugId | String | False |
Bug Id. |
TaskId | String | False |
Associated Task Id. |
TaskName | String | False |
Associated Task Name. |
Prefix | String | False |
Associated Task Prefix. |
ProjectId | String | False |
Associated Task Project Id. |
TaskOwners | String | False |
Associated Task Owners. |
TaskPercentageCompleted | String | False |
Associated Task Percentage Completed. |
TaskPriority | String | False |
Associated Task Priority. |
TaskListId | String | False |
Associated Task List Id. |
Fetch comments for the bug.
SELECT * FROM BugComments WHERE BugId = '123456000000045005'
To add a Bug Comment specify the BugId and Comment fields.
INSERT INTO BugComments (BugId, Comment) VALUES ('123456000000045005', 'Test Comment #1')
Bug Comments can be deleted by providing the Id and issuing a DELETE statement.
DELETE FROM BugComments WHERE BugId = '123456000000045005' AND Id = '123456000000045042'
Name | Type | ReadOnly | Description |
BugId [KEY] | String | False |
Bug Id. |
Id [KEY] | String | False |
Bug Comment Id. |
Comment | String | False |
Bug Comment Content. |
AddedBy | String | False |
Bug Comment Added By. |
AddedPersonName | String | False |
Bug Comment Added Person Name. |
CreatedDate | Date | False |
Bug Comment Created Date. |
CreatedDateTime | Datetime | False |
Bug Comment Created Date Time. |
UpdatedBy | String | False |
Bug Comment Updated By. |
UpdatedPerson | String | False |
Bug Comment Updated Person. |
UpdatedDate | Date | False |
Bug Comment Updated Date. |
UpdatedDateTime | Datetime | False |
Bug Comment Updated Date Time. |
Retrieves the data stored against an entity. The argument of this method should be the key that was used when the same data was stored.
Entity-properties are key-value pairs stored against the bug entities. They can be used for storing details that are needed for API integrations but don't have to be visible in the UI. The key has to be a String and the Value could be a simple string or a json object. You can store multiple key-value pair for a single entity. These entity properties can be stored / retrieved / updated / deleted using the following queries.
SELECT * FROM BugEntityProperties WHERE BugId = '123456000000034087' AND PropertyKey = 'key1'
To add a new Bug Entity Property specify the BugId, PropertyKey and PropertyValue fields.
INSERT INTO BugEntityProperties (BugId, PropertyKey, PropertyValue) VALUES ('123456000000034087', 'key1', 'This is a test value')
ZohoProjects allows updates for the PropertyValue column.
UPDATE BugEntityProperties SET PropertyValue = 'This is an updated property value' WHERE BugId = '123456000000034087' AND PropertyKey = 'key1'
Bug Entity Properties can be deleted by providing Id, BugId, PropertyKey and issuing a DELETE statement.
DELETE FROM BugEntityProperties WHERE BugId = '166135000000034087' AND PropertyKey = 'key1' AND Id = '166135000000035001'
Name | Type | ReadOnly | Description |
Id [KEY] | String | False |
Bug Entity Property Id. |
BugId [KEY] | String | False |
Bug Id. |
PropertyKey [KEY] | String | False |
Bug Entity Property Key. |
PropertyValue | String | False |
Bug Entity Property Value. |
Get list of followers for the bug.
SELECT * FROM BugFollowers WHERE BugId = '123456000000042110'
To add a Bug Follower specify the BugId and Follower fields.
INSERT INTO BugFollowers (BugId, BugFollowers) VALUES ('123456000000042110', '12345649448')
Bug Followers can be deleted by providing the Id and issuing a DELETE statement.
DELETE FROM BugFollowers WHERE BugId = '123456000000042110' AND FollowerId = '12345649448'
Name | Type | ReadOnly | Description |
BugId [KEY] | String | False |
Bug Id. |
FollowerId | String | False |
Bug Follower Id. |
FollowerName | String | False |
Bug Follower Name. |
BugFollowers | String | False |
Bug Followers. |
Gets all the tasks in the given project. It fetches only the main tasks and not the subtasks.
SELECT * FROM Bugs WHERE ReporterId IN ('12341021738') AND AssigneeId IN ('12341021738') AND ClassificationId IN ('123456000000030015') AND EscalationLevel IN ('0') AND Flag = 'Internal' AND ModuleId IN ('123456000000030145') AND SeverityId IN ('123456000000030151') AND StatusId IN ('123456000000030083')
To create a new Bug, you can specify the following fields:
To create a new Bug, specify the following fields:
INSERT INTO Bugs (Title, Description, AssigneeId, flag, ClassificationId, DueDate, ModuleId, SeverityId, ReproducibleId, HourlyRate, CustomField1) VALUES ('SQL Inserted Bug #5', 'Test Description', '12341249448', 'Internal', '123456000000031015', '2022-03-20', '123456000000031145', '123456000000031149', '123456000000031053', '2', 'TestCustomField')
You can use the below query to update a bug:
UPDATE Bugs SET Title = 'SQL Inserted Bug #5', Description = 'Another Test Description', AssigneeId = '20081249448', ClassificationId = '165818000000031015', DueDate = '2022-03-20', ModuleId = '165818000000031145', SeverityId = '165818000000031149', ReproducibleId = '165818000000031053', HourlyRate = '2', cf1 = 'Custom Field Edited #1' WHERE Id = '165818000000042126'
Bugs can be deleted by providing the Id and issuing a DELETE statement.
DELETE FROM Bugs WHERE Id = '123456000000042126'
Name | Type | ReadOnly | Description |
Id [KEY] | String | False |
Bug Id. |
Key | String | False |
Bug Key. |
Title | String | False |
Bug Title. |
AssigneeId | String | False |
Bug Assignee Id. |
AssigneeName | String | False |
Bug Assignee Name. |
AssigneeZpuid | String | False |
Bug Assignee ZPUID. |
AttachmentCount | String | False |
Bug Attachment Count. |
BugNumber | String | False |
Bug Number. |
BugPrefix | String | False |
Bug Prefix. |
ClassificationId | Long | False |
Bug Classification Id. |
ClassificationType | String | False |
Bug Classification Type. |
Closed | Boolean | False |
Bug Closed. |
CommentCount | String | False |
Bug Comment Count. |
CreatedTime | Date | False |
Bug Created Time. |
CreatedDateTime | Datetime | False |
Bug Created Date Time. |
Description | String | False |
Bug Description. |
DueDate | Date | False |
Bug Due Date. |
DueDateTime | Datetime | False |
Bug Due Date Time. |
EscalationLevel | String | False |
Bug Escalation Level. |
Flag | String | False |
Bug Flag. 使用できる値は次のとおりです。internal, external |
LinkSelfUrl | String | False |
Bug Link Self Url. |
LinkTimesheetUrl | String | False |
Bug Link Timesheet Url. |
LinkWebUrl | String | False |
Bug Link Web Url. |
ModuleId | Long | False |
Bug Module Id. |
ModuleName | String | False |
Bug Module Name. |
ReportedPerson | String | False |
Bug Reported Person. |
ReporterEmail | String | False |
Bug Reporter Email. |
ReporterId | String | False |
Bug Reporter Id. |
ReporterNonZuser | String | False |
Bug Reporter Non User. |
ReproducibleId | Long | False |
Bug Reproducible Id. |
ReproducibleType | String | False |
Bug Reproducible Type. |
SeverityId | Long | False |
Bug Severity Id. |
SeverityType | String | False |
Bug Severity Type. |
StatusColorcode | String | False |
Bug Status Color Code. |
StatusId | String | False |
Bug Status Id. |
StatusType | String | False |
Bug Status Type. 使用できる値は次のとおりです。open, closed |
UpdatedDate | Date | False |
Bug Updated Date. |
UpdatedDateTime | Datetime | False |
Bug Updated Date Time. |
GroupNameAssociatedTeamsAnyTeam | String | False |
Bug Group Name Associated Teams by Any Team. |
GroupNameAssociatedTeamsCount | Integer | False |
Bug Group Name Associated Teams Count. |
GroupNameIsTeamUnassigned | Boolean | False |
Bug Group Name Is Team Unassigned. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
HourlyRate | String |
Bug Hourly Rate. |
BugFollowers | String |
Bug Bug Followers. |
CustomViewId | String |
Bug Custom View Id. |
MilestoneId | String |
Bug Milestone Id. |
AffectedMilestoneId | String |
Bug Affected Milestone Id. |
Gets the time logs under a specific bug.
SELECT * FROM BugTimelogs WHERE BugId = '123456000000045005'
To add a Bug TimeLog specify the BugId and Follower fields.
INSERT INTO BugTimelogs (BugId, LogDate, BillStatus, HoursDisplay, Notes) VALUES ('123456000000045005', '2022-03-03', 'Non Billable', '01:20', 'This is a test timelog')
To update a Bug TimeLog specify the BugId and Id fields.
UPDATE BugTimelogs SET Notes = 'This is an updated SQL Note' WHERE BugId = '165818000000045005' AND Id = '123456000000044025'
Bug TimeLogs can be deleted by providing the BugId and Id and issuing a DELETE statement.
DELETE FROM BugTimelogs WHERE BugId = '123456000000045005' AND Id = '123456000000044025'
Name | Type | ReadOnly | Description |
BugId [KEY] | String | False |
Bug Id. |
Id [KEY] | String | False |
Bug Time Log Id. |
AddedByName | String | False |
Bug Time Log Added By Name. |
AddedByZpuid | String | False |
Bug Time Log Added By ZPUID. |
AddedByZuid | Long | False |
Bug Time Log Added By ZUID. |
ApprovalStatus | String | False |
Bug Time Log Approval Status. |
ApproverName | String | False |
Bug Time Log Approver Name. |
BillStatus | String | False |
Bug Time Log Bill Status. 使用できる値は次のとおりです。Billable, Non Billable |
BugTitle | String | False |
Bug Time Log Bug Title. |
CreatedDate | Date | False |
Bug Time Log Created Date. |
CreatedDateTime | Datetime | False |
Bug Time Log Created Date Time. |
Hours | Integer | False |
Bug Time Log Hours. |
Minutes | Integer | False |
Bug Time Log Minutes. |
HoursDisplay | String | False |
Bug Time Log Hours Display. |
LastModifiedDate | Date | False |
Bug Time Log Last Modified Date. |
LastModifiedDateTime | Datetime | False |
Bug Time Log Last Modified Date Time. |
LinkSelfUrl | String | False |
Bug Time Log Link Self Url. |
LogDate | Date | False |
Bug Time Log Date. |
LogDateTime | Datetime | False |
Bug Time Log Date Time. |
Notes | Unknown | False |
Bug Time Log Notes. |
OwnerId | String | False |
Bug Time Log Owner Id. |
OwnerName | String | False |
Bug Time Log Owner Name. |
TotalMinutes | Integer | False |
Bug Time Log Total Minutes. |
Fetches all the tags present in a specific portal.
SELECT * FROM Events WHERE Status = 'open'
To create a new Event you can specify the following fields:
INSERT INTO Events (Title, ScheduledOn, DurationHour, DurationMinutes, Participants, Reminder, Repeat, Location) VALUES ('SQL Event #2', '2022-03-20T18:00:00', '2', '30', '20081249448', '15 mins', 'only once', 'Test Location 2')
To update an Event specify the Id field.
UPDATE Events SET title = 'Updated Title #1', DurationHour = '4', DurationMinutes = '10', ScheduledOn = '2022-05-01T23:12:00', Participants = '20081249448' WHERE Id = '123456000000045018'
Events can be deleted by providing the Id and issuing a DELETE statement.
DELETE FROM Events WHERE Id = '123456000000045018'
Name | Type | ReadOnly | Description |
Id [KEY] | String | False |
Event Id. |
Title | String | False |
Event Title. |
CreatedBy | String | False |
Event Created By. |
CreatedByZpuid | String | False |
Event Created By ZPUID. |
CreatedOn | Long | False |
Event Created On. |
DurationHour | String | False |
Event Duration Hour. |
DurationMinutes | String | False |
Event Duration Minutes. |
Location | String | False |
Event Location. |
Occurred | Integer | False |
Event Occurred. |
Occurrences | Integer | False |
Event Occurrences. |
Participants | String | False |
Event Participants. |
ProjectName | String | False |
Event Project Name. |
Reminder | String | False |
Event Reminder. 使用できる値は次のとおりです。on time, 15 mins, 30 mins, 1 hour, 2 hours, 6 hours, 12 hours, 1 day |
Repeat | String | False |
Event Repeat. 使用できる値は次のとおりです。only once, everyday, everyweek, everymonth, everyyear |
ScheduledOn | String | False |
Event Scheduled On. |
ScheduledOnLong | String | False |
Event Scheduled On Long. |
ScheduledOnTo | String | False |
Event Scheduled On To. |
ScheduledOnToLong | String | False |
Event Scheduled On To Long. |
RepeatTimes | String | False |
Event Repeat Times. 使用できる値は次のとおりです。2, 3, 4, 5, 6, 7, 8, 9, 10 |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Status | String |
Event Status. 使用できる値は次のとおりです。open, closed |
Gets all the forum categories.
SELECT * FROM ForumCategories
To create a new Forum Category you can use the below query:
INSERT INTO ForumCategories (name) VALUES ('New Forum Category')
ForumCategories can be deleted by providing the Id and issuing a DELETE statement.
DELETE FROM ForumCategories WHERE Id = '123456000000045018'
Name | Type | ReadOnly | Description |
Id [KEY] | String | False |
Forum Category Id. |
Name | String | False |
Forum Category Name. |
Gets all the forum comments.
SELECT * FROM ForumComments WHERE ForumId = '123456000000045018'
To create a new Forum Comment you can use the below query:
INSERT INTO ForumComments (ForumId, Content, ParentId) VALUES ('123456000000045028', 'Forum Comment Reply', '123456000000043083')
Forum Comments can be deleted by providing the Id, ForumId and issuing a DELETE statement.
DELETE FROM ForumComments WHERE Id = '123456000000043083' AND ForumId = '123456000000045028'
Name | Type | ReadOnly | Description |
ForumId [KEY] | Long | False |
Forum Id. |
Id [KEY] | String | False |
Forum Comment Id. |
Content | String | False |
Forum Comment Content. |
Type | String | False |
Forum Comment Type. |
Attachments | String | False |
Forum Comment Attachments. |
IsBestAnswer | Boolean | False |
Forum Comment Is Best Answer. |
Level | String | False |
Forum Comment Level. |
ParentId | String | False |
Forum Comment Parent Id. |
ParentPostedBy | String | False |
Forum Comment Parent Posted By. |
ParentPostedByZpuid | String | False |
Forum Comment Parent Posted By ZPUID. |
PostDate | Date | False |
Forum Comment Post Date. |
PostDateTime | Datetime | False |
Forum Comment Post Date Time. |
PostedBy | String | False |
Forum Comment Posted By. |
PostedByZpuid | String | False |
Forum Comment Posted By Zpuid. |
PostedPerson | String | False |
Forum Comment Posted Person. |
RootId | String | False |
Forum Comment Root Id. |
ThirdPartyAttachments | String | False |
Forum Comment Third Party Attachments. |
Gets all the forums in the given project.
SELECT * FROM Forums WHERE Id = '123456000000043771'
To create a new Forum, you can specify the following fields:
To create a new Forum, you can use the below query:
INSERT INTO Forums (Name, Type, CategoryId, Content, Flag, IsAnnouncementPost, IsStickyPost) VALUES ('Forum Post', 'normal', '123456000000039039', 'Content for Forum Post', 'internal', false, false)
To update a Forum, specify the Id field.
UPDATE Forums SET Name = 'Updated Post Name', CategoryId = '123456000000093039', Content = 'Updated forum post content' WHERE Id = '123456000000043771'
Forums can be deleted by providing the Id and issuing a DELETE statement.
DELETE FROM Forums WHERE Id = '123456000000043771'
Name | Type | ReadOnly | Description |
Id [KEY] | String | False |
Forum Id. |
Name | String | False |
Forum Name. |
Type | String | False |
Forum Type. 使用できる値は次のとおりです。normal, question |
Attachments | String | False |
Forum Attachments. |
CategoryId | String | False |
Forum Category Id. |
CategoryName | String | False |
Forum Category Name. |
CommentCount | Integer | False |
Forum Comment Count. |
Content | String | False |
Forum Content. |
Flag | String | False |
Forum Flag. |
IsAnnouncementPost | Boolean | False |
Forum Is Announcement Post. |
IsStickyPost | Boolean | False |
Forum Is Sticky Post. |
LastActivityDate | Date | False |
Forum Last Activity Date. |
LastActivityDateTime | Datetime | False |
Forum Last Activity Date Time. |
LastModifiedDate | Date | False |
Forum Last Modified Date. |
LastModifiedDateTime | Datetime | False |
Forum Last Modified Date Time. |
LinkSelfUrl | String | False |
Forum Link Self Url. |
PostDate | Date | False |
Forum Post Date. |
PostDateTime | Datetime | False |
Forum Post Date Time. |
PostedBy | String | False |
Forum Posted By. |
PostedByZpuid | String | False |
Forum Posted By ZPUID. |
PostedPerson | String | False |
Forum Posted Person. |
ThirdPartyAttachments | String | False |
Forum Third Party Attachments. |
Notify | String | False |
Enter the user mail Ids to be notified (Multiple emails can be comma-separated). |
Gets list of project layouts.
SELECT * FROM Milestones WHERE Id = '123456000000043771' WHERE flag = 'internal'
To create a new Milestone you can specify the following fields:
To create a new Milestone you can use the below query:
INSERT INTO Milestones (name, StartDate, EndDate, OwnerId, flag) VALUES ('New Milestone name', '2022-03-01', '2022-03-10', '1234567890', 'internal')
To update a Milestone specify the Id field.
UPDATE Milestones SET Name = 'Updated Name', Flag = 'external', StartDate = '2022-02-01', EndDate = '2022-03-01', OwnerId = '1234567890' " + WHERE Id = '123456000000043021'
Milestones can be deleted by providing the Id and issuing a DELETE statement.
DELETE FROM Milestones WHERE Id = '123456000000043021'
Name | Type | ReadOnly | Description |
Id [KEY] | String | False |
Project Milestone Id. |
Name | String | False |
Project Milestone Name. |
Flag | String | False |
Milestone Flag. 使用できる値は次のとおりです。internal, external |
Closed | Boolean | False |
Milestone Closed. |
CreatedDate | Date | False |
Milestone Created Date. |
CreatedDateTime | Datetime | False |
Milestone Created Date Time. |
StartDate | Date | False |
Milestone Start Date. |
StartDateTime | Datetime | False |
Milestone Start Date Time. |
EndDate | Date | False |
Milestone End Date. |
EndDateTime | Datetime | False |
Milestone End Date Time. |
Actual | Integer | False |
Milestone Actual. |
ActualCostFormatted | String | False |
Milestone Actual Cost Formatted. |
ActualHoursFormatted | String | False |
Milestone Actual Hours Formatted. |
Balance | Integer | False |
Milestone Balance. |
BalanceCostFormatted | String | False |
Milestone Balance Cost Formatted. |
BcyActual | Integer | False |
Milestone Bcy Actual. |
BcyActualCost | String | False |
Milestone Bcy Actual Cost. |
BcyForecasted | Integer | False |
Milestone Bcy Forecasted. |
BcyForecastedCost | String | False |
Milestone Bcy Forecasted Cost. |
BcyPlanned | Integer | False |
Milestone Bcy Planned. |
BcyPlannedCost | String | False |
Milestone Bcy Planned Cost. |
BudgetType | Integer | False |
Milestone Budget Type. |
CurrencyCode | String | False |
Milestone Currency Code. |
Difference | Integer | False |
Milestone Difference. |
DifferenceFormatted | String | False |
Milestone Difference Formatted. |
Forecasted | Integer | False |
Milestone Forecasted. |
ForecastedCostFormatted | String | False |
Milestone Forecasted Cost Formatted. |
ForecastedHoursFormatted | String | False |
Milestone Forecasted Hours Formatted. |
LastCalculatedTime | String | False |
Milestone Last Calculated Time. |
Planned | Integer | False |
Milestone Planned. |
PlannedCostFormatted | String | False |
Milestone Planned Cost Formatted. |
PlannedHoursFormatted | String | False |
Milestone Planned Hours Formatted. |
IsWorkfieldRemoved | Boolean | False |
Milestone Is Work Field Removed. |
LastUpdatedDate | Date | False |
Milestone Last Updated Date. |
LastUpdatedDateTime | Datetime | False |
Milestone Last Updated Date Time. |
SelfUrl | String | False |
Milestone Self Url. |
StatusUrl | String | False |
Milestone Status Url. |
OwnerId | String | False |
Milestone Owner Id. |
OwnerName | String | False |
Milestone Owner Name. |
OwnerZpuid | String | False |
Milestone Owner ZPUID. |
ProjectId | String | False |
Project Id. |
ProjectName | String | False |
Project Name. |
Sequence | Integer | False |
Milestone Sequence. |
Status | String | False |
Status. 使用できる値は次のとおりです。completed, notcompleted |
StatusColorCode | String | False |
Status Color Code. |
StatusId | String | False |
Status Id. |
StatusName | String | False |
Status Name. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
DisplayType | String |
Milestone Display Type. 使用できる値は次のとおりです。upcoming, delayed |
LastModifiedTime | Datetime |
Milestone Last Modified Time. |
Retrieves the data stored against an entity. The argument of this method should be the key that was used when the same data was stored.
Entity-properties are key-value pairs stored against the project entities. They can be used for storing details that are needed for API integrations but don't have to be visible in the UI. Key has to be a String and the Value could be a simple string or a json object. You can store multiple key-value pair for a single entity. These entity properties can be stored / retrieved / updated / deleted using the below queries.
SELECT * FROM ProjectEntityProperties WHERE PropertyKey = 'key1'
To add a new Project Entity Property specify the PropertyKey and PropertyValue fields.
INSERT INTO ProjectEntityProperties (PropertyKey, PropertyValue) VALUES ('key1', 'This is a test value')
ZohoProjects allows updates for the PropertyValue column.
UPDATE ProjectEntityProperties SET PropertyValue = 'This is an updated property value' WHERE PropertyKey = 'key1'
Project Entity Properties can be deleted by providing Id, PropertyKey and issuing a DELETE statement.
DELETE FROM ProjectEntityProperties WHERE PropertyKey = 'key1' AND Id = '166135000000035001'
Name | Type | ReadOnly | Description |
Id [KEY] | String | False |
Project Entity Property Id. |
PropertyKey [KEY] | String | False |
Project Entity Property Key. |
PropertyValue | String | False |
Project Entity Property Value. |
Gets the details of all the users in a specific project.
Name | Type | ReadOnly | Description |
Id [KEY] | String | False |
User Id. |
Name | String | False |
User Name. |
Active | Boolean | False |
User Active. |
ChatAccess | Boolean | False |
User Chat Access. |
String | False |
User Email. | |
PortalProfileName | String | False |
User Portal Profile Name. |
PortalRoleId | String | False |
User Portal Role Id. |
PortalRoleName | String | False |
User Portal Role Name. |
ProfileId | String | False |
User Profile Id. |
ProfileType | String | False |
User Profile Type. |
ProjectProfileId | String | False |
User Project Profile Id. |
Role | String | False |
User Role. 使用できる値は次のとおりです。manager, employee, contractor |
RoleId | String | False |
User Role Id. |
RoleName | String | False |
User Role Name. |
Zpuid | String | False |
User ZPUID. |
WorkProjects | String | False |
User Work Projects. |
UserType | String | False |
User User Type. 使用できる値は次のとおりです。active, inactive |
Gets the statuses for the given project.
SELECT * FROM Statuses
To create a new Status you can specify the following fields:
INSERT INTO Statuses (Content) VALUES ('My Custom Status')
Name | Type | ReadOnly | Description |
Id [KEY] | String | False |
Status Id. |
Content | String | False |
Status Content. |
PostedBy | String | False |
Status Posted By. |
PostedPerson | String | False |
Status Posted Person. |
PostedDate | Date | False |
Status Posted Date. |
PostedDateTime | Datetime | False |
Status Posted Date Time. |
Retrieve details of who modified a specific task and when.
SELECT * FROM TaskActivities WHERE TaskId = '123456789'
Name | Type | ReadOnly | Description |
TaskId | String | False |
Task Id. |
Id [KEY] | String | False |
Task Activity Id. |
Name | String | False |
Task Activity Name. |
ActivityBy | String | False |
Task Activity By. |
OldValue | Unknown | False |
Task Activity Old Value. |
NewValue | Unknown | False |
Task Activity New Value. |
State | String | False |
Task Activity State. |
Time | Date | False |
Task Activity Time. |
DateTime | Datetime | False |
Task Activity Date Time. |
Zuid | String | False |
Task Activity ZUID. |
Get all the task comments.
SELECT * FROM TaskComments WHERE TaskId = '123456000000040013'
To add a Task Comment specify the TaskId and Comment fields.
INSERT INTO TaskComments (TaskId, content) VALUES ('123456000000040013', 'SQL Comment #6')
To update a Task Comments specify the Id field.
UPDATE TaskComments SET Content = 'Updated forum post content' WHERE Id = '123456000000043771' AND TaskId = '123456000000040013'
Task Comments can be deleted by providing the Id and issuing a DELETE statement.
DELETE FROM TaskComments WHERE TaskId = '123456000000045005' AND Id = '123456000000045042'
Name | Type | ReadOnly | Description |
TaskId [KEY] | String | False |
Task Id. |
Id [KEY] | String | False |
Task Comment Id. |
Content | String | False |
Task Comment Content. |
AddedPersonId | String | False |
Task Comment Added Person Id. |
AddedPersonName | String | False |
Task Comment Added Person Name. |
AddedVia | String | False |
Task Comment Added Via. |
Attachments | String | False |
Task Comment Attachments. |
CreatedDate | Date | False |
Task Comment Created Date. |
CreatedDateTime | Datetime | False |
Task Comment Created Date Time. |
LastModifiedDate | Date | False |
Task Comment Last Modified Date. |
LastModifiedDateTime | Datetime | False |
Task Comment Last Modified Date Time. |
ProjectName | String | False |
Task Comment Project Name. |
SprintsNotesId | Integer | False |
Task Comment Sprints Notes Id. |
ThirdPartyAttachments | String | False |
Task Comment Third Party Attachments. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
LastModifiedTime | Datetime |
Task Comment Last Modified Time. |
Usage information for the operation TaskCustomfields.rsd.
Name | Type | ReadOnly | Description |
ColumnName [KEY] | String | False |
Task Custom Field Column Name. |
ColumnType [KEY] | String | False |
Task Custom Field Column Type. |
DisplayName [KEY] | String | False |
Task Custom Field Display Name. |
IsDefault [KEY] | String | False |
Task Custom Field Is Default. |
IsEncrypted [KEY] | String | False |
Task Custom Field Is Encrypted. |
IsMandatory | String | False |
Task Custom Field Is Mandatory. |
Retrieves the data stored against an entity. The argument of this method should be the key that was used when the same data was stored.
Entity-properties are key-value pairs stored against the Task entities. They can be used for storing details that are needed for API integrations but don't have to be visible in the UI. Key has to be a String and the Value could be a simple string or a json object. You can store multiple key-value pair for a single entity. These entity properties can be stored / retrieved / updated / deleted using the below queries.
SELECT * FROM TaskEntityProperties WHERE TaskId = '123456000000034087' AND PropertyKey = 'key1'
To add a new Task Entity Property specify the TaskId, PropertyKey and PropertyValue fields.
INSERT INTO TaskEntityProperties (TaskId, PropertyKey, PropertyValue) VALUES ('123456000000034087', 'key1', 'This is a test value')
ZohoProjects allows updates for the PropertyValue column.
UPDATE TaskEntityProperties SET PropertyValue = 'This is an updated property value' WHERE TaskId = '123456000000034087' AND PropertyKey = 'key1'
Task Entity Properties can be deleted by providing Id, TaskId, PropertyKey and issuing a DELETE statement.
DELETE FROM TaskEntityProperties WHERE TaskId = '166135000000034087' AND PropertyKey = 'key1' AND Id = '166135000000035001'
Name | Type | ReadOnly | Description |
Id [KEY] | String | False |
Task Entity Property Id. |
TaskId [KEY] | String | False |
Task Id. |
PropertyKey [KEY] | String | False |
Task Entity Property Key. |
PropertyValue | String | False |
Task Entity Property Value. |
Get all the task lists in the given project.
SELECT * FROM Tasklists WHERE MilestoneId = '12345600000123' AND Flag = 'internal'
To create a new Tasklist you can specify the following fields:
INSERT INTO Tasklists (name, flag, ShiftDays) VALUES ('New Tasklist #2', 'internal', '2022-03-10T01:00:00Z')
To update a Tasklist specify the Id field.
UPDATE Tasklists SET Name = 'SQL Updated tasklist #7' WHERE Id = '123456000000041033'
Tasklists can be deleted by providing the Id and issuing a DELETE statement.
DELETE FROM Tasklists WHERE Id = '123456000000041033'
Name | Type | ReadOnly | Description |
Id [KEY] | String | False |
Tasklist Id. |
Name | String | False |
Tasklist Name. |
Completed | Boolean | False |
Tasklist Completed. |
CreatedDate | Date | False |
Tasklist Created Date. |
CreatedDateTime | Datetime | False |
Tasklist Created Date Time. |
LastUpdatedDate | Date | False |
Tasklist Last Updated Date. |
LastUpdatedDateTime | Datetime | False |
Tasklist Last Updated Date Time. |
LinkSelfUrl | String | False |
Tasklist Link Self Url. |
LinkTaskUrl | String | False |
Tasklist Link Task Url. |
MilestoneClosed | Boolean | False |
Tasklist Milestone Closed. |
MilestoneCreatedDate | Date | False |
Tasklist Milestone Created Date. |
MilestoneCreatedDateTime | Datetime | False |
Tasklist Milestone Created Date Time. |
MilestoneEndDate | Date | False |
Tasklist Milestone End Date. |
MilestoneEndDateTime | Datetime | False |
Tasklist Milestone End Date Time. |
MilestoneFlag | String | False |
Tasklist Milestone Flag. |
MilestoneId | String | False |
Tasklist Milestone Id. |
MilestoneIsWorkfieldRemoved | Boolean | False |
Tasklist Milestone Is Workfield Removed. |
MilestoneLastUpdatedDate | Date | False |
Tasklist Milestone Last Updated Date. |
MilestoneLastUpdatedDateTime | Datetime | False |
Tasklist Milestone Last Updated Date Time. |
MilestoneLinkSelfUrl | String | False |
Tasklist Milestone Link Self Url. |
MilestoneLinkStatusUrl | String | False |
Tasklist Milestone Link Status Url. |
MilestoneName | String | False |
Tasklist Milestone Name. |
MilestoneOwnerId | String | False |
Tasklist Milestone Owner Id. |
MilestoneOwnerName | String | False |
Tasklist Milestone Owner Name. |
MilestoneOwnerZpuid | String | False |
Tasklist Milestone Owner Zpuid. |
MilestoneProjectId | String | False |
Tasklist Milestone Project Id. |
MilestoneProjectName | String | False |
Tasklist Milestone Project Name. |
MilestoneSequence | Integer | False |
Tasklist Milestone Sequence. |
MilestoneStartDate | Date | False |
Tasklist Milestone Start Date. |
MilestoneStartDateTime | Datetime | False |
Tasklist Milestone Start Date Time. |
MilestoneStatus | String | False |
Tasklist Milestone Status. |
MilestoneStatusDetColorcode | String | False |
Tasklist Milestone Status Det Colorcode. |
MilestoneStatusDetId | String | False |
Tasklist Milestone Status Det Id. |
MilestoneStatusDetName | String | False |
Tasklist Milestone Status Det Name. |
Rolled | Boolean | False |
Tasklist Rolled. |
Sequence | Integer | False |
Tasklist Sequence. |
TaskCountOpen | Integer | False |
Tasklist Task Count Open. |
TaskTemplateId | String | False |
Id of the task list template. |
ShiftDays | Datetime | False |
The ISO 8601 Datetime from which the Task start date is calculated, based on shift days. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Flag | String |
Tasklist Flag. 使用できる値は次のとおりです。internal, external |
Gets all the tasks in the given project. It fetches only the main tasks and not the subtasks.
SELECT * FROM Tasks WHERE MilestoneId = '12345600000123' AND Priority = 'High' ORDER BY CreatedDate
To create a new Task you can specify the following fields:
INSERT INTO Tasks (Name, Description, Duration, DurationType, Priority, BudgetValue) VALUES ('New Task #2', 'This is a test description', '5', 'hrs', 'High', '1000')
To update a Task specify the Id field.
UPDATE Tasks SET Priority = 'Low' WHERE Id = '123456000000034003'
Tasks can be deleted by providing the Id and issuing a DELETE statement.
DELETE FROM Tasks WHERE Id = '123456000000034003'
Name | Type | ReadOnly | Description |
Id [KEY] | String | False |
Task Id. |
Name | String | False |
Task Name. |
Key | String | False |
Task Key. |
BillingType | String | False |
Task Billing Type. |
Completed | Boolean | False |
Task Completed. |
CreatedBy | String | False |
Task Created By. |
CreatedByEmail | String | False |
Task Created By Email. |
CreatedByZpuid | String | False |
Task Created By Zpuid. |
CreatedPerson | String | False |
Task Created Person. |
CreatedDate | Date | False |
Task Created Date. |
CreatedDateTime | Datetime | False |
Task Created Date Time. |
Description | String | False |
Task Description. |
Owners | String | False |
Task Owners. |
Duration | String | False |
Task Duration. |
DurationType | String | False |
Task Duration Type. 使用できる値は次のとおりです。days, hrs |
EndDate | Date | False |
Task End Date. |
EndDateTime | Datetime | False |
Task End Date Time. |
CommentAdded | Boolean | False |
Task Comment Added. |
DocsAssociated | Boolean | False |
Task Docs Associated. |
ForumAssociated | Boolean | False |
Task Forum Associated. |
RecurrenceSet | Boolean | False |
Task Recurrence Set. |
ReminderSet | Boolean | False |
Task Reminder Set. |
Parent | Boolean | False |
Task Parent. |
LastUpdatedDate | Date | False |
Task Last Updated Date. |
LastUpdatedDateTime | Datetime | False |
Task Last Updated Date Time. |
LinkSelfUrl | String | False |
Task Link Self Url. |
LinkTimesheetUrl | String | False |
Task Link Timesheet Url. |
LinkWebUrl | String | False |
Task Link Web Url. |
LogHoursBillableHours | String | False |
Task Log Hours Billable Hours. |
LogHoursNonBillableHours | String | False |
Task Log Hours Non Billable Hours. |
MilestoneId | String | False |
Task Milestone Id. |
OrderSequence | Integer | False |
Task Order Sequence. |
PercentComplete | String | False |
Task Percent Complete. |
Priority | String | False |
Task Priority. 使用できる値は次のとおりです。none, low, medium, high |
StartDate | Date | False |
Task Start Date. |
StartDateTime | Datetime | False |
Task Start Date Time. |
StatusColorCode | String | False |
Task Status Color Code. |
StatusName | String | False |
Task Status Name. |
StatusId | String | False |
Task Status Id. |
StatusType | String | False |
Task Status Type. |
Subtasks | Boolean | False |
Task Subtasks. |
TaskFollowers | String | False |
Task Task Followers. |
TaskFollowerSize | Integer | False |
Task Task Follower Size. |
TasklistId | String | False |
Tasklist Id. |
TasklistName | String | False |
Tasklist Name. |
Work | String | False |
Task Work. |
WorkForm | String | False |
Task Work Form. |
WorkType | String | False |
Task Work Type. 使用できる値は次のとおりです。work_hrs_per_day |
GroupNameAssociatedTeamsAnyTeam | String | False |
Task Group Name Associated Teams Any Team. |
GroupNameAssociatedTeamsCount | Integer | False |
Task Group Name Associated Teams Count. |
GroupNameIsTeamUnassigned | Boolean | False |
Task Group Name Is Team Unassigned. |
RatePerHour | String | False |
Task Rate Per Hour. |
ReminderString | String | False |
Task Reminder String. |
Recurrence | String | False |
Task Recurrence. |
BudgetValue | String | False |
Task Budget Value. |
BudgetThreshold | String | False |
Task Budget Threshold. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Owner | String |
Task Owner. |
Status | String |
Task Status. 使用できる値は次のとおりです。completed, notcompleted |
Time | String |
Task Time. 使用できる値は次のとおりです。overdue, today, tomorrow |
LastModifiedTime | Datetime |
Task Last Modified Time. |
ViewId | String |
Task View Id. |
View all the subtasks of the given task.
SELECT * FROM TaskSubtasks WHERE TaskId = '12345600000123'
To create a new Task you can specify the following fields:
INSERT INTO TaskSubtasks (TaskId, Name, StartDate, EndDate, Duration, DurationType, Priority, Description) VALUES ('165818000000040013', 'Sql Subtask #4', '2022-03-01', '2022-03-10', '2', 'hrs', 'High', 'Test description of the subtask')
Name | Type | ReadOnly | Description |
TaskId | String | False |
Task Id. |
Id [KEY] | String | False |
Subtask Id. |
Name | String | False |
Subtask Name. |
Key | String | False |
Subtask Key. |
BillingType | String | False |
Subtask Billing Type. |
Completed | Boolean | False |
Subtask Completed. |
CreatedBy | String | False |
Subtask Created By. |
CreatedByEmail | String | False |
Subtask Created By Email. |
CreatedByZpuid | String | False |
Subtask Created By Zpuid. |
CreatedPerson | String | False |
Subtask Created Person. |
CreatedTime | Date | False |
Subtask Created Time. |
CreatedDateTime | Datetime | False |
Subtask Created Date Time. |
Depth | Integer | False |
Subtask Depth. |
Description | String | False |
Subtask Description. |
DetailsOwners | String | False |
Subtask Details Owners. |
Duration | String | False |
Subtask Duration. |
DurationType | String | False |
Subtask Duration Type. 使用できる値は次のとおりです。days, hrs |
IsCommentAdded | Boolean | False |
Subtask Is Comment Added. |
IsDocsAssociated | Boolean | False |
Subtask Is Docs Associated. |
IsForumAssociated | Boolean | False |
Subtask Is Forum Associated. |
IsRecurrenceSet | Boolean | False |
Subtask Is Recurrence Set. |
IsReminderSet | Boolean | False |
Subtask Is Reminder Set. |
IsParent | Boolean | False |
Subtask Is Parent. |
LastUpdatedTime | Date | False |
Subtask Last Updated Time. |
LastUpdatedDateTime | Datetime | False |
Subtask Last Updated Date Time. |
LinkSelfUrl | String | False |
Subtask Link Self Url. |
LinkTimesheetUrl | String | False |
Subtask Link Timesheet Url. |
LinkWebUrl | String | False |
Subtask Link Web Url. |
LogBillableHours | String | False |
Subtask Log Billable Hours. |
LogNonBillableHours | String | False |
Subtask Log Non Billable Hours. |
MilestoneId | String | False |
Subtask Milestone Id. |
OrderSequence | Integer | False |
Subtask Order Sequence. |
ParentTaskId | String | False |
Subtask Parent Task Id. |
PercentComplete | String | False |
Subtask Percent Complete. |
Priority | String | False |
Subtask Priority. 使用できる値は次のとおりです。none, low, medium, high |
RootTaskId | String | False |
Subtask Root Task Id. |
StatusColorCode | String | False |
Subtask Status Color Code. |
StatusId | String | False |
Subtask Status Id. |
StatusName | String | False |
Subtask Status Name. |
StatusType | String | False |
Subtask Status Type. |
Subtasks | Boolean | False |
Subtask Subtasks. |
TaskFollowers | String | False |
Subtask Task Followers. |
TaskFollowerSize | Integer | False |
Subtask Task Follower Size. |
TasklistId | String | False |
Subtask Tasklist Id. |
TasklistName | String | False |
Subtask Tasklist Name. |
Work | String | False |
Subtask Work. |
WorkForm | String | False |
Subtask Work Form. |
WorkType | String | False |
Subtask Work Type. |
GroupNameAssociatedTeamsAnyTeam | String | False |
Subtask Group Name Associated Teams Any Team. |
GroupNameAssociatedTeamsCount | Integer | False |
Subtask Group Name Associated Teams Count. |
GroupNameIsTeamUnassigned | Boolean | False |
Subtask Group Name Is Team Unassigned. |
StartDate | Date | False |
Subtask Start Date. |
EndDate | Date | False |
Subtask End Date. |
PersonResponsible | String | False |
Subtask Person Responsible. |
Gets the time logs under a specific task.
SELECT * FROM TaskTimelogs WHERE TaskId = '123456000000045005'
To create a new Task Timelog you can specify the following fields:
INSERT INTO TaskTimelogs (TaskId, LogDate, BillStatus, HoursDisplay, Notes) " + VALUES ('123456000000040013', '2022-03-03', 'Non Billable', '01:20', 'This is a test timelog')
To update a Task TimeLog specify the TaskId and Id fields.
UPDATE TaskTimelogs SET Notes = 'This is an updated SQL Note' WHERE TaskId = '165818000000040013' AND Id = '165818000000045001'
Task TimeLogs can be deleted by providing the TaskId and Id and issuing a DELETE statement.
DELETE FROM TaskTimelogs WHERE TaskId = '123456000000045005' AND Id = '123456000000044025'
Name | Type | ReadOnly | Description |
TaskId [KEY] | String | False |
Task Id. |
Id [KEY] | String | False |
Task Time Log Id. |
AddedByName | String | False |
Task Time Log Added By Name. |
AddedByZpuid | String | False |
Task Time Log Added By Zpuid. |
AddedByZuid | Long | False |
Task Time Log Added By Zuid. |
ApprovalStatus | String | False |
Task Time Log Approval Status. |
ApproverName | String | False |
Task Time Log Approver Name. |
BillStatus | String | False |
Task Time Log Bill Status. 使用できる値は次のとおりです。Billable, Non Billable |
CreatedDate | Date | False |
Task Time Log Created Date. |
CreatedDateTime | Datetime | False |
Task Time Log Created Date Time. |
StartTime | Datetime | False |
Task Time Log Start Time. |
EndTime | Datetime | False |
Task Time Log End Time. |
Notes | String | False |
Task Time Log Notes. |
HoursDisplay | String | False |
Task Time Log Hours Display. |
Hours | Integer | False |
Task Time Log Hours. |
Minutes | Integer | False |
Task Time Log Minutes. |
IsParent | Boolean | False |
Task Time Log Is Parent. |
IsSubTask | Boolean | False |
Task Time Log Is Sub Task. |
LastModifiedDate | Date | False |
Task Time Log Last Modified Date. |
LastModifiedDateTime | Datetime | False |
Task Time Log Last Modified Date Time. |
LinkSelfUrl | String | False |
Task Time Log Link Self Url. |
LogDate | Date | False |
Task Time Log Date. |
LogDateTime | Datetime | False |
Task Time Log Date Time. |
OwnerId | String | False |
Task Time Log Owner Id. |
OwnerName | String | False |
Task Time Log Owner Name. |
SubTaskLevel | String | False |
Task Time Log Sub Task Level. |
TaskName | String | False |
Task Time Log Task Name. |
TaskListId | Long | False |
Task Time Log Task List Id. |
TaskListName | String | False |
Task Time Log Task List Name. |
TotalMinutes | Integer | False |
Task Time Log Total Minutes. |
Fetch details of a particular team.
SELECT * FROM TeamUsers WHERE GroupId = '123456000000033021'
To create a new Team you must specify the following fields:
INSERT INTO TeamUsers (GroupId, ZPUID) VALUES ('123456000000034163', '123456000000031003')
TeamUsers can be deleted by providing the GroupId and Id and issuing a DELETE statement.
DELETE FROM TeamUsers WHERE GroupId = '123456000000034163' AND Id = '123456000000031003'
Name | Type | ReadOnly | Description |
ProjectId | String | False |
Project Id. |
GroupId | String | False |
Team Id. |
Id [KEY] | String | False |
User Id. |
Name | String | False |
User Name. |
AddedBy | String | False |
User Added By. |
AddedTime | String | False |
User Added Time. |
Confirmed | String | False |
User Confirmed. |
CreatedBy | String | False |
User Created By. |
CreatedTime | String | False |
User Created Time. |
CreatedUser | String | False |
User Created User. |
Description | String | False |
User Description. |
DisplayName | String | False |
User Display Name. |
String | False |
User Email. | |
EntityType | String | False |
User Entity Type. |
FirstName | String | False |
User First Name. |
IsClient | Boolean | False |
User Is Client. |
IsDefault | Boolean | False |
User Is Default. |
LastAccessedTime | String | False |
User Last Accessed Time. |
LastName | String | False |
User Last Name. |
LastUpdatedTime | String | False |
User Last Updated Time. |
RoleId | String | False |
User Role Id. |
RoleName | String | False |
User Role Name. |
Type | String | False |
User Type. |
UpdatedBy | String | False |
User Updated By. |
UpdatedDate | String | False |
User Updated Date. |
UpdatedDateTime | String | False |
User Updated Date Time. |
UserStatus | String | False |
User User Status. |
Zpuid | String | False |
User Zpuid. |
Zuid | String | False |
User Zuid. |
The Cloud models the entities for which Zoho Projects only provides read-only access as views.
It exposes each project tied to your account as a schema with the following views.
Navigate to an individual view's page for a breakdown of its columns and supported filters.
Name | Description |
Activities | List all the recent activities of the project. |
BugActivities | Gets all the activities for the given bug. |
BugAttachments | Get details of attachments for a bug. |
BugCustomFields | Gets all the custom fields in the given project. |
BugResolution | Get bug's resolution. |
Clients | Returns the list of client companies associated with a specific project Id. |
Documents | List all the recent activities of the project. |
TaskAttachments | Retrieve details of attachments associated to the task. |
Timelogs | Gets the time logs under a specific bug. |
List all the recent activities of the project.
SELECT * FROM Activities
Name | Type | Description |
Id [KEY] | String | Project Activity Id. |
Name | String | Project Activity Name. |
Activity By | String | Project Activity Author. |
Activity For | String | Project Activity For Entity. |
Display Time | String | Project Activity Display Time. |
State | String | Project Activity State. |
Time | String | Project Activity Time. |
Gets all the activities for the given bug.
SELECT * FROM BugActivities WHERE BugId = '12345600001'
Name | Type | Description |
BugId | String | Bug Id. |
Action | String | Bug Activity Action. |
Type | String | Bug Activity Type. |
PreviousValue | String | Bug Activity Previous Value. |
CurrentValue | String | Bug Activity Current Value. |
ActionBy | String | Bug Activity Action By. |
ActionField | String | Bug Activity Action Field. |
ActionDate | Date | Bug Activity Action Date. |
ActionDateTime | Datetime | Bug Activity Action Date Time. |
Zuid [KEY] | String | Bug Activity ZUID. |
Get details of attachments for a bug.
Name | Type | Description |
BugId | String | Bug Id. |
AttachmentId | Long | Attachment Id. |
FileName | String | Attached File Name. |
FileType | String | Attached File Type. |
FileSize | Integer | Attached File Size. |
FileEncAttachParam | String | Attached File Enc Attach Param. |
FileUri | String | Attached File Uri. |
AttachedDate | Date | Attached Date. |
AttachedDateTime | Datetime | Attached Date Time. |
AuthorId | String | Attachment Author Id. |
AuthorName | String | Attachment Author Name. |
IsDocsAttachment | Boolean | Is Docs Attachment. |
Gets all the custom fields in the given project.
SELECT * FROM BugCustomFields WHERE BugId = '12345600001'
Name | Type | Description |
LabelName | String | Bug Custom Field Label Name. |
ColumnName | String | Bug Custom Field Column Name. |
DefaultValue | String | Bug Custom Field Default Value. |
FieldType | String | Bug Custom Field Field Type. |
IsEnc | Boolean | Bug Custom Field Is Enc. |
IsMandatory | Boolean | Bug Custom Field Is Mandatory. |
IsPi | Boolean | Bug Custom Field Is Pi. |
IsVisible | Boolean | Bug Custom Field Is Visible. |
NewColumnName | String | Bug Custom Field New Column Name. |
PicklistValues | String | Bug Custom Field Picklist Values. |
Get bug's resolution.
Name | Type | Description |
BugId | String | Bug Id. |
Resolver | String | Bug Resolver. |
ResolverId | String | Bug Resolver Id. |
Resolution | String | Bug Resolution. |
ResolutionThirdPartyAttachments | String | Bug Resolution Third Party Attachments. |
ResolvedDate | Date | Bug Resolved Date. |
ResolvedDateTime | Datetime | Bug Resolved Date Time. |
ResolverZpuid | String | Bug Resolver ZPUID. |
Returns the list of client companies associated with a specific project Id.
SELECT * FROM Clients WHERE Id = '12345600001'
Name | Type | Description |
Id [KEY] | String | Client Id. |
Name | String | Client Name. |
City | String | Client City. |
Country | String | Client Country. |
CrmAccountId | String | Client Crm Account Id. |
FirstAddress | String | Client First Address. |
SecondAddress | String | Client Second Address. |
State | String | Client State. |
WebAddress | String | Client Web Address. |
ZipCode | String | Client Zip Code. |
UserId | String | Client User Id. |
UserName | String | Client User Name. |
UserEmail | String | Client User Email. |
UserZpuid | String | Client User ZPUID. |
List all the recent activities of the project.
Name | Type | Description |
Id [KEY] | String | Project Activity Id. |
Name | String | Project Activity Name. |
Activity By | String | Project Activity Author. |
Activity For | String | Project Activity For. |
Display Time | String | Project Activity Display Time. |
State | String | Project Activity State. |
Time | String | Project Activity Time. |
Retrieve details of attachments associated to the task.
SELECT * FROM TaskAttachments WHERE TaskId = '123456000000112'
Name | Type | Description |
TaskId | String | Task Id. |
Id [KEY] | String | Task Attachment Id. |
AuthorId | String | Task Attachment Author Id. |
ContentType | String | Task Attachment Content Type. |
DocsDownloadUrl | String | Task Attachment Docs Download Url. |
DownloadUrl | String | Task Attachment Download. |
Extension | String | Task Attachment Extension. |
Filename | String | Task Attachment Filename. |
Owner | String | Task Attachment Owner. |
Size | Integer | Task Attachment size in bytes.. |
TaskId | Long | Task Attachment Task Id. |
ThumbnailUrl | String | Task Attachment Thumbnail Url. |
UploadedTime | Long | Task Attachment Uploaded Time. |
Gets the time logs under a specific bug.
SELECT * FROM ProjectLayouts
Name | Type | Description |
Id [KEY] | String | Time Log Id. |
AddedByName | String | Time Log Added By Name. |
AddedByZpuid | String | Time Log Added By Zpuid. |
AddedByZuid | Long | Time Log Added By Zuid. |
ApprovalStatus | String | Time Log Approval Status. |
ApproverName | String | Time Log Approver Name. |
BillStatus | String | Time Log Bill Status.
使用できる値は次のとおりです。all, billable, non billable |
CreatedDate | Date | Time Log Created Date. |
CreatedDateTime | Datetime | Time Log Created Date Time. |
StartTime | Datetime | Time Log Start Time. |
EndTime | Datetime | Time Log End Time. |
Notes | String | Time Log Notes. |
HoursDisplay | String | Time Log Hours Display. |
Hours | Integer | Time Log Hours. |
Minutes | Integer | Time Log Minutes. |
IsParent | Boolean | Time Log Is Parent. |
IsSubTask | Boolean | Time Log Is Sub Task. |
LastModifiedDate | Date | Time Log Last Modified Date. |
LastModifiedDateTime | Datetime | Time Log Last Modified Date Time. |
LinkSelfUrl | String | Time Log Link Self Url. |
LogDate | Date | Time Log Date. |
LogDateTime | Datetime | Time Log Date Time. |
OwnerId | String | Time Log Owner Id. |
OwnerName | String | Time Log Owner Name. |
SubTaskLevel | String | Time Log Sub Task Level. |
TaskName | String | Time Log Task Name. |
TaskListId | Long | Time Log Task List Id. |
TaskListName | String | Time Log Task List Name. |
TotalMinutes | Integer | Time Log Total Minutes. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Date | Date | Time Log Date. |
User | String | Time Log User. |
ViewType | String | Time Log View Type.
使用できる値は次のとおりです。day, week, month |
ComponentType | String | Time Log Component Type.
使用できる値は次のとおりです。bug, task, general |
The Cloud models information about all of the portals attached to your account in the "ZohoProjects" schema in the "CData" catalog.
ストアドプロシージャ are function-like interfaces to Zoho Projects. Stored procedures allow you to execute operations to Zoho Projects, including approving timelogs and reordering tasks.
The Cloud models account-level information about all portals as a single "Portals" table.
Name | Description |
Portals | Gets all the portals for the logged in user. |
Gets all the portals for the logged in user.
The Cloud will use the Zoho Projects API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.
SELECT * FROM Portals WHERE Id = '20081021809'
Name | Type | ReadOnly | Description |
Id [KEY] | String | False |
Portal Id. |
Name | String | False |
Portal Name. |
CompanyName | String | False |
Portal Company Name. |
AvailableClients | Integer | False |
Portal Available Clients. |
AvailableUsers | Integer | False |
Portal Available Users. |
AvailableProjects | Integer | False |
Portal Available Projects. |
BugPlan | String | False |
Portal Bug Plan. |
BugPlural | String | False |
Bug Plural. |
BugSingular | String | False |
Bug Singular. |
CanAddTemplate | Boolean | False |
Can Add Portal Template. |
CanCreateProject | Boolean | False |
Can Create Portal Project. |
Default | Boolean | False |
Default Portal. |
ExtensionsAppSettings | String | False |
Portal Extensions Locations App Settings. |
ExtensionsAttachmentPicker | String | False |
Portal Extensions Locations Attachment Picker. |
ExtensionsBlueprintDuring | String | False |
Portal Extensions Locations Blueprint During. |
ExtensionsIssueTab | String | False |
Portal Extensions Locations Issue Tab. |
ExtensionsIssuedetailsRightpanel | String | False |
Portal Extensions Locations Issue Details Right Panel. |
ExtensionsProjectTab | String | False |
Portal Extensions Locations Project Tab. |
ExtensionsTaskTab | String | False |
Portal Extensions Locations Task Tab. |
ExtensionsTaskTransition | String | False |
Portal Extensions Locations Task Transition. |
ExtensionsTaskdetailsRightpanel | String | False |
Portal Extensions Locations Task Details Right Panel. |
ExtensionsTopBand | String | False |
Portal Extensions Locations Top Band. |
GmtTimeZone | String | False |
Portal GMT Time Zone. |
GmtTimeZoneOffset | Integer | False |
Portal GMT Time Zone Offset. |
MeetingEnabled | Boolean | False |
Portal Meeting Enabled. |
PeopleEnabled | Boolean | False |
Portal People Enabled. |
CrmPartner | Boolean | False |
Portal CRM Partner. |
DisplayProjectPrefix | Boolean | False |
Portal Display Project Prefix. |
DisplayTaskPrefix | Boolean | False |
Portal Display Task Prefix. |
NewPlan | Boolean | False |
Portal New Plan. |
SprintsIntegrated | Boolean | False |
Portal Sprints Integrated. |
TagsAvailable | Boolean | False |
Portal Tags Available. |
TimeLogRestricted | Boolean | False |
Portal Time Log Restricted. |
ProjectsModuleId | String | False |
Portal Projects Module Id. |
TasksModuleId | String | False |
Portal Tasks Module Id. |
ProjectUrl | String | False |
Portal Project URL. |
LocaleCode | String | False |
Portal Locale Code. |
LocaleCountry | String | False |
Portal Locale Country. |
Language | String | False |
Portal Language. |
LoginZpuid | Long | False |
Portal Login ZPUID. |
MaxClients | Integer | False |
Portal Max Clients. |
MaxUsers | Integer | False |
Portal Max Users. |
NewUserPlan | Boolean | False |
Portal New User Plan. |
PercentageCalculation | String | False |
Portal Percentage Calculation. |
Plan | String | False |
Portal Plan. |
ProfileId | Long | False |
Portal Profile Id. |
ProfileName | String | False |
Portal Profile Name. |
ProfileType | Integer | False |
Portal Profile Type. |
ActiveProjects | Integer | False |
Portal Active Projects. |
ProjectPrefix | String | False |
Portal Project Prefix. |
Role | String | False |
Portal Role. |
RoleId | String | False |
Portal Role Id. |
RoleName | String | False |
Portal Role Name. |
BusinessHoursEnd | Integer | False |
Portal Business Hours End. |
BusinessHoursStart | Integer | False |
Portal Business Hours Start. |
DateFormat | String | False |
Portal Date Format. |
DefaultCurrency | String | False |
Portal Default Currency. |
DefaultDependencyType | String | False |
Portal Default Dependency Type. |
BudgetPermission | Boolean | False |
Portal Budget Permission. |
Holidays | String | False |
Portal Holidays. |
BudgetEnabled | Boolean | False |
Portal Budget Enabled. |
LastSyncTime | String | False |
Portal Last Sync Time. |
StartDayOfWeek | String | False |
Portal Start Day of Week. |
TaskDateFormat | String | False |
Portal Task Date Format. |
TaskDurationType | String | False |
Portal Task Duration Type. |
TimeZone | String | False |
Portal Time Zone. |
EditTimeLogRestricted | Boolean | False |
Portal Edit Time Log Restricted. |
LogFutureTimeAllowed | Boolean | False |
Portal Log Future Time Allowed. |
LogPastTimeAllowed | Boolean | False |
Portal Log Past Time Allowed. |
DefaultBillingStatus | String | False |
Portal Default billing Status. |
TimesheetApprovalEnabled | Boolean | False |
Portal Timesheet Approval Enabled. |
WorkingDays | String | False |
Portal Working Days. |
SprintsProjectPermission | Boolean | False |
Portal Sprints Project Permission. |
StorageType | String | False |
Portal Storage Type. |
TrialEnabled | Boolean | False |
Portal Trial Enabled. |
LogHrRestrictedByWorkHr | Boolean | False |
Portal Log Hr restricted by Work Hr. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
ViewId | String |
Stored procedures are function-like interfaces that enable the Cloud to perform actions beyond the scope of basic data access. They accept a list of parameters, perform an action, and return response data from Zoho Projects and/or a confirmation of the success or failure of the procedure.
The full list of procedures is provided below. Navigate to an individual procedure's page for a breakdown of its functionality, inputs, and outputs.
Name | Description |
AddUserToClientCompany | Adds user to an existing client company. |
ApproveTimelog | Approve general/bug/task time log. |
AssociateBugs | Associate related bugs to a task. |
AssociateContacts | Associates a tag with a specific entity in a specific project. |
AssociateTags | Associates a tag with a specific entity in a specific project. |
DissociateBugs | Associate related bugs to a task. |
DissociateContacts | Dissociate a client contact from a project. |
DissociateTags | Dissociates a tag with a specific entity in a specific project. |
ForumFollow | Follow a forum post. |
ForumSelectBestAnswer | Unfollow a forum post. |
ForumUnfollow | Unfollow a forum post. |
ForumUnselectBestAnswer | Unfollow a forum post. |
SelectTeamLead | Update the team lead. |
TaskFollow | Follow a task in the given project. |
TaskMove | Moves a task from one tasklist to another tasklist. The target tasklist can be of the same project or different project. |
TaskReorder | Reorders the tasks in the given project. Task will be reordered in-between two tasks based on the previous and next task Ids. |
TaskUnfollow | Unfollow a task in the given project. |
Adds user to an existing client company.
EXEC AddUserToClientCompany PortalId = '12345317133', CompanyId = '123456000000039025', ContactEmail = '[email protected]'
Name | Type | Required | Description |
PortalId | String | True | Specify the portal Id. |
CompanyId | String | True | Specify the client company Id. |
ContactEmail | String | True | Email Id of the client user. |
WorkProjects | String | False | Multiple project Ids are separated using comma. |
ProfileId | String | False | Specify Profile Id. profile_id is obtained from Get Portal Users API. |
Name | Type | Description |
Success | String | Specifies whether the execution was successful. |
Approve general/bug/task time log.
EXEC ApproveTimelog PortalId = '12345317133', ProjectId = '123456000000031899', LogId = '123456000000031977', Approval = 'approve', Reason = 'Submitted timelog is approved', EntityType = 'general', EntityId = '1234560001'
Name | Type | Required | Description |
PortalId | String | True | Specify the portal Id. |
ProjectId | String | True | Specify the group Id. |
LogId | String | True | Specify the log Id. |
EntityType | String | False | Specify the entity type to approve the log time.
使用できる値は次のとおりです。task, bug, general |
EntityId | String | False | Id of entity specified by parameter 'EntityType' |
Approval | String | True | The time log is approved if the given value is approve
使用できる値は次のとおりです。approve, pending, reject |
Reason | String | False | Reason should be mentioned if the time log is rejected. The reason shouldn't exceed 250 characters. |
Name | Type | Description |
Success | String | Specifies whether the execution was successful. |
Associate related bugs to a task.
EXEC AssociateBugs PortalId = '12345317133', ProjectId = '123456000000031899', TaskId = '123456000000031977', BugId = '123456000000034087'
Name | Type | Required | Description |
PortalId | String | True | Specify the portal Id. |
ProjectId | String | True | Specify the group Id. |
TaskId | String | True | Specify the task Id. |
BugId | String | True | Id for multiple bugs must be separated by commas. |
Name | Type | Description |
Success | String | Specifies whether the execution was successful. |
Associates a tag with a specific entity in a specific project.
EXEC AssociateContacts PortalId = '12345317133', ProjectId = '123456000000031899', ContactId = '1234560000000123456'
Name | Type | Required | Description |
PortalId | String | True | Specify the portal Id. |
ProjectId | String | True | Specify the group Id. |
ContactId | String | True | Array of client contact Ids. Multiple Ids can be separated by comma. |
Name | Type | Description |
Success | String | Specifies whether the execution was successful. |
Associates a tag with a specific entity in a specific project.
EXEC AssociateTags PortalId = '12345317133', ProjectId = '123456000000031899', TagId = '123456000000031977', EntityType = 'Task', EntityId = '123456000000034087'
Name | Type | Required | Description |
PortalId | String | True | Specify the portal Id. |
ProjectId | String | True | Specify the group Id. |
TagId | String | True | Specify the tag Id. |
EntityType | String | True | Specify the entity type to approve the log time.
使用できる値は次のとおりです。Project, Milestone, Tasklist, Task, Bug, Forum, Status |
EntityId | String | True | Id of entity specified by parameter 'EntityType' |
Name | Type | Description |
Success | String | Specifies whether the execution was successful. |
Associate related bugs to a task.
EXEC DissociateBugs PortalId = '12345317133', ProjectId = '123456000000031899', TaskId = '123456000000031977', BugId = '123456000000034087'
Name | Type | Required | Description |
PortalId | String | True | Specify the portal Id. |
ProjectId | String | True | Specify the group Id. |
TaskId | String | True | Specify the task Id. |
BugId | String | True | Id for multiple bugs must be separated by commas. |
Name | Type | Description |
Success | String | Specifies whether the execution was successful. |
Dissociate a client contact from a project.
EXEC DissociateContacts PortalId = '12345317133', ProjectId = '123456000000031899', ContactId = '1234560000000123456'
Name | Type | Required | Description |
PortalId | String | True | Specify the portal Id. |
ProjectId | String | True | Specify the group Id. |
ContactId | String | True | Array of client contact Ids. |
Name | Type | Description |
Success | String | Specifies whether the execution was successful. |
Dissociates a tag with a specific entity in a specific project.
EXEC DissociateTags PortalId = '12345317133', ProjectId = '123456000000031899', TagId = '123456000000031977', EntityType = 'Task', EntityId = '123456000000034087'
Name | Type | Required | Description |
PortalId | String | True | Specify the portal Id. |
ProjectId | String | True | Specify the group Id. |
TagId | String | True | Specify the tag Id. |
EntityType | String | True | Specify the entity type to approve the log time.
使用できる値は次のとおりです。Project, Milestone, Tasklist, Task, Bug, Forum, Status |
EntityId | String | True | Id of entity specified by parameter 'EntityType' |
Name | Type | Description |
Success | String | Specifies whether the execution was successful. |
Follow a forum post.
EXEC ForumFollow PortalId = '12345317133', ProjectId = '123456000000031899', ForumId = '123456000000034053'
Name | Type | Required | Description |
PortalId | String | True | Specify the portal Id. |
ProjectId | String | True | Specify the group Id. |
ForumId | String | True | Specify the tag Id. |
Name | Type | Description |
Success | String | Specifies whether the execution was successful. |
Unfollow a forum post.
EXEC ForumSelectBestAnswer PortalId = '12345317133', ProjectId = '123456000000031899', ForumId = '123456000000034053', CommentId = '123456000000039021'
Name | Type | Required | Description |
PortalId | String | True | Specify the portal Id. |
ProjectId | String | True | Specify the group Id. |
ForumId | String | True | Specify the forum Id. |
CommentId | String | True | Specify the comment Id. |
Name | Type | Description |
Success | String | Specifies whether the execution was successful. |
Unfollow a forum post.
EXEC ForumUnfollow PortalId = '12345317133', ProjectId = '123456000000031899', ForumId = '123456000000034053'
Name | Type | Required | Description |
PortalId | String | True | Specify the portal Id. |
ProjectId | String | True | Specify the group Id. |
ForumId | String | True | Specify the tag Id. |
Name | Type | Description |
Success | String | Specifies whether the execution was successful. |
Unfollow a forum post.
EXEC ForumUnselectBestAnswer PortalId = '12345317133', ProjectId = '123456000000031899', ForumId = '123456000000034053', CommentId = '123456000000039021'
Name | Type | Required | Description |
PortalId | String | True | Specify the portal Id. |
ProjectId | String | True | Specify the group Id. |
ForumId | String | True | Specify the forum Id. |
CommentId | String | True | Specify the comment Id. |
Name | Type | Description |
Success | String | Specifies whether the execution was successful. |
Update the team lead.
EXEC SelectTeamLead PortalId = '12345317133', ProjectId = '123456000000031899', UserId = '123456000000033053'
Name | Type | Required | Description |
PortalId | String | False | Specify the portal Id. |
TeamId | String | False | Specify the group Id. |
UserId | String | False | ZPUID of the team lead. |
Name | Type | Description |
Success | String | Specifies whether the update was successful. |
Follow a task in the given project.
EXEC TaskFollow PortalId = '12345317133', ProjectId = '123456000000031899', TaskId = '123456000000034053', UserId = '123456000000039021'
Name | Type | Required | Description |
PortalId | String | True | Specify the portal Id. |
ProjectId | String | True | Specify the group Id. |
TaskId | String | True | Specify the task Id. |
UserId | String | True | User Id for multiple followers must be separated by commas. |
Name | Type | Description |
Success | String | Specifies whether the execution was successful. |
Moves a task from one tasklist to another tasklist. The target tasklist can be of the same project or different project.
EXEC TaskMove PortalId = '12345317133', ProjectId = '123456000000031899', TaskId = '123456000000034053', FromTasklist = '123456000000031932', ToTasklist = '123456000000031941'
Name | Type | Required | Description |
PortalId | String | True | Specify the portal Id. |
ProjectId | String | True | Specify the group Id. |
TaskId | String | True | Specify the task Id. |
FromTasklist | String | True | Id of the tasklist in which the task exists. |
ToTasklist | String | True | Id of the tasklist to which the task has to be moved. |
Name | Type | Description |
Success | String | Specifies whether the execution was successful. |
Reorders the tasks in the given project. Task will be reordered in-between two tasks based on the previous and next task Ids.
EXEC TaskReorder PortalId = '12345317133', ProjectId = '123456000000031899', TaskId = '123456000000034053', PreviousTaskId = '123456000000031932', NextTaskId = '123456000000031941'
Name | Type | Required | Description |
PortalId | String | True | Specify the portal Id. |
ProjectId | String | True | Specify the group Id. |
TaskId | String | True | Specify the Task Id. |
PreviousTaskId | String | True | Specify the previous Task Id. |
NextTaskId | String | True | Specify the next Task Id. |
Name | Type | Description |
Success | String | Specifies whether the update was successful. |
Unfollow a task in the given project.
EXEC TaskUnfollow PortalId = '12345317133', ProjectId = '123456000000031899', TaskId = '123456000000034053', UserId = '123456000000039021'
Name | Type | Required | Description |
PortalId | String | True | Specify the portal Id. |
ProjectId | String | True | Specify the group Id. |
TaskId | String | True | ZPUID of the team lead. |
UserId | String | True | User Id for multiple followers must be separated by commas. |
Name | Type | Description |
Success | String | Specifies whether the execution was successful. |
このセクションで説明されているシステムテーブルをクエリして、スキーマ情報、データソース機能に関する情報、およびバッチ操作の統計にアクセスできます。
以下のテーブルは、Zoho Projects のデータベースメタデータを返します。
以下のテーブルは、データソースへの接続方法およびクエリ方法についての情報を返します。
次のテーブルは、データ変更クエリのクエリ統計を返します。
利用可能なデータベースをリストします。
次のクエリは、接続文字列で決定されるすべてのデータベースを取得します。
SELECT * FROM sys_catalogs
Name | Type | Description |
CatalogName | String | データベース名。 |
利用可能なスキーマをリストします。
次のクエリは、すべての利用可能なスキーマを取得します。
SELECT * FROM sys_schemas
Name | Type | Description |
CatalogName | String | データベース名。 |
SchemaName | String | スキーマ名。 |
利用可能なテーブルをリストします。
次のクエリは、利用可能なテーブルおよびビューを取得します。
SELECT * FROM sys_tables
Name | Type | Description |
CatalogName | String | テーブルまたはビューを含むデータベース。 |
SchemaName | String | テーブルまたはビューを含むスキーマ。 |
TableName | String | テーブル名またはビュー名。 |
TableType | String | テーブルの種類(テーブルまたはビュー)。 |
Description | String | テーブルまたはビューの説明。 |
IsUpdateable | Boolean | テーブルが更新可能かどうか。 |
利用可能なテーブルおよびビューのカラムについて説明します。
次のクエリは、Portals テーブルのカラムとデータ型を返します。
SELECT ColumnName, DataTypeName FROM sys_tablecolumns WHERE TableName='Portals'
Name | Type | Description |
CatalogName | String | テーブルまたはビューを含むデータベースの名前。 |
SchemaName | String | テーブルまたはビューを含むスキーマ。 |
TableName | String | カラムを含むテーブルまたはビューの名前。 |
ColumnName | String | カラム名。 |
DataTypeName | String | データ型の名前。 |
DataType | Int32 | データ型を示す整数値。この値は、実行時に環境に基づいて決定されます。 |
Length | Int32 | カラムのストレージサイズ。 |
DisplaySize | Int32 | 指定されたカラムの通常の最大幅(文字数)。 |
NumericPrecision | Int32 | 数値データの最大桁数。文字データおよび日時データの場合は、カラムの長さ(文字数)。 |
NumericScale | Int32 | カラムのスケール(小数点以下の桁数)。 |
IsNullable | Boolean | カラムがNull を含められるかどうか。 |
Description | String | カラムの簡単な説明。 |
Ordinal | Int32 | カラムのシーケンスナンバー。 |
IsAutoIncrement | String | カラムに固定増分値が割り当てられるかどうか。 |
IsGeneratedColumn | String | 生成されたカラムであるかどうか。 |
IsHidden | Boolean | カラムが非表示かどうか。 |
IsArray | Boolean | カラムが配列かどうか。 |
IsReadOnly | Boolean | カラムが読み取り専用かどうか。 |
IsKey | Boolean | sys_tablecolumns から返されたフィールドがテーブルの主キーであるかどうか。 |
利用可能なストアドプロシージャをリストします。
次のクエリは、利用可能なストアドプロシージャを取得します。
SELECT * FROM sys_procedures
Name | Type | Description |
CatalogName | String | ストアドプロシージャを含むデータベース。 |
SchemaName | String | ストアドプロシージャを含むスキーマ。 |
ProcedureName | String | ストアドプロシージャの名前。 |
Description | String | ストアドプロシージャの説明。 |
ProcedureType | String | PROCEDURE やFUNCTION などのプロシージャのタイプ。 |
ストアドプロシージャパラメータについて説明します。
次のクエリは、ApproveTimelog ストアドプロシージャのすべての入力パラメータについての情報を返します。
SELECT * FROM sys_procedureparameters WHERE ProcedureName='ApproveTimelog' AND Direction=1 OR Direction=2
Name | Type | Description |
CatalogName | String | ストアドプロシージャを含むデータベースの名前。 |
SchemaName | String | ストアドプロシージャを含むスキーマの名前。 |
ProcedureName | String | パラメータを含むストアドプロシージャの名前。 |
ColumnName | String | ストアドプロシージャパラメータの名前。 |
Direction | Int32 | パラメータのタイプに対応する整数値:input (1)。input/output (2)、またはoutput(4)。input/output タイプパラメータは、入力パラメータと出力パラメータの両方になれます。 |
DataTypeName | String | データ型の名前。 |
DataType | Int32 | データ型を示す整数値。この値は、実行時に環境に基づいて決定されます。 |
Length | Int32 | 文字データの場合は、許可される文字数。数値データの場合は、許可される桁数。 |
NumericPrecision | Int32 | 数値データの場合は最大精度。文字データおよび日時データの場合は、カラムの長さ(文字数)。 |
NumericScale | Int32 | 数値データの小数点以下の桁数。 |
IsNullable | Boolean | パラメータがNull を含められるかどうか。 |
IsRequired | Boolean | プロシージャの実行にパラメータが必要かどうか。 |
IsArray | Boolean | パラメータが配列かどうか。 |
Description | String | パラメータの説明。 |
Ordinal | Int32 | パラメータのインデックス。 |
主キーおよび外部キーについて説明します。
次のクエリは、Portals テーブルの主キーを取得します。
SELECT * FROM sys_keycolumns WHERE IsKey='True' AND TableName='Portals'
Name | Type | Description |
CatalogName | String | キーを含むデータベースの名前。 |
SchemaName | String | キーを含むスキーマの名前。 |
TableName | String | キーを含むテーブルの名前。 |
ColumnName | String | キーカラムの名前 |
IsKey | Boolean | カラムがTableName フィールドで参照されるテーブル内の主キーかどうか。 |
IsForeignKey | Boolean | カラムがTableName フィールドで参照される外部キーかどうか。 |
PrimaryKeyName | String | 主キーの名前。 |
ForeignKeyName | String | 外部キーの名前。 |
ReferencedCatalogName | String | 主キーを含むデータベース。 |
ReferencedSchemaName | String | 主キーを含むスキーマ。 |
ReferencedTableName | String | 主キーを含むテーブル。 |
ReferencedColumnName | String | 主キーのカラム名。 |
外部キーについて説明します。
次のクエリは、他のテーブルを参照するすべての外部キーを取得します。
SELECT * FROM sys_foreignkeys WHERE ForeignKeyType = 'FOREIGNKEY_TYPE_IMPORT'
名前 | タイプ | 説明 |
CatalogName | String | キーを含むデータベースの名前。 |
SchemaName | String | キーを含むスキーマの名前。 |
TableName | String | キーを含むテーブルの名前。 |
ColumnName | String | キーカラムの名前 |
PrimaryKeyName | String | 主キーの名前。 |
ForeignKeyName | String | 外部キーの名前。 |
ReferencedCatalogName | String | 主キーを含むデータベース。 |
ReferencedSchemaName | String | 主キーを含むスキーマ。 |
ReferencedTableName | String | 主キーを含むテーブル。 |
ReferencedColumnName | String | 主キーのカラム名。 |
ForeignKeyType | String | 外部キーがインポート(他のテーブルを指す)キーかエクスポート(他のテーブルから参照される)キーかを指定します。 |
主キーについて説明します。
次のクエリは、すべてのテーブルとビューから主キーを取得します。
SELECT * FROM sys_primarykeys
Name | Type | Description |
CatalogName | String | キーを含むデータベースの名前。 |
SchemaName | String | キーを含むスキーマの名前。 |
TableName | String | キーを含むテーブルの名前。 |
ColumnName | String | キーカラムの名前。 |
KeySeq | String | 主キーのシーケンス番号。 |
KeyName | String | 主キーの名前。 |
利用可能なインデックスについて説明します。インデックスをフィルタリングすることで、より高速なクエリ応答時間でセレクティブクエリを記述できます。
次のクエリは、主キーでないすべてのインデックスを取得します。
SELECT * FROM sys_indexes WHERE IsPrimary='false'
Name | Type | Description |
CatalogName | String | インデックスを含むデータベースの名前。 |
SchemaName | String | インデックスを含むスキーマの名前。 |
TableName | String | インデックスを含むテーブルの名前。 |
IndexName | String | インデックス名。 |
ColumnName | String | インデックスに関連付けられたカラムの名前。 |
IsUnique | Boolean | インデックスが固有の場合はTrue。そうでない場合はFalse。 |
IsPrimary | Boolean | インデックスが主キーの場合はTrue。そうでない場合はFalse。 |
Type | Int16 | インデックスタイプに対応する整数値:statistic (0)、clustered (1)、hashed (2)、またはother (3)。 |
SortOrder | String | 並べ替え順序:A が昇順、D が降順。 |
OrdinalPosition | Int16 | インデックスのカラムのシーケンスナンバー。 |
利用可能な接続プロパティと、接続文字列に設定されている接続プロパティに関する情報を返します。
このテーブルをクエリする際は、config 接続文字列を使用する必要があります。
jdbc:cdata:zohoprojects:config:
この接続文字列を使用すると、有効な接続がなくてもこのテーブルをクエリできます。
次のクエリは、接続文字列に設定されている、あるいはデフォルト値で設定されているすべての接続プロパティを取得します。
SELECT * FROM sys_connection_props WHERE Value <> ''
Name | Type | Description |
Name | String | 接続プロパティ名。 |
ShortDescription | String | 簡単な説明。 |
Type | String | 接続プロパティのデータ型。 |
Default | String | 明示的に設定されていない場合のデフォルト値。 |
Values | String | 可能な値のカンマ区切りリスト。別な値が指定されていると、検証エラーがスローされます。 |
Value | String | 設定した値またはあらかじめ設定されたデフォルト。 |
Required | Boolean | プロパティが接続に必要かどうか。 |
Category | String | 接続プロパティのカテゴリ。 |
IsSessionProperty | String | プロパティが、現在の接続に関する情報を保存するために使用されるセッションプロパティかどうか。 |
Sensitivity | String | プロパティの機密度。これは、プロパティがロギングおよび認証フォームで難読化されているかどうかを通知します。 |
PropertyName | String | キャメルケースの短縮形の接続プロパティ名。 |
Ordinal | Int32 | パラメータのインデックス。 |
CatOrdinal | Int32 | パラメータカテゴリのインデックス。 |
Hierarchy | String | このプロパティと一緒に設定する必要がある、関連のある依存プロパティを表示します。 |
Visible | Boolean | プロパティが接続UI に表示されるかどうかを通知します。 |
ETC | String | プロパティに関するその他のさまざまな情報。 |
Cloud がデータソースにオフロードできるSELECT クエリ処理について説明します。
SQL 構文の詳細については、SQL 準拠 を参照してください。
以下はSQL 機能のサンプルデータセットです。 SELECT 機能のいくつかの側面がサポートされている場合には、カンマ区切りのリストで返されます。サポートされていない場合、カラムにはNO が入ります。
名前 | 説明 | 有効な値 |
AGGREGATE_FUNCTIONS | サポートされている集計関数。 | AVG, COUNT, MAX, MIN, SUM, DISTINCT |
COUNT | COUNT 関数がサポートされているかどうか。 | YES, NO |
IDENTIFIER_QUOTE_OPEN_CHAR | 識別子をエスケープするための開始文字。 | [ |
IDENTIFIER_QUOTE_CLOSE_CHAR | 識別子をエスケープするための終了文字。 | ] |
SUPPORTED_OPERATORS | サポートされているSQL 演算子。 | =, >, <, >=, <=, <>, !=, LIKE, NOT LIKE, IN, NOT IN, IS NULL, IS NOT NULL, AND, OR |
GROUP_BY | GROUP BY がサポートされているかどうか。サポートされている場合、どのレベルでサポートされているか。 | NO, NO_RELATION, EQUALS_SELECT, SQL_GB_COLLATE |
OJ_CAPABILITIES | サポートされている外部結合の種類。 | NO, LEFT, RIGHT, FULL, INNER, NOT_ORDERED, ALL_COMPARISON_OPS |
OUTER_JOINS | 外部結合がサポートされているかどうか。 | YES, NO |
SUBQUERIES | サブクエリがサポートされているかどうか。サポートされていれば、どのレベルでサポートされているか。 | NO, COMPARISON, EXISTS, IN, CORRELATED_SUBQUERIES, QUANTIFIED |
STRING_FUNCTIONS | サポートされている文字列関数。 | LENGTH, CHAR, LOCATE, REPLACE, SUBSTRING, RTRIM, LTRIM, RIGHT, LEFT, UCASE, SPACE, SOUNDEX, LCASE, CONCAT, ASCII, REPEAT, OCTET, BIT, POSITION, INSERT, TRIM, UPPER, REGEXP, LOWER, DIFFERENCE, CHARACTER, SUBSTR, STR, REVERSE, PLAN, UUIDTOSTR, TRANSLATE, TRAILING, TO, STUFF, STRTOUUID, STRING, SPLIT, SORTKEY, SIMILAR, REPLICATE, PATINDEX, LPAD, LEN, LEADING, KEY, INSTR, INSERTSTR, HTML, GRAPHICAL, CONVERT, COLLATION, CHARINDEX, BYTE |
NUMERIC_FUNCTIONS | サポートされている数値関数。 | ABS, ACOS, ASIN, ATAN, ATAN2, CEILING, COS, COT, EXP, FLOOR, LOG, MOD, SIGN, SIN, SQRT, TAN, PI, RAND, DEGREES, LOG10, POWER, RADIANS, ROUND, TRUNCATE |
TIMEDATE_FUNCTIONS | サポートされている日付および時刻関数。 | NOW, CURDATE, DAYOFMONTH, DAYOFWEEK, DAYOFYEAR, MONTH, QUARTER, WEEK, YEAR, CURTIME, HOUR, MINUTE, SECOND, TIMESTAMPADD, TIMESTAMPDIFF, DAYNAME, MONTHNAME, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, EXTRACT |
REPLICATION_SKIP_TABLES | レプリケーション中にスキップされたテーブルを示します。 | |
REPLICATION_TIMECHECK_COLUMNS | レプリケーション中に更新判断のカラムとして使用するかどうかを、(指定された順に)チェックするカラムのリストを含む文字列の配列。 | |
IDENTIFIER_PATTERN | 識別子としてどの文字列が有効かを示す文字列値。 | |
SUPPORT_TRANSACTION | プロバイダーが、コミットやロールバックなどのトランザクションをサポートしているかどうかを示します。 | YES, NO |
DIALECT | 使用するSQL ダイアレクトを示します。 | |
KEY_PROPERTIES | Uniform データベースを特定するプロパティを示します。 | |
SUPPORTS_MULTIPLE_SCHEMAS | プロバイダー用に複数のスキームが存在するかどうかを示します。 | YES, NO |
SUPPORTS_MULTIPLE_CATALOGS | プロバイダー用に複数のカタログが存在するかどうかを示します。 | YES, NO |
DATASYNCVERSION | このドライバーにアクセスするために必要な、CData Sync のバージョン。 | Standard, Starter, Professional, Enterprise |
DATASYNCCATEGORY | このドライバーのCData Sync カテゴリ。 | Source, Destination, Cloud Destination |
SUPPORTSENHANCEDSQL | API で提供されている以上の、追加SQL 機能がサポートされているかどうか。 | TRUE, FALSE |
SUPPORTS_BATCH_OPERATIONS | バッチ操作がサポートされているかどうか。 | YES, NO |
SQL_CAP | このドライバーでサポートされているすべてのSQL 機能。 | SELECT, INSERT, DELETE, UPDATE, TRANSACTIONS, ORDERBY, OAUTH, ASSIGNEDID, LIMIT, LIKE, BULKINSERT, COUNT, BULKDELETE, BULKUPDATE, GROUPBY, HAVING, AGGS, OFFSET, REPLICATE, COUNTDISTINCT, JOINS, DROP, CREATE, DISTINCT, INNERJOINS, SUBQUERIES, ALTER, MULTIPLESCHEMAS, GROUPBYNORELATION, OUTERJOINS, UNIONALL, UNION, UPSERT, GETDELETED, CROSSJOINS, GROUPBYCOLLATE, MULTIPLECATS, FULLOUTERJOIN, MERGE, JSONEXTRACT, BULKUPSERT, SUM, SUBQUERIESFULL, MIN, MAX, JOINSFULL, XMLEXTRACT, AVG, MULTISTATEMENTS, FOREIGNKEYS, CASE, LEFTJOINS, COMMAJOINS, WITH, LITERALS, RENAME, NESTEDTABLES, EXECUTE, BATCH, BASIC, INDEX |
PREFERRED_CACHE_OPTIONS | 使用したいcacheOptions を指定する文字列値。 | |
ENABLE_EF_ADVANCED_QUERY | ドライバーがEntity Framework の高度なクエリをサポートしているかどうかを示します。サポートしていなければ、クエリはクライアントサイドで処理されます。 | YES, NO |
PSEUDO_COLUMNS | 利用可能な疑似カラムを示す文字列の配列。 | |
MERGE_ALWAYS | 値がtrue であれば、CData Sync 内でMerge Model が強制的に実行されます。 | TRUE, FALSE |
REPLICATION_MIN_DATE_QUERY | レプリケート開始日時を返すSELECT クエリ。 | |
REPLICATION_MIN_FUNCTION | サーバーサイドでmin を実行するために使用する式名を、プロバイダーが指定できるようになります。 | |
REPLICATION_START_DATE | レプリケート開始日を、プロバイダーが指定できるようになります。 | |
REPLICATION_MAX_DATE_QUERY | レプリケート終了日時を返すSELECT クエリ。 | |
REPLICATION_MAX_FUNCTION | サーバーサイドでmax を実行するために使用する式名を、プロバイダーが指定できるようになります。 | |
IGNORE_INTERVALS_ON_INITIAL_REPLICATE | 初回のレプリケートで、レプリケートをチャンクに分割しないテーブルのリスト。 | |
CHECKCACHE_USE_PARENTID | CheckCache 構文を親キーカラムに対して実行するかどうかを示します。 | TRUE, FALSE |
CREATE_SCHEMA_PROCEDURES | スキーマファイルの生成に使用できる、ストアドプロシージャを示します。 |
次のクエリは、WHERE 句で使用できる演算子を取得します。
SELECT * FROM sys_sqlinfo WHERE Name = 'SUPPORTED_OPERATORS'
WHERE 句では、個々のテーブルの制限や要件が異なる場合がありますので注意してください。詳しくは、データモデル セクションを参照してください。
Name | Type | Description |
NAME | String | SQL 構文のコンポーネント、またはサーバー上で処理できる機能。 |
VALUE | String | サポートされるSQL またはSQL 構文の詳細。 |
試行された変更に関する情報を返します。
次のクエリは、バッチ処理で変更された行のId を取得します。
SELECT * FROM sys_identity
Name | Type | Description |
Id | String | データ変更処理から返された、データベース生成Id。 |
Batch | String | バッチの識別子。1 は単一処理。 |
Operation | String | バッチ内の処理の結果:INSERTED、UPDATED、またはDELETED。 |
Message | String | SUCCESS、またはバッチ内の更新が失敗した場合のエラーメッセージ。 |
プロパティ | 説明 |
Region | サーバーURL のトップレベルドメイン。 |
プロパティ | 説明 |
PortalId | Restrict exposed entities based on the Portal Id. If left empty all available portals will be exposed. |
ProjectId | Restrict exposed entities based on the Project Id. If left empty, all available portals will be exposed. |
プロパティ | 説明 |
SSLServerCert | TLS/SSL を使用して接続するときに、サーバーが受け入れ可能な証明書。 |
プロパティ | 説明 |
Verbosity | ログファイルの記述をどの程度の詳細さで記載するかを決定するverbosity レベル。 |
プロパティ | 説明 |
BrowsableSchemas | このプロパティは、使用可能なスキーマのサブセットにレポートされるスキーマを制限します。例えば、BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
プロパティ | 説明 |
AccountsServer | The full Account Server URL. |
APIDomain | The full URL of the API domain. |
MaxRows | クエリで集計またはGROUP BY を使用しない場合に返される行数を制限します。これはLIMIT 句よりも優先されます。 |
Pagesize | Zoho Projects から返されるページあたりの結果の最大数。 |
PseudoColumns | このプロパティは、テーブルのカラムとして疑似カラムが含まれているかどうかを示します。 |
Timeout | タイムアウトエラーがスローされ、処理をキャンセルするまでの秒数。 |
サーバーURL のトップレベルドメイン。
string
"US"
アカウントが米国以外のドメインにある場合、地域に応じてRegion を変更してください。使用可能なすべての値を表に示します。
Region | Domain |
US | .com |
Europe | .eu |
India | .in |
Australia | .com.au |
Japan | .jp |
China | .com.cn |
Restrict exposed entities based on the Portal Id. If left empty all available portals will be exposed.
string
""
Restrict exposed entities based on the Portal Id. If left empty all available portals will be exposed.
Restrict exposed entities based on the Project Id. If left empty, all available portals will be exposed.
string
""
Restrict exposed entities based on the Project Id. If left empty, all available portals will be exposed.
このセクションでは、本プロバイダーの接続文字列で設定可能なSSL プロパティの全リストを提供します。
プロパティ | 説明 |
SSLServerCert | TLS/SSL を使用して接続するときに、サーバーが受け入れ可能な証明書。 |
TLS/SSL を使用して接続するときに、サーバーが受け入れ可能な証明書。
string
""
TLS/SSL 接続を使用する場合は、このプロパティを使用して、サーバーが受け入れるTLS/SSL 証明書を指定できます。コンピュータによって信頼されていない他の証明書はすべて拒否されます。
このプロパティは、次のフォームを取ります:
説明 | 例 |
フルPEM 証明書(例では省略されています) | -----BEGIN CERTIFICATE----- MIIChTCCAe4CAQAwDQYJKoZIhv......Qw== -----END CERTIFICATE----- |
証明書を保有するローカルファイルへのパス。 | C:\cert.cer |
公開鍵(例では省略されています) | -----BEGIN RSA PUBLIC KEY----- MIGfMA0GCSq......AQAB -----END RSA PUBLIC KEY----- |
MD5 Thumbprint (hex 値はスペースおよびコロン区切り) | ecadbdda5a1529c58a1e9e09828d70e4 |
SHA1 Thumbprint (hex 値はスペースおよびコロン区切り) | 34a929226ae0819f2ec14b4a3d904f801cbb150d |
これを指定しない場合は、マシンが信用するすべての証明書が受け入れられます。
すべての証明書の受け入れを示すには、'*'を使用します。セキュリティ上の理由から、これはお勧めできません。
このセクションでは、本プロバイダーの接続文字列で設定可能なLogging プロパティの全リストを提供します。
プロパティ | 説明 |
Verbosity | ログファイルの記述をどの程度の詳細さで記載するかを決定するverbosity レベル。 |
このセクションでは、本プロバイダーの接続文字列で設定可能なSchema プロパティの全リストを提供します。
プロパティ | 説明 |
BrowsableSchemas | このプロパティは、使用可能なスキーマのサブセットにレポートされるスキーマを制限します。例えば、BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
このプロパティは、使用可能なスキーマのサブセットにレポートされるスキーマを制限します。例えば、BrowsableSchemas=SchemaA,SchemaB,SchemaC です。
string
""
スキーマをデータベースからリストすると、負荷がかかる可能性があります。接続文字列でスキーマのリストを提供すると、 パフォーマンスが向上します。
このセクションでは、本プロバイダーの接続文字列で設定可能なMiscellaneous プロパティの全リストを提供します。
プロパティ | 説明 |
AccountsServer | The full Account Server URL. |
APIDomain | The full URL of the API domain. |
MaxRows | クエリで集計またはGROUP BY を使用しない場合に返される行数を制限します。これはLIMIT 句よりも優先されます。 |
Pagesize | Zoho Projects から返されるページあたりの結果の最大数。 |
PseudoColumns | このプロパティは、テーブルのカラムとして疑似カラムが含まれているかどうかを示します。 |
Timeout | タイムアウトエラーがスローされ、処理をキャンセルするまでの秒数。 |
The full Account Server URL.
string
""
You only need to supply this when executing the RefreshOAuthAccessToken stored procedure with InitiateOAuth=Off. Most of the time, the value of this property will be https://accounts.zoho.com/, but if your account resides in a different location, then the domain should change accordingly (.eu, .in, .com.au, ...).
The full URL of the API domain.
string
""
You only need to supply this when using your own OAuth access token with InitiateOAuth=Off. Otherwise, the API domain will be retrieved from the OAuth flow. Most of the time, the value of this property will be https://www.zohoapis.com, but if your account resides in a different location, then the domain should change accordingly (.eu, .in, .com.au, ...).
クエリで集計またはGROUP BY を使用しない場合に返される行数を制限します。これはLIMIT 句よりも優先されます。
int
-1
クエリで集計またはGROUP BY を使用しない場合に返される行数を制限します。これはLIMIT 句よりも優先されます。
Zoho Projects から返されるページあたりの結果の最大数。
int
100
Pagesize プロパティは、Zoho Projects から返されるページあたりの結果の最大数に影響を与えます。より大きい値を設定すると、1ページあたりの消費メモリが増える代わりに、パフォーマンスが向上する場合があります。
このプロパティは、テーブルのカラムとして疑似カラムが含まれているかどうかを示します。
string
""
Entity Framework ではテーブルカラムでない疑似カラムに値を設定できないため、この設定はEntity Framework で特に便利です。この接続設定の値は、"Table1=Column1, Table1=Column2, Table2=Column3" の形式です。"*=*" のように"*" 文字を使用して、すべてのテーブルとすべてのカラムを含めることができます。
タイムアウトエラーがスローされ、処理をキャンセルするまでの秒数。
int
60
Timeout が0に設定されている場合は、操作がタイムアウトしません。処理が正常に完了するか、エラー状態になるまで実行されます。
Timeout の有効期限が切れても処理が完了していない場合は、Cloud は例外をスローします。