1. 事项服务
- 协同对象
- 公文对象
- 分页
- 待办协同(V7.0 update)
- 按人员编码获取所有待办事项(V7.0 update)
- 已办协同(V7.0 update)
- 按人员编码获取所有已办事项(Since:V6.0) (V7.0 update)
- 待发协同(V7.0 update)
- 已发协同(V7.0 update)
- 按人员编码获取所有已发事项 (V7.0 update)
- 督办协同(V7.0 update)
- 跟踪协同(V7.0 update)
- 按人员编码获取所有跟踪事项 (V7.0 update)
- 待办发文(V7.0 update)
- 已办发文 (V7.0 update)
- 在办发文(V7.0 update)
- 已发发文 (V7.0 update)
- 待发发文 (V7.0 update)
- 待办收文(V7.0 update)
- 已办收文(V7.0 update)
- 在办收文(V7.0 update)
- 已发收文(V7.0 update)
- 待发收文(V7.0 update)
- 待办签报(V7.0 update)
- 已办签报(V7.0 update)
- 在办签报(V7.0 update)
- 已发签报(V7.0 update)
- 待发签报(V7.0 update)
- 获取协同、公文(发文、收文、签报)各状态数量(Since V7.1)
1.1. 协同对象
1.1.1. 协同事项对象示例
{
"id": 2720145156405544000,
"state": 3,
"processId": null,
"identifier": "00000000000000000000",
"subject": "AD",
"createDate": 1402906375000,
"memberId": -3055041260160661500,
"orgAccountId": null,
"bodyType": "OfficeWord",
"updateDate": null,
"fromId": null,
"processOverTime": null,
"coverTime": false,
"senderId": -3055041260160661500,
"app": 19,
"objectId": -5722374295649958000,
"subObjectId": 5029552490513124000,
"subState": 11,
"hastenTimes": null,
"remindDate": null,
"deadlineDate": null,
"dueRemind": true,
"receiveTime": 1402906375000,
"completeTime": null,
"expectedProcessTime": null,
"remindInterval": null,
"delete": false,
"archiveId": null,
"track": 0,
"addition": null,
"extProps": "<map>
<entry>
<string>edoc_sendAccountId</string>
<string>Account|-5527669650800818699</string>
</entry>
<entry>
<string>edoc_sendUnit</string>
<string>seeyon</string>
</entry>
<entry>
<string>edoc_edocMark</string>
<string>1111</string>
</entry>
</map>",
"finish": false,
"importantLevel": 3,
"resentTime": null,
"forwardMember": null,
"transactorId": null,
"nodePolicy": "shenpi",
"activityId": 14029063630290,
"formAppId": null,
"formId": null,
"formOperationId": null,
"templeteId": null,
"overWorktime": null,
"runWorktime": null,
"overTime": null,
"runTime": null,
"dealTermType": 0,
"dealTermUserid": -1,
"subApp": null,
"new": false,
"extraMap": { }
}
1.1.2. 协同事项对象属性说明
| 参数 | 说明 |
|---|---|
| id | 事项的affairId,唯一标识协同公文事项 |
| subject | 标题 |
| createDate | 创建时间 |
| memberId | 事项所属人员Id |
| senderId | 发送人Id |
| app | 应用 |
| objectId | 主应用Id |
| state | 状态 |
| subState | 子状态 |
| hastenTimes | 催办次数 |
| remindDate | 提醒时间 |
| deadlineDate | 节点期限 |
| dueRemind | 是否到期 |
| receiveTime | 接收时间 |
| completeTime | 完成时间 |
| expectedProcessTime | 预期处理时间 |
| remindInterval | 提醒周期 |
| track | 是否跟踪 |
| finish | 是否结束 |
| importantLevel | 重要程度 |
| resentTime | 重复次数 |
| forwardMember | 转发人 |
| transactorId | 代理人 |
| overWorktime | 按工作时间计算的超期时间 |
| runWorktime | 按工作时间计算的运行时间 |
| overTime | 按自然时间计算的超期时间 |
| runTime | 按自然时间计算的运行时间 |
| dealTermType | 处理期限到处理类型(0-仅消息提醒;1-转给指定人;2-自动跳过) |
1.2. 公文对象
1.2.1. 公文事项对象示例
{
"affair": {
"id": -1394531391963837400,
"orgAccountId": null,
"processId": null,
"processOverTime": null,
"coverTime": false,
"memberId": -5367584954916057000,
"senderId": null,
"subject": "发文1",
"app": null,
"objectId": null,
"subObjectId": 7982359834076727000,
"state": 3,
"subState": 11,
"hastenTimes": null,
"remindDate": null,
"deadlineDate": null,
"dueRemind": false,
"createDate": 1401425216000,
"receiveTime": 1401425216000,
"completeTime": null,
"expectedProcessTime": null,
"remindInterval": null,
"delete": false,
"archiveId": null,
"track": 0,
"addition": null,
"updateDate": null,
"finish": false,
"bodyType": "OfficeWord",
"importantLevel": null,
"resentTime": null,
"forwardMember": null,
"identifier": null,
"transactorId": null,
"nodePolicy": "shenpi",
"activityId": 14018459251140,
"formAppId": null,
"formId": null,
"formOperationId": null,
"templeteId": null,
"fromId": null,
"overWorktime": null,
"runWorktime": null,
"overTime": null,
"runTime": null,
"dealTermType": null,
"dealTermUserid": null,
"subApp": null,
"extraMap": { },
"new": false
},
"summary": {
"id": -5852307225594607000,
"identifier": "00000000000000000000",
"hasArchive": false,
"archiveId": null,
"overTime": null,
"runTime": null,
"overWorkTime": null,
"runWorkTime": null,
"importantLevel": null,
"isunit": false,
"canTrack": 0,
"caseId": -3497646807645339000,
"comment": null,
"completeTime": null,
"copies": 0,
"copies2": 0,
"copyTo": "",
"copyToId": null,
"copyTo2": null,
"copyToId2": null,
"createPerson": "s1",
"createTime": 1401425216000,
"packTime": null,
"deadline": -1,
"deadlineDatetime": null,
"docMark": "1111",
"docMark2": null,
"docType": null,
"edocType": 0,
"formId": null,
"issuer": null,
"keepPeriod": null,
"keywords": null,
"printUnit": null,
"printUnitId": null,
"printer": null,
"processId": "3032338051602860135",
"reportTo": null,
"reportToId": null,
"reportTo2": null,
"reportToId2": null,
"secretLevel": "1",
"sendTo": "",
"sendToId": null,
"sendTo2": null,
"sendToId2": null,
"sendType": null,
"sendUnit": "seeyon",
"sendUnit2": null,
"sendUnitId": null,
"sendUnitId2": null,
"sendDepartment": "D1",
"sendDepartment2": null,
"sendDepartmentId": null,
"sendDepartmentId2": null,
"attachments": null,
"serialNo": null,
"signingDate": null,
"startTime": 1401425216000,
"startUserId": -5367584954916057000,
"state": 0,
"subject": "发文1",
"urgentLevel": "1",
"superviseMap": { },
"filesm": null,
"filefz": null,
"phone": null,
"party": null,
"administrative": null,
"subEdocType": null,
"processType": null,
"edocTypeEnum": "sendEdoc",
"receiptDate": null,
"registrationDate": null,
"auditor": null,
"review": null,
"undertaker": null,
"undertakerDep": null,
"undertakerAccount": null,
"isQuickSend": false,
"coverTime": false,
"edocBodies": [ ],
"edocOpinions": [ ],
"worklfowTimeout": false,
"updateTime": null,
"templeteId": null,
"workflowRule": null,
"advanceRemind": 0,
"senderOpinion": null,
"startMember": {
"orgAccountId": -5094380526580777000,
"id": -5367584954916057000,
"name": "s1"
},
"orgAccountId": null,
"orgDepartmentId": null,
"affairId": null,
"currentNodesInfo": "-5367584954916057090&shenpi",
"forwardMember": null,
"finished": false,
"isRetreat": 0,
"edocSendRecords": null,
"hasAttachments": false,
"edocBodiesJs": "
var contentOfficeId=new Properties();
",
"firstBody": null,
"new": false
}
}
1.2.2. 公文事项对象属性说明
公文事项的关键信息都在affair和summary属性中 summary属性的说明如下表
| 参数 | 说明 |
|---|---|
| id | summary的Id |
| hasArchive | 是否已归档 |
| archiveId | 归档Id |
| importantLevel | 重要程度 |
| canTrack | 是否跟踪 |
| copies | 印发份数 |
| copies2 | 印发份数B |
| copyTo | 抄送单位 |
| copyToId | 抄送单位Id |
| copyTo2 | 抄送单位B |
| copyToId2 | 抄送单位B Id |
| createPerson | 拟稿人 |
| createTime | 拟稿日期 |
| packTime | 封发日期 |
| docMark | 公文文号 |
| docMark2 | 公文文号B |
| docType | 公文种类 |
| issuer | 签发人 |
| keepPeriod | 保密期限 |
| keywords | 主题词 |
| printUnit | 印发单位 |
| printUnitId | 印发单位Id |
| printer | 打印人 |
| reportTo | 抄报单位 |
| reportToId | 抄报单位Id |
| reportTo2 | 抄报单位B |
| reportToId2 | 抄报单位B Id |
| secretLevel | 文件密级 |
| sendTo | 主送单位 |
| sendToId | 主送单位Id |
| sendTo2 | 主送单位B |
| sendToId2 | 主送单位B Id |
| sendType | 行文类型 |
| sendUnit | 发文单位名称 |
| sendUnit2 | 发文单位B |
| sendUnitId | 发文单位Id |
| sendUnitId2 | 发文单位B的Id |
| sendDepartment | 发文部门 |
| sendDepartment2 | 发文部门B |
| sendDepartmentId | 发文部门Id |
| sendDepartmentId2 | 发文部门B Id |
| attachments | 附件 |
| serialNo | 内部文号 |
| signingDate | 签发日期 |
| subject | 公文标题, |
| filesm | 附件说明 |
| filefz | 附注 |
| phone | 联系电话 |
| party | 党务机关 |
| administrative | 政务机关 |
| processType | 处理类型(1办文,2阅文) |
| receiptDate | 签收日期 |
| registrationDate | 登记日期 |
| auditor | 审核人 |
| review | 复核人 |
| undertaker | 承办人 |
| undertakerDep | 承办人部门 |
| undertakerAccount | 承办人单位 |
| isQuickSend | 是否为快速发文 |
| startMember | 发起者 |
| hasAttachments | 是否有附件 |
1.3. 分页
所有的事项服务都支持分页,分页使用pageNo和pageSize两个请求参数控制,比如
http://127.0.0.1/seeyon/rest/affairs/done?ticket=xxxxxx&pageNo=1&pageSize=20
| 参数 | 说明 |
|---|---|
| pageSize | 每页返回的记录数 |
| pageNo | 第几页 |
1.4. 待办协同(V7.0 update)
获取指定人员的协同待办列表。
V6.0获取接口更新:根据类型(app)获取指定待办数据列表
接口请求说明:
V6.0之前http请求方式:GET
http://ip:port/seeyon/rest/affairs/pending
如
http://127.0.0.1/seeyon/rest/affairs/pending?ticket=xxxxxx
V6.0http请求方式:GET
http://ip:port/seeyon/rest/affairs/pending?ticket={loginname}&memberId={memberid}&apps={appsid}
如
http://127.0.0.1/seeyon/rest/affairs/pending?ticket=xxxxxx&memberId=-3941577936688034522&apps=1
参数说明:
| 参数 | 是否必须 | 说明 |
|---|---|---|
| ticket | 是 | 人员单点登录取得的令牌 |
| memberId | 是 | 人员ID |
| apps | 是 | 模块代码,1:协同,10:调查;组合使用则传 1,10 |
返回说明
返回JSON格式的协同事项对象列表,ticket无效返回null。,JSON数据包参考:协同事项对象示例
返回参数增加URLLINK连接 (V7.0 update)
参数说明 请参考:协同事项对象属性说明
1.5. 按人员编码获取所有待办事项(V7.0 update)
按人员编码获取所有待办事项
接口请求说明:
http请求方式:GET
http://ip:port/seeyon/rest/affairs/pending/code/{memberCode}
如
http://127.0.0.1/seeyon/rest/affairs/pending/code/002?ticket=cnn
参数说明:
| 参数 | 是否必须 | 说明 |
|---|---|---|
| ticket | 是 | 人员单点登录取得的令牌 |
返回说明
返回JSON格式的协同事项对象列表,ticket无效返回null。,JSON数据包参考:协同事项对象示例
返回参数增加URLLINK连接 (V7.0 update)
参数说明 请参考:协同事项对象属性说明
1.6. 已办协同(V7.0 update)
获取指定人员的协同已办列表。
V6.0接口更新:不在传入ticket,改为传memberId人员ID
接口请求说明:
V6.0之前http请求方式:GET
http://ip:port/seeyon/rest/affairs/done
如
http://127.0.0.1/seeyon/rest/affairs/done?ticket=xxxxxx
V6.0http请求方式:GET
http://ip:port/seeyon/rest/affairs/done?memberId={memberId}
如
http://127.0.0.1/seeyon/rest/affairs/done?memberId={xxxx}
参数说明:
| 参数 | 是否必须 | 说明 |
|---|---|---|
| memberId | 是 | 人员ID |
返回说明
返回JSON格式的协同事项对象列表,ticket无效返回null。,JSON数据包参考:协同事项对象示例
返回参数增加URLLINK连接 (V7.0 update)
参数说明 请参考:协同事项对象属性说明
1.7. 按人员编码获取所有已办事项(Since:V6.0) (V7.0 update)
获取指定人员编码的人员的协同已办列表。
接口请求说明:
http请求方式:GET
http://ip:port/seeyon/rest/affairs/done/code/{memberCode}
如
http://127.0.0.1/seeyon/rest/affairs/done/code/002?ticket=cnn
返回说明
返回JSON格式的协同事项对象列表,ticket无效返回null。,JSON数据包参考:协同事项对象示例
返回参数增加URLLINK连接 (V7.0 update)
参数说明 请参考:协同事项对象属性说明
1.8. 待发协同(V7.0 update)
获取指定人员的协同待发列表。
V6.0接口更新:不在传入ticket,改为传memberId人员ID
接口请求说明:
V6.0之前http请求方式:GET
http://ip:port/seeyon/rest/affairs/draft
如
http://127.0.0.1/seeyon/rest/affairs/draft?ticket=xxxxxx
V6.0http请求方式:GET
http://ip:port/seeyon/rest/affairs/draft
如
http://127.0.0.1/seeyon/rest/affairs/draft?memberId={memberId}
| 参数 | 是否必须 | 说明 |
|---|---|---|
| memberId | 是 | 人员ID |
返回说明
返回JSON格式的协同事项对象列表,ticket无效返回null。,JSON数据包参考:协同事项对象示例
返回参数增加URLLINK连接 (V7.0 update)
参数说明 请参考:协同事项对象属性说明
1.9. 已发协同(V7.0 update)
获取指定人员的协同已发列表。
V6.0接口更新:不在传入ticket,改为传memberId人员ID
接口请求说明:
V6.0之前http请求方式:GET
http://ip:port/seeyon/rest/affairs/sent
如
http://127.0.0.1/seeyon/rest/affairs/sent?ticket=xxxxxx
V6.0http请求方式:GET
http://ip:port/seeyon/rest/affairs/sent
如
http://127.0.0.1/seeyon/rest/affairs/sent?memberId={memberId}
| 参数 | 是否必须 | 说明 |
|---|---|---|
| memberId | 是 | 人员ID |
返回说明
返回JSON格式的协同事项对象列表,ticket无效返回null。,JSON数据包参考:协同事项对象示例
返回参数增加URLLINK连接 (V7.0 update)
参数说明 请参考:协同事项对象属性说明
1.10. 按人员编码获取所有已发事项 (V7.0 update)
获取指定人员编码的人员的协同已发列表。
接口请求说明:
http请求方式:GET
http://ip:port/seeyon/rest/affairs/sent/code/{memberCode}
如
http://127.0.0.1/seeyon/rest/affairs/sent/code/003?ticket=cnn
返回说明
返回JSON格式的协同事项对象列表,ticket无效返回null。,JSON数据包参考:协同事项对象示例
返回参数增加URLLINK连接 (V7.0 update)
参数说明 请参考:协同事项对象属性说明
1.11. 督办协同(V7.0 update)
获取指定人员的协同督办列表。
V6.0接口更新:不在传入ticket,改为传memberId人员ID
接口请求说明:
V6.0之前http请求方式:GET
http://ip:port/seeyon/rest/affairs/supervise
如
http://127.0.0.1/seeyon/rest/affairs/supervise?ticket=xxxxxx
V6.0http请求方式:GET
http://ip:port/seeyon/rest/affairs/supervise
如
http://127.0.0.1/seeyon/rest/affairs/supervise?memberId={memberId}
| 参数 | 是否必须 | 说明 |
|---|---|---|
| memberId | 是 | 人员ID |
返回说明
返回JSON格式的协同事项对象列表,ticket无效返回null。,JSON数据包参考:协同事项对象示例
返回参数增加URLLINK连接 (V7.0 update)
参数说明 请参考:协同事项对象属性说明
1.12. 跟踪协同(V7.0 update)
获取指定人员的协同跟踪列表。
V6.0接口更新:不在传入ticket,改为传memberId人员ID
接口请求说明:
V6.0之前http请求方式:GET
http://ip:port/seeyon/rest/affairs/track
如
http://127.0.0.1/seeyon/rest/affairs/track?ticket=xxxxxx
V6.0http请求方式:GET
http://ip:port/seeyon/rest/affairs/track
如
http://127.0.0.1/seeyon/rest/affairs/track?memberId={memberId}
| 参数 | 是否必须 | 说明 |
|---|---|---|
| memberId | 是 | 人员ID |
返回说明
返回JSON格式的协同事项对象列表,ticket无效返回null。,JSON数据包参考:协同事项对象示例
返回参数增加URLLINK连接 (V7.0 update)
参数说明 请参考:协同事项对象属性说明
1.13. 按人员编码获取所有跟踪事项 (V7.0 update)
获取指定人员编码的人员协同跟踪列表。
接口请求说明:
http请求方式:GET
http://ip:port/seeyon/rest/affairs/track/code/{memberCode}
如
http://127.0.0.1/seeyon/rest/affairs/track/code/002?ticket=cnn
返回说明
返回JSON格式的协同事项对象列表,ticket无效返回null。,JSON数据包参考:协同事项对象示例
返回参数增加URLLINK连接 (V7.0 update)
参数说明 请参考:协同事项对象属性说明
1.14. 待办发文(V7.0 update)
获取指定人员的发文待办列表。
接口请求说明:
http请求方式:GET
http://ip:port/seeyon/rest/edoc/receipt/pending
如
http://127.0.0.1/seeyon/rest/edoc/receipt/pending?ticket=xxxxxx
参数说明:
| 参数 | 是否必须 | 说明 |
|---|---|---|
| ticket | 是 | 人员单点登录取得的令牌 |
返回说明
返回JSON格式的公文事项对象列表,ticket无效返回null。,JSON数据包参考:公文事项对象示例
返回参数增加URLLINK连接 (V7.0 update)
参数说明 请参考:公文事项对象属性说明
1.15. 已办发文 (V7.0 update)
获取指定人员的发文已办列表。
接口请求说明:
http请求方式:GET
http://ip:port/seeyon/rest/edoc/receipt/done
如
http://127.0.0.1/seeyon/rest/edoc/receipt/done?ticket=xxxxxx
返回说明
返回JSON格式的公文事项对象列表,ticket无效返回null。,JSON数据包参考:公文事项对象示例
返回参数增加URLLINK连接 (V7.0 update)
参数说明 请参考:公文事项对象属性说明
1.16. 在办发文(V7.0 update)
获取指定人员的发文在办列表。
接口请求说明:
http请求方式:GET
http://ip:port/seeyon/rest/edoc/receipt/running
如
http://127.0.0.1/seeyon/rest/edoc/receipt/running?ticket=xxxxxx
返回说明
返回JSON格式的公文事项对象列表,ticket无效返回null。,JSON数据包参考:公文事项对象示例
返回参数增加URLLINK连接 (V7.0 update)
参数说明 请参考:公文事项对象属性说明
1.17. 已发发文 (V7.0 update)
获取指定人员的发文已发列表。
接口请求说明:
http请求方式:GET
http://ip:port/seeyon/rest/edoc/receipt/sent
如
http://127.0.0.1/seeyon/rest/edoc/receipt/sent?ticket=xxxxxx
返回说明
返回JSON格式的公文事项对象列表,ticket无效返回null。,JSON数据包参考:公文事项对象示例
返回参数增加URLLINK连接 (V7.0 update)
参数说明 请参考:公文事项对象属性说明
1.18. 待发发文 (V7.0 update)
获取指定人员的发文待发列表。
接口请求说明:
http请求方式:GET
http://ip:port/seeyon/rest/edoc/receipt/draft
如
http://127.0.0.1/seeyon/rest/edoc/receipt/draft?ticket=xxxxxx
返回说明
返回JSON格式的公文事项对象列表,ticket无效返回null。,JSON数据包参考:公文事项对象示例
返回参数增加URLLINK连接 (V7.0 update)
参数说明 请参考:公文事项对象属性说明
1.19. 待办收文(V7.0 update)
获取指定人员的收文待办列表。
接口请求说明:
http请求方式:GET
http://ip:port/seeyon/rest/edoc/dispatch/pending
如
http://127.0.0.1/seeyon/rest/edoc/dispatch/pending?ticket=xxxxxx
参数说明:
| 参数 | 是否必须 | 说明 |
|---|---|---|
| ticket | 是 | 人员单点登录取得的令牌 |
返回说明
返回JSON格式的公文事项对象列表,ticket无效返回null。,JSON数据包参考:公文事项对象示例
返回参数增加URLLINK连接 (V7.0 update)
参数说明 请参考:公文事项对象属性说明
1.20. 已办收文(V7.0 update)
获取指定人员的收文已办列表。
接口请求说明:
http请求方式:GET
http://ip:port/seeyon/rest/edoc/dispatch/done
如
http://127.0.0.1/seeyon/rest/edoc/dispatch/done?ticket=xxxxxx
返回说明
返回JSON格式的公文事项对象列表,ticket无效返回null。,JSON数据包参考:公文事项对象示例
返回参数增加URLLINK连接 (V7.0 update)
参数说明 请参考:公文事项对象属性说明
1.21. 在办收文(V7.0 update)
获取指定人员的收文在办列表。
接口请求说明:
http请求方式:GET
http://ip:port/seeyon/rest/edoc/dispatch/running
如
http://127.0.0.1/seeyon/rest/edoc/dispatch/running?ticket=xxxxxx
返回说明
返回JSON格式的公文事项对象列表,ticket无效返回null。,JSON数据包参考:公文事项对象示例
返回参数增加URLLINK连接 (V7.0 update)
参数说明 请参考:公文事项对象属性说明
1.22. 已发收文(V7.0 update)
获取指定人员的收文已发列表。
接口请求说明:
http请求方式:GET
http://ip:port/seeyon/rest/edoc/dispatch/sent
如
http://127.0.0.1/seeyon/rest/edoc/dispatch/sent?ticket=xxxxxx
返回说明
返回JSON格式的公文事项对象列表,ticket无效返回null。,JSON数据包参考:公文事项对象示例
返回参数增加URLLINK连接 (V7.0 update)
参数说明 请参考:公文事项对象属性说明
1.23. 待发收文(V7.0 update)
获取指定人员的收文待发列表。
接口请求说明:
http请求方式:GET
http://ip:port/seeyon/rest/edoc/dispatch/draft
如
http://127.0.0.1/seeyon/rest/edoc/dispatch/draft?ticket=xxxxxx
返回说明
返回JSON格式的公文事项对象列表,ticket无效返回null。,JSON数据包参考:公文事项对象示例
返回参数增加URLLINK连接 (V7.0 update)
参数说明 请参考:公文事项对象属性说明
1.24. 待办签报(V7.0 update)
获取指定人员的签报待办列表。
接口请求说明:
http请求方式:GET
http://ip:port/seeyon/rest/edoc/sign/pending
如
http://127.0.0.1/seeyon/rest/edoc/sign/pending?ticket=xxxxxx
参数说明:
| 参数 | 是否必须 | 说明 |
|---|---|---|
| ticket | 是 | 人员单点登录取得的令牌 |
返回说明
返回JSON格式的公文事项对象列表,ticket无效返回null。,JSON数据包参考:公文事项对象示例
返回参数增加URLLINK连接 (V7.0 update)
参数说明 请参考:公文事项对象属性说明
1.25. 已办签报(V7.0 update)
获取指定人员的签报已办列表。
接口请求说明:
http请求方式:GET
http://ip:port/seeyon/rest/edoc/sign/done
如
http://127.0.0.1/seeyon/rest/edoc/sign/done?ticket=xxxxxx
返回说明
返回JSON格式的公文事项对象列表,ticket无效返回null。,JSON数据包参考:公文事项对象示例
返回参数增加URLLINK连接 (V7.0 update)
参数说明 请参考:公文事项对象属性说明
1.26. 在办签报(V7.0 update)
获取指定人员的签报在办列表。
接口请求说明:
http请求方式:GET
http://ip:port/seeyon/rest/edoc/sign/running
如
http://127.0.0.1/seeyon/rest/edoc/sign/running?ticket=xxxxxx
返回说明
返回JSON格式的公文事项对象列表,ticket无效返回null。,JSON数据包参考:公文事项对象示例
返回参数增加URLLINK连接 (V7.0 update)
参数说明 请参考:公文事项对象属性说明
1.27. 已发签报(V7.0 update)
获取指定人员的签报已发列表。
接口请求说明:
http请求方式:GET
http://ip:port/seeyon/rest/edoc/sign/sent
如
http://127.0.0.1/seeyon/rest/edoc/sign/sent?ticket=xxxxxx
返回说明
返回JSON格式的公文事项对象列表,ticket无效返回null。,JSON数据包参考:公文事项对象示例
返回参数增加URLLINK连接 (V7.0 update)
参数说明 请参考:公文事项对象属性说明
1.28. 待发签报(V7.0 update)
获取指定人员的签报待发列表。
接口请求说明:
http请求方式:GET
http://ip:port/seeyon/rest/edoc/sign/draft
如
http://127.0.0.1/seeyon/rest/edoc/sign/draft?ticket=xxxxxx
返回说明
返回JSON格式的公文事项对象列表,ticket无效返回null。,JSON数据包参考:公文事项对象示例
返回参数增加URLLINK连接 (V7.0 update)
参数说明 请参考:公文事项对象属性说明
1.29. 获取协同、公文(发文、收文、签报)各状态数量(Since V7.1)
获取协同已发数量、待办数量、已办数量、待发数量;获取公文(发文、收文、签报)待办数量、暂存待办数量、已发数量、待发数量、已办数量。
接口请求说明:
http请求方式:GET
http://ip:port/seeyon/rest/edocResource/statistic
如
http://127.0.0.1/seeyon/rest/edocResource/statistic
注意:token必须绑定人员,接口查询的是token中已绑定人员的信息。
返回说明
返回JSON格式字符串。
返回值格式如下:
{
"code" : 0,
"data" : {
"affair" : {
"sentSize" : 0,
"pendingSize" : 0,
"doneSize" : 0,
"waitSendSize" : 0
},
"edoc" : [ {
"listPendingSize" : 1,
"listZcdbSize" : 1,
"listSentSize" : 0,
"listWaitSize" : 0,
"listDoneAllSize" : 1,
"edocType" : 0
}, {
"listPendingSize" : 2,
"listZcdbSize" : 1,
"listSentSize" : 0,
"listWaitSize" : 0,
"listDoneAllSize" : 1,
"edocType" : 1
}, {
"listPendingSize" : 3,
"listZcdbSize" : 2,
"listSentSize" : 1,
"listWaitSize" : 2,
"listDoneAllSize" : 1,
"edocType" : 2
} ]
},
"message" : ""
}
返回值说明:
| 字段 | 说明 |
|---|---|
| affair | 协同 |
| sentSize | 协同已发数量 |
| pendingSize | 协同待办数量 |
| doneSize | 协同已办数量 |
| waitSendSize | 协同待发数量 |
| edoc | 公文 |
| listPendingSize | 公文待办数量 |
| listZcdbSize | 公文暂存待办数量 |
| listSentSize | 公文已发数量 |
| listWaitSize | 公文待发数量 |
| listDoneAllSize | 公文已办数量 |
| edocType | 公文类型(0:发文 1:收文 2:签报) |