更新多个工单

PUT /apiv2/tickets/update_many.json?ids={ids}

Note: 一次操作最多更新100个工单

调用权限

agent

curl示例
curl https://{subdomain}.kf5.com/apiv2/tickets/update_many.json?ids=1,2 \
  -H "Content-Type: application/json" -d "{\"ticket\":{\"status\":\"solved\"}}" \
  -v -u {email_address}:{password} -X PUT
返回示例
Status: 200 OK{
  "results": [
    {
      "id": 1,
      "success": false,
      "errors": "状态为已解决时,受理人不能为空"
    },
    {
      "id": 2,
      "success": true,
      "errors": ""
    }
  ]}
示例请求
{
  "ticket": {
    "status": "solved"
  }}