获取代办
请求方式: POST
请求路径:
https://prod.open-api.mysre.cn/openapi/guangming/get-message-list
| 参数名 | 参数位置 | 参数类型 | 必填 | 默认值 | 示例 | 描述 |
|---|---|---|---|---|---|---|
| mobile | body | string | 是 | 电话号码 | ||
| tenant_code | body | string | 是 | 租户CODE | ||
| sso_token | body | string | 是 | 从中台获取到的access_token,用于中台权限校验 | ||
| msg_status | body | number | 是 | 消息状态 0-未处理 1-已处理 | ||
| msg_type | body | number | 否 | 消息类型 1-通知 2-待办 | ||
| page_index | body | number | 否 | 分页页码 (默认全量) | ||
| page_size | body | number | 否 | 分页消息数量 (Max:50) | ||
| biz_type | body | number | 否 | 业务类型 1-认证审批 |
{
"mobile": "",
"tenant_code": "bre",
"sso_token": "abcdefg",
"msg_status": 0,
"msg_type": 1,
"page_index": 1,
"page_size": 100,
"biz_type": 1
}
{
"request_id": "39eef730-e550-c1f3-2eb5-1af61965dfed",
"errcode": 0,
"errmsg": "ok",
"data": [{
"tenant_id": "my570cd49bc2458",
"msg_id": "121511",
"msg_type": "1",
"biz_type": "2",
"biz_id": "1001259_39eecee6-4c6a-635a-1d6e-d1a64715f700",
"sub_biz_type": "0",
"is_top": "0",
"msg_status": "0",
"revoke": "0",
"create_time": "2019-07-04 19:23:20",
"msg_content": {
"news": {
"articles": [{
"title": "ERP新增设计变更测试1",
"description": "甲方发起的工程联系单(外判设计院)【ERP新增设计变更测试1】审批通过,请关注!",
"url": "tenant_id=my570cd49bc2458&worksheet_id=39eecee6-4c6a-635a-1d6e-d1a64715f700&user_id=1001259",
"picurl": "",
"new_title": "ERP新增设计变更测试1",
"fq_user": {
"user_id": "",
"user_name": "甲方内部发起",
"station_name": ""
},
"biz_status": 3,
"change_type": "设计变更",
"erp_change_type": "设计变更",
"flag": "",
"biz_type_desc": "设计变更工程联系单(外判设计院)"
}]
}
},
"revoke_reason": [],
"display": 1,
"warning_status": "0"
}, {
"tenant_id": "my570cd49bc2458",
"msg_id": "118684",
"msg_type": "1",
"biz_type": "2",
"biz_id": "1001259_39ee3543-764e-2e20-95cf-24180682fea9",
"sub_biz_type": "0",
"is_top": "0",
"msg_status": "0",
"revoke": "0",
"create_time": "2019-06-04 23:23:35",
"msg_content": {
"news": {
"articles": [{
"title": "测试0604-2",
"description": "甲方发起的工联单【测试0604-2】审批通过,请关注!",
"url": "tenant_id=my570cd49bc2458&worksheet_id=39ee3543-764e-2e20-95cf-24180682fea9&user_id=1001259",
"picurl": "",
"new_title": "测试0604-2",
"fq_user": {
"user_id": "",
"user_name": "甲方内部发起",
"station_name": ""
},
"biz_status": 3,
"change_type": "",
"erp_change_type": "",
"flag": "",
"biz_type_desc": "工联单"
}]
}
},
"revoke_reason": [],
"display": 1,
"warning_status": "0"
}]
}
| 参数名 | 参数类型 | 描述 |
|---|---|---|
| request_id | string | |
| errcode | number | |
| errmsg | string | |
| data | array | |
| data.tenant_id | string | |
| data.msg_id | string | |
| data.msg_type | string | |
| data.biz_type | string | |
| data.biz_id | string | |
| data.sub_biz_type | string | |
| data.is_top | string | |
| data.msg_status | string | |
| data.revoke | string | |
| data.create_time | string | |
| data.msg_content | object | |
| data.msg_content.news | object | |
| data.msg_content.news.articles | array | |
| data.msg_content.news.articles.title | string | |
| data.msg_content.news.articles.description | string | |
| data.msg_content.news.articles.url | string | |
| data.msg_content.news.articles.picurl | string | |
| data.msg_content.news.articles.new_title | string | |
| data.msg_content.news.articles.fq_user | object | |
| data.msg_content.news.articles.fq_user.user_id | string | |
| data.msg_content.news.articles.fq_user.user_name | string | |
| data.msg_content.news.articles.fq_user.station_name | string | |
| data.msg_content.news.articles.biz_status | number | |
| data.msg_content.news.articles.change_type | string | |
| data.msg_content.news.articles.erp_change_type | string | |
| data.msg_content.news.articles.flag | string | |
| data.msg_content.news.articles.biz_type_desc | string | |
| data.revoke_reason | array | |
| data.display | number | |
| data.warning_status | string |
{
"request_id": "39f77896-29a0-7669-46d1-68b0bc28cfee",
"errcode": 1,
"errmsg": "xxx",
"data": []
}
| 参数名 | 参数类型 | 描述 |
|---|---|---|
| request_id | string | 请求ID |
| errcode | number | 错误码 |
| errmsg | string | 错误信息 |
| data | array | 返回数据集 |