Queries the information of a specified data work.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:QueryWorks |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| WorksId |
string |
Yes |
The report ID. |
abcd**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| RequestId |
string |
The request ID. |
D787E1A3-A93C-424A-B626-C2B05DF8D885 |
| Result |
object |
The details of the data work. |
|
| Auth3rdFlag |
integer |
The third-party embedding status. Valid values:
|
0 |
| Description |
string |
The remarks of the data work. |
Remarks |
| Directory |
object |
The directory to which the data work belongs. |
|
| Id |
string |
The ID of the directory to which the data work belongs. |
83d37ba6-d909-48a2-a517-f4d05c3a**** |
| Name |
string |
The directory name. |
TestDirectory |
| PathId |
string |
The hierarchical path of the directory IDs, separated by a forward slash (/). |
83d37ba6-d909-48a2-a517-f4d05c3a**** |
| PathName |
string |
The hierarchical path of the directory names, separated by a forward slash (/). |
TestDirectory |
| GmtCreate |
string |
The timestamp in milliseconds when the data work was created. |
1496651577000 |
| GmtModify |
string |
The timestamp in milliseconds when the data work was last modified. |
1496651577000 |
| ModifyName |
string |
The Alibaba Cloud account name of the user who last modified the data work. |
John |
| OwnerId |
string |
The Quick BI UserID of the data work owner. |
9187a612aa474e2a8ac1414d5529**** |
| OwnerName |
string |
The Alibaba Cloud account name of the data work owner. |
John |
| PublicFlag |
boolean |
Indicates whether the data work is public. |
true |
| PublicInvalidTime |
integer |
The expiration date for the public access of the report. |
1721366354000 |
| SecurityLevel |
string |
The security policy for collaborative authorization of the data work. Valid values:
Note
|
0 |
| Status |
integer |
The report status. Valid values:
|
0 |
| WorkName |
string |
The name of the data work. |
TestReport |
| WorkType |
string |
The type of the data work. Leave this parameter empty to query all types. Valid values:
|
PAGE |
| WorksId |
string |
The ID of the data work. |
95296e95-ca89-4c7d-8af9-dedf0ad0**** |
| WorkspaceId |
string |
The ID of the workspace to which the data work belongs. |
87c6b145-090c-43e1-9426-8f93be23**** |
| WorkspaceName |
string |
The name of the workspace to which the data work belongs. |
TestWorkspace |
| GlobalParamVoList |
array<object> |
The array of global parameters. |
|
|
object |
The global parameter object. |
||
| DataType |
string |
The field type. Valid values:
|
string |
| ParamName |
string |
The parameter name. |
lastQueryAt |
| ParamAlias |
string |
The parameter alias. |
lastQueryAt |
| Required |
boolean |
Indicates whether the parameter is required. |
false |
Examples
Success response
JSON format
{
"Success": true,
"RequestId": "D787E1A3-A93C-424A-B626-C2B05DF8D885",
"Result": {
"Auth3rdFlag": 0,
"Description": "Description\n",
"Directory": {
"Id": "83d37ba6-d909-48a2-a517-f4d05c3a****",
"Name": "Test directory\n",
"PathId": "83d37ba6-d909-48a2-a517-f4d05c3a****",
"PathName": "Test directory\n"
},
"GmtCreate": "1496651577000",
"GmtModify": "1496651577000",
"ModifyName": "Tom\n",
"OwnerId": "9187a612aa474e2a8ac1414d5529****",
"OwnerName": "Tom\n",
"PublicFlag": true,
"PublicInvalidTime": 1721366354000,
"SecurityLevel": "0",
"Status": 0,
"WorkName": "Test report\n",
"WorkType": "PAGE",
"WorksId": "95296e95-ca89-4c7d-8af9-dedf0ad0****",
"WorkspaceId": "87c6b145-090c-43e1-9426-8f93be23****",
"WorkspaceName": "Test Space\n",
"GlobalParamVoList": [
{
"DataType": "string",
"ParamName": "lastQueryAt",
"ParamAlias": "lastQueryAt",
"Required": false
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Invalid.Works.Empty | This work does not exist. It may have been deleted. Work ID is %s. | The work does not exist. It may have been deleted. Work ID: %s. |
| 400 | Resource.NotBelongTo.CurrentOrganization | The resource does not belong to the current organization. | This Resource is not belong to current organization. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.