Skip to content

LeoYeAI/agent-master-skills / skills/andonq

腾讯云 AndonQ 腾讯云技术服务专家 — 不切窗口、不排队,即刻获得腾讯云全产品线专业解答。支持工单查询(列表/详情/流水)、创建工单(自动匹配产品分类)、集团工单与需求单管理、腾讯云全产品线智能问答,以及通过 tccli 调用腾讯云任意云 API(如 CVM、CBS、CAM 等)。当用户查询工单、查看工单详情、创建工单、咨询腾讯云产品问题(如 CVM、轻量应用服务器、COS 等)、查询集团工单/需求单、要求找人工客服、或需要调用腾讯云 API 进行资源管理操作时使用。

references/DescribeOrganizationTickets.md

View on GitHub
# DescribeOrganizationTickets — 获取集团成员的工单列表

## 触发词

- "集团工单"、"组织工单列表"、"成员工单"、"集团工单列表"
- "organization tickets"、"member tickets"

## 请求参数

| 参数 | 类型 | 必填 | 默认值 | 说明 |
|------|------|------|--------|------|
| `StartTime` | String | **是** | — | 起始时间,格式 `2006-01-02 15:04:05` |
| `EndTime` | String | **是** | — | 结束时间,格式 `2006-01-02 15:04:05` |
| `Offset` | Integer | **是** | — | 偏移量 |
| `Limit` | Integer | **是** | — | 每页条数,最大 50 |
| `MemberUins` | Integer[] | 否 | — | 集团成员 UIN 列表 |
| `Title` | String | 否 | — | 工单标题搜索 |
| `Statues` | Integer[] | 否 | — | 工单状态过滤(注意:API 拼写为 `Statues`) |
| `Channels` | Integer[] | 否 | — | 渠道过滤,见下表 |
| `Tags` | Integer[] | 否 | — | 标签过滤 |
| `UinType` | Integer | 否 | — | 维度类型:`0` 集团维度 / `1` 企业维度 |
| `SceneIds` | Integer[] | 否 | — | 场景 ID 过滤 |
| `Ids` | Integer[] | 否 | — | 工单 ID 过滤 |
| `ServiceRates` | Integer[] | 否 | — | 服务评价过滤 |

## 渠道类型

| Channel | 含义 |
|---------|------|
| 1 | 官网 |
| 2 | 电话 |
| 3 | 大客户群 |
| 4 | 其他 |

## 示例命令

```bash
# 先获取最近 90 天的时间范围
python3 {baseDir}/scripts/andon-api.py -a GetCurrentTime -d '{}'
# 用返回的 presets.last_180d 的 startTime/endTime 填入以下命令

# 查询最近工单列表
python3 {baseDir}/scripts/andon-api.py -a DescribeOrganizationTickets -d '{"StartTime":"<last_180d.startTime>","EndTime":"<last_180d.endTime>","Offset":0,"Limit":20}'

# 按成员 UIN 过滤
python3 {baseDir}/scripts/andon-api.py -a DescribeOrganizationTickets -d '{"StartTime":"<last_180d.startTime>","EndTime":"<last_180d.endTime>","Offset":0,"Limit":20,"MemberUins":[100001234]}'

# 按状态和渠道过滤
python3 {baseDir}/scripts/andon-api.py -a DescribeOrganizationTickets -d '{"StartTime":"<last_180d.startTime>","EndTime":"<last_180d.endTime>","Offset":0,"Limit":10,"Statues":[1,2],"Channels":[1]}'
```

## 成功响应

```json
{
  "success": true,
  "action": "DescribeOrganizationTickets",
  "data": {
    "Tickets": [
      {
        "Channel": 1,
        "CreateTime": "2026-03-20 10:30:00",
        "QcloudTicketId": "QC202603201234",
        "Status": 1,
        "TicketId": "5678",
        "Title": "CVM 实例无法启动",
        "Uin": 100001234
      }
    ],
    "Total": 15
  },
  "requestId": "xxx"
}
```

## 展示规则

工单列表以**表格**形式展示:

```
📋 集团工单列表(共 15 条)

| 工单 ID | 标题                | 状态    | 创建时间            | UIN        |
|---------|-------------------|---------|-------------------|------------|
| 5678    | CVM 实例无法启动     | 处理中   | 2026-03-20 10:30  | 100001234  |
```

- 表格展示工单列表,含工单 ID、标题、状态、创建时间、UIN
- 渠道显示中文名(参考渠道类型映射表)

## 常见错误

| 错误码 | 含义 | 解决方案 |
|--------|------|----------|
| `FailedOperation` | 操作失败 | 检查请求参数和权限 |
| `InternalError` | 内部错误 | 稍后重试 |
| `InvalidParameter` | 参数格式错误 | 检查时间格式、Limit 是否超过 50 等 |
| `InvalidParameterValue` | 参数值错误 | 检查参数值是否在合法范围内 |
| `OperationDenied.OrganizationManagerVerifyFailed` | 集团管理员验证失败 | 确认账号具备集团管理员权限 |
receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 322kUpdated Claude CodeCodexVerifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 322kUpdated Claude CodeCodexVerifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 322kUpdated Claude CodeCodexVerifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 322kUpdated Claude CodeCodexVerifiedInstall