RolesSetting
Returns all the roles settings.
Select
The 本製品 will use the Pipedrive API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the 本製品.
- RoleId supports the '=' operator.
For example, the following query is processed server side:
SELECT * FROM RolesSetting SELECT * FROM RolesSetting WHERE RoleId = 1
INSERT
Insert can be executed by specifying the Name and FieldType columns. The columns that are not required can be inserted optionally.
For example:
INSERT INTO RolesSetting (RoleId, SettingKey, Value) VALUES (1, 'deal_default_visibility', '1')
UPDATE
Update can be executed by specifying the RoleId in the WHERE Clause and SettingKey and Value in Body Parameter. The columns that are not read-only can be Updated.
For example:
UPDATE RolesSetting SET Value = '3', SettingKey = 'deal_default_visibility' WHERE RoleId = 1
Columns
Name | Type | ReadOnly | Description |
RoleId [KEY] | Integer | True |
Role Id. |
DealDefaultVisibility | Integer | True |
DealDefaultVisibility. |
LeadDefaultVisibility | Integer | True |
LeadDefaultVisibility. |
OrgDefaultVisibility | Integer | True |
OrgDefaultVisibility. |
PersonDefaultVisibility | Integer | True |
PersonDefaultVisibility. |
ProductDefaultVisibility | Integer | True |
ProductDefaultVisibility. |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Value | String |
Possible values for the default_visibility setting depending on the subscription plan. 使用できる値は次のとおりです。1, 3, 5, 7 |
SettingKey | String |
SettingKey. 使用できる値は次のとおりです。deal_default_visibility, lead_default_visibility, org_default_visibility, person_default_visibility, product_default_visibility |