2
认证接口
在调用待办和消息接口之前,需要先进行身份认证获取
token
。
2.1
接口地址
Post
接口:
http://ip:port/seeyon/rest/token
Get
接口:
http://ip:port/seeyon/rest/token/{userName}/{password}
其中,
ip
和
port
由实施提供。
http://ip:port/seeyon/rest/token/rest2/507bde9c-861c-48f1-be43-2fc19d21a8a0
2.2
接口参数
参数名 说明 备注
userName
用户名
rest2
password
密码
507bde9c-861c-48f1-
be43-2fc19d21a8a0
2.3
返回参数
参数名 说明 备注
bindingUser
绑定的用户名 无需使用
id Token
值 保存下来调用后续的接口
示例:
{
"bindingUser" : null,
"id" : "7810fc65-2943-42ea-b2e0-ae823aae832c"
}
3
3.1 1.1. 3.1
用户绑定
3.1.1
推送
REST
认证地址:
/seeyon/rest/token/{username}/{password}
可绑定多个用户推送接口地址
:/seeyon/rest/thirdpartyUserMapper/binding
评论