Cisco Cisco Identity Services Engine 1.2 产品宣传页
7-47
思科身份服务引擎 API 参考指南,版本 1.4
OL-26134-01
第 7 章 外部 RESTful 服务 API 操作
适用于配置文件的外部 RESTful 服务 API
获取所有配置文件调用的响应示例
HTTP/1.1 200 OK
Date: Thu, 12 Jul 2014 23:59:59 GMT
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:searchResult total="2" xmlns:ns2="ers.ise.cisco.com">
<nextPage type="application/xml" href="link-to-next-page" rel="next"/>
<previousPage type="application/xml" href="link-to-previous-page" rel="previous"/>
<resources>
<resource name="name1" id="id1" description="description1"/>
<resource name="name2" id="id2" description="description2"/>
</resources>
</ns2:searchResult>
通过 ID 获取门户
下表列出通过 ID 获取配置文件 API 调用的主要特征:
通过 ID 获取门户调用的请求示例
GET https://<ISE-ADMIN-NODE>:9060/ers/config/profilerprofile/333
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Accept: application/vnd.com.cisco.ise.identity.profilerprofile.1.0+xml
通过 ID 获取门户调用的响应示例
HTTP/1.1 200 OK
Date: Thu, 12 Jul 2014 23:59:59 GMT
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns3:profilerprofile name="name" id="id" description="description"
xmlns:ns2="ers.ise.cisco.com" xmlns:ns3="identity.ers.ise.cisco.com"/
表
7-50
通过
ID
获取门户
API
调用的主要特征
说明
检索指定的配置文件
摘要
GET /ers/config/profilerprofile/{id}
请求头
Accept、Authorization、Host
查询字符串
N/A
请求消息正文
N/A
响应头
Content-Length、Content-Type
响应消息正文
配置文件资源类型
响应状态
200、400、401,403、404、415、500