01 查询待办消息列表
POST
https://open-auth.tezign.com/open-api/standard/call/get-wait-message-list
待办事项消息
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/json
Access-token
string
必需
示例值:
b63aafa6-6148-481a-9ec6-d334aa6803b8
Token-type
string
必需
示例值:
bearer
x-asm-prefer-tag
string
可选
默认值:
version-env-07
Body 参数application/json
token
string
必需
param
object
必需
pageSize
integer
分页参数
pageNum
integer
分页参数
email
null
用户邮箱
isFinish
boolean
待办消息是否完成
false:查询过滤掉处理完成的消息列表
示例
{
"token":"b63aafa6-6148-481a-9ec6-d334aa6803b8",
"param":{
"pageSize": 20,
"pageNum": 1,
"email": null,
"isFinish": false
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://open-auth.tezign.com/open-api/standard/call/get-wait-message-list' \
--header 'Access-token: b63aafa6-6148-481a-9ec6-d334aa6803b8' \
--header 'Token-type: bearer' \
--header 'x-asm-prefer-tag: version-env-07' \
--header 'Content-Type: application/json' \
--data-raw '{
"token":"b63aafa6-6148-481a-9ec6-d334aa6803b8",
"param":{
"pageSize": 20,
"pageNum": 1,
"email": null,
"isFinish": false
}
}'
返回响应
🟢200成功
application/json
Body
code
string
必需
message
string
必需
result
object
必需
totalCount
integer
必需
list
array [object {17}]
必需
示例
{
"code": "0",
"message": "处理成功",
"result": {
"totalCount": 2,
"list": [
{
"id": 1534,
"content": "杨伦 提交了一个申请 “素材入库入组”,共4个素材,请审批",
"type": "MATERIAL_AUDIT",
"typeName": "素材审批",
"modelCode": "WORKFLOW",
"actionCode": "WAIT_AUDIT",
"urgentCode": "LEVEL_1",
"urgentName": "不紧急",
"businessId": 284,
"jumpUrl": "https://vms-t10.tezign.com/web/workflow/center/detail/284",
"changeStatus": null,
"hasRead": 0,
"createTime": 1634732024000,
"userId": 100041,
"createUser": 100041,
"processToDoUser": "yanglun@tezign.com",
"processCreateUser": "yanglun@tezign.com"
},
{
"id": 1533,
"content": "特赞 提交了一个申请 “无奈”,共1个素材,请审批",
"type": "MATERIAL_AUDIT",
"typeName": "素材审批",
"modelCode": "WORKFLOW",
"actionCode": "WAIT_AUDIT",
"urgentCode": "LEVEL_1",
"urgentName": "不紧急",
"businessId": 196,
"jumpUrl": "https://vms-t10.tezign.com/web/workflow/center/detail/196",
"changeStatus": null,
"hasRead": 0,
"createTime": 1628088085000,
"userId": 100041,
"createUser": 1,
"processToDoUser": "yanglun@tezign.com",
"processCreateUser": "tzvirtual1@tezign.com"
}
]
}
}