技术支持

API - 提交工单

描述:提交工单

请求方式:POST

请求地址:/v1/tickets

版本:v1

内部API调用方法名:Ticket_createTicket

请求参数

参数类型验证规则最大长度描述示例
   department_id int require - 部门ID 1
   title string require - 标题 example
   content string require - 内容 example
   host_id int - 产品ID 1
   custom_fields array[] - 自定义字段:自定义字段ID和值的键值对 {"1":"example"}
   attachment string - 附件 example

返回参数

参数类型验证规则最大长度描述示例
   id int - 工单ID 1