获取失败消息 接口
接口说明: 获取系统推送失败的信息,只能查询最近7日的失败消息
请求方式:GET(HTTPS)
请求地址:https://api.xinrenxinshi.com/v2/pushMessage/getFailMessage?sign=MdbAE946ZE060YjVWb9Gw7uzpVw%3D×tamp=1574043389544
参数说明:
| 参数 | 类型 | 必传(Y/N) | 说明 |
|---|---|---|---|
| timestamp | Integer | Y | 请求时间戳(精确到毫秒) |
| sign | String | Y | 请求参数签名 |
请求Header::
| key | value |
|---|---|
| access_token | 获取的access_token的实际值 |
返回结果:
| 参数 | 类型 | 必传(Y/N) | 说明 |
|---|---|---|---|
| errcode | Integer | Y | 0成功,其他失败 |
| errmsg | String | Y | 结果描述 |
| data | List<ExternalFailMsgModel> | Y | 失败消息列表 |
ExternalFailMsgModel
| 参数 | 类型 | 必传(Y/N) | 说明 |
|---|---|---|---|
| pushType | Integer | Y | 消息类型,0员工,1部门,2审批 |
| pushMessage | String | Y | 消息 |
| sendtime | String | Y | 消息推送时间戳(精确到秒) |
响应示例:
{
"errcode":0,
"errmsg":"成功",
"data":[
{
"pushType":0,
"pushMessage":"{\"messageId\":\"uuid\", \"type\":\"employee_delete\", \"sendtime\":\"1516358458\", \"employeeId\":\"employeeUUID\"}",
"sendtime":1516358458
}
]
}