Domain name for API request: bi.intl.tencentcloudapi.com.
Create row/column permissions
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: CreatePermissionRanks. |
| Version | Yes | String | Common Params. The value used for this API: 2022-01-05. |
| Region | No | String | Common Params. This parameter is not required. |
| TableId | No | Integer | page number |
| Mode | No | String | Mode Enumeration value:
Default value: ALL |
| RoleType | No | String | Role type Enumeration value:
Default value: Others |
| RoleId | No | Integer | All page numbers |
| RulerInfo | No | String | Rule information |
| Type | No | String | Type Enumeration value:
Default value: ROW |
| OpenStatus | No | String | Enabled status Enumeration value:
Default value: Close |
| ProjectId | No | Integer | Project ID. |
| RowColumnConfigList.N | No | Array of RowColumnConfig | Row/column permission configuration |
| Parameter Name | Type | Description |
|---|---|---|
| ErrorInfo | ErrorInfo | Custom error information object Note: This field may return null, indicating that no valid values can be obtained. |
| Msg | String | Message Note: This field may return null, indicating that no valid values can be obtained. |
| Extra | String | 112 Note: This field may return null, indicating that no valid values can be obtained. |
| Data | String | 1 Note: This field may return null, indicating that no valid values can be obtained. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
Create row/column permissions
POST / HTTP/1.1
Host: bi.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: CreatePermissionRanks
<Common request parameters>
{
"TableId": 10628115,
"Mode": "all",
"RoleType": "others",
"RoleId": 0,
"RulerInfo": "{\"Logic\":\"and\",\"Items\":[]}",
"Type": "column",
"OpenStatus": "open",
"ProjectId": 11055177,
"RowColumnConfigList": []
}
{
"Response": {
"Msg": "Default business success",
"RequestId": "131ecec6-e8c7-4147-af1c-3c5725307583",
"Extra": "",
"Data": null
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| InternalError.Internal | Internal error. |
| MissingParameter.MissingParam | The required parameter is missing. |
| UnauthorizedOperation.Authorize | Permission error. |
| UnsupportedOperation.BIError | Default business exception. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan