Queries the sharing records of a work and returns only sharing configurations that are still valid.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:QueryShareList |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ReportId |
string |
Yes |
The work ID. Supported work types: data portal, dashboard, spreadsheet, self-service data retrieval, ad-hoc analysis, data entry, and data screen. |
6b407e50-e774-406b-9956-da2425c2**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
Indicates whether the request was successful. Possible values:
|
true |
| RequestId |
string |
The request ID. |
DC4E1E63-B337-44F8-8C22-6F00DF67E2C3 |
| Result |
array<object> |
The list of sharing records for the specified work. |
|
|
object |
|||
| AuthPoint |
integer |
Sharing permissions. Possible values:
|
3 |
| ExpireDate |
integer |
The expiration time of the sharing authorization, in milliseconds (Unix timestamp). |
1640102400000 |
| ReportId |
string |
The ID of the work. |
6b407e50-e774-406b-9956-da2425c2**** |
| ShareId |
string |
The ID of the sharing configuration. |
0ab9659e-29cf-47d7-a364-3a91553b**** |
| ShareToId |
string |
The ID of the sharing target, which could be a user ID or a group ID in Quick BI.
|
95296e95-ca89-4c7d-8af9-dedf0ad0**** |
| ShareToName |
string |
The name of the sharing target. |
小张 |
| ShareToType |
integer |
The type of sharing. Possible values:
|
0 |
| ShareType |
string |
The type of the shared work. Possible values:
|
dashboard |
Examples
Success response
JSON format
{
"Success": true,
"RequestId": "DC4E1E63-B337-44F8-8C22-6F00DF67E2C3",
"Result": [
{
"AuthPoint": 3,
"ExpireDate": 1640102400000,
"ReportId": "6b407e50-e774-406b-9956-da2425c2****",
"ShareId": "0ab9659e-29cf-47d7-a364-3a91553b****",
"ShareToId": "95296e95-ca89-4c7d-8af9-dedf0ad0****",
"ShareToName": "小张",
"ShareToType": 0,
"ShareType": "dashboard"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Report.NotExist.Error | This work does not exist. It may have been deleted. Work ID is %s. | This work does not exist. It may have been deleted. Work ID is %s. |
| 400 | Workspace.Not.Exist | The group workspace does not exist. | The group workspace does not exist. |
| 400 | Workspace.NotIn.Organization | The workspace is not owned by the organization. | The workspace is not owned by the organization. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.