云服务器内容精选

  • 消息样例 场景描述:分配任务 URL:https:// 域名 /service/AICC__Case/1.0.0/openapi/task/transfer 请求头: { "Content-Type": "application/json", "access-token": "0000000000************7bm63KsRmEztTvyA=" } 请求体: { "id": "ccqG0000014iXvGKONQO", "ownerId": "10gg00000148QvgpaLAm", "creatorId": "10gg00000148QvgpaLAm" } 响应头: { "connection": "keep-alive", "Content-Length": "16", "Content-Type": "application/json%3Bcharset=UTF-8"} 响应参数: {"resCode": "0","resMsg": "成功"}
  • 请求说明 表1 请求头参数 序号 名称 参数类型 是否必选 说明 1 Content-Type string True 消息正文的类型为JSON 2 access-token string True 用户访问租间token,参见调用鉴权接口 表2 请求体参数 序号 名称 参数类型 长度(字节) 是否必选 说明 1 id string 20 True 任务id 2 ownerId string 20 True 被分配人id 3 creatorId string 20 True 创建人id
  • 消息样例 场景描述:修改任务 URL:https://域名/service/AICC__Case/1.0.0/openapi/task/modify 请求头: { "Content-Type": "application/json", "access-token": "0000000000************7bm63KsRmEztTvyA=" } 请求体: { "taskInfo":{ "id":"ccqG0000014iXvGKONQO", "title":"show0707", "creatorId": "10gg00000148QvgpaLAm" } } 响应头: { "connection": "keep-alive", "Content-Length": "16", "Content-Type": "application/json%3Bcharset=UTF-8"} 响应参数: {"resCode": "0","resMsg": "成功"}
  • 请求说明 表1 请求头参数 序号 名称 参数类型 是否必选 说明 1 Content-Type string True 消息正文的类型为JSON 2 access-token string True 用户访问租间token,参见调用鉴权接口 表2 请求体参数 序号 名称 参数类型 是否必选 说明 1 taskInfo TaskInfo False 任务信息,该对象的参数说明请参见表3 表3 TaskInfo参数说明 序号 名称 参数类型 长度(字节) 是否必选 说明 1 id string 20 True 任务id 2 title string 128 False 任务标题 3 description string 20000 False 任务描述 4 type string - False 任务关联类型 取值: Case 5 relateId string 20 False 关联类型对应id,如果关联任务类型有值,这里也必须有值 6 contactId string 20 False 联系人id 7 priority string 128 False 优先级 dataType : SingleSelect 枚举值: Critical High Medium Low 8 dueDate Datetime - False 期望完成时间,时间格式为YYYY-MM-DD HH:mm:ss 9 attachment string 255 False 任务附件 10 creatorId string 20 False 创建人id
  • 消息样例 场景描述:处理任务状态。 URL:https://域名/service/AICC__Case/1.0.0/openapi/task/process 请求头: { "Content-Type": "application/json", "access-token": "0000000000************7bm63KsRmEztTvyA=" } 请求体: { "taskId": "ccqG0000014iXvGKONQO", "processInfo": { "type": "Iternal", "title": "test0707", "description": "test0707" }, "creatorId":"10gg00000148QvgpaLAm" } 响应头: { "connection": "keep-alive", "Content-Length": "16", "Content-Type": "application/json%3Bcharset=UTF-8"} 响应参数: {"resCode": "0","resMsg": "成功"}
  • 请求说明 表1 请求头参数 序号 名称 参数类型 是否必选 说明 1 Content-Type string True 消息正文的类型为JSON 2 access-token string True 用户访问租间token,参见调用鉴权接口 表2 请求体参数 序号 名称 参数类型 长度(字节) 是否必选 说明 1 taskId string 20 True 任务 id 2 creatorId string 20 True 操作处理人 3 processInfo ProcessInfo - True 处理信息,该对象的参数说明请参见表3 表3 ProcessInfo参数说明 序号 名称 参数类型 长度(字节) 是否必选 说明 1 type string - True 处理类型 取值: Iternal 2 title string 128 True 标题。 3 description string 20000 True 处理描述。 4 attachment string 255 False 附件大小不能超过5M,数量不超过5个,支持jpg 、png 、pdf 、jpeg 、gif、doc、docx格式
  • 请求说明 表1 请求头参数 序号 名称 参数类型 是否必选 说明 1 Content-Type string True 消息正文的类型为JSON 2 access-token string True 用户访问租间token,参见调用鉴权接口 表2 请求体参数 序号 名称 参数类型 长度(字节) 是否必选 说明 1 taskInfo TaskInfo - True 任务详情信息,该对象的参数说明请参见表3 表3 TaskInfo任务详情参数说明 序号 名称 参数类型 长度(字节) 是否必选 说明 1 title string 128 True 任务标题 2 description string 20000 False 任务描述 3 type string - False 任务关联类型 取值: Case 4 relateId string 20 False 如果关联任务类型有值,这里也必须有值 5 ownerId string 20 True 处理人id 6 contactId string 20 False 联系人id 7 creatorId string 20 True 创建人id 8 priority string 128 False 优先级 取值: Critical High Medium Low 9 dueDate DateTime - False 期望完成时间,格式为YYYY-MM-DD HH:mm:ss 10 attachment string 255 False 任务附件
  • 消息样例 场景描述:创建任务 URL:https://域名/service/AICC__Case/1.0.0/openapi/task 请求头: { "Content-Type": "application/json", "access-token": "0000000000************7bm63KsRmEztTvyA=" } 请求体: { "taskInfo":{ "title": "test002", "description": "test001", "type": "Case", "ownerId": "10gg00000148QvgpaLAm", "relateId": "c6m80000014iXKHqDw3c", "dueDate": "2023-07-08 00:00:00", "contactId": "ciIy0000013y7cC8T2rA", "priority": "Low", "creatorId": "10gg00000148QvgpaLAm" } } 响应头: { "connection": "keep-alive", "Content-Length": "16", "Content-Type": "application/json%3Bcharset=UTF-8"} 响应参数: { "resCode": "0", "resMsg": "成功", "result": {"taskId":"ccqG0000014iXvGKONQO"} }