Cisco Cisco Identity Services Engine Software Prospecto
7-24
思科身份服务引擎 API 参考指南,版本 1.4
OL-26134-01
第 7 章 外部 RESTful 服务 API 操作
适用于访客用户的外部 RESTful 服务 API
适用于访客用户的外部 RESTful 服务 API
下表列出适用于访客用户的外部 RESTful 服务 API:
Content Type 和 Accept 标头
每个访客帐户请求都需要进行以下设置:
•
Content Type 设置为:
application/vnd.com.cisco.ise.identity.guestuser.2.0+xml
•
Accept 设置为:
application/vnd.com.cisco.ise.identity.guestuser.2.0+xml
每个批量执行请求都需要进行以下设置:
•
Content Type 设置为:
application/vnd.com.cisco.ise.identity.guestuserbulkrequest.1.0+xml
•
Accept 设置为:
application/vnd.com.cisco.ise.identity.guestuserbulkrequest.1.0+xml
表
7-29
支持的场景
操作
方法
URL
内容
获取特定访客用户
GET
/ers/config/guestuser/{id}
不适用
获取所有访客用户
GET
/ers/config/guestuser/
不适用
创建访客用户
POST
/ers/config/guestuser /
访客用户信
息 (XML)
息 (XML)
更新访客用户
PUT
/ers/config/guestuser/{id}
部分或全部
访客用户信
息 (XML)
访客用户信
息 (XML)
删除访客用户
DELETE
/ers/config/guestuser/{id}
不适用
暂停访客用户
PUT
/ers/config/guestuser/suspend/{id}
原因
恢复访客用户
PUT
/ers/config/guestuser/reinstate/{id}
不适用
发送电子邮件
PUT
/ers/config/guestuser/email/{id}/
portalId/{portalId}
portalId/{portalId}
发件人邮件
发送 SMS
PUT
/ers/config/guestuser/sms/{id}/portalId
/{portalId}
/{portalId}
不适用
批准访客用户
PUT
/ers/config/guestuser/approve/{id}
不适用
拒绝访客用户
PUT
/ers/config/guestuser/deny/{id}
不适用
重置密码
PUT
/ers/config/guestuser/resetpassword/
{id}
{id}
不适用
启动批量执行
PUT
/ers/config/ guestuser/bulk
批量请求
获取批量状态
GET
/ers/config/ guestuser/bulk/{bulkId}
不适用
更改发起人的密码
PUT
/ers/config/guestuser/changeSponsor
Password/{portalId}
Password/{portalId}
operationAdd
itionalData
itionalData
获取所有门户
GET
/ers/config/portal
不适用
通过 ID 获取门户
GET
/ers/config/portal/{id}
不适用
获取访客 API 信息
GET
/ers/config/guestuser/versioninfo
不适用