Obtains the details of a specified ticket for a report that is not embedded in the report.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:QueryTicketInfo |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Ticket |
string |
Yes |
The value of the bill. |
a27a9aec-****-****-bd40-1a21ea41d7c5 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
D787E1A3-A93C-424A-B626-C2B05DF8D885 |
| Result |
object |
The details of the generated ticket. |
|
| AccessTicket |
string |
Notes. |
a27a9aec-****-****-bd40-1a21ea41d7c5 |
| CmptId |
string |
The ID of the component in the report. |
sfdgsds-****-****-a608-mghdgd |
| GlobalParam |
string |
Global parameters. |
[{"paramKey":"price","joinType":"and","conditionList":[{"operate":">","value":"0"}]},{"paramKey":"product_type","joinType":"and","conditionList":[{"operate":"in","value":["]}]}]\n |
| InvalidTime |
string |
Expiration time of the note. |
2022-01-30 03:03:49 |
| MaxTicketNum |
integer |
The maximum number of supported bills. |
9999 |
| OrganizationId |
string |
The ID of the organization. |
2fe4fbd8-****-****-b3e1-e92c7af083ea |
| RegisterTime |
string |
The registration time of the ticket. |
2022-01-09 22:23:49 |
| UsedTicketNum |
integer |
The number of bills that have been consumed. |
47 |
| UserId |
string |
The user ID of the Quick BI. |
974e50**********9033f46 |
| WatermarkParam |
string |
Set the watermarking parameters. |
ticket |
| WorksId |
string |
The ID of the operations report. |
ccd3428c-****-****-a608-26bae29dffee |
| Success |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "D787E1A3-A93C-424A-B626-C2B05DF8D885",
"Result": {
"AccessTicket": "a27a9aec-****-****-bd40-1a21ea41d7c5",
"CmptId": "sfdgsds-****-****-a608-mghdgd",
"GlobalParam": "[{"paramKey":"price","joinType":"and","conditionList":[{"operate":">","value":"0"}]},{"paramKey":"product_type","joinType":"and","conditionList":[{"operate":"in","value":["]}]}]\\n",
"InvalidTime": "2022-01-30 03:03:49",
"MaxTicketNum": 9999,
"OrganizationId": "2fe4fbd8-****-****-b3e1-e92c7af083ea",
"RegisterTime": "2022-01-09 22:23:49",
"UsedTicketNum": 47,
"UserId": "974e50**********9033f46",
"WatermarkParam": "ticket",
"WorksId": "ccd3428c-****-****-a608-26bae29dffee"
},
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Authorize3rdTicket.BindedWorks.Mismatch | The report bound by the ticket mismatches the actual report. | |
| 400 | Authorize3rdTicket.Expired | Ticket [%s] has expired. | |
| 400 | Authorize3rdTicket.HasNo.LoginToken | The request [%s] has no token. | |
| 400 | Authorize3rdTicket.NotExist | Ticket %s does not exist. | |
| 400 | Authorize3rdTicket.Num.Exceed | The number of tickets %s is invalid. | |
| 400 | Authorize3rdTicket.Num.HasNoLeft | There is no ticket number left, please generate new ticket. | |
| 400 | NoPermissionTo.Operate.Object | You are not authorized to operate the objects. | You are not authorized to do this. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.