类别分类

类别API运算列表

取类别

获取/分类
Accept: application/vnd.ticketing.v2+json

开票期间,需要类别开票使用此操作分类列表

请求参数

操作不接受请求体

响应参数

响应类别列表内有下体参数

名称 类型 描述性
身份证 整数 ID分类
名称 字符串 类别名类别划分账号,计费支付,请求信息,变换事件处理.
描述性 字符串 描述类别
分类法 字符串 分类本类分类法服务请求,变换事件处理
子类 链表 子类列表
subcategories.name 字符串 子类名称
subcategories.allowedProducts 字符串 账户产品类型允许使用子类

响应示例

下示例显示JSON响应请求

{     "categories": [         {             "id": 1,             "name": "Account",             "description": "Account access, account settings, contact information, or managing users",             "classification": "Service Request",             "subcategories": [                 {                     "name": "General",                     "allowedProducts": [                         "hybrid"                     ]                 },                 {                     "name": "Other",                     "allowedProducts": [                         "cloud",                         "faws",                         "managed_gcp"                     ]                 }             ]         },         {             "id": 2,             "name": "Billing and Payments",             "description": "My bill, usage, my payments or payment options",             "classification": "Service Request",             "subcategories": [                 {                     "name": "General",                     "allowedProducts": [                         "hybrid"                     ]                 },                 {                     "name": "Other",                     "allowedProducts": [                         "cloud",                         "faws",                         "managed_gcp"                     ]                 }             ]         },         {             "id": 3,             "name": "Change",             "description": "Add/remove/modify infrastructure",             "classification": "Change",             "subcategories": [                 {                     "name": "General",                     "allowedProducts": [                         "hybrid"                     ]                 },                 {                     "name": "Other",                     "allowedProducts": [                         "cloud",                         "faws",                         "managed_gcp"                     ]                 }             ]         },         {             "id": 4,             "name": "Incident",             "description": "An unplanned interruption or reduction in service quality",             "classification": "Incident",             "subcategories": [                 {                     "name": "General",                     "allowedProducts": [                         "hybrid"                     ]                 },                 {                     "name": "Other",                     "allowedProducts": [                         "cloud",                         "faws",                         "managed_gcp"                     ]                 }             ]         },         {             "id": 5,             "name": "Request for Information",             "description": "General questions",             "classification": "Service Request",             "subcategories": [                 {                     "name": "General",                     "allowedProducts": [                         "hybrid"                     ]                 },                 {                     "name": "Other",                     "allowedProducts": [                         "cloud",                         "faws",                         "managed_gcp"                     ]                 }             ]         }     ] }

响应代码

操作可有下列响应码:

代码解析 名称 描述性
二百 成功经验 请求成功
429 多请求 程序内置速率限制为每分钟60次请求超出此限值后,收到429状态代码响应,直到冷淡周期结束
Baidu
map