所属公司组织的工单请求列表
GET /apiv2/requests/organization.json
获取当前用户所属公司组织的工单列表,需要用户所属公司组织不能为空,其所属公司组织开启了“能查看组织的所有工单”
调用权限
end user
请求参数
status: 状态筛选条件,可选值:open 状态小于已解决、solved 状态已解决和已关闭
created_order: 按创建时间排序规则,可选值:asc、desc
updated_order: 按更新时间排序规则,可选值:asc、desc
status_order: 按工单状态排序规则,可选值:asc、desc
field_order: 按自定义字段属性排序规则,例如:field_xxx_asc、field_xxx_desc
请求示例
GET /apiv2/requests/organization.json?status=open
GET /apiv2/requests/organization.json?created_order=asc
GET /apiv2/requests/organization.json?status=solved&field_order=field_xxx_asc
返回示例
Status: 200 OK{ "requests": [ { "id": 33, "status": "open", "title": "here is a bug", ... }, { "id": 34, "status": "closed", "title": "here is another bug", ... } ]}