Tambahkan konfigurasi berbagi untuk karya data.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:AddShareReport |
create |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| WorksId |
string |
Yes |
ID karya yang dibagikan. Karya di sini meliputi portal BI, dasbor, spreadsheet, dan akses layanan mandiri. |
6b407e50-e774-406b-9956-da2425c2**** |
| ShareToId |
string |
No |
ID pihak yang akan dibagikan, yang dapat berupa ID pengguna Quick BI atau ID grup pengguna.
|
de4bc5f9429141cc8091cdd1c15b**** |
| ShareToType |
integer |
Yes |
Jenis berbagi template. Nilai yang valid:
|
0 |
| ExpireDate |
integer |
Yes |
Periode validitas berbagi. Nilainya adalah stempel waktu dalam milidetik. |
1608202110838 |
| AuthPoint |
integer |
Yes |
Lingkup otorisasi. Nilai yang valid:
|
3 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
05739b8e-3de0-4204-9669-7f04f02522b9 |
| Result |
boolean |
Hasil eksekusi antarmuka dikembalikan. Nilai yang valid:
|
true |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. Nilai yang valid:
|
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "05739b8e-3de0-4204-9669-7f04f02522b9",
"Result": true,
"Success": true
}
Kode kesalahan
|
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. |
| 400 | Workspace.Share.Forbidden | Content in the current group workspace cannot be shared. | Content in the current group workspace cannot be shared. |
| 400 | Workspace.OutsideShare.Forbidden | Content in the current group workspace cannot be shared with another organization. | Content in the current group workspace cannot be shared with another organization. |
| 400 | Usergroup.Not.Exist | The user group does not exist. | The user group does not exist. |
| 400 | UserGroup.NotIn.Organization | The user group is not in the current organization. | Usergroup is not belong to current organization. |
| 400 | Share.ExpireDate.Error | The expire date is illegal. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.